NetCDF-C++ 4.3.2
Loading...
Searching...
No Matches
ncFloat.cpp
1#include "ncFloat.h"
2#include "netcdf.h"
3using namespace netCDF;
4
5// create an instance of NcFloat called netCDF::ncFloat
6namespace netCDF {
8}
9
10// constructor
12}
13
16
17
18// equivalence operator
19bool NcFloat::operator==(const NcFloat & rhs) {
20 // simply check the netCDF id.
21 return myId == rhs.myId;
22}
Class represents a netCDF atomic Float type.
Definition ncFloat.h:11
NcFloat()
Constructor.
Definition ncFloat.cpp:11
~NcFloat()
destructor
Definition ncFloat.cpp:14
bool operator==(const NcFloat &rhs)
equivalence operator
Definition ncFloat.cpp:19
NcType()
Constructor generates a null object.
Definition ncType.cpp:43
nc_type myId
the type Id
Definition ncType.h:152
C++ API for netCDF4.
Definition ncAtt.h:10
NcFloat ncFloat
A global instance of the NcFloat class within the netCDF namespace.
Definition ncFloat.cpp:7

Return to the Main Unidata NetCDF page.
Generated on for NetCDF-C++. NetCDF is a Unidata library.