bes  Updated for version 3.20.6
DilateArrayFunction.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) 2015 OPeNDAP, Inc.
7 // Authors: James Gallagher <jgallagher@opendap.org>
8 // Dan Holloway <dholloway@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 #include <dods-datatypes.h>
28 
29 namespace libdap {
30 class BaseType;
31 class Array;
32 class DDS;
33 }
34 
35 namespace functions {
36 
37 void function_dilate_dap2_array(int argc, libdap::BaseType *argv[], libdap::DDS &dds, libdap::BaseType **btpp);
38 
44 class DilateArrayFunction: public libdap::ServerFunction
45 {
46 public:
48  {
49  setName("dilate_mask");
50  setDescriptionString("The dilate_mask() function applies a dilation graphics operation to a mask array.");
51  setUsageString("dilate_mask(mask, dilatin_size = 1)");
52  setRole("http://services.opendap.org/dap4/server-side-function/dilate_mask");
53  setDocUrl("http://docs.opendap.org/index.php/Server_Side_Processing_Functions#dilate_mask");
54  setFunction(function_dilate_dap2_array);
55  // setFunction(function_dilate_mask_dap4_array);
56  setVersion("1.0");
57  }
58  virtual ~DilateArrayFunction()
59  {
60  }
61 };
62 
63 } // functions namespace
functions::DilateArrayFunction
Definition: DilateArrayFunction.h:44
libdap
Definition: BESDapFunctionResponseCache.h:35