mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +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;
|
|
}
|