mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2025-03-01 19:15:21 +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;
|
||
|
}
|