File: ncInt64.cpp

package info (click to toggle)
netcdf-cxx 4.3.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,016 kB
  • ctags: 1,015
  • sloc: sh: 11,553; cpp: 8,167; xml: 173; ansic: 134; makefile: 108
file content (22 lines) | stat: -rw-r--r-- 386 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 "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;
}