ROOT logo
ROOT » GRAF3D » EVE » TEveChunkManager::iterator

class TEveChunkManager::iterator

 TEveChunkManager

 Vector-like container with chunked memory allocation.

 Allocation chunk can accommodate fN atoms of byte-size fS each.
 The chunks themselves are TArrayCs and are stored in a std::vector<TArrayC*>.
 Holes in the structure are not supported, neither is removal of atoms.
 The structure can be Refit() to occupy a single contiguous array.

Function Members (Methods)

Data Members

public:
Int_tfAtomIndex
Int_tfAtomsToGo
Char_t*fCurrent
Int_tfNextChunk
TEveChunkManager*fPlex

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t next()
TEveChunkManager& operator=(const TEveChunkManager::iterator& i)
iterator(TEveChunkManager* p)
{}
iterator(TEveChunkManager& p)
{}
iterator(const iterator& i)
{}
void reset()
Char_t* operator()()
{ return fCurrent; }
Char_t* operator*()
{ return fCurrent; }
Int_t index()
{ return fAtomIndex; }