Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1HDF5HidProperty.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 22:38:33 2011 Кодировка: Поисковые слова: р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п |
A class representing an HDF5 property hid. More...
#include <HDF5HidMeta.h>
Public Member Functions | |
HDF5HidProperty () | |
Default constructor sets hid to invalid. | |
HDF5HidProperty (hid_t hid) | |
Construct from given hid. | |
~HDF5HidProperty () | |
The destructor closes the hid. | |
void | close () |
Close the hid if valid. | |
void | operator= (hid_t hid) |
Put hid in it. | |
hid_t | getHid () const |
Get the hid. | |
operator hid_t () const | |
Convert automatically to hid_t. | |
Private Member Functions | |
HDF5HidProperty (const HDF5HidProperty &that) | |
Copy constructor cannot be used. | |
HDF5HidProperty & | operator= (const HDF5HidProperty &that) |
Assignment cannot be used. | |
Private Attributes | |
hid_t | itsHid |
A class representing an HDF5 property hid.
Internal
This class wraps an HDF5 property hid (hdf5 id). It offers two benefits:
Definition at line 52 of file HDF5HidMeta.h.
casa::HDF5HidProperty::HDF5HidProperty | ( | ) | [inline] |
Default constructor sets hid to invalid.
Definition at line 56 of file HDF5HidMeta.h.
casa::HDF5HidProperty::HDF5HidProperty | ( | hid_t | hid | ) | [inline] |
Construct from given hid.
Definition at line 59 of file HDF5HidMeta.h.
casa::HDF5HidProperty::~HDF5HidProperty | ( | ) | [inline] |
casa::HDF5HidProperty::HDF5HidProperty | ( | const HDF5HidProperty & | that | ) | [private] |
Copy constructor cannot be used.
void casa::HDF5HidProperty::close | ( | ) |
Close the hid if valid.
Referenced by operator=(), and ~HDF5HidProperty().
hid_t casa::HDF5HidProperty::getHid | ( | ) | const [inline] |
casa::HDF5HidProperty::operator hid_t | ( | ) | const [inline] |
HDF5HidProperty& casa::HDF5HidProperty::operator= | ( | const HDF5HidProperty & | that | ) | [private] |
Assignment cannot be used.
void casa::HDF5HidProperty::operator= | ( | hid_t | hid | ) | [inline] |
Put hid in it.
If it already contains a hid, it will be closed.
Definition at line 67 of file HDF5HidMeta.h.
hid_t casa::HDF5HidProperty::itsHid [private] |
Definition at line 81 of file HDF5HidMeta.h.
Referenced by getHid(), operator hid_t(), and operator=().