#include <GaudiKernel/ContainedObject.h>
Public Methods | |
| 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... | |
| long | distance () const |
| Distance in the parent container. More... | |
| virtual StreamBuffer& | serialize ( StreamBuffer& s ) const |
| Serialize the object for writing. More... | |
| virtual StreamBuffer& | serialize ( StreamBuffer& s ) |
| Serialize the object for reading. More... | |
| virtual std::ostream& | fillStream ( std::ostream& s ) const |
| Fill the output stream (ASCII). More... | |
Static Public Methods | |
| const CLID& | classID () |
Protected Methods | |
| ContainedObject () | |
| Constructors. More... | |
| ContainedObject (const ContainedObject&) | |
| Copy constructor. More... | |
| virtual | ~ContainedObject () |
| Destructor. More... | |
| ContainedObject& | operator= (const ContainedObject&) |
| Clone operator. More... | |
Private Attributes | |
| ObjectContainerBase* | m_parent |
| Pointer to the parent. More... | |
Friends | |
| class | ObjectVector< ContainedObject > |
| class | ObjectList< ContainedObject > |
| std::ostream& | operator<< ( std::ostream& s, const ContainedObject& obj ) |
| Output operator(ASCII). More... | |
ObjectVector, or ObjectList), have to inherit from the class ContainedObject. It guarantees the navigability from the contained object back to its container.
Definition at line 31 of file ContainedObject.h.
|
|
Constructors.
Definition at line 39 of file ContainedObject.h. |
|
|
Copy constructor.
Definition at line 42 of file ContainedObject.h. |
|
|
Destructor.
Definition at line 93 of file ContainedObject.h. |
|
|
Retrieve pointer to class identifier.
Definition at line 54 of file ContainedObject.h. |
|
|
Definition at line 55 of file ContainedObject.h. Referenced by clID(). |
|
|
Distance in the parent container.
Definition at line 63 of file ContainedObject.h. |
|
|
Fill the output stream (ASCII).
Definition at line 79 of file ContainedObject.h. Referenced by operator<<(). |
|
|
Clone operator.
Definition at line 47 of file ContainedObject.h. |
|
|
Access to parent object.
Definition at line 58 of file ContainedObject.h. Referenced by SmartRef::SmartRef(), and SmartRef::operator()(). |
|
|
Serialize the object for reading.
Definition at line 70 of file ContainedObject.h. |
|
|
Serialize the object for writing.
Definition at line 66 of file ContainedObject.h. |
|
|
Update parent member.
Definition at line 60 of file ContainedObject.h. |
|
|
Definition at line 35 of file ContainedObject.h. |
|
|
Allow the container classes access to protected members.
Definition at line 34 of file ContainedObject.h. |
|
|
Output operator(ASCII).
Definition at line 75 of file ContainedObject.h. |
|
|
Pointer to the parent.
Definition at line 89 of file ContainedObject.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000