Helper functions for accessing the container data via the proxy.
More...
Helper functions for accessing the container data via the proxy.
Definition at line 155 of file TDVCollectionProxy.cxx.
◆ Cont_t
◆ Env_t
◆ clear()
static void* xAOD::TDVCollectionFuncs::clear |
( |
void * |
env | ) |
|
|
inlinestatic |
◆ collect()
static void* xAOD::TDVCollectionFuncs::collect |
( |
void * |
, |
|
|
void * |
|
|
) |
| |
|
inlinestatic |
Not implemented for xAOD.
Definition at line 315 of file TDVCollectionProxy.cxx.
316 ::Fatal(
"xAOD::TDVCollectionProxy",
"collect not implemented" );
◆ construct()
static void* xAOD::TDVCollectionFuncs::construct |
( |
void * |
, |
|
|
size_t |
|
|
) |
| |
|
inlinestatic |
Not implemented for xAOD.
Definition at line 284 of file TDVCollectionProxy.cxx.
285 ::Fatal(
"xAOD::TDVCollectionProxy",
"construct not implemented" );
◆ cont()
static Cont_t* xAOD::TDVCollectionFuncs::cont |
( |
void * |
env | ) |
|
|
inlinestatic |
Fetch the container from a proxy environment.
- Parameters
-
env | The proxy environment. |
Definition at line 198 of file TDVCollectionProxy.cxx.
201 TEnvBuff&
buff =
e.fIterator;
◆ create_env()
static void* xAOD::TDVCollectionFuncs::create_env |
( |
| ) |
|
|
inlinestatic |
◆ destruct()
static void xAOD::TDVCollectionFuncs::destruct |
( |
void * |
, |
|
|
size_t |
|
|
) |
| |
|
inlinestatic |
Not implemented for xAOD.
Definition at line 290 of file TDVCollectionProxy.cxx.
291 ::Fatal(
"xAOD::TDVCollectionProxy",
"destruct not implemented" );
◆ feed()
static void* xAOD::TDVCollectionFuncs::feed |
( |
void * |
, |
|
|
void * |
to, |
|
|
size_t |
size |
|
) |
| |
|
inlinestatic |
Definition at line 295 of file TDVCollectionProxy.cxx.
299 const std::type_info &elem_typeinfo =
dv->dvlinfo_v().elt_tinfo();
302 if(
mn) cout <<
"PROX: feed, typename=" << ru_type.getTypeName() <<
" typesize=" << ru_type.getSize() <<endl;
306 void *
obj = ru_type.create();
◆ first()
static void* xAOD::TDVCollectionFuncs::first |
( |
void * |
env | ) |
|
|
inlinestatic |
Return the first element of the container.
This resets the internal pointer to 0.
- Parameters
-
env | The proxy environment. |
- Returns
- A pointer to the first element, or 0 if the container is empty.
Definition at line 211 of file TDVCollectionProxy.cxx.
214 TEnvBuff&
buff =
e.fIterator;
◆ next()
static void* xAOD::TDVCollectionFuncs::next |
( |
void * |
env | ) |
|
|
inlinestatic |
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.
- Parameters
-
env | The proxy environment. |
- Returns
- A pointer to the following element, or 0 if we're past the end.
Definition at line 233 of file TDVCollectionProxy.cxx.
237 TEnvBuff&
buff =
e.fIterator;
238 buff.fIndex +=
e.fIdx;
240 if(
buff.fIndex >=
e.fSize ) {
◆ resize()
static void xAOD::TDVCollectionFuncs::resize |
( |
void * |
, |
|
|
size_t |
|
|
) |
| |
|
inlinestatic |
Not implemented for xAOD.
Definition at line 279 of file TDVCollectionProxy.cxx.
280 ::Fatal(
"xAOD::TDVCollectionProxy",
"resize function not specified!" );
◆ size()
static void* xAOD::TDVCollectionFuncs::size |
( |
void * |
env | ) |
|
|
inlinestatic |
Return the size of the container.
- Parameters
-
env | The proxy environment. |
Definition at line 251 of file TDVCollectionProxy.cxx.
255 return &(
e->fSize );
The documentation for this class was generated from the following file: