47 int getId()
const {
return myId;};
59 void rename(
const std::string& newName);
62 bool isNull()
const {
return nullObject;}
Class represents a netCDF dimension.
friend bool operator<(const NcDim &lhs, const NcDim &rhs)
comparator operator
friend bool operator>(const NcDim &lhs, const NcDim &rhs)
comparator operator
std::string getName() const
The name of this dimension.
size_t getSize() const
The size of the dimension; for unlimited, this is the number of records written so far.
bool isUnlimited() const
Returns true if this is an unlimited dimension.
bool isNull() const
Returns true if this object is null (i.e.
bool operator!=(const NcDim &rhs) const
!= operator
NcGroup getParentGroup() const
Gets a NcGroup object of the parent group.
NcDim & operator=(const NcDim &)
assignment operator
int getId() const
The netCDF Id of this dimension.
bool operator==(const NcDim &rhs) const
equivalence operator
void rename(const std::string &newName)
renames the dimension
NcDim()
Constructor generates a null object.
Class represents a netCDF group.