NetCDF-C++ 4.3.1
ncUint.cpp
1#include "ncUint.h"
2#include "netcdf.h"
3using namespace netCDF;
4
5// create an instance of NcUint called netCDF::ncUint
6namespace netCDF {
8}
9
10// constructor
11NcUint::NcUint() : NcType(NC_UINT){
12}
13
15}
16
17
18// equivalence operator
19bool NcUint::operator==(const NcUint & rhs) {
20 // simply check the netCDF id.
21 return myId == rhs.myId;
22}
Base class inherited by NcOpaque, NcVlen, NcCompound and NcEnum classes.
Definition: ncType.h:15
nc_type myId
the type Id
Definition: ncType.h:149
Class represents a netCDF atomic Uint type.
Definition: ncUint.h:11
bool operator==(const NcUint &rhs)
equivalence operator
Definition: ncUint.cpp:19
~NcUint()
destructor
Definition: ncUint.cpp:14
C++ API for netCDF4.
Definition: ncAtt.h:10
NcUint ncUint
A global instance of the NcUint class within the netCDF namespace.
Definition: ncUint.cpp:7

Return to the Main Unidata NetCDF page.
Generated on Wed Nov 10 2021 15:25:08 for NetCDF-C++. NetCDF is a Unidata library.