mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-27 07:49:52 +08:00
23 lines
398 B
C++
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;
|
|
}
|