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. | |
| TMemBlock (UChar_t *externalBuffer, Long64_t size) | |
| Constructor not allocating the memory buffer, for external ownership. | |
| ~TMemBlock () | |
| Usual destructors. Delete the block memory. | |
| 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>
|
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 53 of file TMemFile.cxx.
Constructor not allocating the memory buffer, for external ownership.
Definition at line 65 of file TMemFile.cxx.
| TMemFile::TMemBlock::~TMemBlock | ( | ) |
Usual destructors. Delete the block memory.
Definition at line 72 of file TMemFile.cxx.
| void TMemFile::TMemBlock::CreateNext | ( | Long64_t | size | ) |
Definition at line 80 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.