The Gaudi Framework  master (da3d77e1)
Gaudi::TestSuite::S Struct Reference
Inheritance diagram for Gaudi::TestSuite::S:
Collaboration diagram for Gaudi::TestSuite::S:

Public Types

using ConstVector = std::vector< S const * >
 
using Selection = SharedObjectsContainer< S >
 
using Container = KeyedContainer< S, Containers::HashMap >
 
- Public Types inherited from KeyedObject< int >
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...
 
- Public Member Functions inherited from KeyedObject< int >
 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_typekey () 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...
 
StreamBufferserialize (StreamBuffer &s) const override
 Serialize the object for writing. More...
 
StreamBufferserialize (StreamBuffer &s) override
 Serialize the object for reading. More...
 
- Public Member Functions inherited from ContainedObject
virtual const CLIDclID () const
 Retrieve pointer to class identifier. More...
 
const ObjectContainerBaseparent () 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::ostreamfillStream (std::ostream &s) const
 Fill the output stream (ASCII) More...
 

Public Attributes

int a
 

Additional Inherited Members

- Static Public Member Functions inherited from ContainedObject
static const CLIDclassID ()
 
- Protected Types inherited from KeyedObject< int >
typedef Containers::key_traits< key_typetraits
 definition of the container key traits to be made friend More...
 
- Protected Member Functions inherited from KeyedObject< int >
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...
 
- Protected Member Functions inherited from ContainedObject
 ContainedObject ()=default
 Constructors. More...
 
 ContainedObject (const ContainedObject &)
 Copy constructor and assignement: do NOT copy the parent reference... More...
 
ContainedObjectoperator= (const ContainedObject &)
 
virtual ~ContainedObject ()
 Destructor. More...
 
- Protected Attributes inherited from KeyedObject< int >
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...
 

Detailed Description

Definition at line 392 of file MakeAndConsume.cpp.

Member Typedef Documentation

◆ ConstVector

Definition at line 395 of file MakeAndConsume.cpp.

◆ Container

◆ Selection

Member Function Documentation

◆ KeyedObject() [1/2]

KeyedObject< KEY >::KeyedObject
default

Standard Constructor. The object key is preset to the invalid value.

◆ KeyedObject() [2/2]

KeyedObject< KEY >::KeyedObject
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.

78 : m_key( kval ), m_refCount( 0 ), m_hasKey( true ) {}

Member Data Documentation

◆ a

int Gaudi::TestSuite::S::a

Definition at line 394 of file MakeAndConsume.cpp.


The documentation for this struct was generated from the following file:
KeyedObject< int >::m_key
key_type m_key
Object Key.
Definition: KeyedObject.h:57
KeyedObject< int >::m_refCount
long m_refCount
Reference counter.
Definition: KeyedObject.h:59
KeyedObject< int >::m_hasKey
bool m_hasKey
Boolean to indicate wether a key was already assigned.
Definition: KeyedObject.h:61