![]() |
The Gaudi Framework
master (ff829712)
|
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. | |
Public Member Functions | |
KeyedObject ()=default | |
Standard Constructor. The object key is preset to the invalid value. | |
KeyedObject (const key_type &kval) | |
Standard Constructor accepting the object's key. | |
![]() | |
KeyedObject ()=default | |
Standard Constructor. The object key is preset to the invalid value. | |
KeyedObject (const key_type &kval) | |
Standard Constructor accepting the object's key. | |
~KeyedObject () override | |
Standard destructor. | |
const key_type & | key () const |
Retrieve Key of the object. | |
bool | hasKey () const |
Check if the object has a key assigned or not. | |
long | index () const override |
Distance in the parent container. | |
StreamBuffer & | serialize (StreamBuffer &s) const override |
Serialize the object for writing. | |
StreamBuffer & | serialize (StreamBuffer &s) override |
Serialize the object for reading. | |
![]() | |
virtual const CLID & | clID () const |
Retrieve pointer to class identifier. | |
const ObjectContainerBase * | parent () const |
Access to parent object. | |
void | setParent (ObjectContainerBase *value) |
Update parent member. | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the output stream (ASCII) | |
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 | |
![]() | |
unsigned long | addRef () |
Add reference to object (Increase reference counter). | |
unsigned long | release () |
Release reference. If the reference count is ZERO, delete the object. | |
void | setKey (const key_type &key) |
Set object key. | |
![]() | |
ContainedObject ()=default | |
Constructors. | |
ContainedObject (const ContainedObject &) | |
Copy constructor and assignement: do NOT copy the parent reference... | |
ContainedObject & | operator= (const ContainedObject &) |
virtual | ~ContainedObject () |
Destructor. | |
![]() | |
key_type | m_key |
Object Key. | |
long | m_refCount |
Reference counter. | |
bool | m_hasKey |
Boolean to indicate wether a key was already assigned. | |
Definition at line 423 of file MakeAndConsume.cpp.
using Gaudi::TestSuite::S::ConstVector = std::vector<S const*> |
Definition at line 426 of file MakeAndConsume.cpp.
Definition at line 428 of file MakeAndConsume.cpp.
Definition at line 427 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 72 of file KeyedObject.h.
int Gaudi::TestSuite::S::a |
Definition at line 425 of file MakeAndConsume.cpp.