The Gaudi Framework  master (6507eef1)
Loading...
Searching...
No Matches
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.

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.
Public Member Functions inherited from KeyedObject< int >
 KeyedObject ()=default
 Standard Constructor. The object key is preset to the invalid value.
 ~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.
Public Member Functions inherited from ContainedObject
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 StreamBuffer & serialize (StreamBuffer &s)
 Serialize the object for reading.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the output stream (ASCII).

Public Attributes

int a

Additional Inherited Members

Static Public Member Functions inherited from ContainedObject
static const CLID & classID ()
Protected Types inherited from KeyedObject< int >
using traits
 definition of the container key traits to be made friend
Protected Member Functions inherited from KeyedObject< int >
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.
Protected Member Functions inherited from ContainedObject
 ContainedObject ()=default
 Constructors.
 ContainedObject (const ContainedObject &)
 Copy constructor and assignement: do NOT copy the parent reference...
ContainedObject & operator= (const ContainedObject &)
virtual ~ContainedObject ()
 Destructor.
Protected Attributes inherited from KeyedObject< int >
key_type m_key
 Object Key.
long m_refCount
 Reference counter.
bool m_hasKey
 Boolean to indicate wether a key was already assigned.

Detailed Description

Definition at line 450 of file MakeAndConsume.cpp.

Member Typedef Documentation

◆ ConstVector

using Gaudi::TestSuite::S::ConstVector = std::vector<S const*>

Definition at line 453 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 ( const key_type & kval)
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.

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

Member Data Documentation

◆ a

int Gaudi::TestSuite::S::a

Definition at line 452 of file MakeAndConsume.cpp.


The documentation for this struct was generated from the following file: