![]() |
ATLAS Offline Software
|
Helper structure implementing the resize(...) function. More...
Public Types | |
| typedef T | Cont_t |
| Type of the DataVector container. More... | |
| typedef Cont_t::base_value_type | Value_t |
| Type of the elements in the DataVector. More... | |
Static Public Member Functions | |
| static void | resize (void *obj, size_t size) |
| Function taking care of resizing DataVector<T> objects in memory. More... | |
Helper structure implementing the resize(...) function.
When reading a branch of DataVector<T>, one needs to use a non-generic version of the resize(...) function. This implementation should work fine for all DataVector<T> types.
Definition at line 99 of file AddDVProxy.h.
| typedef T xAOD::AddDVProxy::Helper< T >::Cont_t |
Type of the DataVector container.
Definition at line 102 of file AddDVProxy.h.
| typedef Cont_t::base_value_type xAOD::AddDVProxy::Helper< T >::Value_t |
Type of the elements in the DataVector.
Definition at line 104 of file AddDVProxy.h.
|
inlinestatic |
Function taking care of resizing DataVector<T> objects in memory.
when branches are read from a TTree.
| obj | A pointer to the full-blown DataVector object |
| size | The size to re-size the vector to |
Definition at line 111 of file AddDVProxy.h.
1.8.18