Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Detail::TCollectionProxyInfo::Pushback< T > Class Template Reference

template<class T>
class ROOT::Detail::TCollectionProxyInfo::Pushback< T >

Small helper to encapsulate all necessary data accesses for containers like vector, list, deque.

Author
M.Frank
Version
1.0
Date
10/10/2004

Definition at line 369 of file TCollectionProxyInfo.h.

Public Types

typedef T Cont_t
typedef Environ< Iter_tEnv_t
typedef T::iterator Iter_t
typedef Iterators< Cont_t, fgLargeIteratorIterators_t
typedef Cont_tPCont_t
typedef Env_tPEnv_t
typedef Value_tPValue_t
typedef T::value_type Value_t

Static Public Member Functions

static void * address (T ref)
static void * clear (void *env)
static void * collect (void *coll, void *array)
static void * construct (void *what, size_t size)
static void destruct (void *what, size_t size)
static void * feed (void *from, void *to, size_t size)
static void * first (void *env)
static void * next (void *env)
static PCont_t object (void *ptr)
static void resize (void *obj, size_t n)
static void * size (void *env)
static int value_offset ()

Static Public Attributes

static const bool fgLargeIterator = sizeof(typename Cont_t::iterator) > fgIteratorArenaSize

#include <TCollectionProxyInfo.h>

Inheritance diagram for ROOT::Detail::TCollectionProxyInfo::Pushback< T >:
ROOT::Detail::TCollectionProxyInfo::Type< T > ROOT::Detail::TCollectionProxyInfo::Address< T::const_reference >

Member Typedef Documentation

◆ Cont_t

template<class T>
typedef T ROOT::Detail::TCollectionProxyInfo::Pushback< T >::Cont_t

Definition at line 370 of file TCollectionProxyInfo.h.

◆ Env_t

template<class T>
typedef Environ<Iter_t> ROOT::Detail::TCollectionProxyInfo::Pushback< T >::Env_t

Definition at line 373 of file TCollectionProxyInfo.h.

◆ Iter_t

template<class T>
typedef T::iterator ROOT::Detail::TCollectionProxyInfo::Pushback< T >::Iter_t

Definition at line 371 of file TCollectionProxyInfo.h.

◆ Iterators_t

template<class T>
typedef Iterators<Cont_t,fgLargeIterator> ROOT::Detail::TCollectionProxyInfo::Type< T >::Iterators_t
inherited

Definition at line 356 of file TCollectionProxyInfo.h.

◆ PCont_t

template<class T>
typedef Cont_t* ROOT::Detail::TCollectionProxyInfo::Pushback< T >::PCont_t

Definition at line 375 of file TCollectionProxyInfo.h.

◆ PEnv_t

template<class T>
typedef Env_t* ROOT::Detail::TCollectionProxyInfo::Pushback< T >::PEnv_t

Definition at line 374 of file TCollectionProxyInfo.h.

◆ PValue_t

template<class T>
typedef Value_t* ROOT::Detail::TCollectionProxyInfo::Pushback< T >::PValue_t

Definition at line 376 of file TCollectionProxyInfo.h.

◆ Value_t

template<class T>
typedef T::value_type ROOT::Detail::TCollectionProxyInfo::Pushback< T >::Value_t

Definition at line 372 of file TCollectionProxyInfo.h.

Member Function Documentation

◆ address()

void * ROOT::Detail::TCollectionProxyInfo::Address< T >::address ( T ref)
inlinestaticinherited

Definition at line 262 of file TCollectionProxyInfo.h.

◆ clear()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Type< T >::clear ( void * env)
inlinestaticinherited

Definition at line 310 of file TCollectionProxyInfo.h.

◆ collect()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Type< T >::collect ( void * coll,
void * array )
inlinestaticinherited

Definition at line 342 of file TCollectionProxyInfo.h.

◆ construct()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Type< T >::construct ( void * what,
size_t size )
inlinestaticinherited

Definition at line 336 of file TCollectionProxyInfo.h.

◆ destruct()

template<class T>
void ROOT::Detail::TCollectionProxyInfo::Type< T >::destruct ( void * what,
size_t size )
inlinestaticinherited

Definition at line 349 of file TCollectionProxyInfo.h.

◆ feed()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Pushback< T >::feed ( void * from,
void * to,
size_t size )
inlinestatic

Definition at line 381 of file TCollectionProxyInfo.h.

◆ first()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Type< T >::first ( void * env)
inlinestaticinherited

Definition at line 314 of file TCollectionProxyInfo.h.

◆ next()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Type< T >::next ( void * env)
inlinestaticinherited

Definition at line 327 of file TCollectionProxyInfo.h.

◆ object()

template<class T>
PCont_t ROOT::Detail::TCollectionProxyInfo::Type< T >::object ( void * ptr)
inlinestaticinherited

Definition at line 302 of file TCollectionProxyInfo.h.

◆ resize()

template<class T>
void ROOT::Detail::TCollectionProxyInfo::Pushback< T >::resize ( void * obj,
size_t n )
inlinestatic

Definition at line 377 of file TCollectionProxyInfo.h.

◆ size()

template<class T>
void * ROOT::Detail::TCollectionProxyInfo::Type< T >::size ( void * env)
inlinestaticinherited

Definition at line 305 of file TCollectionProxyInfo.h.

◆ value_offset()

template<class T>
int ROOT::Detail::TCollectionProxyInfo::Pushback< T >::value_offset ( )
inlinestatic

Definition at line 388 of file TCollectionProxyInfo.h.

Member Data Documentation

◆ fgLargeIterator

template<class T>
const bool ROOT::Detail::TCollectionProxyInfo::Type< T >::fgLargeIterator = sizeof(typename Cont_t::iterator) > fgIteratorArenaSize
staticinherited

Definition at line 355 of file TCollectionProxyInfo.h.


The documentation for this class was generated from the following file: