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

class TEveChunkManager::iterator


 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
set<Int_t>*fSelection
set<int,less<int>,allocator<int> >::iteratorfSelectionIterator

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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