![]() |
ATLAS Offline Software
|
#include <DVLInfo.h>
Public Member Functions | |
| DVLInfoBase (const std::type_info &tinfo, const std::type_info &elt_tinfo) | |
| Constructor. | |
| virtual | ~DVLInfoBase () |
| Destructor. | |
| const std::type_info & | tinfo () const |
Return the type_info for the container. | |
| CLID | clid () const |
| Return the CLID for the container. | |
| const std::type_info & | elt_tinfo () const |
Return the type_info for the container's element. | |
| virtual void * | make (size_t nreserve) const =0 |
| Construct a new container. | |
| virtual void | push (void *cont_p, void *elt_p) const =0 |
| Push a new pointer into the container. | |
| virtual size_t | size (void *cont_p) const =0 |
| Return the size of the container. | |
| virtual void | clear (void *cont_p) const =0 |
| Erase the elements in the container. | |
| virtual void | del (void *cont_p) const =0 |
| Delete a container. | |
| virtual void * | clone (void *cont_p) const =0 |
| Copy a container. | |
| virtual DVLIteratorBase * | iterator (const void *cont_p) const =0 |
| Return a new iterator object. | |
| virtual SG::AuxVectorBase * | base (void *cont_p) const =0 |
| Return a pointer to the container base. | |
Static Public Member Functions | |
| static DVLInfoBase * | find (const std::type_info &tinfo) |
Find the DVLInfo for the container tinfo. | |
| static DVLInfoBase * | find (CLID clid) |
Find the DVLInfo for the container clid. | |
Private Attributes | |
| const std::type_info & | m_tinfo |
The type_info of the container. | |
| const std::type_info & | m_elt_tinfo |
The type_info of the container's element. | |
| DataModel_detail::DVLInfoBase::DVLInfoBase | ( | const std::type_info & | tinfo, |
| const std::type_info & | elt_tinfo ) |
Constructor.
| tinfo | Type info object for the container being described. |
| elt_tinfo | Type info object for the element type of the container being described (with pointer and const's stripped.) |
Note: these objects should only be allocated statically.
Definition at line 59 of file DVLInfo.cxx.
|
inlinevirtual |
|
pure virtual |
Return a pointer to the container base.
| cont_p | Pointer to the container. |
Implemented in DataModel_detail::DVLInfo< T >.
|
pure virtual |
Erase the elements in the container.
| cont_p | Pointer to the container. |
Implemented in DataModel_detail::DVLInfo< T >.
| CLID DataModel_detail::DVLInfoBase::clid | ( | ) | const |
Return the CLID for the container.
Definition at line 117 of file DVLInfo.cxx.
|
pure virtual |
Copy a container.
| cont_p | Pointer to the container. |
Implemented in DataModel_detail::DVLInfo< T >.
|
pure virtual |
Delete a container.
| cont_p | Pointer to the container. |
Implemented in DataModel_detail::DVLInfo< T >.
| const std::type_info & DataModel_detail::DVLInfoBase::elt_tinfo | ( | ) | const |
Return the type_info for the container's element.
(Pointer and const stripped.)
|
static |
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.
|
static |
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.
|
pure virtual |
Return a new iterator object.
| cont_p | Pointer to the container. |
Implemented in DataModel_detail::DVLInfo< T >.
|
pure virtual |
Construct a new container.
| nreserve | Number of elements for which to reserve space. (Ignored if not appropriate.) |
Implemented in DataModel_detail::DVLInfo< T >.
|
pure 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.) |
Implemented in DataModel_detail::DVLInfo< T >.
|
pure virtual |
Return the size of the container.
| cont_p | Pointer to the container. |
Implemented in DataModel_detail::DVLInfo< T >.
| const std::type_info & DataModel_detail::DVLInfoBase::tinfo | ( | ) | const |
Return the type_info for the container.
|
private |
|
private |