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

#include "/cvmfs/"

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)
art::ProductTables::ProductTables ( ProductDescriptions const &  descriptions,
std::array< AvailableProducts_t, NumBranchTypes > const &   
art::ProductTables::ProductTables ( )

Member Function Documentation

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

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 ( )
bool art::ProductTables::isValid ( ) const

Definition at line 47 of file ProductTables.h.

48  {
49  return isValid_;
50  }

Member Data Documentation

bool art::ProductTables::isValid_ {false}

Definition at line 54 of file ProductTables.h.

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

Definition at line 55 of file ProductTables.h.

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