File: ncUint64.cpp

package info (click to toggle)
netcdf 1%3A4.1.3-7.2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 46,040 kB
  • ctags: 25,265
  • sloc: ansic: 169,389; fortran: 17,742; sh: 13,203; cpp: 10,960; f90: 7,903; yacc: 2,832; xml: 2,129; makefile: 2,034; lex: 1,210
file content (22 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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;
}