libdap
Updated for version 3.21.0
libdap4 is an implementation of OPeNDAP's DAP protocol.
GridFunction.h
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) 2013 OPeNDAP, Inc.
7
// Author: Nathan Potter <npotter@opendap.org>
8
// James Gallagher <jgallagher@opendap.org>
9
//
10
// This library is free software; you can redistribute it and/or
11
// modify it under the terms of the GNU Lesser General Public
12
// License as published by the Free Software Foundation; either
13
// version 2.1 of the License, or (at your option) any later version.
14
//
15
// This library is distributed in the hope that it will be useful,
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
// Lesser General Public License for more details.
19
//
20
// You should have received a copy of the GNU Lesser General Public
21
// License along with this library; if not, write to the Free Software
22
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
//
24
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
25
26
#include <ServerFunction.h>
27
28
namespace
libdap
{
29
class
BaseType
;
30
class
DDS
;
31
}
// namespace libdap
32
33
namespace
functions {
34
35
void
function_grid(
int
argc, libdap::BaseType *argv[], libdap::DDS &dds, libdap::BaseType **btpp);
36
37
class
GridFunction :
public
libdap::ServerFunction
{
38
public
:
39
GridFunction() {
40
setName(
"grid"
);
41
setDescriptionString(
"Subsets a grid by the values of it's geo-located map variables."
);
42
setUsageString(
"grid(...)"
);
43
setRole(
"http://services.opendap.org/dap4/server-side-function/grid"
);
44
setDocUrl(
"http://docs.opendap.org/index.php/Server_Side_Processing_Functions#grid"
);
45
setFunction
(function_grid);
46
setVersion(
"1.0"
);
47
}
48
virtual
~GridFunction() {}
49
50
bool
canOperateOn
(
libdap::DDS
&dds);
51
};
52
53
}
// namespace functions
functions::GridFunction::canOperateOn
bool canOperateOn(libdap::DDS &dds)
Definition
GridFunction.cc:163
libdap::BaseType
The basic data type for the DODS DAP types.
Definition
BaseType.h:118
libdap::DDS
Definition
DDS.h:176
libdap::ServerFunction
Definition
ServerFunction.h:42
libdap::ServerFunction::setFunction
void setFunction(bool_func bf)
Definition
ServerFunction.h:120
libdap
top level DAP object to house generic methods
Definition
AISConnect.cc:30
retired
geo
not_used
GridFunction.h
Generated by
1.13.2