OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
ugr5.h
Go to the documentation of this file.
1 
2 // This file is part of libdap, A C++ implementation of the OPeNDAP Data
3 // Access Protocol.
4 
5 // Copyright (c) 2002,2003,2011,2012 OPeNDAP, Inc.
6 // Authors: Nathan Potter <ndp@opendap.org>
7 // James Gallagher <jgallagher@opendap.org>
8 // Scott Moe <smeest1@gmail.com>
9 // Bill Howe <billhowe@cs.washington.edu>
10 //
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the GNU Lesser General Public
13 // License as published by the Free Software Foundation; either
14 // version 2.1 of the License, or (at your option) any later version.
15 //
16 // This library is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 // Lesser General Public License for more details.
20 //
21 // You should have received a copy of the GNU Lesser General Public
22 // License along with this library; if not, write to the Free Software
23 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 //
25 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
26 
27 // NOTE: This file is built only when the gridfields library is linked with
28 // the netcdf_handler (i.e., the handler's build is configured using the
29 // --with-gridfields=... option to the 'configure' script).
30 
31 #ifndef UGR5_H_
32 #define UGR5_H_
33 
34 #include "BaseType.h"
35 #include "DDS.h"
36 #include "ServerFunction.h"
37 
38 namespace ugrid {
39 
40 void ugr5(int argc, libdap::BaseType * argv[], libdap::DDS &dds, libdap::BaseType **btpp) ;
41 
46 class UGR5: public libdap::ServerFunction {
47 
48 private:
49 
50 public:
51  UGR5() {
52  setName("ugr5");
53  setDescriptionString("This function can subset the range variables of a two dimensional triangular mesh unstructured grid.");
54  setUsageString("ugr5(0, node_var [,node_var_2,...,node_var_n], 'relational query over domain')");
55  setRole("http://services.opendap.org/dap4/server-side-function/unstructured_grids/ugrid_restrict");
56  setDocUrl("http://docs.opendap.org/index.php/UGrid_Functions");
57  setFunction(ugrid::ugr5);
58  setVersion("1.0");
59  }
60  virtual ~UGR5()
61  {
62  }
63 
64 };
65 
66 
67 }// namespace ugrid_restrict
68 
69 #endif /* UGR5_H_ */
The UGR4 class encapsulates the function 'ugr4::ugr4' along with additional meta-data regarding its u...
Definition: ugr5.h:46
void ugr5(int argc, BaseType *argv[], DDS &dds, BaseType **btpp)
Subset an irregular mesh (aka unstructured grid).
Definition: ugr5.cc:439
UGR5()
Definition: ugr5.h:51
virtual ~UGR5()
Definition: ugr5.h:60