![]() |
The Gaudi Framework
master (da3d77e1)
|
Public Types | |
using | ConstVector = std::vector< S const * > |
using | Selection = SharedObjectsContainer< S > |
using | Container = KeyedContainer< S, Containers::HashMap > |
![]() | |
typedef int | key_type |
Definition of the key-type to access object. More... | |
Public Member Functions | |
KeyedObject ()=default | |
Standard Constructor. The object key is preset to the invalid value. More... | |
KeyedObject (const key_type &kval) | |
Standard Constructor accepting the object's key. More... | |
![]() | |
KeyedObject ()=default | |
Standard Constructor. The object key is preset to the invalid value. More... | |
KeyedObject (const key_type &kval) | |
Standard Constructor accepting the object's key. More... | |
~KeyedObject () override | |
Standard destructor. More... | |
const key_type & | key () const |
Retrieve Key of the object. More... | |
bool | hasKey () const |
Check if the object has a key assigned or not. More... | |
long | index () const override |
Distance in the parent container. More... | |
StreamBuffer & | serialize (StreamBuffer &s) const override |
Serialize the object for writing. More... | |
StreamBuffer & | serialize (StreamBuffer &s) override |
Serialize the object for reading. More... | |
![]() | |
virtual const CLID & | clID () const |
Retrieve pointer to class identifier. More... | |
const ObjectContainerBase * | parent () const |
Access to parent object. More... | |
void | setParent (ObjectContainerBase *value) |
Update parent member. More... | |
virtual long | index () const |
Distance in the parent container. More... | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the output stream (ASCII) More... | |
Public Attributes | |
int | a |
Additional Inherited Members | |
![]() | |
static const CLID & | classID () |
![]() | |
typedef Containers::key_traits< key_type > | traits |
definition of the container key traits to be made friend More... | |
![]() | |
unsigned long | addRef () |
Add reference to object (Increase reference counter). More... | |
unsigned long | release () |
Release reference. If the reference count is ZERO, delete the object. More... | |
void | setKey (const key_type &key) |
Set object key. More... | |
![]() | |
ContainedObject ()=default | |
Constructors. More... | |
ContainedObject (const ContainedObject &) | |
Copy constructor and assignement: do NOT copy the parent reference... More... | |
ContainedObject & | operator= (const ContainedObject &) |
virtual | ~ContainedObject () |
Destructor. More... | |
![]() | |
key_type | m_key |
Object Key. More... | |
long | m_refCount |
Reference counter. More... | |
bool | m_hasKey |
Boolean to indicate wether a key was already assigned. More... | |
Definition at line 392 of file MakeAndConsume.cpp.
using Gaudi::TestSuite::S::ConstVector = std::vector<S const*> |
Definition at line 395 of file MakeAndConsume.cpp.
Definition at line 397 of file MakeAndConsume.cpp.
Definition at line 396 of file MakeAndConsume.cpp.
|
default |
Standard Constructor. The object key is preset to the invalid value.
|
inline |
Standard Constructor accepting the object's key.
The key must be valid and cannot be changed later.
Definition at line 78 of file KeyedObject.h.
int Gaudi::TestSuite::S::a |
Definition at line 394 of file MakeAndConsume.cpp.