Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1HDF5HidDataType.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:38:30 2011
Кодировка:

Поисковые слова: comet tail
casacore: casa::HDF5HidDataType Class Reference
Public Member Functions | Private Member Functions | Private Attributes

casa::HDF5HidDataType Class Reference
[HDF5_module_internal_classes]

A class representing an HDF5 datatype hid. More...

#include <HDF5HidMeta.h>

List of all members.

Public Member Functions

 HDF5HidDataType ()
 Default constructor sets hid to invalid.
 HDF5HidDataType (hid_t hid)
 Construct from given hid.
 ~HDF5HidDataType ()
 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

 HDF5HidDataType (const HDF5HidDataType &that)
 Copy constructor cannot be used.
HDF5HidDataTypeoperator= (const HDF5HidDataType &that)
 Assignment cannot be used.

Private Attributes

hid_t itsHid

Detailed Description

A class representing an HDF5 datatype hid.

Intended use:

Internal

Review Status

Test programs:
tHDF5Dataset

Synopsis

This class wraps an HDF5 datatype hid (hdf5 id). It offers two benefits:

Definition at line 101 of file HDF5HidMeta.h.


Constructor & Destructor Documentation

casa::HDF5HidDataType::HDF5HidDataType (  )  [inline]

Default constructor sets hid to invalid.

Definition at line 105 of file HDF5HidMeta.h.

casa::HDF5HidDataType::HDF5HidDataType ( hid_t  hid  )  [inline]

Construct from given hid.

Definition at line 108 of file HDF5HidMeta.h.

casa::HDF5HidDataType::~HDF5HidDataType (  )  [inline]

The destructor closes the hid.

Definition at line 111 of file HDF5HidMeta.h.

References close().

casa::HDF5HidDataType::HDF5HidDataType ( const HDF5HidDataType that  )  [private]

Copy constructor cannot be used.


Member Function Documentation

void casa::HDF5HidDataType::close (  ) 

Close the hid if valid.

Referenced by operator=(), and ~HDF5HidDataType().

hid_t casa::HDF5HidDataType::getHid (  )  const [inline]

Get the hid.

Definition at line 119 of file HDF5HidMeta.h.

References itsHid.

casa::HDF5HidDataType::operator hid_t (  )  const [inline]

Convert automatically to hid_t.

Definition at line 122 of file HDF5HidMeta.h.

References itsHid.

HDF5HidDataType& casa::HDF5HidDataType::operator= ( const HDF5HidDataType that  )  [private]

Assignment cannot be used.

void casa::HDF5HidDataType::operator= ( hid_t  hid  )  [inline]

Put hid in it.

If it already contains a hid, it will be closed.

Definition at line 116 of file HDF5HidMeta.h.

References close(), and itsHid.


Member Data Documentation

Definition at line 130 of file HDF5HidMeta.h.

Referenced by getHid(), operator hid_t(), and operator=().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines