bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
BBoxCombFunction.h
1// -*- mode: c++; c-basic-offset:4 -*-
2
3// This file is part of the BES, A C++ implementation of the OPeNDAP
4// Hyrax data server
5
6// Copyright (c) 2015 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#include <libdap/ServerFunction.h>
26
27namespace libdap {
28class BaseType;
29class DDS;
30
31class D4RValueList;
32class DMR;
33}
34
35namespace functions {
36
37void function_dap2_bbox_comb(int argc, libdap::BaseType *argv[], libdap::DDS &dds, libdap::BaseType **btpp);
38
39class BBoxCombFunction: public libdap::ServerFunction
40{
41public:
42 BBoxCombFunction(){
43 setName("bbox_comb");
44 setDescriptionString("The bbox_comb() function combines two bounding boxes with different shapes, forming their combination.");
45 setUsageString("bbox_comb(<bb1>, <bb2>)");
46 setRole("http://services.opendap.org/dap4/server-side-function/bbox_comb");
47 setDocUrl("http://docs.opendap.org/index.php/Server_Side_Processing_Functions#bbox_comb");
48 setFunction(function_dap2_bbox_comb);
49 setVersion("1.0");
50 }
51 virtual ~BBoxCombFunction(){
52 }
53};
54
55} /* namespace functions */
56
57