Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TEveChunkVector< T > Class Template Reference

template<class T>
class TEveChunkVector< T >

Definition at line 124 of file TEveChunkManager.h.

Public Member Functions

 TEveChunkVector ()
 TEveChunkVector (Int_t chunk_size)
 ~TEveChunkVector () override
T * At (Int_t idx)
Char_tAtom (Int_t idx) const
Int_t Capacity () const
Char_tChunk (Int_t chk) const
TClassIsA () const override
Int_t N () const
Int_t NAtoms (Int_t chk) const
Char_tNewAtom ()
Char_tNewChunk ()
 Allocate a new memory chunk and register it.
T & Ref (Int_t idx)
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.
void Reset (Int_t chunk_size)
Int_t S () const
Int_t Size () const
void Streamer (TBuffer &) override
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
Int_t VecSize () const

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Member Functions

void ReleaseChunks ()
 Release all memory chunks.

Protected Attributes

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

Private Member Functions

 TEveChunkVector (const TEveChunkVector &)
TEveChunkVectoroperator= (const TEveChunkVector &)

#include <TEveChunkManager.h>

Inheritance diagram for TEveChunkVector< T >:
TEveChunkManager

Constructor & Destructor Documentation

◆ TEveChunkVector() [1/3]

template<class T>
TEveChunkVector< T >::TEveChunkVector ( const TEveChunkVector< T > & )
private

◆ TEveChunkVector() [2/3]

template<class T>
TEveChunkVector< T >::TEveChunkVector ( )
inline

Definition at line 131 of file TEveChunkManager.h.

◆ TEveChunkVector() [3/3]

template<class T>
TEveChunkVector< T >::TEveChunkVector ( Int_t chunk_size)
inline

Definition at line 132 of file TEveChunkManager.h.

◆ ~TEveChunkVector()

template<class T>
TEveChunkVector< T >::~TEveChunkVector ( )
inlineoverride

Definition at line 133 of file TEveChunkManager.h.

Member Function Documentation

◆ At()

template<class T>
T * TEveChunkVector< T >::At ( Int_t idx)
inline

Definition at line 137 of file TEveChunkManager.h.

◆ Atom()

Char_t * TEveChunkManager::Atom ( Int_t idx) const
inlineinherited

Definition at line 59 of file TEveChunkManager.h.

◆ Capacity()

Int_t TEveChunkManager::Capacity ( ) const
inlineinherited

Definition at line 57 of file TEveChunkManager.h.

◆ Chunk()

Char_t * TEveChunkManager::Chunk ( Int_t chk) const
inlineinherited

Definition at line 60 of file TEveChunkManager.h.

◆ Class()

template<class T>
TClass * TEveChunkVector< T >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

template<class T>
const char * TEveChunkVector< T >::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

template<class T>
constexpr Version_t TEveChunkVector< T >::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 140 of file TEveChunkManager.h.

◆ DeclFileName()

template<class T>
const char * TEveChunkVector< T >::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 140 of file TEveChunkManager.h.

◆ IsA()

template<class T>
TClass * TEveChunkVector< T >::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TEveChunkManager.

Definition at line 140 of file TEveChunkManager.h.

◆ N()

Int_t TEveChunkManager::N ( ) const
inlineinherited

Definition at line 53 of file TEveChunkManager.h.

◆ NAtoms()

Int_t TEveChunkManager::NAtoms ( Int_t chk) const
inlineinherited

Definition at line 61 of file TEveChunkManager.h.

◆ NewAtom()

Char_t * TEveChunkManager::NewAtom ( )
inlineinherited

Definition at line 111 of file TEveChunkManager.h.

◆ NewChunk()

Char_t * TEveChunkManager::NewChunk ( )
inherited

Allocate a new memory chunk and register it.

Definition at line 99 of file TEveChunkManager.cxx.

◆ operator=()

template<class T>
TEveChunkVector & TEveChunkVector< T >::operator= ( const TEveChunkVector< T > & )
private

◆ Ref()

template<class T>
T & TEveChunkVector< T >::Ref ( Int_t idx)
inline

Definition at line 138 of file TEveChunkManager.h.

◆ Refit()

void TEveChunkManager::Refit ( )
inherited

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

Definition at line 77 of file TEveChunkManager.cxx.

◆ ReleaseChunks()

void TEveChunkManager::ReleaseChunks ( )
protectedinherited

Release all memory chunks.

Definition at line 28 of file TEveChunkManager.cxx.

◆ Reset() [1/2]

void TEveChunkManager::Reset ( Int_t atom_size,
Int_t chunk_size )
inherited

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

Definition at line 65 of file TEveChunkManager.cxx.

◆ Reset() [2/2]

template<class T>
void TEveChunkVector< T >::Reset ( Int_t chunk_size)
inline

Definition at line 135 of file TEveChunkManager.h.

◆ S()

Int_t TEveChunkManager::S ( ) const
inlineinherited

Definition at line 52 of file TEveChunkManager.h.

◆ Size()

Int_t TEveChunkManager::Size ( ) const
inlineinherited

Definition at line 55 of file TEveChunkManager.h.

◆ Streamer()

template<class T>
void TEveChunkVector< T >::Streamer ( TBuffer & )
overridevirtual

Reimplemented from TEveChunkManager.

◆ StreamerNVirtual()

template<class T>
void TEveChunkVector< T >::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 140 of file TEveChunkManager.h.

◆ VecSize()

Int_t TEveChunkManager::VecSize ( ) const
inlineinherited

Definition at line 56 of file TEveChunkManager.h.

Member Data Documentation

◆ fCapacity

Int_t TEveChunkManager::fCapacity
protectedinherited

Definition at line 38 of file TEveChunkManager.h.

◆ fChunks

std::vector<TArrayC*> TEveChunkManager::fChunks
protectedinherited

Definition at line 40 of file TEveChunkManager.h.

◆ fN

Int_t TEveChunkManager::fN
protectedinherited

Definition at line 34 of file TEveChunkManager.h.

◆ fS

Int_t TEveChunkManager::fS
protectedinherited

Definition at line 33 of file TEveChunkManager.h.

◆ fSize

Int_t TEveChunkManager::fSize
protectedinherited

Definition at line 36 of file TEveChunkManager.h.

◆ fVecSize

Int_t TEveChunkManager::fVecSize
protectedinherited

Definition at line 37 of file TEveChunkManager.h.


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