OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
BBoxUnionFunction.h
Go to the documentation of this file.
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 <ServerFunction.h>
26 
27 namespace libdap {
28 
29 class BaseType;
30 class DDS;
31 
32 class D4RValueList;
33 class DMR;
34 
35 void function_dap2_bbox_union(int argc, BaseType *argv[], DDS &dds, BaseType **btpp);
36 BaseType *function_dap4_bbox_union(D4RValueList *args, DMR &dmr);
37 
38 class BBoxUnionFunction: public libdap::ServerFunction
39 {
40 public:
42  {
43  setName("bbox_union");
44  setDescriptionString("The bbox_union() function combines several bounding boxes, forming their union.");
45  setUsageString("bbox_union(<bb1>, <bb2>, ..., <bbn>)");
46  setRole("http://services.opendap.org/dap4/server-side-function/bbox_union");
47  setDocUrl("http://docs.opendap.org/index.php/Server_Side_Processing_Functions#bbox_union");
50  setVersion("1.0");
51  }
53  {
54  }
55 };
56 
57 } // libdap namespace
BaseType * function_dap4_bbox_union(D4RValueList *, DMR &)
Combine several bounding boxes, forming their union.
static class NCMLUtil overview
void function_dap2_bbox_union(int argc, BaseType *argv[], DDS &, BaseType **btpp)
Combine several bounding boxes, forming their union.