EICd
EIC data model
|
#include <MergedClusterRelations.h>
Public Member Functions | |
MergedClusterRelations () | |
default constructor More... | |
MergedClusterRelations (eic::Index clusterID, std::uint32_t size, std::array< eic::Index, 4 > parent) | |
MergedClusterRelations (MergedClusterRelationsObj *obj) | |
constructor from existing MergedClusterRelationsObj More... | |
MergedClusterRelations (const MergedClusterRelations &other) | |
copy constructor More... | |
MergedClusterRelations & | operator= (const MergedClusterRelations &other) |
copy-assignment operator More... | |
MergedClusterRelations | clone () const |
support cloning (deep-copy) More... | |
~MergedClusterRelations () | |
destructor More... | |
operator ConstMergedClusterRelations () const | |
conversion to const object More... | |
const eic::Index & | clusterID () const |
Access the associated cluster ID. More... | |
const std::uint32_t & | size () const |
Access the number of valid parents. More... | |
const std::array< eic::Index, 4 > & | parent () const |
Access the (up to 4) parents for this cluster. More... | |
const eic::Index & | parent (size_t i) const |
Access item i of the (up to 4) parents for this cluster. More... | |
void | clusterID (eic::Index value) |
Set the associated cluster ID. More... | |
eic::Index & | clusterID () |
Get reference to associated cluster ID. More... | |
void | size (std::uint32_t value) |
Set the number of valid parents. More... | |
void | parent (std::array< eic::Index, 4 > value) |
Set the (up to 4) parents for this cluster. More... | |
void | parent (size_t i, eic::Index value) |
std::array< eic::Index, 4 > & | parent () |
Get reference to (up to 4) parents for this cluster. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from MergedClusterRelationsObj instance More... | |
bool | operator== (const MergedClusterRelations &other) const |
bool | operator== (const ConstMergedClusterRelations &other) const |
bool | operator< (const MergedClusterRelations &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | MergedClusterRelationsCollection |
class | MergedClusterRelationsCollectionIterator |
class | ConstMergedClusterRelations |
Relational info between a merged cluster and its parents
eic::MergedClusterRelations::MergedClusterRelations | ( | ) |
default constructor
eic::MergedClusterRelations::MergedClusterRelations | ( | eic::Index | clusterID, |
std::uint32_t | size, | ||
std::array< eic::Index, 4 > | parent | ||
) |
eic::MergedClusterRelations::MergedClusterRelations | ( | MergedClusterRelationsObj * | obj | ) |
constructor from existing MergedClusterRelationsObj
eic::MergedClusterRelations::MergedClusterRelations | ( | const MergedClusterRelations & | other | ) |
copy constructor
eic::MergedClusterRelations::~MergedClusterRelations | ( | ) |
destructor
MergedClusterRelations eic::MergedClusterRelations::clone | ( | ) | const |
support cloning (deep-copy)
eic::Index & eic::MergedClusterRelations::clusterID | ( | ) |
Get reference to associated cluster ID.
const eic::Index & eic::MergedClusterRelations::clusterID | ( | ) | const |
Access the associated cluster ID.
void eic::MergedClusterRelations::clusterID | ( | eic::Index | value | ) |
Set the associated cluster ID.
const podio::ObjectID eic::MergedClusterRelations::getObjectID | ( | ) | const |
|
inline |
bool eic::MergedClusterRelations::isAvailable | ( | ) | const |
check whether the object is actually available
eic::MergedClusterRelations::operator ConstMergedClusterRelations | ( | ) | const |
conversion to const object
|
inline |
MergedClusterRelations & eic::MergedClusterRelations::operator= | ( | const MergedClusterRelations & | other | ) |
copy-assignment operator
bool eic::MergedClusterRelations::operator== | ( | const ConstMergedClusterRelations & | other | ) | const |
|
inline |
std::array< eic::Index, 4 > & eic::MergedClusterRelations::parent | ( | ) |
Get reference to (up to 4) parents for this cluster.
const std::array< eic::Index, 4 > & eic::MergedClusterRelations::parent | ( | ) | const |
Access the (up to 4) parents for this cluster.
const eic::Index & eic::MergedClusterRelations::parent | ( | size_t | i | ) | const |
Access item i of the (up to 4) parents for this cluster.
void eic::MergedClusterRelations::parent | ( | size_t | i, |
eic::Index | value | ||
) |
void eic::MergedClusterRelations::parent | ( | std::array< eic::Index, 4 > | value | ) |
Set the (up to 4) parents for this cluster.
const std::uint32_t & eic::MergedClusterRelations::size | ( | ) | const |
Access the number of valid parents.
void eic::MergedClusterRelations::size | ( | std::uint32_t | value | ) |
Set the number of valid parents.
|
inline |
disconnect from MergedClusterRelationsObj instance
|
friend |
|
friend |
|
friend |