Definition at line 30 of file TMemFile.h.
Public Member Functions | |
TMemBlock ()=default | |
TMemBlock (Long64_t size, TMemBlock *previous=nullptr) | |
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_t * | fBuffer {nullptr} |
TMemBlock * | fNext {nullptr} |
TMemBlock * | fPrevious {nullptr} |
Long64_t | fSize {0} |
Private Member Functions | |
TMemBlock (const TMemBlock &)=delete | |
TMemBlock & | operator= (const TMemBlock &)=delete |
#include <TMemFile.h>
|
privatedelete |
|
default |
Constructor allocating the memory buffer.
size | size of the buffer to be allocated. A value of -1 means that no allocation should happen, leaving fBuffer and fSize at 0. |
previous | previous TMemBlock, used to set up the linked list. |
Definition at line 52 of file TMemFile.cxx.
Constructor not allocating the memory buffer, for external ownership.
Definition at line 64 of file TMemFile.cxx.
TMemFile::TMemBlock::~TMemBlock | ( | ) |
Usual destructors. Delete the block memory.
Definition at line 71 of file TMemFile.cxx.
Definition at line 79 of file TMemFile.cxx.
UChar_t* TMemFile::TMemBlock::fBuffer {nullptr} |
Definition at line 44 of file TMemFile.h.
TMemBlock* TMemFile::TMemBlock::fNext {nullptr} |
Definition at line 43 of file TMemFile.h.
TMemBlock* TMemFile::TMemBlock::fPrevious {nullptr} |
Definition at line 42 of file TMemFile.h.
Long64_t TMemFile::TMemBlock::fSize {0} |
Definition at line 45 of file TMemFile.h.