AnalysisTree
|
#include <IndexedObject.hpp>
Public Member Functions | |
IndexedObject (size_t id) | |
IndexedObject (const IndexedObject &indexedObject)=default | |
IndexedObject (IndexedObject &&indexedObject)=default | |
IndexedObject & | operator= (IndexedObject &&)=default |
IndexedObject & | operator= (const IndexedObject &indexedObject)=default |
ANALYSISTREE_ATTR_NODISCARD size_t | GetId () const |
Friends | |
class | IndexAccessor |
bool | operator== (const IndexedObject &that, const IndexedObject &other) |
bool | operator!= (const IndexedObject &that, const IndexedObject &other) |
This is the base class for all indexed objects like tracks, channels, detectors etc By the contract field id_ is uniq and an actual position inside vector object (e.g. TClonesArray)
|
inlineexplicit |
Object ID is defined at the object creation and mustn't change anymore in the lifecycle
id_ |
|
default |
Copy ctor for IndexedObject TODO consider if we do really need this ctor since as soon as it was copied it is not uniq
indexedObject |