Public Member Functions | Private Attributes | List of all members
gallery::InfoForTypeLabelInstance Class Reference

#include <InfoForTypeLabelInstance.h>

Public Member Functions

 InfoForTypeLabelInstance (art::TypeID const &iType, std::string const &iLabel, std::string const &iInstance)
 
art::TypeID const & type () const noexcept
 
std::string const & label () const noexcept
 
std::string const & instance () const noexcept
 
TClass * tClass () const noexcept
 
bool isAssns () const noexcept
 
art::TypeID const & partnerType () const noexcept
 
std::vector< IndexProductIDPair > & processIndexToProductID () const noexcept
 
std::vector< art::ProductID > & productIDsOrderedByHistory () const noexcept
 

Private Attributes

art::TypeID const type_
 
std::string const label_
 
std::string const instance_
 
TClass *const tClass_
 
bool const isAssns_
 
art::TypeID const partnerType_
 
std::vector< IndexProductIDPairprocessIndexToProductID_
 
std::vector< art::ProductIDproductIDsOrderedByHistory_
 

Detailed Description

Definition at line 23 of file InfoForTypeLabelInstance.h.

Constructor & Destructor Documentation

gallery::InfoForTypeLabelInstance::InfoForTypeLabelInstance ( art::TypeID const &  iType,
std::string const &  iLabel,
std::string const &  iInstance 
)
explicit

Definition at line 45 of file InfoForTypeLabelInstance.cc.

48  : type_{iType}
49  , label_{iLabel}
50  , instance_{iInstance}
51  , tClass_{TClass::GetClass(type_.typeInfo())}
53  , partnerType_{getPartnerTypeID(tClass_)}
54  {}
std::string className() const
Definition: TypeID.cc:48
string name_of_template_arg(string const &template_instance, size_t desired_arg)
Definition: TypeID.cc:118
bool is_assns(std::string const &type_name)
Definition: TypeID.h:66
std::type_info const & typeInfo() const
Definition: TypeID.cc:36

Member Function Documentation

std::string const & gallery::InfoForTypeLabelInstance::instance ( ) const
noexcept

Definition at line 69 of file InfoForTypeLabelInstance.cc.

70  {
71  return instance_;
72  }
bool gallery::InfoForTypeLabelInstance::isAssns ( ) const
noexcept

Definition at line 81 of file InfoForTypeLabelInstance.cc.

82  {
83  return isAssns_;
84  }
std::string const & gallery::InfoForTypeLabelInstance::label ( ) const
noexcept

Definition at line 63 of file InfoForTypeLabelInstance.cc.

64  {
65  return label_;
66  }
art::TypeID const & gallery::InfoForTypeLabelInstance::partnerType ( ) const
noexcept

Definition at line 87 of file InfoForTypeLabelInstance.cc.

88  {
89  return partnerType_;
90  }
std::vector< IndexProductIDPair > & gallery::InfoForTypeLabelInstance::processIndexToProductID ( ) const
noexcept

Definition at line 93 of file InfoForTypeLabelInstance.cc.

94  {
96  }
std::vector< IndexProductIDPair > processIndexToProductID_
std::vector< art::ProductID > & gallery::InfoForTypeLabelInstance::productIDsOrderedByHistory ( ) const
noexcept

Definition at line 99 of file InfoForTypeLabelInstance.cc.

100  {
102  }
std::vector< art::ProductID > productIDsOrderedByHistory_
TClass * gallery::InfoForTypeLabelInstance::tClass ( ) const
noexcept

Definition at line 75 of file InfoForTypeLabelInstance.cc.

76  {
77  return tClass_;
78  }
art::TypeID const & gallery::InfoForTypeLabelInstance::type ( ) const
noexcept

Definition at line 57 of file InfoForTypeLabelInstance.cc.

58  {
59  return type_;
60  }

Member Data Documentation

std::string const gallery::InfoForTypeLabelInstance::instance_
private

Definition at line 43 of file InfoForTypeLabelInstance.h.

bool const gallery::InfoForTypeLabelInstance::isAssns_
private

Definition at line 45 of file InfoForTypeLabelInstance.h.

std::string const gallery::InfoForTypeLabelInstance::label_
private

Definition at line 42 of file InfoForTypeLabelInstance.h.

art::TypeID const gallery::InfoForTypeLabelInstance::partnerType_
private

Definition at line 46 of file InfoForTypeLabelInstance.h.

std::vector<IndexProductIDPair> gallery::InfoForTypeLabelInstance::processIndexToProductID_
mutableprivate

Definition at line 56 of file InfoForTypeLabelInstance.h.

std::vector<art::ProductID> gallery::InfoForTypeLabelInstance::productIDsOrderedByHistory_
mutableprivate

Definition at line 61 of file InfoForTypeLabelInstance.h.

TClass* const gallery::InfoForTypeLabelInstance::tClass_
private

Definition at line 44 of file InfoForTypeLabelInstance.h.

art::TypeID const gallery::InfoForTypeLabelInstance::type_
private

Definition at line 41 of file InfoForTypeLabelInstance.h.


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