netcdf-C++
Namespaces | Classes | Functions | Variables
netCDF Namespace Reference

C++ API for netCDF4. More...

Namespaces

 exceptions
 Exception classes.
 

Classes

class  NcAtt
 
class  NcByte
 
class  NcChar
 
class  NcCompoundType
 
class  NcDim
 
class  NcDouble
 
class  NcEnumType
 
class  NcFile
 
class  NcFloat
 
class  NcGroup
 
class  NcGroupAtt
 
class  NcInt
 
class  NcInt64
 
class  NcOpaqueType
 
class  NcShort
 
class  NcString
 
class  NcType
 
class  NcUbyte
 
class  NcUint
 
class  NcUint64
 
class  NcUshort
 
class  NcVar
 
class  NcVarAtt
 
class  NcVlenType
 

Functions

void ncCheck (int retCode, const char *file, int line)
 
void ncCheckDataMode (int ncid)
 
void ncCheckDefineMode (int ncid)
 
bool operator< (const NcDim &lhs, const NcDim &rhs)
 
bool operator< (const NcGroupAtt &lhs, const NcGroupAtt &rhs)
 
bool operator< (const NcType &lhs, const NcType &rhs)
 
bool operator< (const NcVarAtt &lhs, const NcVarAtt &rhs)
 
bool operator< (const NcVar &lhs, const NcVar &rhs)
 
bool operator< (const NcGroup &lhs, const NcGroup &rhs)
 
bool operator> (const NcGroupAtt &lhs, const NcGroupAtt &rhs)
 
bool operator> (const NcDim &lhs, const NcDim &rhs)
 
bool operator> (const NcVarAtt &lhs, const NcVarAtt &rhs)
 
bool operator> (const NcType &lhs, const NcType &rhs)
 
bool operator> (const NcVar &lhs, const NcVar &rhs)
 
bool operator> (const NcGroup &lhs, const NcGroup &rhs)
 

Variables

NcByte ncByte
 
NcChar ncChar
 
NcDouble ncDouble
 
NcFloat ncFloat
 
NcInt ncInt
 
NcInt64 ncInt64
 
NcShort ncShort
 
NcString ncString
 
NcUbyte ncUbyte
 
NcUint ncUint
 
NcUint64 ncUint64
 

Detailed Description

C++ API for netCDF4.

Function Documentation

void netCDF::ncCheck ( int  retCode,
const char *  file,
int  line 
)

Function checks error code and if necessary throws an exception.

Parameters
retCodeInteger value returned by netCDF C-routines.
fileThe name of the file from which this call originates.
lineThe line number in the file from which this call originates.
void netCDF::ncCheckDataMode ( int  ncid)

Function checks if the file (group) is in data mode. If not, it places it in the data mode. While this is automatically done by the underlying C API for netCDF-4 files, the netCDF-3 files still need this call.

void netCDF::ncCheckDefineMode ( int  ncid)

Function checks if the file (group) is in define mode. If not, it places it in the define mode. While this is automatically done by the underlying C API for netCDF-4 files, the netCDF-3 files still need this call.

bool netCDF::operator< ( const NcDim lhs,
const NcDim rhs 
)

comparator operator

bool netCDF::operator< ( const NcGroupAtt lhs,
const NcGroupAtt rhs 
)

comparator operator

bool netCDF::operator< ( const NcType lhs,
const NcType rhs 
)

comparator operator

bool netCDF::operator< ( const NcVarAtt lhs,
const NcVarAtt rhs 
)

comparator operator

bool netCDF::operator< ( const NcVar lhs,
const NcVar rhs 
)

comparator operator

bool netCDF::operator< ( const NcGroup lhs,
const NcGroup rhs 
)

comparator operator

bool netCDF::operator> ( const NcGroupAtt lhs,
const NcGroupAtt rhs 
)

comparator operator

bool netCDF::operator> ( const NcDim lhs,
const NcDim rhs 
)

comparator operator

bool netCDF::operator> ( const NcVarAtt lhs,
const NcVarAtt rhs 
)

comparator operator

bool netCDF::operator> ( const NcType lhs,
const NcType rhs 
)

comparator operator

bool netCDF::operator> ( const NcVar lhs,
const NcVar rhs 
)

comparator operator

bool netCDF::operator> ( const NcGroup lhs,
const NcGroup rhs 
)

comparator operator

Variable Documentation

NcByte netCDF::ncByte

A global instance of the NcByte class within the netCDF namespace.

NcChar netCDF::ncChar

A global instance of the NcChar class within the netCDF namespace.

NcDouble netCDF::ncDouble

A global instance of the NcDouble class within the netCDF namespace.

NcFloat netCDF::ncFloat

A global instance of the NcFloat class within the netCDF namespace.

NcInt netCDF::ncInt

A global instance of the NcInt class within the netCDF namespace.

NcInt64 netCDF::ncInt64

A global instance of the NcInt64 class within the netCDF namespace.

NcShort netCDF::ncShort

A global instance of the NcShort class within the netCDF namespace.

NcString netCDF::ncString

A global instance of the NcString class within the netCDF namespace.

NcUbyte netCDF::ncUbyte

A global instance of the NcUbyte class within the netCDF namespace.

NcUint netCDF::ncUint

A global instance of the NcUint class within the netCDF namespace.

NcUint64 netCDF::ncUint64

A global instance of the NcUint64 class within the netCDF namespace.