Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

IMPL::LCRelationImpl Class Reference

Implementation of the LCRelation. More...

#include <IMPL/LCRelationImpl.h>

Inheritance diagram for IMPL::LCRelationImpl:

EVENT::LCRelation IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::LCRelationIOImpl List of all members.

Public Member Functions

 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)

Protected Attributes

EVENT::LCObject_from
EVENT::LCObject_to
float _weight

Detailed Description

Implementation of the LCRelation.

Author:
gaede
Version:
id


The documentation for this class was generated from the following file:
Generated on Wed Dec 2 17:39:55 2009 for LCIO by  doxygen 1.3.9.1