51 fS(atom_size),
fN(chunk_size),
89 memcpy(pos,
fChunks[i]->fArray, size);
118 if (fNextChunk < fPlex->
VecSize())
120 fCurrent = fPlex->Chunk(fNextChunk);
121 fAtomsToGo = fPlex->NAtoms(fNextChunk);
131 fCurrent += fPlex->S();
139 if (fAtomIndex == -1)
140 fSelectionIterator = fSelection->begin();
142 ++fSelectionIterator;
144 if (fSelectionIterator != fSelection->end())
146 fAtomIndex = *fSelectionIterator;
147 fCurrent = fPlex->Atom(fAtomIndex);
Char_t * NewChunk()
Allocate a new memory chunk and register it.
virtual ~TEveChunkManager()
Destructor.
TEveChunkManager()
Default constructor.
void Refit()
Refit the container so that all current data fits into a single chunk.
void Reset(Int_t atom_size, Int_t chunk_size)
Empty the container and reset it with given atom and chunk sizes.
Vector-like container with chunked memory allocation.
std::vector< TArrayC * > fChunks
Int_t NAtoms(Int_t chk) const
Bool_t next()
Go to next atom.
void ReleaseChunks()
Release all memory chunks.
Array of chars or bytes (8 bits per element).