bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
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 Kent Yang <myang6@hdfgroup.org>
6//
7// Copyright (c) 2009-2023 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 410 E University Ave,
25// Suite 200, 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
49class HE5Parser:public HE5Swath, public HE5Grid, public HE5Za {
50
51
52public:
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
68 int parser_state = 0;
69
71 std::string err_msg = "";
72
73 HE5Parser();
74 virtual ~ HE5Parser();
75
77 void print() const;
78 void add_projparams(const std::string&);
79
80};
81#endif
int structure_state
Have the parser's state in terms of structure.
Definition HE5Parser.h:61
void print() const
Print the information about the members of the Vector list.
Definition HE5Parser.cc:38
std::string err_msg
Have any parse error message.
Definition HE5Parser.h:71
int parser_state
Have the StructMetadata parser's state.
Definition HE5Parser.h:68
Definition HE5Za.h:6