Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ContainedObject Class Reference

#include <GaudiKernel/ContainedObject.h>

Inheritance diagram for ContainedObject:

Inheritance graph
[legend]
List of all members.

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...


Friends

class ObjectVector< ContainedObject >
 Allow the container classes access to protected members. More...

class ObjectList< ContainedObject >
std::ostream & operator<< (std::ostream &s, const ContainedObject &obj)
 Output operator (ASCII). More...


Detailed Description

All classes that their objects may be contained in an LHCb ObjectContainer (e.g. ObjectVector, or ObjectList), have to inherit from the class ContainedObject. It guarantees the navigability from the contained object back to its container.
Author:
Pavel Binko


Constructor & Destructor Documentation

ContainedObject::ContainedObject   [inline, protected]
 

Constructors.

ContainedObject::ContainedObject const ContainedObject &    [inline, protected]
 

Copy constructor.

ContainedObject::~ContainedObject   [inline, protected, virtual]
 

Destructor.


Member Function Documentation

const CLID& ContainedObject::classID   [inline, static]
 

Reimplemented in Atlfast::Cell, Atlfast::Cluster, Atlfast::Jet, Atlfast::ReconstructedParticle, Atlfast::SimpleTestStatistic, and Atlfast::Track.

virtual const CLID& ContainedObject::clID   const [inline, virtual]
 

Retrieve pointer to class identifier.

Reimplemented in Atlfast::Cell, Atlfast::Cluster, Atlfast::Jet, Atlfast::ReconstructedParticle, Atlfast::SimpleTestStatistic, and Atlfast::Track.

long ContainedObject::distance   const [inline]
 

Distance in the parent container.

virtual std::ostream& ContainedObject::fillStream std::ostream &    s const [inline, virtual]
 

Fill the output stream (ASCII).

ContainedObject& ContainedObject::operator= const ContainedObject &    [inline, protected]
 

Clone operator.

const ObjectContainerBase* ContainedObject::parent   const [inline]
 

Access to parent object.

virtual StreamBuffer& ContainedObject::serialize StreamBuffer &    s [inline, virtual]
 

Serialize the object for reading.

Reimplemented in Atlfast::Cell, Atlfast::Cluster, Atlfast::Jet, Atlfast::ReconstructedParticle, and Atlfast::Track.

virtual StreamBuffer& ContainedObject::serialize StreamBuffer &    s const [inline, virtual]
 

Serialize the object for writing.

Reimplemented in Atlfast::Cell, Atlfast::Cluster, Atlfast::Jet, Atlfast::ReconstructedParticle, and Atlfast::Track.

void ContainedObject::setParent ObjectContainerBase *    value [inline]
 

Update parent member.


Friends And Related Function Documentation

friend class ObjectList< ContainedObject > [friend]
 

friend class ObjectVector< ContainedObject > [friend]
 

Allow the container classes access to protected members.

std::ostream& operator<< std::ostream &    s,
const ContainedObject &    obj
[friend]
 

Output operator (ASCII).


The documentation for this class was generated from the following file:
Generated on Mon Feb 4 15:55:55 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001