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
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
};
61
int
structure_state
= -1;
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
HE5Parser::structure_state
int structure_state
Have the parser's state in terms of structure.
Definition
HE5Parser.h:61
HE5Parser::print
void print() const
Print the information about the members of the Vector list.
Definition
HE5Parser.cc:38
HE5Parser::err_msg
std::string err_msg
Have any parse error message.
Definition
HE5Parser.h:71
HE5Parser::parser_state
int parser_state
Have the StructMetadata parser's state.
Definition
HE5Parser.h:68
HE5Grid
Definition
HE5Grid.h:12
HE5Swath
Definition
HE5Swath.h:6
HE5Za
Definition
HE5Za.h:6
modules
hdf5_handler
HE5Parser.h
Generated by
1.13.2