bes  Updated for version 3.20.6
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-2016 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 
49 class HE5Parser:public HE5Swath, public HE5Grid, public HE5Za {
50 
51 
52 public:
53  std::vector<HE5Swath> swath_list;
54  std::vector<HE5Grid> grid_list;
55  std::vector<HE5Za> za_list;
56 
57  enum {
58  ZA, SWATH, GRID
59  };
62 
63  enum {
64  DATA_FIELD, GEO_FIELD
65  };
66 
69 
71  std::string err_msg;
72 
73  HE5Parser();
74  virtual ~ HE5Parser();
75 
77  void print();
78  void add_projparams(const std::string&);
79 
80 };
81 #endif
HE5Parser::parser_state
int parser_state
Have the StructMetadata parser's state.
Definition: HE5Parser.h:68
HE5Parser::print
void print()
Print the information about the members of the Vector list.
Definition: HE5Parser.cc:45
HE5Za
Definition: HE5Za.h:6
HE5Parser
Definition: HE5Parser.h:49
HE5Swath
Definition: HE5Swath.h:6
HE5Parser::structure_state
int structure_state
Have the parser's state in terms of structure.
Definition: HE5Parser.h:61
HE5Parser::err_msg
std::string err_msg
Have any parse error message.
Definition: HE5Parser.h:71
HE5Grid
Definition: HE5Grid.h:12