mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
23 lines
386 B
C++
23 lines
386 B
C++
|
#include "ncInt64.h"
|
||
|
#include "netcdf.h"
|
||
|
using namespace netCDF;
|
||
|
|
||
|
// create an instance of NcInt64 called netCDF::ncInt64
|
||
|
namespace netCDF {
|
||
|
NcInt64 ncInt64;
|
||
|
}
|
||
|
|
||
|
// constructor
|
||
|
NcInt64::NcInt64() : NcType(NC_INT64){
|
||
|
}
|
||
|
|
||
|
NcInt64::~NcInt64() {
|
||
|
}
|
||
|
|
||
|
|
||
|
// equivalence operator
|
||
|
bool NcInt64::operator==(const NcInt64 & rhs) {
|
||
|
// simply check the netCDF id.
|
||
|
return myId == rhs.myId;
|
||
|
}
|