DataModel_detail::DVLInfo< T > Class Template Reference

Inheritance diagram for DataModel_detail::DVLInfo< T >:
DataModel_detail::DVLInfoBase

List of all members.

Public Types

typedef T Container
 Container type.
typedef
SG_STD_OR_BOOST::remove_const
< typename
Container::base_value_type >
::type 
Elt
 The container's element type (with pointer and any const removed).

Public Member Functions

 DVLInfo ()
 Constructor.
virtual void * make (size_t nreserve) const
 Construct a new container.
virtual void push (void *cont_p, void *elt_p) const
 Push a new pointer into the container.
virtual size_t size (void *cont_p) const
 Return the size of the container.
virtual void clear (void *cont_p) const
 Erase the elements in the container.
virtual void del (void *cont_p) const
 Delete a container.
virtual void * clone (void *cont_p) const
 Copy a container.
virtual DVLIteratorBaseiterator (const void *cont_p) const
 Return a new iterator object.
virtual SG::AuxVectorBasebase (void *cont_p) const
 Return a pointer to the container base.

Static Public Member Functions

static const std::type_info * initHelper ()
 Helper to create the DVLInfo static instance.

template<class T>
class DataModel_detail::DVLInfo< T >


Constructor & Destructor Documentation

template<class T >
DataModel_detail::DVLInfo< T >::DVLInfo (  )  [inline]

Constructor.

Note: these objects should only be allocated statically.


Member Function Documentation

template<class T >
SG::AuxVectorBase * DataModel_detail::DVLInfo< T >::base ( void *  cont_p  )  const [inline, virtual]

Return a pointer to the container base.

Parameters:
cont_p Pointer to the container.

Implements DataModel_detail::DVLInfoBase.

template<class T >
void DataModel_detail::DVLInfo< T >::clear ( void *  cont_p  )  const [inline, virtual]

Erase the elements in the container.

Parameters:
cont_p Pointer to the container.

Implements DataModel_detail::DVLInfoBase.

template<class T >
void * DataModel_detail::DVLInfo< T >::clone ( void *  cont_p  )  const [inline, virtual]

Copy a container.

Parameters:
cont_p Pointer to the container.

Implements DataModel_detail::DVLInfoBase.

template<class T >
void DataModel_detail::DVLInfo< T >::del ( void *  cont_p  )  const [inline, virtual]

Delete a container.

Parameters:
cont_p Pointer to the container.

Implements DataModel_detail::DVLInfoBase.

template<class T >
const std::type_info * DataModel_detail::DVLInfo< T >::initHelper (  )  [inline, static]

Helper to create the DVLInfo static instance.

Calling this will create the DVLInfo static instance. This can be called from, for example, an initializer for a class static variable.

template<class T >
DVLIteratorBase * DataModel_detail::DVLInfo< T >::iterator ( const void *  cont_p  )  const [inline, virtual]

Return a new iterator object.

Parameters:
cont_p Pointer to the container.

Implements DataModel_detail::DVLInfoBase.

template<class T >
void * DataModel_detail::DVLInfo< T >::make ( size_t  nreserve  )  const [inline, virtual]

Construct a new container.

Parameters:
nreserve Number of elements for which to reserve space. (Ignored if not appropriate.)

Implements DataModel_detail::DVLInfoBase.

template<class T >
void DataModel_detail::DVLInfo< T >::push ( void *  cont_p,
void *  elt_p 
) const [inline, virtual]

Push a new pointer into the container.

Parameters:
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.

template<class T >
size_t DataModel_detail::DVLInfo< T >::size ( void *  cont_p  )  const [inline, virtual]

Return the size of the container.

Parameters:
cont_p Pointer to the container.

Implements DataModel_detail::DVLInfoBase.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1