MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Structure containing number of references to the image. More...
#include <mdsCvImageRef.h>
Public Member Functions | |
void | addReference () const |
Increases the number of references. | |
bool | delReference () |
Decreases the number of references. | |
SRefInfo (int NumOfRefs=1) | |
Constructor that initializes the number of references. | |
~SRefInfo () | |
Empty destructor. | |
Public Attributes | |
int | m_iReferences |
The number of references to the image. |
Structure containing number of references to the image.
mds::img::CvImageRef< T >::SRefInfo::SRefInfo | ( | int | NumOfRefs = 1 | ) |
Constructor that initializes the number of references.
mds::img::CvImageRef< T >::SRefInfo::~SRefInfo | ( | ) |
Empty destructor.
void mds::img::CvImageRef< T >::SRefInfo::addReference | ( | ) | const |
Increases the number of references.
bool mds::img::CvImageRef< T >::SRefInfo::delReference | ( | ) |
Decreases the number of references.
int mds::img::CvImageRef< T >::SRefInfo::m_iReferences [mutable] |
The number of references to the image.