#ifndef ROOT_TEmulatedCollectionProxy
#define ROOT_TEmulatedCollectionProxy
#include "TGenCollectionProxy.h"
class TEmulatedCollectionProxy : public TGenCollectionProxy {
friend class TCollectionProxy;
public:
typedef std::vector<char> Cont_t;
typedef Cont_t *PCont_t;
protected:
virtual TGenCollectionProxy* InitializeEx();
void ReadItems(int nElements, TBuffer &b);
void WriteItems(int nElements, TBuffer &b);
void Shrink(UInt_t nCurr, UInt_t left, Bool_t force);
void Expand(UInt_t nCurr, UInt_t left);
public:
virtual TVirtualCollectionProxy* Generate() const;
TEmulatedCollectionProxy(const TEmulatedCollectionProxy& copy);
TEmulatedCollectionProxy(const char* cl_name);
virtual ~TEmulatedCollectionProxy();
virtual void* New() const { return new Cont_t; }
virtual void* New(void* memory) const { return new(memory) Cont_t; }
virtual void* NewArray(Int_t nElements) const { return new Cont_t[nElements]; }
virtual void* NewArray(Int_t nElements, void* memory) const { return new(memory) Cont_t[nElements]; }
virtual void Destructor(void* p, Bool_t dtorOnly = kFALSE);
virtual void DeleteArray(void* p, Bool_t dtorOnly = kFALSE);
virtual UInt_t Sizeof() const { return sizeof(Cont_t); }
virtual void *At(UInt_t idx);
virtual void Clear(const char *opt = "");
virtual void Resize(UInt_t n, Bool_t force_delete);
virtual UInt_t Size() const;
virtual void* Allocate(UInt_t n, Bool_t forceDelete);
virtual void Commit(void* env);
virtual void Streamer(TBuffer &refBuffer);
virtual void Streamer(TBuffer &buff, void *pObj, int siz) {
TGenCollectionProxy::Streamer(buff,pObj,siz);
}
Bool_t IsValid() const;
};
#endif
TEmulatedCollectionProxy.h:1 TEmulatedCollectionProxy.h:2 TEmulatedCollectionProxy.h:3 TEmulatedCollectionProxy.h:4 TEmulatedCollectionProxy.h:5 TEmulatedCollectionProxy.h:6 TEmulatedCollectionProxy.h:7 TEmulatedCollectionProxy.h:8 TEmulatedCollectionProxy.h:9 TEmulatedCollectionProxy.h:10 TEmulatedCollectionProxy.h:11 TEmulatedCollectionProxy.h:12 TEmulatedCollectionProxy.h:13 TEmulatedCollectionProxy.h:14 TEmulatedCollectionProxy.h:15 TEmulatedCollectionProxy.h:16 TEmulatedCollectionProxy.h:17 TEmulatedCollectionProxy.h:18 TEmulatedCollectionProxy.h:19 TEmulatedCollectionProxy.h:20 TEmulatedCollectionProxy.h:21 TEmulatedCollectionProxy.h:22 TEmulatedCollectionProxy.h:23 TEmulatedCollectionProxy.h:24 TEmulatedCollectionProxy.h:25 TEmulatedCollectionProxy.h:26 TEmulatedCollectionProxy.h:27 TEmulatedCollectionProxy.h:28 TEmulatedCollectionProxy.h:29 TEmulatedCollectionProxy.h:30 TEmulatedCollectionProxy.h:31 TEmulatedCollectionProxy.h:32 TEmulatedCollectionProxy.h:33 TEmulatedCollectionProxy.h:34 TEmulatedCollectionProxy.h:35 TEmulatedCollectionProxy.h:36 TEmulatedCollectionProxy.h:37 TEmulatedCollectionProxy.h:38 TEmulatedCollectionProxy.h:39 TEmulatedCollectionProxy.h:40 TEmulatedCollectionProxy.h:41 TEmulatedCollectionProxy.h:42 TEmulatedCollectionProxy.h:43 TEmulatedCollectionProxy.h:44 TEmulatedCollectionProxy.h:45 TEmulatedCollectionProxy.h:46 TEmulatedCollectionProxy.h:47 TEmulatedCollectionProxy.h:48 TEmulatedCollectionProxy.h:49 TEmulatedCollectionProxy.h:50 TEmulatedCollectionProxy.h:51 TEmulatedCollectionProxy.h:52 TEmulatedCollectionProxy.h:53 TEmulatedCollectionProxy.h:54 TEmulatedCollectionProxy.h:55 TEmulatedCollectionProxy.h:56 TEmulatedCollectionProxy.h:57 TEmulatedCollectionProxy.h:58 TEmulatedCollectionProxy.h:59 TEmulatedCollectionProxy.h:60 TEmulatedCollectionProxy.h:61 TEmulatedCollectionProxy.h:62 TEmulatedCollectionProxy.h:63 TEmulatedCollectionProxy.h:64 TEmulatedCollectionProxy.h:65 TEmulatedCollectionProxy.h:66 TEmulatedCollectionProxy.h:67 TEmulatedCollectionProxy.h:68 TEmulatedCollectionProxy.h:69 TEmulatedCollectionProxy.h:70 TEmulatedCollectionProxy.h:71 TEmulatedCollectionProxy.h:72 TEmulatedCollectionProxy.h:73 TEmulatedCollectionProxy.h:74 TEmulatedCollectionProxy.h:75 TEmulatedCollectionProxy.h:76 TEmulatedCollectionProxy.h:77 TEmulatedCollectionProxy.h:78 TEmulatedCollectionProxy.h:79 TEmulatedCollectionProxy.h:80 TEmulatedCollectionProxy.h:81 TEmulatedCollectionProxy.h:82 TEmulatedCollectionProxy.h:83 TEmulatedCollectionProxy.h:84 TEmulatedCollectionProxy.h:85 TEmulatedCollectionProxy.h:86 TEmulatedCollectionProxy.h:87 TEmulatedCollectionProxy.h:88 TEmulatedCollectionProxy.h:89 TEmulatedCollectionProxy.h:90 TEmulatedCollectionProxy.h:91 TEmulatedCollectionProxy.h:92 TEmulatedCollectionProxy.h:93 TEmulatedCollectionProxy.h:94 TEmulatedCollectionProxy.h:95 TEmulatedCollectionProxy.h:96 TEmulatedCollectionProxy.h:97 TEmulatedCollectionProxy.h:98 TEmulatedCollectionProxy.h:99 TEmulatedCollectionProxy.h:100 TEmulatedCollectionProxy.h:101 TEmulatedCollectionProxy.h:102 TEmulatedCollectionProxy.h:103 TEmulatedCollectionProxy.h:104 TEmulatedCollectionProxy.h:105 TEmulatedCollectionProxy.h:106 TEmulatedCollectionProxy.h:107 TEmulatedCollectionProxy.h:108 TEmulatedCollectionProxy.h:109 TEmulatedCollectionProxy.h:110 TEmulatedCollectionProxy.h:111 TEmulatedCollectionProxy.h:112 TEmulatedCollectionProxy.h:113 TEmulatedCollectionProxy.h:114 TEmulatedCollectionProxy.h:115 TEmulatedCollectionProxy.h:116 TEmulatedCollectionProxy.h:117 TEmulatedCollectionProxy.h:118 TEmulatedCollectionProxy.h:119 TEmulatedCollectionProxy.h:120 TEmulatedCollectionProxy.h:121 TEmulatedCollectionProxy.h:122