NetCDF-C++
4.3.1-developer
NetCDF Documentation
Navigation
Files
Source Files
ncUint64.cpp
1
#include "ncUint64.h"
2
#include "netcdf.h"
3
using namespace
netCDF
;
4
5
// create an instance of NcUint64 called netCDF::ncUint64
6
namespace
netCDF
{
7
NcUint64
ncUint64
;
8
}
9
10
// constructor
11
NcUint64::NcUint64
() :
NcType
(NC_UINT64){
12
}
13
14
NcUint64::~NcUint64
() {
15
}
16
17
18
// equivalence operator
19
bool
NcUint64::operator==
(
const
NcUint64
& rhs) {
20
// simply check the netCDF id.
21
return
myId
== rhs.
myId
;
22
}
netCDF::NcType
Base class inherited by NcOpaque, NcVlen, NcCompound and NcEnum classes.
Definition:
ncType.h:14
netCDF::NcUint64::operator==
bool operator==(const NcUint64 &rhs)
equivalence operator
Definition:
ncUint64.cpp:19
netCDF::ncUint64
NcUint64 ncUint64
A global instance of the NcUint64 class within the netCDF namespace.
Definition:
ncUint64.cpp:7
netCDF
C++ API for netCDF4.
Definition:
ncAtt.h:9
netCDF::NcUint64
Class represents a netCDF atomic Uint64 type.
Definition:
ncUint64.h:10
netCDF::NcUint64::~NcUint64
~NcUint64()
destructor
Definition:
ncUint64.cpp:14
netCDF::NcUint64::NcUint64
NcUint64()
Constructor.
Definition:
ncUint64.cpp:11
netCDF::NcType::myId
nc_type myId
the type Id
Definition:
ncType.h:149
Return to the Main Unidata NetCDF page.
Generated on Fri Nov 11 2016 15:28:29 for NetCDF-C++. NetCDF is a
Unidata
library.