![]() |
NetCDF-C++ 4.3.2
|
Class represents a netCDF dimension. More...
#include "ncDim.h"
Public Member Functions | |
| NcDim () | |
| Constructor generates a null object. | |
| NcDim (const NcDim &ncDim) | |
| The copy constructor. | |
| NcDim (const NcGroup &grp, int dimId) | |
| Constructor for a dimension . | |
| ~NcDim () | |
| destructor | |
| int | getId () const |
| The netCDF Id of this dimension. | |
| std::string | getName () const |
| The name of this dimension. | |
| NcGroup | getParentGroup () const |
| Gets a NcGroup object of the parent group. | |
| size_t | getSize () const |
| The size of the dimension; for unlimited, this is the number of records written so far. | |
| bool | isNull () const |
| Returns true if this object is null (i.e. | |
| bool | isUnlimited () const |
| Returns true if this is an unlimited dimension. | |
| bool | operator!= (const NcDim &rhs) const |
| != operator | |
| NcDim & | operator= (const NcDim &) |
| assignment operator | |
| bool | operator== (const NcDim &rhs) const |
| equivalence operator | |
| void | rename (const std::string &newName) |
| renames the dimension | |
Friends | |
| bool | operator< (const NcDim &lhs, const NcDim &rhs) |
| comparator operator | |
| bool | operator> (const NcDim &lhs, const NcDim &rhs) |
| comparator operator | |
| NcDim::NcDim | ( | ) |
Constructor generates a null object.
| NcDim::NcDim | ( | const NcGroup & | grp, |
| int | dimId ) |
|
inline |
| string NcDim::getName | ( | ) | const |
| NcGroup NcDim::getParentGroup | ( | ) | const |
| size_t NcDim::getSize | ( | ) | const |
|
inline |
| bool NcDim::isUnlimited | ( | ) | const |
| bool NcDim::operator!= | ( | const NcDim & | rhs | ) | const |
| bool NcDim::operator== | ( | const NcDim & | rhs | ) | const |
| void NcDim::rename | ( | const std::string & | newName | ) |
Generated on for NetCDF-C++. NetCDF is
a Unidata library.