LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Friends | List of all members
IOIMPL::LCRelationIOImpl Class Reference

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

#include <LCRelationIOImpl.h>

+ Inheritance diagram for IOIMPL::LCRelationIOImpl:

Public Member Functions

 LCRelationIOImpl ()
 
 LCRelationIOImpl (EVENT::LCObject *from, EVENT::LCObject *to, float weight=1.0f)
 
- Public Member Functions inherited from IMPL::LCRelationImpl
 LCRelationImpl ()
 
 LCRelationImpl (EVENT::LCObject *from, EVENT::LCObject *to, float weight=1.0f)
 
 LCRelationImpl (const LCRelationImpl &)=default
 default copy constructor - use with care More...
 
LCRelationImploperator= (const LCRelationImpl &)=default
 default assignment operator - use with care More...
 
 ~LCRelationImpl ()
 
int id () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
EVENT::LCObjectgetFrom () const
 The 'from' object of the given relation. More...
 
EVENT::LCObjectgetTo () const
 The 'to' object of the given relation. More...
 
float getWeight () const
 The weight of the given relation - only if collection flag bit LCIO::LCREL_WEIGHTED is set. More...
 
void setFrom (EVENT::LCObject *from)
 
void setTo (EVENT::LCObject *to)
 
void setWeight (float weight)
 
- Public Member Functions inherited from EVENT::LCRelation
virtual ~LCRelation ()
 Destructor. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor. More...
 
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,... More...
 
template<class V >
const V::ext_type ext () const
 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,... More...
 
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. More...
 
- Public Member Functions inherited from IMPL::AccessChecked
 AccessChecked ()
 
virtual ~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. More...
 
- Public Types inherited from lcrtrel::LCRTRelations
typedef std::type_index ext_index
 
typedef std::shared_ptr< void > ext_type
 
typedef std::map< ext_index,
ext_type
ext_map
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess ()
 
void checkAccess (const char *what)
 
- Protected Attributes inherited from IMPL::LCRelationImpl
EVENT::LCObject_from
 
EVENT::LCObject_to
 
float _weight
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly {false}
 
int _id {-1}
 
- Static Protected Attributes inherited from IMPL::AccessChecked
static std::atomic_int _lCObjectId
 

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

Definition at line 19 of file LCRelationIOImpl.h.

Constructor & Destructor Documentation

IOIMPL::LCRelationIOImpl::LCRelationIOImpl ( )
inline

Definition at line 24 of file LCRelationIOImpl.h.

IOIMPL::LCRelationIOImpl::LCRelationIOImpl ( EVENT::LCObject from,
EVENT::LCObject to,
float  weight = 1.0f 
)
inline

Definition at line 25 of file LCRelationIOImpl.h.

Friends And Related Function Documentation

friend class SIO::SIOLCRelationHandler
friend

Definition at line 21 of file LCRelationIOImpl.h.


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