LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
List of all members
lcrtrel::LCOwnedExtension< U, T > Class Template Reference

Simple Extension - pointer to an object of type T where the ownership is taken over by the object holding the extension, i.e. More...

#include <LCRTRelations.h>

Inheritance diagram for lcrtrel::LCOwnedExtension< U, T >:
lcrtrel_helper::LCBaseLinkTraits< U, T, SimplePtrInit, DeletePtr< T > > lcrtrel_helper::LCBaseTraits< U, T, SimplePtrInit, DeletePtr< T >, 1 >

Additional Inherited Members

- Public Types inherited from lcrtrel_helper::LCBaseLinkTraits< U, T, SimplePtrInit, DeletePtr< T > >
typedef LCBaseTraits< U, T,
SimplePtrInit, DeletePtr< T >, 1 > 
base
 
typedef T *& ext_type
 
typedef T * rel_type
 
typedef base::ptr obj_ptr
 
- Public Types inherited from lcrtrel_helper::LCBaseTraits< U, T, SimplePtrInit, DeletePtr< T >, 1 >
typedef T * ptr
 base pointer type
 
typedef U tag
 
- Static Public Member Functions inherited from lcrtrel_helper::LCBaseTraits< U, T, SimplePtrInit, DeletePtr< T >, 1 >
static void clean (void *v)
 
static ptr init ()
 
static DeleteFPtr deletePtr ()
 
- Static Public Attributes inherited from lcrtrel_helper::LCBaseLinkTraits< U, T, SimplePtrInit, DeletePtr< T > >
static const bool is_container
 
- Static Public Attributes inherited from lcrtrel_helper::LCBaseTraits< U, T, SimplePtrInit, DeletePtr< T >, 1 >
static const int allowed_to_call_ext
 

Detailed Description

template<class U, typename T>
class lcrtrel::LCOwnedExtension< U, T >

Simple Extension - pointer to an object of type T where the ownership is taken over by the object holding the extension, i.e.

it deletes the object when itself is deleted. The class U needs to be the subclass type, e.g.
struct MyAttributes : public LCExtension<MyAttributes,Attributes> {} ;


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