Adding stuff needed for io (friend declarations, etc.) More...
#include <IOIMPL/LCRelationIOImpl.h>
Public Member Functions | |
LCRelationIOImpl (EVENT::LCObject *from, EVENT::LCObject *to, float weight=1.0f) | |
![]() | |
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::LCObject * | getFrom () const |
The 'from' object of the given relation. | |
EVENT::LCObject * | getTo () 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) |
![]() | |
virtual | ~LCRelation () |
Destructor. | |
![]() | |
virtual | ~LCObject () |
Destructor. | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
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. | |
![]() | |
virtual int | simpleUID () const |
Friends | |
class | SIO::SIOLCRelationHandler |
Additional Inherited Members | |
![]() | |
typedef LCRelation | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () throw ( EVENT::ReadOnlyException ) |
void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
![]() | |
EVENT::LCObject * | _from |
EVENT::LCObject * | _to |
float | _weight |
![]() | |
bool | _readOnly |
int | _id |
Adding stuff needed for io (friend declarations, etc.)