11 #ifndef ROOT_TEmulatedCollectionProxy 12 #define ROOT_TEmulatedCollectionProxy 63 virtual void*
New(
void* memory)
const {
return new(memory) Cont_t; }
66 virtual void*
NewArray(
Int_t nElements)
const {
return new Cont_t[nElements]; }
69 virtual void*
NewArray(
Int_t nElements,
void* memory)
const {
return new(memory) Cont_t[nElements]; }
84 virtual void Clear(
const char *opt =
"");
96 virtual void Commit(
void* env);
100 virtual void Insert(
const void *
data,
void *container,
size_t size);
virtual UInt_t Size() const
Return the current size of the container.
void Expand(UInt_t nCurr, UInt_t left)
virtual void Destructor(void *p, Bool_t dtorOnly=kFALSE) const
std::vector< char > Cont_t
virtual void * New(void *memory) const
Buffer base class used for serializing objects.
virtual UInt_t Sizeof() const
Return the sizeof the collection object.
Streamer around an arbitrary STL like container, which implements basic container functionality...
TEmulatedCollectionProxy(const TEmulatedCollectionProxy ©)
friend class TCollectionProxy
virtual void * Allocate(UInt_t n, Bool_t forceDelete)
Allocate the needed space.
virtual void Streamer(TBuffer &refBuffer)
Streamer Function.
virtual void Resize(UInt_t n, Bool_t force_delete)
Resize the container.
virtual ~TEmulatedCollectionProxy()
virtual void * New() const
virtual TVirtualCollectionProxy * Generate() const
Virtual copy constructor.
virtual void Clear(const char *opt="")
Clear the emulated collection.
virtual TGenCollectionProxy * InitializeEx(Bool_t silent)
Proxy initializer.
The ROOT global object gROOT contains a list of all defined classes.
void WriteItems(int nElements, TBuffer &b)
virtual void Commit(void *env)
Commit the change.
virtual void * NewArray(Int_t nElements, void *memory) const
virtual void * NewArray(Int_t nElements) const
virtual void Insert(const void *data, void *container, size_t size)
Insert data into the container where data is a C-style array of the actual type contained in the coll...
void Shrink(UInt_t nCurr, UInt_t left, Bool_t force)
void ReadItems(int nElements, TBuffer &b)
virtual void DeleteArray(void *p, Bool_t dtorOnly=kFALSE) const
TEmulatedCollectionProxy & operator=(const TEmulatedCollectionProxy &)
Proxy around an arbitrary container, which implements basic functionality and iteration.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual void Streamer(TBuffer &buff, void *pObj, int siz)
Streamer I/O overload.
virtual void * At(UInt_t idx)
Return the address of the value at index 'idx'.
virtual void ReadBuffer(TBuffer &buff, void *pObj)
virtual void Streamer(TBuffer &refBuffer)
Streamer Function.