LCIO
02.17
|
Classes | |
struct | LCExtension |
Simple Extension - pointer to an object of type T. More... | |
class | LCOwnedExtension |
Simple Extension - pointer to an object of type T where the ownership is taken over by the object holding the extension, i.e. More... | |
class | LCExtensionVector |
Extension vector holding pointers to objects of type T - no ownership of the objects is taken. More... | |
class | LCOwnedExtensionVector |
Extension vector holding pointers to objects of type T - ownership of the objects is taken, i.e. More... | |
class | LCExtensionList |
Extension list holding pointers to objects of type T - no ownership of the objects is taken. More... | |
class | LCOwnedExtensionList |
Extension list holding pointers to objects of type T - ownership of the objects is taken, i.e. More... | |
struct | LC1To1Relation |
One to one relation between two objects of type From and To. More... | |
struct | LC1ToNRelation |
One to many relation between one object of type From to many objects of type To. More... | |
struct | LCNToNRelation |
Many to many relation between objects of type From to objects of type To. More... | |
struct | LCIntExtension |
Special Extension that allows to write int extensions directly (not through a pointer !). More... | |
struct | LCFloatExtension |
struct | LCBoolExtension |
class | LCRTRelations |
Base class that provides run time (user) extensions and relation between objects. More... | |
Functions | |
template<class R > | |
void | set_relation (typename R::from::obj_ptr f, typename R::to::obj_ptr t) |
Set the 1-to-1 relation between two objects - prexisting inconsistent relations involving the two objects are deleted to enforce a consistent set of from-to relations. More... | |
template<class R > | |
void | unset_relation (typename R::from::obj_ptr f) |
Unset the 1-to-1 relation from f. More... | |
template<class R > | |
void | add_relation (typename R::from::obj_ptr f, typename R::to::obj_ptr t) |
Add a link from f to t to an N-to-N relation ship. More... | |
template<class R > | |
void | remove_relation (typename R::from::obj_ptr f, typename R::to::obj_ptr t) |
Remove the link from from f to t from the N-to-N relation ship. More... | |
template<class R > | |
void | remove_relations (typename R::from::obj_ptr f) |
Removes all relations from the given object. More... | |
template<class R > | |
void | merge_relations (typename R::from::obj_ptr f1, typename R::from::obj_ptr f2) |
Merge the relations from f2 to f1 - after this call f1 will hold all the relations and f2 will be empty. More... | |
void lcrtrel::add_relation | ( | typename R::from::obj_ptr | f, |
typename R::to::obj_ptr | t | ||
) |
Add a link from f to t to an N-to-N relation ship.
Definition at line 594 of file LCRTRelations.h.
References lcrtrel_helper::objorcont< is_container >::add().
void lcrtrel::merge_relations | ( | typename R::from::obj_ptr | f1, |
typename R::from::obj_ptr | f2 | ||
) |
Merge the relations from f2 to f1 - after this call f1 will hold all the relations and f2 will be empty.
Definition at line 630 of file LCRTRelations.h.
References lcrtrel_helper::objorcont< is_container >::add(), and lcrtrel_helper::objorcont< is_container >::remove().
void lcrtrel::remove_relation | ( | typename R::from::obj_ptr | f, |
typename R::to::obj_ptr | t | ||
) |
Remove the link from from f to t from the N-to-N relation ship.
Definition at line 607 of file LCRTRelations.h.
References lcrtrel_helper::objorcont< is_container >::remove().
void lcrtrel::remove_relations | ( | typename R::from::obj_ptr | f | ) |
Removes all relations from the given object.
Definition at line 617 of file LCRTRelations.h.
References lcrtrel_helper::objorcont< is_container >::remove().
void lcrtrel::set_relation | ( | typename R::from::obj_ptr | f, |
typename R::to::obj_ptr | t | ||
) |
Set the 1-to-1 relation between two objects - prexisting inconsistent relations involving the two objects are deleted to enforce a consistent set of from-to relations.
Definition at line 580 of file LCRTRelations.h.
void lcrtrel::unset_relation | ( | typename R::from::obj_ptr | f | ) |
Unset the 1-to-1 relation from f.
Definition at line 566 of file LCRTRelations.h.