library: libCore #include "TEmulatedCollectionProxy.h"

# TEmulatedCollectionProxy

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

## class TEmulatedCollectionProxy : public TGenCollectionProxy

| Inheritance Chart:
`TVirtualCollectionProxy`
`TCollectionProxy`
| <- | `TGenCollectionProxy`
| <- | `TEmulatedCollectionProxy` |
<- |
`TEmulatedMapProxy` |

        protected:

                                  void Expand(UInt_t nCurr, UInt_t left)
          virtual TGenCollectionProxy* InitializeEx()
                                  void ReadItems(int nElements, TBuffer& b)
                                  void Shrink(UInt_t nCurr, UInt_t left, Bool_t force)
                                  void WriteItems(int nElements, TBuffer& b)

        public:

                                           TEmulatedCollectionProxy(const TEmulatedCollectionProxy& copy)
                                           TEmulatedCollectionProxy(const char* cl_name)
                                   virtual ~TEmulatedCollectionProxy()
                             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 void* New() const
                             virtual void* New(void* memory) const
                              virtual void Resize(UInt_t n, Bool_t force_delete)
                            virtual UInt_t Size() const
                            virtual UInt_t Sizeof() const
                              virtual void Streamer(TBuffer& refBuffer)
                              virtual void Streamer(TBuffer& buff, void* pObj, int siz)

## Class Description

     TEmulatedCollectionProxy

     Streamer around an arbitrary STL like container, which implements basic
     container functionality.

     Note:
     Although this class contains all the setup necessary to deal
     with maps, the map-like functionality is NOT supported.
     For optimization reasons this functionality is put into
     the class TEmulatedMapProxy.

### Inline Functions

                                void ~TEmulatedCollectionProxy()
                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)
            TVirtualCollectionProxy* Generate() const
            TEmulatedCollectionProxy TEmulatedCollectionProxy(const TEmulatedCollectionProxy& copy)
            TEmulatedCollectionProxy TEmulatedCollectionProxy(const char* cl_name)
                               void* New() const
                               void* New(void* memory) const
                              UInt_t Sizeof() const
                               void* At(UInt_t idx)
                                void Clear(const char* opt = "")
                                void Resize(UInt_t n, Bool_t force_delete)
                              UInt_t Size() const
                               void* Allocate(UInt_t n, Bool_t forceDelete)
                                void Commit(void* env)
                                void Streamer(TBuffer& refBuffer)
                                void Streamer(TBuffer& buff, void* pObj, int siz)

Author: Markus Frank 28/10/04
Last update: root/cont:$Name: $:$Id: TEmulatedCollectionProxy.h,v 1.2 2005/02/25 17:06:34 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *