EventAnalysis  1.3.0
Public Member Functions | Public Attributes | List of all members
EA::DataStore::KnownObject Struct Reference

Descriptor for a known object. More...

#include <DataStore.h>

Public Member Functions

bool operator== (const std::string &rhs) const
 All the aliases that might be used for the object. More...
 

Public Attributes

std::string name
 
std::set< std::string > aliases
 The name of the object. More...
 

Detailed Description

Descriptor for a known object.

A known object is a data object that can be retrieved from the store. It is not necessarily an object that is already present on the store, but one of those that the store is able to provide at some stage of the analysis process (e.g. an event object produced by an algorithm is a known one, but will be effectively retrievable only by those algorithms executed after the producer one).

Member Function Documentation

◆ operator==()

bool EA::DataStore::KnownObject::operator== ( const std::string &  rhs) const
inline

All the aliases that might be used for the object.

Comparison operator.

A known object is equal to a string if its name is identical to the string

Parameters
rhsThe striong on the rhs of the comparison operator.
Returns
true if the KnownObject have a name equal to the string.

Member Data Documentation

◆ aliases

std::set<std::string> EA::DataStore::KnownObject::aliases

The name of the object.

◆ name

std::string EA::DataStore::KnownObject::name

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