libdap
Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
gse_parser.h
Go to the documentation of this file.
1
// -*- mode: c++; c-basic-offset:4 -*-
2
3
// This file is part of libdap, A C++ implementation of the OPeNDAP Data
4
// Access Protocol.
5
6
// Copyright (c) 2006 OPeNDAP, Inc.
7
// Author: James Gallagher <jgallagher@opendap.org>
8
//
9
// This library is free software; you can redistribute it and/or
10
// modify it under the terms of the GNU Lesser General Public
11
// License as published by the Free Software Foundation; either
12
// version 2.1 of the License, or (at your option) any later version.
13
//
14
// This library is distributed in the hope that it will be useful,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
// Lesser General Public 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
25
#define YYDEBUG 1
26
#undef YYERROR_VERBOSE
27
#define YY_NO_UNPUT 1
28
29
#define ID_MAX 256
30
31
#ifndef TRUE
32
#define TRUE 1
33
#define FALSE 0
34
#endif
35
36
namespace
libdap
{
37
class
Grid;
38
}
39
40
namespace
functions
{
41
42
class
GSEClause
;
43
46
struct
gse_arg
{
47
GSEClause
*
_gsec
;
// The gse parsed.
48
libdap::Grid
*
_grid
;
// The Grid being constrained.
49
int
_status
;
// The parser's status.
50
51
gse_arg
() :
_gsec
(0),
_grid
(0),
_status
(1) {}
52
gse_arg
(
libdap::Grid
*g) :
_gsec
(0),
_grid
(g),
_status
(1) {}
53
virtual
~gse_arg
() {}
54
55
void
set_gsec
(
GSEClause
*gsec) {
_gsec
= gsec; }
56
GSEClause
*
get_gsec
() {
return
_gsec
; }
57
void
set_grid
(
libdap::Grid
*g) {
_grid
= g; }
58
libdap::Grid
*
get_grid
() {
return
_grid
; }
59
void
set_status
(
int
stat) {
_status
= stat; }
60
int
get_status
() {
return
_status
; }
61
};
62
63
}
// namespace functions
functions::GSEClause
Definition
GSEClause.h:72
libdap::Grid
Holds the Grid data type.
Definition
Grid.h:121
functions
Definition
grid_utils.cc:51
libdap
top level DAP object to house generic methods
Definition
AISConnect.cc:30
functions::gse_arg::gse_arg
gse_arg()
Definition
gse_parser.h:51
functions::gse_arg::_gsec
GSEClause * _gsec
Definition
gse_parser.h:47
functions::gse_arg::get_grid
libdap::Grid * get_grid()
Definition
gse_parser.h:58
functions::gse_arg::set_grid
void set_grid(libdap::Grid *g)
Definition
gse_parser.h:57
functions::gse_arg::set_status
void set_status(int stat)
Definition
gse_parser.h:59
functions::gse_arg::get_status
int get_status()
Definition
gse_parser.h:60
functions::gse_arg::_status
int _status
Definition
gse_parser.h:49
functions::gse_arg::~gse_arg
virtual ~gse_arg()
Definition
gse_parser.h:53
functions::gse_arg::gse_arg
gse_arg(libdap::Grid *g)
Definition
gse_parser.h:52
functions::gse_arg::set_gsec
void set_gsec(GSEClause *gsec)
Definition
gse_parser.h:55
functions::gse_arg::get_gsec
GSEClause * get_gsec()
Definition
gse_parser.h:56
functions::gse_arg::_grid
libdap::Grid * _grid
Definition
gse_parser.h:48
geo
gse_parser.h
Generated by
1.13.2