OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HE5Parser.h
Go to the documentation of this file.
1 // This file is part of hdf5_handler a HDF5 file handler for the OPeNDAP
2 // data server.
3 //
4 // Authors:
5 // Hyo-Kyung Lee <hyoklee@hdfgroup.org> and Muqun Yang <myang6@hdfgroup.org>
6 //
7 // Copyright (c) 2009-2013 The HDF Group, Inc. and OPeNDAP, Inc.
8 //
9 // This is free software; you can redistribute it and/or modify it under the
10 // terms of the GNU Lesser General Public License as published by the Free
11 // Software Foundation; either version 2.1 of the License, or (at your
12 // option) any later version.
13 //
14 // This software is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17 // License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 //
23 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24 // You can contact The HDF Group, Inc. at 1800 South Oak Street,
25 // Suite 203, Champaign, IL 61820
26 
27 #ifndef _HE5Parser_H
28 #define _HE5Parser_H
29 
30 #include <string>
31 #include <vector>
32 
33 #include "HE5Swath.h"
34 #include "HE5Grid.h"
35 #include "HE5Za.h"
36 
37 using namespace std;
38 
50 class HE5Parser:public HE5Swath, public HE5Grid, public HE5Za {
51 
52 
53 public:
54  vector<HE5Swath> swath_list;
55  vector<HE5Grid> grid_list;
56  vector<HE5Za> za_list;
57 
58  enum {
60  };
63 
64  enum {
65  DATA_FIELD, GEO_FIELD
66  };
67 
70 
72  string err_msg;
73 
74  HE5Parser();
75  virtual ~ HE5Parser();
76 
78  void print();
79 
80 };
81 #endif
Definition: HDF5CF.h:54
STL namespace.
Definition: HDF5CF.h:54
vector< HE5Swath > swath_list
Definition: HE5Parser.h:54
string err_msg
Have any parse error message.
Definition: HE5Parser.h:72
Definition: HE5Za.h:7
int parser_state
Have the StructMetadata parser's state.
Definition: HE5Parser.h:69
int structure_state
Have the parser's state in terms of structure.
Definition: HE5Parser.h:62
vector< HE5Grid > grid_list
Definition: HE5Parser.h:55
vector< HE5Za > za_list
Definition: HE5Parser.h:56