LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
EVENT::LCObject Class Referenceabstract

The generic object that is held in an LCCollection. More...

#include <LCObject.h>

+ Inheritance diagram for EVENT::LCObject:

Public Member Functions

virtual ~LCObject ()
 Destructor. More...
 
virtual int id () const =0
 Returns an object id for internal (debugging) use in LCIO. More...
 
virtual LCObjectclone () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
- Public Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ext_type ext ()
 Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... More...
 
template<class V >
const V::ext_type ext () const
 Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... More...
 
template<class V >
V::rel_type rel ()
 Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. More...
 

Additional Inherited Members

- Public Types inherited from lcrtrel::LCRTRelations
typedef std::type_index ext_index
 
typedef std::shared_ptr< void > ext_type
 
typedef std::map< ext_index,
ext_type
ext_map
 

Detailed Description

The generic object that is held in an LCCollection.

Every object stored in an LCCollection, i.e. in an LCEvent has to implement this interface.

Author
gaede
Version
Jun 7, 2003 fg 20040405 moved here from hep.lcio.data

Definition at line 30 of file LCObject.h.

Constructor & Destructor Documentation

virtual EVENT::LCObject::~LCObject ( )
inlinevirtual

Destructor.

Definition at line 34 of file LCObject.h.

Member Function Documentation

virtual LCObject* EVENT::LCObject::clone ( ) const
inlinevirtual

Returns an object id for internal (debugging) use in LCIO.

Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method.

Definition at line 52 of file LCObject.h.

virtual int EVENT::LCObject::id ( ) const
pure virtual

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