11#ifndef ROOT_TEmulatedCollectionProxy
12#define ROOT_TEmulatedCollectionProxy
65 void*
New(
void* memory)
const override {
return new(memory)
Cont_t; }
77 void*
NewArray(
Int_t nElements,
void* memory)
const override {
return new(memory)
Cont_t[nElements]; }
98 void Clear(
const char *opt =
"")
override;
110 void Commit(
void* env)
override;
114 void Insert(
const void *
data,
void *container,
size_t size)
override;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Buffer base class used for serializing objects.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Streamer around an arbitrary STL like container, which implements basic container functionality.
TEmulatedCollectionProxy & operator=(const TEmulatedCollectionProxy &)
UInt_t Size() const override
void Insert(const void *data, void *container, size_t size) override
Insert data into the container where data is a C-style array of the actual type contained in the coll...
TGenCollectionProxy * InitializeEx(Bool_t silent) override
Proxy initializer.
void * Allocate(UInt_t n, Bool_t forceDelete) override
TClass::ObjectPtr NewObjectArray(Int_t nElements) const override
void * NewArray(Int_t nElements) const override
friend class TCollectionProxy
void Expand(UInt_t nCurr, UInt_t left)
TClass::ObjectPtr NewObject() const override
void * New() const override
void WriteItems(int nElements, TBuffer &b)
void * New(void *memory) const override
TClass::ObjectPtr NewObject(void *memory) const override
TVirtualCollectionProxy * Generate() const override
Virtual copy constructor.
std::vector< char > Cont_t
void Commit(void *env) override
void Streamer(TBuffer &buff, void *pObj, int siz) override
Streamer I/O overload.
void Clear(const char *opt="") override
void * NewArray(Int_t nElements, void *memory) const override
void Shrink(UInt_t nCurr, UInt_t left, Bool_t force)
virtual ~TEmulatedCollectionProxy()
void * At(UInt_t idx) override
void ReadItems(int nElements, TBuffer &b)
TClass::ObjectPtr NewObjectArray(Int_t nElements, void *memory) const override
void Destructor(void *p, Bool_t dtorOnly=kFALSE) const override
void ReadBuffer(TBuffer &buff, void *pObj) override
void Streamer(TBuffer &refBuffer) override
Streamer Function.
void DeleteArray(void *p, Bool_t dtorOnly=kFALSE) const override
UInt_t Sizeof() const override
void Resize(UInt_t n, Bool_t force_delete) override
Resize the container.
Proxy around an arbitrary container, which implements basic functionality and iteration.
virtual void Streamer(TBuffer &refBuffer)
Streamer Function.