43 fSize(0), fVecSize(0), fCapacity(0)
51 fS(atom_size), fN(chunk_size),
52 fSize(0), fVecSize(0), fCapacity(0)
89 memcpy(pos,
fChunks[i]->fArray, size);
118 if (fNextChunk < fPlex->
VecSize())
Array of chars or bytes (8 bits per element).
Vector-like container with chunked memory allocation.
void ReleaseChunks()
Release all memory chunks.
Char_t * Chunk(Int_t chk) const
Int_t NAtoms(Int_t chk) const
std::vector< TArrayC * > fChunks
virtual ~TEveChunkManager()
Destructor.
Char_t * Atom(Int_t idx) const
void Reset(Int_t atom_size, Int_t chunk_size)
Empty the container and reset it with given atom and chunk sizes.
Char_t * NewChunk()
Allocate a new memory chunk and register it.
void Refit()
Refit the container so that all current data fits into a single chunk.
TEveChunkManager()
Default constructor.
Bool_t next()
Go to next atom.
const std::set< Int_t > * fSelection
std::set< Int_t >::const_iterator fSelectionIterator