10 #ifdef USE_HDFEOS2_LIB
11 #ifndef HDFEOS2ARRAY_SWATHGEOFIELD_H
12 #define HDFEOS2ARRAY_SWATHGEOFIELD_H
15 #include "HDFCFUtil.h"
16 #include "HdfEosDef.h"
19 class HDFEOS2ArraySwathGeoField:
public libdap::Array
22 HDFEOS2ArraySwathGeoField (
int rank,
const std::string & filename,
const int swathfd,
const std::string & swathname,
const std::string & fieldname,
const string & n =
"", libdap::BaseType * v = 0):
27 swathname (swathname),
28 fieldname (fieldname) {
30 virtual ~ HDFEOS2ArraySwathGeoField ()
35 int format_constraint (
int *cor,
int *step,
int *edg);
37 libdap::BaseType *ptr_duplicate ()
39 return new HDFEOS2ArraySwathGeoField (*
this);
56 std::string swathname;
59 std::string fieldname;