LCIO  "2.7.4"
All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Friends | List of all members
IOIMPL::LCRelationIOImpl Class Reference

Adding stuff needed for io (friend declarations, etc.) More...

#include <IOIMPL/LCRelationIOImpl.h>

Inheritance diagram for IOIMPL::LCRelationIOImpl:
IMPL::LCRelationImpl EVENT::LCRelation IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations

Public Member Functions

 LCRelationIOImpl (EVENT::LCObject *from, EVENT::LCObject *to, float weight=1.0f)
 
- Public Member Functions inherited from IMPL::LCRelationImpl
 LCRelationImpl (EVENT::LCObject *from, EVENT::LCObject *to, float weight=1.0f)
 
int id () const
 Returns an object id for internal (debugging) use in LCIO.
 
EVENT::LCObjectgetFrom () const
 The 'from' object of the given relation.
 
EVENT::LCObjectgetTo () const
 The 'to' object of the given relation.
 
float getWeight () const
 The weight of the given relation - only if collection flag bit LCIO::LCREL_WEIGHTED is set.
 
void setFrom (EVENT::LCObject *from)
 
void setTo (EVENT::LCObject *to)
 
void setWeight (float weight)
 
- Public Member Functions inherited from EVENT::LCRelation
virtual ~LCRelation ()
 Destructor.
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
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,...
 
template<class V >
const V::ext_type ext () const
 
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.
 
- Public Member Functions inherited from IMPL::AccessChecked
virtual int simpleUID () const
 

Friends

class SIO::SIOLCRelationHandler
 

Additional Inherited Members

- Public Types inherited from EVENT::LCRelation
typedef LCRelation lcobject_type
 Useful typedef for template programming with LCIO.
 
- Protected Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ptr & ptr () const
 Returns the reference to the pointer to the extension/relation object.
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess () throw ( EVENT::ReadOnlyException )
 
void checkAccess (const char *what) throw ( EVENT::ReadOnlyException )
 
- Protected Attributes inherited from IMPL::LCRelationImpl
EVENT::LCObject_from
 
EVENT::LCObject_to
 
float _weight
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly
 
int _id
 

Detailed Description

Adding stuff needed for io (friend declarations, etc.)

Author
gaede
Version
Id:
LCRelationIOImpl.h,v 1.4 2005-04-15 08:37:40 gaede Exp

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