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)
 LCRelationImpl (const LCRelationImpl &)
 default copy constructor - use with care
LCRelationImploperator= (const LCRelationImpl &)
 default assignment operator - use with care
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:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1