1 #include "ncOpaqueType.h" 4 #include "ncException.h" 17 NcType::operator=(rhs);
26 if(getTypeClass() != NC_OPAQUE)
throw NcException(
"The NcType object must be the base of an Opaque type.",__FILE__,__LINE__);
28 NcType::operator=(rhs);
57 if(
getTypeClass() != NC_OPAQUE)
throw NcException(
"The NcType object must be the base of an Opaque type.",__FILE__,__LINE__);
Base class inherited by NcOpaque, NcVlen, NcCompound and NcEnum classes.
NcOpaqueType()
Constructor generates a null object.
Class represents a netCDF group.
ncType
List of netCDF types that can be represented.
Base object is thrown if a netCDF exception is encountered.
NcType()
Constructor generates a null object.
void ncCheck(int retCode, const char *file, int line)
Function checks error code and if necessary throws an exception.
size_t getTypeSize() const
Returns the size of the opaque type in bytes.
Class represents a netCDF opaque type.
ncType getTypeClass() const
The type class returned as enumeration type.