NetCDF4 C++ API
|
Represents a netCDF atomic Char type. More...
#include <NetCDF/cpp4/src/NcChar.h>
Public Types | |
typedef char | value_type |
typedef std::vector< value_type > | vector_type |
![]() | |
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 } |
Public Member Functions | |
NcChar () | |
void | Get (int const groupID, int const varID, char **&data) |
receives data; free with FreeCStringArray More... | |
void | Get (int const groupID, int const varID, std::vector< std::string > &data) |
receives data More... | |
void | Get (int const groupID, int const varID, vector_type &data) |
receives data More... | |
void | Get (int const groupID, int const varID, TVecIndex const &indices, std::string &data) |
receives value More... | |
void | Get (int const groupID, int const varID, std::size_t const start, std::size_t const count, char **&data) |
receives data; free with FreeCStringArray More... | |
void | Get (int const groupID, int const varID, std::size_t const start, std::size_t const count, std::vector< std::string > &data) |
receives data More... | |
void | Get (int const groupID, int const varID, TVecIndex const &start, TVecIndex const &count, vector_type &data) |
vector to receive data values More... | |
void | Put (int const groupID, int const varID, vector_type const &data) |
data to write More... | |
void | Put (int const groupID, int const varID, TVecIndex const &start, TVecIndex const &count, vector_type const &data) |
vector of values to write More... | |
![]() | |
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 std::string | GetName () const |
virtual size_t | Size () const |
virtual ncType | getTypeClass () const |
virtual ncType | GetTypeClass () const |
std::string const & | getTypeClassName () const |
std::string const & | GetTypeClassName () const |
bool | IsNull () const |
Static Public Member Functions | |
static value_type | FillValue () |
static value_type | MinValue () |
static value_type | MaxValue () |
static std::size_t | SizeOf () |
Additional Inherited Members | |
![]() | |
void | ErrorDimsAreZero (std::string const &className) |
void | ErrorArrayNcSizeMismatch (std::string const &className) |
![]() | |
bool | nullObject |
std::string | myName |
enumerated type name More... | |
ncType | myID |
enumerated type value More... | |
![]() | |
static ncType const | nullID = nc_NAT |
typedef char netcdf::NcChar::value_type |
typedef std::vector<value_type> netcdf::NcChar::vector_type |
netcdf::NcChar::NcChar | ( | ) |
|
inlinestatic |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
char **& | data | ||
) |
groupID | read all values from an array of char* group ID |
varID | variable ID |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
std::vector< std::string > & | data | ||
) |
groupID | read all values from an array of char* group ID |
varID | variable ID |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
vector_type & | data | ||
) |
groupID | read all values from an array of char group ID |
varID | variable ID |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
TVecIndex const & | indices, | ||
std::string & | data | ||
) |
groupID | read a single value at indices group ID |
varID | variable ID |
indices | indices at which to read |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
std::size_t const | start, | ||
std::size_t const | count, | ||
char **& | data | ||
) |
groupID | read all values from an array of char* group ID |
varID | variable ID |
start | zero-based index to start reading |
count | number of strings to read |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
std::size_t const | start, | ||
std::size_t const | count, | ||
std::vector< std::string > & | data | ||
) |
groupID | read all values from an array of char* group ID |
varID | variable ID |
start | zero-based index to start reading |
count | number of strings to read |
void netcdf::NcChar::Get | ( | int const | groupID, |
int const | varID, | ||
TVecIndex const & | start, | ||
TVecIndex const & | count, | ||
vector_type & | data | ||
) |
groupID | read an array of values group ID |
varID | variable ID |
start | zero-based indices to start reading |
count | count along each edge (>= 1) |
|
inlinestatic |
|
inlinestatic |
void netcdf::NcChar::Put | ( | int const | groupID, |
int const | varID, | ||
vector_type const & | data | ||
) |
groupID | write all values group ID |
varID | variable ID |
void netcdf::NcChar::Put | ( | int const | groupID, |
int const | varID, | ||
TVecIndex const & | start, | ||
TVecIndex const & | count, | ||
vector_type const & | data | ||
) |
groupID | write an array of values group ID |
varID | variable ID |
start | zero-based indices to start write |
count | count along each edge (>= 1) |
|
inlinestatic |