bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5CFProj.cc
1// This file is part of the hdf5 data handler for the OPeNDAP data server.
2// This is to support the HDF-EOS5 grid for the default option.
3// The grid mapping variable is declared here.
5
6
7#include "HDF5CFProj.h"
8#include <memory>
9
10using namespace std;
11using namespace libdap;
12
13
14HDF5CFProj::HDF5CFProj(const string & n, const string &d ) : Byte(n, d)
15{
16}
17
18BaseType *HDF5CFProj::ptr_duplicate()
19{
20 auto HDF5CFProj_unique = make_unique<HDF5CFProj>(*this);
21 return HDF5CFProj_unique.release();
22}
23
24bool HDF5CFProj::read()
25{
26 // Just return a dummy value.
27 char buf='p';
28 set_read_p(true);
29 set_value((dods_byte)buf);
30 return true;
31}
32