library: libCore
#include "TGenCollectionProxy.h"

TGenCollectionProxy


class description - header file - source file - inheritance tree (.pdf)

class TGenCollectionProxy : public TVirtualCollectionProxy, public TCollectionProxy

Inheritance Chart:
TVirtualCollectionProxy
TCollectionProxy
<-
TGenCollectionProxy
<-
TEmulatedCollectionProxy
<-
TEmulatedMapProxy
    protected:
void CheckFunctions() const virtual void DeleteItem(Bool_t force, void* ptr) const TGenCollectionProxy* Initialize() const virtual TGenCollectionProxy* InitializeEx() public:
TGenCollectionProxy(const TGenCollectionProxy& copy) TGenCollectionProxy(TCollectionProxy::Info_t typ, size_t iter_size) virtual ~TGenCollectionProxy() virtual void* Allocate(UInt_t n, Bool_t forceDelete) virtual void* At(UInt_t idx) virtual void Clear(const char* opt = "") virtual void Commit(void* env) virtual TVirtualCollectionProxy* Generate() const virtual TClass* GetCollectionClass() virtual EDataType GetType() virtual TClass* GetValueClass() virtual Bool_t HasPointers() const virtual void operator()(TBuffer& refBuffer, void* pObject) virtual void PopProxy() virtual void PushProxy(void* objstart) virtual void Resize(UInt_t n, Bool_t force_delete) virtual void SetValueClass(TClass* newcl) virtual UInt_t Size() const virtual UInt_t Sizeof() const virtual void Streamer(TBuffer& refBuffer) virtual void Streamer(TBuffer& refBuffer, void* pObject, int siz)

Data Members

    protected:
string fName Name of the class being proxied. Bool_t fPointers Flag to indicate if containee has pointers (key or value) TGenCollectionProxy::Method fClear Method cache for container accessors: clear container TGenCollectionProxy::Method fSize Container accessors: size of container TGenCollectionProxy::Method fResize Container accessors: resize container TGenCollectionProxy::Method fFirst Container accessors: generic iteration: first TGenCollectionProxy::Method fNext Container accessors: generic iteration: next TGenCollectionProxy::Method fConstruct Container accessors: block construct TGenCollectionProxy::Method fDestruct Container accessors: block destruct TGenCollectionProxy::Method fFeed Container accessors: block feed TGenCollectionProxy::Method fCollect Method to collect objects from container TGenCollectionProxy::Value* fValue Descriptor of the container value type TGenCollectionProxy::Value* fVal Descriptor of the Value_type TGenCollectionProxy::Value* fKey Descriptor of the key_type ROOT::Environ<char[64]>* fEnv Address of the currently proxied object int fValOffset Offset from key to value (in maps) int fValDiff Offset between two consecutive value_types (memory layout). vector<ROOT::Environ<char[64]>*,allocator<ROOT::Environ<char[64]>*> > fProxyList Stack of recursive proxies vector<ROOT::Environ<char[64]>*,allocator<ROOT::Environ<char[64]>*> > fProxyKept Optimization: Keep proxies once they were created int fSTL_type STL container type type_info& fTypeinfo Type information public:
static const enum TGenCollectionProxy:: kBIT_ISSTRING static const enum TGenCollectionProxy:: kBIT_ISTSTRING static const enum TGenCollectionProxy:: kBOOL_t

Class Description

void DeleteItem(void* ptr)
 Delete individual item from STL container
TGenCollectionProxy* Initialize()
 Late initialization of collection proxy
TGenCollectionProxy* InitializeEx()
 Some hack to avoid const-ness.
void CheckFunctions()
 Allow to check function pointers.
TVirtualCollectionProxy* Generate()
 Virtual copy constructor.
TGenCollectionProxy(const TGenCollectionProxy& copy)
 Copy constructor.
TGenCollectionProxy(Info_t typ, size_t iter_size)
 Initializing constructor
virtual ~TGenCollectionProxy()
 Standard destructor.
UInt_t Sizeof()
 Return the sizeof the collection object.
void PushProxy(void *objstart)
 Push new proxy environment.
void PopProxy()
 Pop old proxy environment.
Bool_t HasPointers()
 Return true if the content is of type 'pointer to'.
void SetValueClass(TClass *newcl)
 Set pointer to the TClass representing the content.
EDataType GetType()
 If the content is a simple numerical value, return its type (see TDataType).
void Clear(const char *opt = "")
 Clear the container.
void Resize(UInt_t n, Bool_t force_delete)
 Resize the container.
UInt_t Size()
 Return the current size of the container.
void* Allocate(UInt_t n, Bool_t forceDelete)
 Block allocation of containees.
void Commit(void* env)
 Block commit of containees.
void Streamer(TBuffer &refBuffer)
 Streamer function.
void Streamer(TBuffer &refBuffer, void *pObject, int siz)
 Streamer I/O overload.
void operator()(TBuffer &refBuffer, void *pObject)
 TClassStreamer I/O overload.

Last update: Tue Jul 11 11:50:03 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.