MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Structure containing information on allocated data and the number of references. More...
#include <mdsPartedData.h>
Public Member Functions | |
void | resize (tSize Size) |
Resizes the data. | |
SRefInfo (tSize Size) | |
Constructor that allocates a given size of data. | |
~SRefInfo () | |
Destructor deallocates all the data blocks. | |
Public Attributes | |
int | m_iReferences |
The number of references to the data. | |
tSize | m_NumOfBlocks |
Number of data blocks. | |
tDataBlocks | m_ppData |
Pointers to the allocated data blocks. | |
tSize | m_Size |
Total size of the allocated data. |
Structure containing information on allocated data and the number of references.
CPartedData::SRefInfo::SRefInfo | ( | tSize | Size | ) |
Constructor that allocates a given size of data.
CPartedData::SRefInfo::~SRefInfo | ( | ) |
Destructor deallocates all the data blocks.
void CPartedData::SRefInfo::resize | ( | tSize | Size | ) |
Resizes the data.
int mds::base::CPartedData< T >::SRefInfo::m_iReferences |
The number of references to the data.
tSize mds::base::CPartedData< T >::SRefInfo::m_NumOfBlocks |
Number of data blocks.
tDataBlocks mds::base::CPartedData< T >::SRefInfo::m_ppData |
Pointers to the allocated data blocks.
tSize mds::base::CPartedData< T >::SRefInfo::m_Size |
Total size of the allocated data.