Public Member Functions | Private Attributes | List of all members
art::Parentage Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Provenance/Parentage.h"

Public Member Functions

 Parentage ()=default
 
 Parentage (std::vector< ProductID > const &parents)
 
ParentageID id () const
 
std::vector< ProductID > const & parents () const
 
std::vector< ProductID > & parents ()
 

Private Attributes

std::vector< ProductIDparents_ {}
 

Detailed Description

Definition at line 21 of file Parentage.h.

Constructor & Destructor Documentation

art::Parentage::Parentage ( )
default
art::Parentage::Parentage ( std::vector< ProductID > const &  parents)
explicit

Member Function Documentation

ParentageID art::Parentage::id ( ) const
std::vector<ProductID> const& art::Parentage::parents ( ) const
inline

Definition at line 30 of file Parentage.h.

References parents_.

Referenced by art::markAncestors(), and art::Provenance::parents().

31  {
32  return parents_;
33  }
std::vector< ProductID > parents_
Definition: Parentage.h:41
std::vector<ProductID>& art::Parentage::parents ( )
inline

Definition at line 35 of file Parentage.h.

References parents_.

36  {
37  return parents_;
38  }
std::vector< ProductID > parents_
Definition: Parentage.h:41

Member Data Documentation

std::vector<ProductID> art::Parentage::parents_ {}
private

Definition at line 41 of file Parentage.h.

Referenced by parents().


The documentation for this class was generated from the following file: