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)

public:
~iterator()
Int_tindex()
TEveChunkManager::iteratoriterator(TEveChunkManager* p)
TEveChunkManager::iteratoriterator(TEveChunkManager& p)
TEveChunkManager::iteratoriterator(const TEveChunkManager::iterator& i)
Bool_tnext()
Char_t*operator()()
Char_t*operator*()
TEveChunkManager::iterator&operator=(const TEveChunkManager::iterator& i)
voidreset()

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()
{ fCurrent = 0; fNextChunk = fAtomsToGo = 0; }
Char_t* operator()()
{ return fCurrent; }
Char_t* operator*()
{ return fCurrent; }
Int_t index()
{ return fAtomIndex; }

Last change: root/eve:$Id: TEveChunkManager.h 21807 2008-01-22 15:46:23Z matevz $
Last generated: 2008-06-25 08:36
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.