Class represents a netCDF dimension.
More...
#include "ncDim.h"
Class represents a netCDF dimension.
Definition at line 13 of file ncDim.h.
◆ ~NcDim()
netCDF::NcDim::~NcDim |
( |
| ) |
|
|
inline |
destructor
Definition at line 18 of file ncDim.h.
◆ 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
-
Definition at line 69 of file ncDim.cpp.
◆ NcDim() [3/3]
NcDim::NcDim |
( |
const NcDim & |
ncDim | ) |
|
The copy constructor.
Definition at line 35 of file ncDim.cpp.
◆ getId()
int netCDF::NcDim::getId |
( |
| ) |
const |
|
inline |
◆ getName()
string NcDim::getName |
( |
| ) |
const |
The name of this dimension.
Definition at line 106 of file ncDim.cpp.
◆ getParentGroup()
NcGroup NcDim::getParentGroup |
( |
| ) |
const |
◆ getSize()
size_t NcDim::getSize |
( |
| ) |
const |
The size of the dimension; for unlimited, this is the number of records written so far.
Definition at line 77 of file ncDim.cpp.
◆ isNull()
bool netCDF::NcDim::isNull |
( |
| ) |
const |
|
inline |
Returns true if this object is null (i.e.
it has no contents); otherwise returns false.
Definition at line 62 of file ncDim.h.
◆ isUnlimited()
bool NcDim::isUnlimited |
( |
| ) |
const |
Returns true if this is an unlimited dimension.
Definition at line 86 of file ncDim.cpp.
◆ operator!=()
bool NcDim::operator!= |
( |
const NcDim & |
rhs | ) |
const |
◆ operator=()
assignment operator
Definition at line 26 of file ncDim.cpp.
◆ operator==()
bool NcDim::operator== |
( |
const NcDim & |
rhs | ) |
const |
equivalence operator
Definition at line 43 of file ncDim.cpp.
◆ rename()
void NcDim::rename |
( |
const std::string & |
newName | ) |
|
renames the dimension
Definition at line 114 of file ncDim.cpp.
◆ operator<
bool operator< |
( |
const NcDim & |
lhs, |
|
|
const NcDim & |
rhs |
|
) |
| |
|
friend |
comparator operator
Definition at line 11 of file ncDim.cpp.
◆ operator>
bool operator> |
( |
const NcDim & |
lhs, |
|
|
const NcDim & |
rhs |
|
) |
| |
|
friend |
comparator operator
Definition at line 17 of file ncDim.cpp.
The documentation for this class was generated from the following files: