bes  Updated for version 3.20.10
DapFunctionsRequestHandler.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 //
3 // DapFunctionsRequestHandler.h
4 //
5 // This file is part of BES DAP Functions handler
6 //
7 // Copyright (c) 2016 OPeNDAP, Inc.
8 // Author: 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 #ifndef I_DapFunctionsRequestHandler_H
27 #define I_DapFunctionsRequestHandler_H 1
28 
29 #include <string>
30 #include <ostream>
31 
32 #include "BESRequestHandler.h"
33 
35 
36 //const std::string STARE_STORAGE_PATH = "FUNCTIONS.stareStoragePath";
37 //const std::string STARE_SIDECAR_SUFFIX = "FUNCTIONS.stareSidecarSuffix";
42 public:
43  DapFunctionsRequestHandler(const std::string &name);
44  virtual ~DapFunctionsRequestHandler() {}
45 
46  virtual void dump(std::ostream &strm) const;
47 
48  static bool build_help(BESDataHandlerInterface &dhi);
49  static bool build_version(BESDataHandlerInterface &dhi);
50 };
51 
52 #endif
53 
Structure storing information used by the BES to handle the request.
Represents a specific data type request handler.
A Request Handler for the DAP Functions module.
virtual void dump(std::ostream &strm) const
dumps information about this object
DapFunctionsRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
static bool build_help(BESDataHandlerInterface &dhi)
Provides information for the DAP functions help request.