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

#include <TypeLabelInstanceKey.h>

Public Member Functions

 TypeLabelInstanceKey (art::TypeID const &iType, std::string const &iLabel, std::string const &iInstance)
 
bool operator< (TypeLabelInstanceKey const &iRHS) const
 
art::TypeID const & typeID () const
 
std::string const & label () const
 
std::string const & instance () const
 

Private Attributes

art::TypeID type_
 
std::string label_
 
std::string instance_
 

Detailed Description

Definition at line 11 of file TypeLabelInstanceKey.h.

Constructor & Destructor Documentation

gallery::TypeLabelInstanceKey::TypeLabelInstanceKey ( art::TypeID const &  iType,
std::string const &  iLabel,
std::string const &  iInstance 
)
inline

Definition at line 13 of file TypeLabelInstanceKey.h.

16  : type_{iType}, label_{iLabel}, instance_{iInstance}
17  {}

Member Function Documentation

std::string const& gallery::TypeLabelInstanceKey::instance ( ) const
inline

Definition at line 37 of file TypeLabelInstanceKey.h.

38  {
39  return instance_;
40  }
std::string const& gallery::TypeLabelInstanceKey::label ( ) const
inline

Definition at line 32 of file TypeLabelInstanceKey.h.

33  {
34  return label_;
35  }
bool gallery::TypeLabelInstanceKey::operator< ( TypeLabelInstanceKey const &  iRHS) const
inline

Definition at line 20 of file TypeLabelInstanceKey.h.

21  {
22  return std::tie(type_, label_, instance_) <
23  std::tie(iRHS.type_, iRHS.label_, iRHS.instance_);
24  }
art::TypeID const& gallery::TypeLabelInstanceKey::typeID ( ) const
inline

Definition at line 27 of file TypeLabelInstanceKey.h.

28  {
29  return type_;
30  }

Member Data Documentation

std::string gallery::TypeLabelInstanceKey::instance_
private

Definition at line 45 of file TypeLabelInstanceKey.h.

std::string gallery::TypeLabelInstanceKey::label_
private

Definition at line 44 of file TypeLabelInstanceKey.h.

art::TypeID gallery::TypeLabelInstanceKey::type_
private

Definition at line 43 of file TypeLabelInstanceKey.h.


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