bes Updated for version 3.20.10
HDFEOS2GeoCFProj.cc
1// This file is part of the hdf4 data handler for the OPeNDAP data server.
2
4
5#ifdef USE_HDFEOS2_LIB
6
7#include "config_hdf.h"
8
9#include "HDFEOS2GeoCFProj.h"
10
11
12using namespace libdap;
13using namespace std;
14
15HDFEOS2GeoCFProj::HDFEOS2GeoCFProj(const string & n, const string &d ) : Byte(n, d)
16{
17}
18
19HDFEOS2GeoCFProj::~HDFEOS2GeoCFProj()
20{
21}
22BaseType *HDFEOS2GeoCFProj::ptr_duplicate()
23{
24 return new HDFEOS2GeoCFProj(*this);
25}
26
27bool HDFEOS2GeoCFProj::read()
28{
29 // Just return a dummy value.
30 char buf='p';
31 set_read_p(true);
32 set_value((dods_byte)buf);
33
34 return true;
35
36}
37
38#endif