#include <ncDim.h>
Class represents a netCDF dimension
- Examples:
- test_type.cpp, and test_var.cpp.
netCDF::NcDim::~NcDim |
( |
| ) |
|
|
inline |
NcDim::NcDim |
( |
const NcGroup & |
grp, |
|
|
int |
dimId |
|
) |
| |
Constructor for a dimension . The dimension must already exist in the netCDF file. New netCDF variables can be added using NcGroup::addNcDim();
- Parameters
-
NcDim::NcDim |
( |
const NcDim & |
ncDim | ) |
|
const int netCDF::NcDim::getId |
( |
| ) |
const |
|
inline |
The netCDF Id of this dimension.
const string NcDim::getName |
( |
| ) |
const |
The name of this dimension.
NcGroup NcDim::getParentGroup |
( |
| ) |
const |
Gets a NcGroup object of the parent group.
size_t NcDim::getSize |
( |
| ) |
const |
The size of the dimension; for unlimited, this is the number of records written so far.
bool netCDF::NcDim::isNull |
( |
| ) |
const |
|
inline |
Returns true if this object is null (i.e. it has no contents); otherwise returns false.
bool NcDim::isUnlimited |
( |
| ) |
const |
Returns true if this is an unlimited dimension
bool NcDim::operator!= |
( |
const NcDim & |
rhs | ) |
const |
bool NcDim::operator== |
( |
const NcDim & |
rhs | ) |
const |
void NcDim::rename |
( |
const std::string & |
newName | ) |
|
bool operator< |
( |
const NcDim & |
lhs, |
|
|
const NcDim & |
rhs |
|
) |
| |
|
friend |
bool operator> |
( |
const NcDim & |
lhs, |
|
|
const NcDim & |
rhs |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: