Class represents a netCDF compound type
- Copyright:
- Original C++ API developed by Lynton Appel.
Portions of this software were developed by the Unidata Program at the
University Corporation for Atmospheric Research.
Modifications: Copyright 2013 Colorado State University. All rights reserved.
- Organization:
- Natural Resource Ecology Laboratory
Colorado State University, Fort Collins, CO 80523 USA
www.nrel.colostate.edu
- Project:
- IRC <www.nrel.colostate.edu/projects/irc/>
- Author
- Tom Hilinski tom.h.nosp@m.ilin.nosp@m.ski@c.nosp@m.olos.nosp@m.tate..nosp@m.edu
- Date
- 2013Jan
|
| NcCompoundType () |
|
| NcCompoundType (int const useFileID, NcGroup const &grp, std::string const name, int const typeID) |
| ID returned by "nc_def*". More...
|
|
| NcCompoundType (NcCompoundType const &rhs) |
|
virtual std::string const | getTypeClassName () const |
|
void | addMember (std::string const memName, NcType const &newMemberType, size_t const offset) |
|
void | addMember (std::string const memName, NcType const &newMemberType, size_t const offset, const std::vector< int > &shape) |
|
size_t | getMemberCount () const |
|
NcType | getMember (int const memberIndex) const |
|
size_t | getMemberOffset (const int index) const |
|
int | getMemberDimCount (int const memberIndex) const |
|
std::vector< int > | getMemberShape (int const memberIndex) const |
|
NcCompoundType & | operator= (NcCompoundType const &rhs) |
|
bool | operator== (NcCompoundType const &rhs) const |
|
bool | operator!= (NcCompoundType const &rhs) const |
|
| NcTypeUserDef (int const useFileID, NcGroup const &grp, std::string const &myClassName, ncType const classTypeID, int const typeID) |
| ID returned by "nc_def*". More...
|
|
| NcTypeUserDef (NcTypeUserDef const &rhs) |
|
int | GetFileID () const |
| file ID More...
|
|
int | GetGroupID () const |
| group ID More...
|
|
int | GetTypeID () const |
| type ID from nc_def* More...
|
|
virtual std::string | GetName () const |
| name of this type More...
|
|
virtual size_t | Size () const |
| size of type in bytes More...
|
|
NcGroup | GetParentGroup () const |
| parent group More...
|
|
virtual ncType | getTypeClass () const |
| return enum ncType More...
|
|
NcTypeUserDef & | operator= (NcTypeUserDef const &rhs) |
|
bool | operator== (NcTypeUserDef const &rhs) const |
|
bool | operator!= (const NcTypeUserDef &rhs) const |
|
bool | operator< (NcTypeUserDef const &rhs) const |
|
| NcType () |
|
| NcType (std::string const myClassName, ncType const id) |
| enumerated type value More...
|
|
| NcType (NcType const &rhs) |
|
virtual | ~NcType () |
|
NcType & | operator= (NcType const &rhs) |
|
bool | operator== (NcType const &rhs) const |
|
bool | operator!= (NcType const &rhs) const |
|
bool | operator< (NcType const &rhs) const |
|
ncType | GetID () const |
|
virtual ncType | GetTypeClass () const |
|
std::string const & | getTypeClassName () const |
|
std::string const & | GetTypeClassName () const |
|
bool | IsNull () const |
|
virtual | ~NcTypeV4 ()=0 |
|
void | VerifyVersion4 (int const fileID) |
|
|
enum | ncType {
nc_NAT = NC_NAT,
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,
nc_Unknown
} |
|
void | ErrorDimsAreZero (std::string const &className) |
|
void | ErrorArrayNcSizeMismatch (std::string const &className) |
|
| NcTypeV4 (std::string const useTypeClassName) |
|
| NcTypeV4 (NcTypeV4 const &rhs) |
|
bool | nullObject |
|
std::string | myName |
| enumerated type name More...
|
|
ncType | myID |
| enumerated type value More...
|
|
static ncType const | nullID = nc_NAT |
|