ATLAS Offline Software
|
#include <DVLInfo.h>
Public Types | |
typedef T | Container |
Container type. More... | |
typedef std::remove_const< typename Container::base_value_type >::type | Elt |
The container's element type (with pointer and any const removed). More... | |
Public Member Functions | |
DVLInfo () | |
Constructor. More... | |
virtual void * | make (size_t nreserve) const |
Construct a new container. More... | |
virtual void | push (void *cont_p, void *elt_p) const |
Push a new pointer into the container. More... | |
virtual size_t | size (void *cont_p) const |
Return the size of the container. More... | |
virtual void | clear (void *cont_p) const |
Erase the elements in the container. More... | |
virtual void | del (void *cont_p) const |
Delete a container. More... | |
virtual void * | clone (void *cont_p) const |
Copy a container. More... | |
virtual DVLIteratorBase * | iterator (const void *cont_p) const |
Return a new iterator object. More... | |
virtual SG::AuxVectorBase * | base (void *cont_p) const |
Return a pointer to the container base. More... | |
const std::type_info & | tinfo () const |
Return the type_info for the container. More... | |
CLID | clid () const |
Return the CLID for the container. More... | |
const std::type_info & | elt_tinfo () const |
Return the type_info for the container's element. More... | |
Static Public Member Functions | |
static const std::type_info * | initHelper () |
Helper to create the DVLInfo static instance. More... | |
static DVLInfoBase * | find (const std::type_info &tinfo) |
Find the DVLInfo for the container tinfo. More... | |
static DVLInfoBase * | find (CLID clid) |
Find the DVLInfo for the container clid. More... | |
Private Attributes | |
const std::type_info & | m_tinfo |
The type_info of the container. More... | |
const std::type_info & | m_elt_tinfo |
The type_info of the container's element. More... | |
typedef T DataModel_detail::DVLInfo< T >::Container |
typedef std::remove_const<typename Container::base_value_type>::type DataModel_detail::DVLInfo< T >::Elt |
DataModel_detail::DVLInfo< T >::DVLInfo | ( | ) |
Constructor.
Note: these objects should only be allocated statically.
|
virtual |
Return a pointer to the container base.
cont_p | Pointer to the container. |
Implements DataModel_detail::DVLInfoBase.
|
virtual |
Erase the elements in the container.
cont_p | Pointer to the container. |
Implements DataModel_detail::DVLInfoBase.
|
inherited |
Return the CLID for the container.
Definition at line 117 of file DVLInfo.cxx.
|
virtual |
Copy a container.
cont_p | Pointer to the container. |
Implements DataModel_detail::DVLInfoBase.
|
virtual |
Delete a container.
cont_p | Pointer to the container. |
Implements DataModel_detail::DVLInfoBase.
|
inherited |
Return the type_info
for the container's element.
(Pointer and const stripped.)
|
staticinherited |
Find the DVLInfo
for the container clid.
Find the DVLInfo
for the container tinfo.
clid | CLID of the desired container. |
DVLInfo
, or 0 if not found.clid | CLID of the desired container. |
tinfo | type_info of the desired container. |
DVLInfo
, or 0 if not found. Definition at line 105 of file DVLInfo.cxx.
|
staticinherited |
Find the DVLInfo
for the container tinfo.
tinfo | type_info of the desired container. |
DVLInfo
, or 0 if not found. Definition at line 76 of file DVLInfo.cxx.
|
static |
|
virtual |
Return a new iterator object.
cont_p | Pointer to the container. |
Implements DataModel_detail::DVLInfoBase.
|
virtual |
Construct a new container.
nreserve | Number of elements for which to reserve space. (Ignored if not appropriate.) |
Implements DataModel_detail::DVLInfoBase.
|
virtual |
Push a new pointer into the container.
cont_p | Pointer to the container. |
elt_p | Pointer to the element to push. (Must match the container's declared element type.) |
Implements DataModel_detail::DVLInfoBase.
|
virtual |
Return the size of the container.
cont_p | Pointer to the container. |
Implements DataModel_detail::DVLInfoBase.
|
inherited |
Return the type_info
for the container.
|
privateinherited |
|
privateinherited |