ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 239 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

voidfTarget
 Pointer to the collection we are staging for. More...
 
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...
 

#include <TGenCollectionProxy.h>

+ Collaboration diagram for TGenCollectionProxy::TStaging:

Constructor & Destructor Documentation

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

Not implemented.

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

Definition at line 250 of file TGenCollectionProxy.h.

TGenCollectionProxy::TStaging::~TStaging ( )
inline

Definition at line 257 of file TGenCollectionProxy.h.

Member Function Documentation

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

Definition at line 266 of file TGenCollectionProxy.h.

Referenced by TGenCollectionProxy__StagingCreateIterators().

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

Definition at line 274 of file TGenCollectionProxy.h.

Referenced by TGenCollectionProxy::Commit().

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

Not implemented.

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

Definition at line 278 of file TGenCollectionProxy.h.

Referenced by TGenCollectionProxy::Allocate().

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

Member Data Documentation

void* TGenCollectionProxy::TStaging::fContent
private

Pointer to the content.

Definition at line 241 of file TGenCollectionProxy.h.

Referenced by GetContent().

size_t TGenCollectionProxy::TStaging::fReserved
private

Amount of space already reserved.

Definition at line 242 of file TGenCollectionProxy.h.

size_t TGenCollectionProxy::TStaging::fSize
private

Number of elements.

Definition at line 243 of file TGenCollectionProxy.h.

Referenced by GetSize(), and TStaging().

size_t TGenCollectionProxy::TStaging::fSizeOf
private

size of each elements

Definition at line 244 of file TGenCollectionProxy.h.

Referenced by GetEnd().

void* TGenCollectionProxy::TStaging::fTarget
private

Pointer to the collection we are staging for.

Definition at line 240 of file TGenCollectionProxy.h.

Referenced by GetTarget().


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