![]() |
NetCDF-C++ 4.3.2
|
Class represents a netCDF atomic Byte type. More...
#include "ncByte.h"


Public Types | |
| enum | ncType { nc_BYTE = NC_BYTE , nc_CHAR = NC_CHAR , nc_SHORT = NC_SHORT , nc_INT = NC_INT , nc_FLOAT = NC_FLOAT , nc_DOUBLE = NC_DOUBLE , nc_UBYTE = NC_UBYTE , nc_USHORT = NC_USHORT , nc_UINT = NC_UINT , nc_INT64 = NC_INT64 , nc_UINT64 = NC_UINT64 , nc_STRING = NC_STRING , nc_VLEN = NC_VLEN , nc_OPAQUE = NC_OPAQUE , nc_ENUM = NC_ENUM , nc_COMPOUND = NC_COMPOUND } |
| List of netCDF types that can be represented. More... | |
Public Member Functions | |
| NcByte () | |
| Constructor. | |
| nc_type | getId () const |
| The netCDF Id of this type. | |
| std::string | getName () const |
| The name of this type. | |
| netCDF::NcGroup | getParentGroup () const |
| Gets parent group. | |
| size_t | getSize () const |
| The size in bytes. | |
| ncType | getTypeClass () const |
| The type class returned as enumeration type. | |
| std::string | getTypeClassName () const |
| Return a string containing the name of the enumerated type. | |
| bool | isNonPrimitive () const |
| Return true if this is not a primitive type. | |
| bool | isNull () const |
| Returns true if this object is null (i.e. | |
| bool | operator!= (const NcType &) const |
| != operator | |
| bool | operator== (const NcByte &rhs) |
| equivalence operator | |
| bool | operator== (const NcType &) const |
| equivalence operator | |
| int | sizeoff () |
| storage size | |
Protected Attributes | |
| int | g_fileId |
| An ncid associated with a particular open file (returned from nc_open). | |
| int | groupId |
| the group Id | |
| nc_type | myId |
| the type Id | |
| bool | nullObject |
|
inherited |
List of netCDF types that can be represented.
The enumeration list contains the complete set of netCDF variable types. In addition, the type NC_TYPE is included. This enables the user to instantiate a netCDF type object without explcitly needing to know it precise type.
| NcByte::~NcByte | ( | ) |
Definition at line 14 of file ncByte.cpp.
| NcByte::NcByte | ( | ) |
Constructor.
Definition at line 11 of file ncByte.cpp.
|
inlineinherited |
|
inherited |
The name of this type.
For atomic types, the CDL type names are returned. These are as follows:
Definition at line 93 of file ncType.cpp.
|
inherited |
Gets parent group.
For an atomic type, returns a Null object.
Definition at line 88 of file ncType.cpp.
|
inherited |
The size in bytes.
This function will work on any type, including atomic and any user defined type, whether compound, opaque, enumeration, or variable length array.
Definition at line 103 of file ncType.cpp.
|
inherited |
The type class returned as enumeration type.
Valid for all types, whether atomic or user-defined. User-defined types are returned as one of the following enumeration types: nc_VLEN, nc_OPAQUE, nc_ENUM, or nc_COMPOUND.
Definition at line 111 of file ncType.cpp.
|
inherited |
Return a string containing the name of the enumerated type.
(ie one of the following strings: "nc_BYTE", "nc_CHAR", "nc_SHORT", "nc_INT", "nc_FLOAT", "nc_DOUBLE", "nc_UBYTE", "nc_USHORT", "nc_UINT", "nc_INT64", "nc_UINT64", "nc_STRING", "nc_VLEN", "nc_OPAQUE", "nc_ENUM", "nc_COMPOUND"
Definition at line 139 of file ncType.cpp.
|
inherited |
Return true if this is not a primitive type.
Definition at line 163 of file ncType.cpp.
|
inlineinherited |
|
inherited |
!= operator
Definition at line 82 of file ncType.cpp.
| bool NcByte::operator== | ( | const NcByte & | rhs | ) |
equivalence operator
Definition at line 21 of file ncByte.cpp.
|
inherited |
equivalence operator
Definition at line 73 of file ncType.cpp.
| int NcByte::sizeoff | ( | ) |
storage size
Definition at line 17 of file ncByte.cpp.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Generated on for NetCDF-C++. NetCDF is
a Unidata library.