#include <ncDim.h>
Class represents a netCDF dimension
◆ ~NcDim()
netCDF::NcDim::~NcDim |
( |
| ) |
|
|
inline |
◆ NcDim() [1/3]
◆ NcDim() [2/3]
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() [3/3]
NcDim::NcDim |
( |
const NcDim & |
ncDim | ) |
|
◆ getId()
int netCDF::NcDim::getId |
( |
| ) |
const |
|
inline |
The netCDF Id of this dimension.
◆ getName()
string NcDim::getName |
( |
| ) |
const |
The name of this dimension.
◆ getParentGroup()
NcGroup NcDim::getParentGroup |
( |
| ) |
const |
Gets a NcGroup object of the parent group.
◆ getSize()
size_t NcDim::getSize |
( |
| ) |
const |
The size of the dimension; for unlimited, this is the number of records written so far.
◆ isNull()
bool netCDF::NcDim::isNull |
( |
| ) |
const |
|
inline |
Returns true if this object is null (i.e. it has no contents); otherwise returns false.
◆ isUnlimited()
bool NcDim::isUnlimited |
( |
| ) |
const |
Returns true if this is an unlimited dimension
◆ operator!=()
bool NcDim::operator!= |
( |
const NcDim & |
rhs | ) |
const |
◆ operator=()
◆ operator==()
bool NcDim::operator== |
( |
const NcDim & |
rhs | ) |
const |
◆ rename()
void NcDim::rename |
( |
const std::string & |
newName | ) |
|
◆ operator<
bool operator< |
( |
const NcDim & |
lhs, |
|
|
const NcDim & |
rhs |
|
) |
| |
|
friend |
◆ operator>
bool operator> |
( |
const NcDim & |
lhs, |
|
|
const NcDim & |
rhs |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: