bes  Updated for version 3.20.6
FoJsonRequestHandler.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 //
3 // FoJsonRequestHandler.h
4 //
5 // This file is part of BES JSON File Out Module
6 //
7 // Copyright (c) 2014 OPeNDAP, Inc.
8 // Author: Nathan Potter <ndp@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 // (c) COPYRIGHT URI/MIT 1995-1999
26 // Please read the full copyright statement in the file COPYRIGHT_URI.
27 //
28 
29 #ifndef I_FoJsonRequestHandler_H
30 #define I_FoJsonRequestHandler_H 1
31 
32 #include "BESRequestHandler.h"
33 
42 public:
43  FoJsonRequestHandler(const std::string &name);
44  virtual ~FoJsonRequestHandler(void);
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 
BESRequestHandler
Represents a specific data type request handler.
Definition: BESRequestHandler.h:74
FoJsonRequestHandler::FoJsonRequestHandler
FoJsonRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.
Definition: FoJsonRequestHandler.cc:51
FoJsonRequestHandler::dump
virtual void dump(std::ostream &strm) const
dumps information about this object
Definition: FoJsonRequestHandler.cc:121
FoJsonRequestHandler::~FoJsonRequestHandler
virtual ~FoJsonRequestHandler(void)
Any cleanup that needs to take place.
Definition: FoJsonRequestHandler.cc:60
FoJsonRequestHandler::build_help
static bool build_help(BESDataHandlerInterface &dhi)
adds help information for FileOut NetCDF to a help request
Definition: FoJsonRequestHandler.cc:75
FoJsonRequestHandler
A Request Handler for the Fileout NetCDF request.
Definition: FoJsonRequestHandler.h:41
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition: BESDataHandlerInterface.h:56
FoJsonRequestHandler::build_version
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
Definition: FoJsonRequestHandler.cc:104