Class represents a netCDF group.
Base class inherited by NcOpaque, NcVlen, NcCompound and NcEnum classes.
ncType getTypeClass() const
The type class returned as enumeration type.
netCDF::NcGroup getParentGroup() const
Gets parent group.
friend bool operator>(const NcType &lhs, const NcType &rhs)
comparator operator
NcType()
Constructor generates a null object.
size_t getSize() const
The size in bytes.
friend bool operator<(const NcType &lhs, const NcType &rhs)
comparator operator
bool operator==(const NcType &) const
equivalence operator
std::string getTypeClassName() const
Return a string containing the name of the enumerated type.
NcType(const netCDF::NcGroup &grp, const std::string &name)
Constructor for a non-global type.
NcType & operator=(const NcType &rhs)
assignment operator
ncType
List of netCDF types that can be represented.
@ nc_DOUBLE
double precision floating point number
@ nc_UBYTE
unsigned 1 byte int
@ nc_OPAQUE
"NcOpaque type"
@ nc_CHAR
ISO/ASCII character.
@ nc_SHORT
signed 2 byte integer
@ nc_BYTE
signed 1 byte integer
@ nc_UINT64
unsigned 8-byte int
@ nc_UINT
unsigned 4-byte int
@ nc_INT
signed 4 byte integer
@ nc_INT64
signed 8-byte int
@ nc_USHORT
unsigned 2-byte int
@ nc_FLOAT
single precision floating point number
@ nc_COMPOUND
"NcCompound type"
std::string getName() const
The name of this type.
bool isNull() const
Returns true if this object is null (i.e.
bool operator!=(const NcType &) const
!= operator
nc_type getId() const
The netCDF Id of this type.
virtual ~NcType()
destructor
int g_fileId
An ncid associated with a particular open file (returned from nc_open).