Helper functions for accessing the container data via the proxy. More...
Classes | |
struct | TEnvBuff |
Public Types | |
typedef std::vector< char * > | Cont_t |
The container type. We alias this with the real vector that lives inside the DataVector . | |
typedef ROOT::TCollectionProxyInfo::Environ < TEnvBuff > | Env_t |
The Root proxy environment structure. | |
Static Public Member Functions | |
static Cont_t * | cont (void *env) |
static void * | first (void *env) |
static void * | next (void *env) |
static void * | size (void *env) |
static void * | clear (void *env) |
static void * | create_env () |
Return a new environment structure. | |
static void | resize (void *, size_t) |
Not implemented for xAOD. | |
static void * | construct (void *, size_t) |
Not implemented for xAOD. | |
static void | destruct (void *, size_t) |
Not implemented for xAOD. | |
static void * | feed (void *, void *, size_t) |
Not implemented for xAOD. | |
static void * | collect (void *, void *) |
Not implemented for xAOD. |
Helper functions for accessing the container data via the proxy.
static void* xAOD::TDVCollectionFuncs::clear | ( | void * | env | ) | [inline, static] |
Erase the container.
env | The proxy environment. |
static Cont_t* xAOD::TDVCollectionFuncs::cont | ( | void * | env | ) | [inline, static] |
Fetch the container from a proxy environment.
env | The proxy environment. |
static void* xAOD::TDVCollectionFuncs::first | ( | void * | env | ) | [inline, static] |
Return the first element of the container.
This resets the internal pointer to 0.
env | The proxy environment. |
static void* xAOD::TDVCollectionFuncs::next | ( | void * | env | ) | [inline, static] |
Return a following element of the container.
The internal pointer will be advanced by the value of e.idx
(after which e.idx
will be reset to 0). A pointer to the element referenced by this new index will be returned.
env | The proxy environment. |
static void* xAOD::TDVCollectionFuncs::size | ( | void * | env | ) | [inline, static] |
Return the size of the container.
env | The proxy environment. |