LDMX Software
Public Member Functions | Private Attributes | List of all members
framework::ProductTag Class Reference

Defines the identity of a product and can be used for searches. More...

#include <ProductTag.h>

Public Member Functions

 ProductTag (const std::string &name, const std::string &pass, const std::string &type)
 Class constructor.
 
const std::string & name () const
 Get the product name.
 
const std::string & passname () const
 Get the product pass name.
 
const std::string & type () const
 Get the product type name.
 

Private Attributes

std::string name_
 Name given to the product.
 
std::string passname_
 Passname given when product was written.
 
std::string typename_
 Typename of the product.
 

Detailed Description

Defines the identity of a product and can be used for searches.

Definition at line 23 of file ProductTag.h.

Constructor & Destructor Documentation

◆ ProductTag()

framework::ProductTag::ProductTag ( const std::string &  name,
const std::string &  pass,
const std::string &  type 
)
inline

Class constructor.

Blank/empty parameters are generally considered as wildcards when searches are performed.

Parameters
nameProduct name
passPass name
typeType name

Definition at line 35 of file ProductTag.h.

37 : name_{name}, passname_{pass}, typename_{type} {}
std::string typename_
Typename of the product.
Definition ProductTag.h:68
const std::string & type() const
Get the product type name.
Definition ProductTag.h:52
std::string passname_
Passname given when product was written.
Definition ProductTag.h:63
const std::string & name() const
Get the product name.
Definition ProductTag.h:42
std::string name_
Name given to the product.
Definition ProductTag.h:58

Member Function Documentation

◆ name()

const std::string & framework::ProductTag::name ( ) const
inline

Get the product name.

Definition at line 42 of file ProductTag.h.

42{ return name_; }

References name_.

Referenced by operator<<().

◆ passname()

const std::string & framework::ProductTag::passname ( ) const
inline

Get the product pass name.

Definition at line 47 of file ProductTag.h.

47{ return passname_; }

References passname_.

Referenced by operator<<().

◆ type()

const std::string & framework::ProductTag::type ( ) const
inline

Get the product type name.

Definition at line 52 of file ProductTag.h.

52{ return typename_; }

References typename_.

Referenced by operator<<().

Member Data Documentation

◆ name_

std::string framework::ProductTag::name_
private

Name given to the product.

Definition at line 58 of file ProductTag.h.

Referenced by name().

◆ passname_

std::string framework::ProductTag::passname_
private

Passname given when product was written.

Definition at line 63 of file ProductTag.h.

Referenced by passname().

◆ typename_

std::string framework::ProductTag::typename_
private

Typename of the product.

Definition at line 68 of file ProductTag.h.

Referenced by type().


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