bes  Updated for version 3.20.6
FoDapCovJsonTransmitter.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 //
3 // FoDapCovJsonTransmitter.h
4 //
5 // This file is part of BES CovJSON File Out Module
6 //
7 // Copyright (c) 2018 OPeNDAP, Inc.
8 // Author: Corey Hemphill <hemphilc@oregonstate.edu>
9 // Author: River Hendriksen <hendriri@oregonstate.edu>
10 // Author: Riley Rimer <rrimer@oregonstate.edu>
11 //
12 // Adapted from the File Out JSON module implemented by Nathan Potter
13 //
14 // This library is free software; you can redistribute it and/or
15 // modify it under the terms of the GNU Lesser General Public
16 // License as published by the Free Software Foundation; either
17 // version 2.1 of the License, or (at your option) any later version.
18 //
19 // This library is distributed in the hope that it will be useful,
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 // Lesser General Public License for more details.
23 //
24 // You should have received a copy of the GNU Lesser General Public
25 // License along with this library; if not, write to the Free Software
26 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27 //
28 
29 #ifndef A_FoDapCovJsonTransmitter_h
30 #define A_FoDapCovJsonTransmitter_h 1
31 
32 #include <BESTransmitter.h>
33 
34 class BESResponseObject;
36 
47 private:
48  static std::string temp_dir;
49 
50 public:
52  virtual ~FoDapCovJsonTransmitter() { }
53 
54  static void send_data(BESResponseObject *obj, BESDataHandlerInterface &dhi);
56 };
57 
58 #endif // A_FoDapCovJsonTransmitter_h
59 
FoDapCovJsonTransmitter::send_metadata
static void send_metadata(BESResponseObject *obj, BESDataHandlerInterface &dhi)
The static method registered to transmit OPeNDAP data objects as a JSON file.
Definition: FoDapCovJsonTransmitter.cc:175
FoDapCovJsonTransmitter
BESTransmitter class named "json" that transmits an OPeNDAP data object as a JSON file.
Definition: FoDapCovJsonTransmitter.h:46
FoDapCovJsonTransmitter::send_data
static void send_data(BESResponseObject *obj, BESDataHandlerInterface &dhi)
The static method registered to transmit OPeNDAP data objects as a JSON file.
Definition: FoDapCovJsonTransmitter.cc:117
BESTransmitter
Definition: BESTransmitter.h:47
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition: BESDataHandlerInterface.h:56
FoDapCovJsonTransmitter::FoDapCovJsonTransmitter
FoDapCovJsonTransmitter()
Construct the FoW10nJsonTransmitter.
Definition: FoDapCovJsonTransmitter.cc:82
BESResponseObject
Abstract base class representing a specific set of information in response to a request to the BES.
Definition: BESResponseObject.h:45