Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Public Attributes | Private Member Functions | List of all members
TMemFile::TMemBlock Struct Reference

Definition at line 24 of file TMemFile.h.

Public Member Functions

 TMemBlock ()
 Default constructor. More...
 
 TMemBlock (Long64_t size, TMemBlock *previous=0)
 Constructor allocating the memory buffer. More...
 
 TMemBlock (UChar_t *externalBuffer, Long64_t size)
 Constructor not allocating the memory buffer, for external ownership. More...
 
 ~TMemBlock ()
 Usual destructors. Delete the block memory. More...
 
void CreateNext (Long64_t size)
 

Public Attributes

UChar_tfBuffer
 
TMemBlockfNext
 
TMemBlockfPrevious
 
Long64_t fSize
 

Private Member Functions

 TMemBlock (const TMemBlock &)
 
TMemBlockoperator= (const TMemBlock &)
 

Constructor & Destructor Documentation

◆ TMemBlock() [1/4]

TMemFile::TMemBlock::TMemBlock ( const TMemBlock )
private

◆ TMemBlock() [2/4]

TMemFile::TMemBlock::TMemBlock ( )

Default constructor.

Definition at line 47 of file TMemFile.cxx.

◆ TMemBlock() [3/4]

TMemFile::TMemBlock::TMemBlock ( Long64_t  size,
TMemBlock previous = 0 
)

Constructor allocating the memory buffer.

Parameters
sizesize of the buffer to be allocated. A value of -1 means that no allocation should happen, leaving fBuffer and fSize at 0.
previousprevious TMemBlock, used to set up the linked list.

Definition at line 59 of file TMemFile.cxx.

◆ TMemBlock() [4/4]

TMemFile::TMemBlock::TMemBlock ( UChar_t externalBuffer,
Long64_t  size 
)

Constructor not allocating the memory buffer, for external ownership.

Definition at line 72 of file TMemFile.cxx.

◆ ~TMemBlock()

TMemFile::TMemBlock::~TMemBlock ( )

Usual destructors. Delete the block memory.

Definition at line 79 of file TMemFile.cxx.

Member Function Documentation

◆ CreateNext()

void TMemFile::TMemBlock::CreateNext ( Long64_t  size)

Definition at line 87 of file TMemFile.cxx.

◆ operator=()

TMemBlock & TMemFile::TMemBlock::operator= ( const TMemBlock )
private

Member Data Documentation

◆ fBuffer

UChar_t* TMemFile::TMemBlock::fBuffer

Definition at line 38 of file TMemFile.h.

◆ fNext

TMemBlock* TMemFile::TMemBlock::fNext

Definition at line 37 of file TMemFile.h.

◆ fPrevious

TMemBlock* TMemFile::TMemBlock::fPrevious

Definition at line 36 of file TMemFile.h.

◆ fSize

Long64_t TMemFile::TMemBlock::fSize

Definition at line 39 of file TMemFile.h.

Collaboration diagram for TMemFile::TMemBlock:
[legend]

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