#include <LCRelationImpl.h>
Inheritance diagram for IMPL::LCRelationImpl:

Public Types | |
| typedef LCRelation | lcobject_type |
Public Member Functions | |
| LCRelationImpl () | |
| LCRelationImpl (EVENT::LCObject *from, EVENT::LCObject *to, float weight=1.0f) | |
| ~LCRelationImpl () | |
| int | id () const |
| EVENT::LCObject * | getFrom () const |
| EVENT::LCObject * | getTo () const |
| float | getWeight () const |
| void | setFrom (EVENT::LCObject *from) |
| void | setTo (EVENT::LCObject *to) |
| void | setWeight (float weight) |
| virtual LCObject * | clone () const |
| template<class V> | |
| V::ext_type | ext () |
| template<class V> | |
| V::rel_type | rel () |
| virtual int | simpleUID () const |
Protected Member Functions | |
| template<class V> | |
| V::ptr & | ptr () |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Protected Attributes | |
| EVENT::LCObject * | _from |
| EVENT::LCObject * | _to |
| float | _weight |
| bool | _readOnly |
| int | _id |
Definition at line 21 of file LCRelationImpl.h.
|
|
Useful typedef for template programming with LCIO Definition at line 37 of file LCRelation.h. |
|
|
Definition at line 25 of file LCRelationImpl.h. |
|
||||||||||||||||
|
Definition at line 26 of file LCRelationImpl.h. |
|
|
Definition at line 29 of file LCRelationImpl.h. |
|
|
Definition at line 20 of file AccessChecked.cc. |
|
|
|
Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method. Reimplemented in IMPL::SimCalorimeterHitImpl. Definition at line 52 of file LCObject.h. |
|
|||||||||
|
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,... Definition at line 430 of file LCRTRelations.h. |
|
|
The 'from' object of the given relation. Implements EVENT::LCRelation. Definition at line 33 of file LCRelationImpl.h. |
|
|
The 'to' object of the given relation. Implements EVENT::LCRelation. Definition at line 34 of file LCRelationImpl.h. |
|
|
The weight of the given relation - only if collection flag bit LCIO::LCREL_WEIGHTED is set. Implements EVENT::LCRelation. Definition at line 35 of file LCRelationImpl.h. |
|
|
Returns an object id for internal (debugging) use in LCIO. Implements EVENT::LCObject. Definition at line 31 of file LCRelationImpl.h. |
|
|||||||||
|
Returns the reference to the pointer to the extension/relation object Definition at line 508 of file LCRTRelations.h. |
|
|||||||||
|
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. Definition at line 444 of file LCRTRelations.h. |
|
|
Definition at line 37 of file LCRelationImpl.h. |
|
|
Reimplemented in IMPL::LCCollectionVec, and IMPL::LCRunHeaderImpl. Definition at line 14 of file AccessChecked.cc. References IMPL::AccessChecked::_readOnly. Referenced by IMPL::LCEventImpl::setAccessMode(), and IMPL::LCCollectionVec::setReadOnly(). |
|
|
Definition at line 38 of file LCRelationImpl.h. |
|
|
Definition at line 39 of file LCRelationImpl.h. |
|
|
Definition at line 24 of file AccessChecked.h. |
|
|
Definition at line 43 of file LCRelationImpl.h. Referenced by SIO::SIOLCRelationHandler::read(). |
|
|
Definition at line 34 of file AccessChecked.h. Referenced by IMPL::AccessChecked::AccessChecked(). |
|
|
Definition at line 33 of file AccessChecked.h. Referenced by IMPL::AccessChecked::setReadOnly(). |
|
|
Definition at line 44 of file LCRelationImpl.h. Referenced by SIO::SIOLCRelationHandler::read(). |
|
|
Definition at line 45 of file LCRelationImpl.h. Referenced by SIO::SIOLCRelationHandler::read(). |
1.3.9.1