Logo ROOT  
Reference Guide
ROOT::Experimental::REveChunkManager Class Reference

Definition at line 28 of file REveChunkManager.hxx.

Classes

struct  iterator
 

Public Member Functions

 REveChunkManager ()
 Default constructor. More...
 
 REveChunkManager (Int_t atom_size, Int_t chunk_size)
 Constructor. More...
 
virtual ~REveChunkManager ()
 Destructor. More...
 
Char_tAtom (Int_t idx) const
 
Int_t Capacity () const
 
Char_tChunk (Int_t chk) const
 
Int_t N () const
 
Int_t NAtoms (Int_t chk) const
 
Char_tNewAtom ()
 
Char_tNewChunk ()
 Allocate a new memory chunk and register it. More...
 
void Refit ()
 Refit the container so that all current data fits into a single chunk. More...
 
void Reset (Int_t atom_size, Int_t chunk_size)
 Empty the container and reset it with given atom and chunk sizes. More...
 
Int_t S () const
 
Int_t Size () const
 
Int_t VecSize () const
 

Protected Member Functions

void ReleaseChunks ()
 Release all memory chunks. More...
 

Protected Attributes

Int_t fCapacity
 
std::vector< TArrayC * > fChunks
 
Int_t fN
 
Int_t fS
 
Int_t fSize
 
Int_t fVecSize
 

Private Member Functions

 REveChunkManager (const REveChunkManager &)
 
REveChunkManageroperator= (const REveChunkManager &)
 

#include <ROOT/REveChunkManager.hxx>

Inheritance diagram for ROOT::Experimental::REveChunkManager:
[legend]

Constructor & Destructor Documentation

◆ REveChunkManager() [1/3]

ROOT::Experimental::REveChunkManager::REveChunkManager ( const REveChunkManager )
private

◆ REveChunkManager() [2/3]

REveChunkManager::REveChunkManager ( )

Default constructor.

Call reset for initialization.

Definition at line 41 of file REveChunkManager.cxx.

◆ REveChunkManager() [3/3]

REveChunkManager::REveChunkManager ( Int_t  atom_size,
Int_t  chunk_size 
)

Constructor.

Definition at line 50 of file REveChunkManager.cxx.

◆ ~REveChunkManager()

REveChunkManager::~REveChunkManager ( )
virtual

Destructor.

Definition at line 59 of file REveChunkManager.cxx.

Member Function Documentation

◆ Atom()

Char_t * ROOT::Experimental::REveChunkManager::Atom ( Int_t  idx) const
inline

Definition at line 61 of file REveChunkManager.hxx.

◆ Capacity()

Int_t ROOT::Experimental::REveChunkManager::Capacity ( ) const
inline

Definition at line 59 of file REveChunkManager.hxx.

◆ Chunk()

Char_t * ROOT::Experimental::REveChunkManager::Chunk ( Int_t  chk) const
inline

Definition at line 62 of file REveChunkManager.hxx.

◆ N()

Int_t ROOT::Experimental::REveChunkManager::N ( ) const
inline

Definition at line 55 of file REveChunkManager.hxx.

◆ NAtoms()

Int_t ROOT::Experimental::REveChunkManager::NAtoms ( Int_t  chk) const
inline

Definition at line 63 of file REveChunkManager.hxx.

◆ NewAtom()

Char_t * REveChunkManager::NewAtom ( )
inline

Definition at line 109 of file REveChunkManager.hxx.

◆ NewChunk()

Char_t * REveChunkManager::NewChunk ( )

Allocate a new memory chunk and register it.

Definition at line 101 of file REveChunkManager.cxx.

◆ operator=()

REveChunkManager & ROOT::Experimental::REveChunkManager::operator= ( const REveChunkManager )
private

◆ Refit()

void REveChunkManager::Refit ( )

Refit the container so that all current data fits into a single chunk.

Definition at line 79 of file REveChunkManager.cxx.

◆ ReleaseChunks()

void REveChunkManager::ReleaseChunks ( )
protected

Release all memory chunks.

Definition at line 30 of file REveChunkManager.cxx.

◆ Reset()

void REveChunkManager::Reset ( Int_t  atom_size,
Int_t  chunk_size 
)

Empty the container and reset it with given atom and chunk sizes.

Definition at line 67 of file REveChunkManager.cxx.

◆ S()

Int_t ROOT::Experimental::REveChunkManager::S ( ) const
inline

Definition at line 54 of file REveChunkManager.hxx.

◆ Size()

Int_t ROOT::Experimental::REveChunkManager::Size ( ) const
inline

Definition at line 57 of file REveChunkManager.hxx.

◆ VecSize()

Int_t ROOT::Experimental::REveChunkManager::VecSize ( ) const
inline

Definition at line 58 of file REveChunkManager.hxx.

Member Data Documentation

◆ fCapacity

Int_t ROOT::Experimental::REveChunkManager::fCapacity
protected

Definition at line 40 of file REveChunkManager.hxx.

◆ fChunks

std::vector<TArrayC*> ROOT::Experimental::REveChunkManager::fChunks
protected

Definition at line 42 of file REveChunkManager.hxx.

◆ fN

Int_t ROOT::Experimental::REveChunkManager::fN
protected

Definition at line 36 of file REveChunkManager.hxx.

◆ fS

Int_t ROOT::Experimental::REveChunkManager::fS
protected

Definition at line 35 of file REveChunkManager.hxx.

◆ fSize

Int_t ROOT::Experimental::REveChunkManager::fSize
protected

Definition at line 38 of file REveChunkManager.hxx.

◆ fVecSize

Int_t ROOT::Experimental::REveChunkManager::fVecSize
protected

Definition at line 39 of file REveChunkManager.hxx.

Libraries for ROOT::Experimental::REveChunkManager:
[legend]

The documentation for this class was generated from the following files: