netcdf-cxx4/cxx4/ncUint64.cpp
Ed Hartnett 965b61a671 new
2011-08-17 18:56:14 +00:00

23 lines
398 B
C++

#include "ncUint64.h"
#include "netcdf.h"
using namespace netCDF;
// create an instance of NcUint64 called netCDF::ncUint64
namespace netCDF {
NcUint64 ncUint64;
}
// constructor
NcUint64::NcUint64() : NcType(NC_UINT64){
}
NcUint64::~NcUint64() {
}
// equivalence operator
bool NcUint64::operator==(const NcUint64 & rhs) {
// simply check the netCDF id.
return myId == rhs.myId;
}