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

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