Logo ROOT  
Reference Guide
TGenCollectionProxy::TStaging Class Reference

Small helper to stage the content of an associative container when reading and before inserting it in the actual collection.

Author
Ph.Canal
Version
1.0
Date
20/08/2010

Definition at line 233 of file TGenCollectionProxy.h.

Public Member Functions

 TStaging (size_t size, size_t size_of)
 
 ~TStaging ()
 
voidGetContent ()
 
voidGetEnd ()
 
size_t GetSize ()
 
voidGetTarget ()
 
void Resize (size_t nelement)
 
void SetTarget (void *target)
 

Private Member Functions

 TStaging (const TStaging &)
 Not implemented. More...
 
TStagingoperator= (const TStaging &)
 Not implemented. More...
 

Private Attributes

voidfContent
 Pointer to the content. More...
 
size_t fReserved
 Amount of space already reserved. More...
 
size_t fSize
 Number of elements. More...
 
size_t fSizeOf
 size of each elements More...
 
voidfTarget
 Pointer to the collection we are staging for. More...
 

#include <TGenCollectionProxy.h>

Constructor & Destructor Documentation

◆ TStaging() [1/2]

TGenCollectionProxy::TStaging::TStaging ( const TStaging )
private

Not implemented.

◆ TStaging() [2/2]

TGenCollectionProxy::TStaging::TStaging ( size_t  size,
size_t  size_of 
)
inline

Definition at line 244 of file TGenCollectionProxy.h.

◆ ~TStaging()

TGenCollectionProxy::TStaging::~TStaging ( )
inline

Definition at line 251 of file TGenCollectionProxy.h.

Member Function Documentation

◆ GetContent()

void * TGenCollectionProxy::TStaging::GetContent ( )
inline

Definition at line 256 of file TGenCollectionProxy.h.

◆ GetEnd()

void * TGenCollectionProxy::TStaging::GetEnd ( )
inline

Definition at line 260 of file TGenCollectionProxy.h.

◆ GetSize()

size_t TGenCollectionProxy::TStaging::GetSize ( )
inline

Definition at line 264 of file TGenCollectionProxy.h.

◆ GetTarget()

void * TGenCollectionProxy::TStaging::GetTarget ( )
inline

Definition at line 268 of file TGenCollectionProxy.h.

◆ operator=()

TStaging & TGenCollectionProxy::TStaging::operator= ( const TStaging )
private

Not implemented.

◆ Resize()

void TGenCollectionProxy::TStaging::Resize ( size_t  nelement)
inline

Definition at line 272 of file TGenCollectionProxy.h.

◆ SetTarget()

void TGenCollectionProxy::TStaging::SetTarget ( void target)
inline

Definition at line 279 of file TGenCollectionProxy.h.

Member Data Documentation

◆ fContent

void* TGenCollectionProxy::TStaging::fContent
private

Pointer to the content.

Definition at line 235 of file TGenCollectionProxy.h.

◆ fReserved

size_t TGenCollectionProxy::TStaging::fReserved
private

Amount of space already reserved.

Definition at line 236 of file TGenCollectionProxy.h.

◆ fSize

size_t TGenCollectionProxy::TStaging::fSize
private

Number of elements.

Definition at line 237 of file TGenCollectionProxy.h.

◆ fSizeOf

size_t TGenCollectionProxy::TStaging::fSizeOf
private

size of each elements

Definition at line 238 of file TGenCollectionProxy.h.

◆ fTarget

void* TGenCollectionProxy::TStaging::fTarget
private

Pointer to the collection we are staging for.

Definition at line 234 of file TGenCollectionProxy.h.


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