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

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

Public Member Functions

 ProductTables (ProductDescriptions const &descriptions)
 
 ProductTables (ProductDescriptions const &descriptions, std::array< AvailableProducts_t, NumBranchTypes > const &)
 
auto const & get (BranchType const bt) const
 
bool isValid () const
 

Static Public Member Functions

static ProductTables invalid ()
 

Private Member Functions

 ProductTables ()=default
 

Private Attributes

bool isValid_ {false}
 
std::array< ProductTable, NumBranchTypestables_ {{}}
 

Detailed Description

Definition at line 33 of file ProductTables.h.

Constructor & Destructor Documentation

art::ProductTables::ProductTables ( ProductDescriptions const &  descriptions)
explicit
art::ProductTables::ProductTables ( ProductDescriptions const &  descriptions,
std::array< AvailableProducts_t, NumBranchTypes > const &   
)
explicit
art::ProductTables::ProductTables ( )
explicitprivatedefault

Member Function Documentation

auto const& art::ProductTables::get ( BranchType const  bt) const
inline

Definition at line 42 of file ProductTables.h.

43  {
44  return tables_[bt];
45  }
std::array< ProductTable, NumBranchTypes > tables_
Definition: ProductTables.h:55
static ProductTables art::ProductTables::invalid ( )
static
bool art::ProductTables::isValid ( ) const
inline

Definition at line 47 of file ProductTables.h.

48  {
49  return isValid_;
50  }

Member Data Documentation

bool art::ProductTables::isValid_ {false}
private

Definition at line 54 of file ProductTables.h.

std::array<ProductTable, NumBranchTypes> art::ProductTables::tables_ {{}}
private

Definition at line 55 of file ProductTables.h.


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