EventAnalysis  1.3.0
Public Member Functions | Public Attributes | List of all members
EA::ObjectProducer::ProducedObject Struct Reference

Descriptor structure for a produced object. More...

#include <ObjectProducer.h>

Public Member Functions

 ProducedObject ()
 
template<typename C >
 ProducedObject (std::string objName, ObjectCategory objCategory, C objAliases, std::string objStore)
 
bool operator== (const ProducedObject &rhs) const
 Comparison operator. More...
 
template<>
 ProducedObject (std::string objName, ObjectCategory objCategory, std::string objAlias, std::string objStore)
 
template<>
 ProducedObject (std::string objName, ObjectCategory objCategory, const char *objAlias, std::string objStore)
 

Public Attributes

std::string name
 
ObjectCategory category
 
std::set< std::string > aliases
 
std::string store
 

Detailed Description

Descriptor structure for a produced object.

This struct groups the properties defining each produced object.

Constructor & Destructor Documentation

◆ ProducedObject() [1/4]

EA::ObjectProducer::ProducedObject::ProducedObject ( )
inline

◆ ProducedObject() [2/4]

template<typename C >
EA::ObjectProducer::ProducedObject::ProducedObject ( std::string  objName,
ObjectCategory  objCategory,
objAliases,
std::string  objStore 
)

◆ ProducedObject() [3/4]

template<>
EA::ObjectProducer::ProducedObject::ProducedObject ( std::string  objName,
ObjectCategory  objCategory,
std::string  objAlias,
std::string  objStore 
)

◆ ProducedObject() [4/4]

template<>
EA::ObjectProducer::ProducedObject::ProducedObject ( std::string  objName,
ObjectCategory  objCategory,
const char *  objAlias,
std::string  objStore 
)

Member Function Documentation

◆ operator==()

bool EA::ObjectProducer::ProducedObject::operator== ( const ProducedObject rhs) const
inline

Comparison operator.

A produced object is identified by its name, category and store; differing aliases can be set for the same object, so aliases are not considered when comparing two produced objects.

Parameters
rhsThe object on the right-hand-side of the comparison operation.
Returns
true if the two objects have the same name, category and store.

Member Data Documentation

◆ aliases

std::set<std::string> EA::ObjectProducer::ProducedObject::aliases

◆ category

ObjectCategory EA::ObjectProducer::ProducedObject::category

◆ name

std::string EA::ObjectProducer::ProducedObject::name

◆ store

std::string EA::ObjectProducer::ProducedObject::store

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