MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Structure containing information on allocated data and the number of references to this data. More...
#include <mdsRefData.h>
Public Member Functions | |
void | resize (tSize Size) |
Resizes the data. | |
SRefInfo (tSize Size) | |
Constructor that allocates a given size of data. | |
~SRefInfo () | |
Destructor. | |
Public Attributes | |
int | m_iReferences |
The number of references to the data. | |
tDataPtr | m_pData |
Pointer to the allocated data. | |
tSize | m_Size |
Size of the allocated data. |
Structure containing information on allocated data and the number of references to this data.
CRefData::SRefInfo::SRefInfo | ( | tSize | Size | ) |
Constructor that allocates a given size of data.
CRefData::SRefInfo::~SRefInfo | ( | ) |
Destructor.
void CRefData::SRefInfo::resize | ( | tSize | Size | ) |
Resizes the data.
int mds::base::CRefData< T >::SRefInfo::m_iReferences |
The number of references to the data.
tDataPtr mds::base::CRefData< T >::SRefInfo::m_pData |
Pointer to the allocated data.
tSize mds::base::CRefData< T >::SRefInfo::m_Size |
Size of the allocated data.