bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
CSVRequestHandler.h
1// CSVRequestHandler.h
2
3// This file is part of bes, A C++ back-end server implementation framework
4// for the OPeNDAP Data Access Protocol.
5
6// Copyright (c) 2004-2009 University Corporation for Atmospheric Research
7// Author: Stephan Zednik <zednik@ucar.edu> and Patrick West <pwest@ucar.edu>
8// and Jose Garcia <jgarcia@ucar.edu>
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 University Corporation for Atmospheric Research at
25// 3080 Center Green Drive, Boulder, CO 80301
26
27// (c) COPYRIGHT University Corporation for Atmospheric Research 2004-2005
28// Please read the full copyright statement in the file COPYRIGHT_UCAR.
29//
30// Authors:
31// zednik Stephan Zednik <zednik@ucar.edu>
32// pwest Patrick West <pwest@ucar.edu>
33// jgarcia Jose Garcia <jgarcia@ucar.edu>
34
35#ifndef I_CSVRequestHandler_H
36#define I_CSVRequestHandler_H
37
38#include "BESRequestHandler.h"
39
40class CSVRequestHandler: public BESRequestHandler {
41public:
42 CSVRequestHandler(std::string name);
43 virtual ~CSVRequestHandler(void);
44
45 virtual void dump(std::ostream &strm) const;
46
47 static bool csv_build_das(BESDataHandlerInterface &dhi);
48 static bool csv_build_dds(BESDataHandlerInterface &dhi);
49 static bool csv_build_data(BESDataHandlerInterface &dhi);
50
51 static bool csv_build_dmr(BESDataHandlerInterface &dhi);
52 //static bool csv_build_dap( BESDataHandlerInterface &dhi ) ;
53
54 static bool csv_build_vers(BESDataHandlerInterface &dhi);
55 static bool csv_build_help(BESDataHandlerInterface &dhi);
56
57 // This handler supports the "not including attributes" in
58 // the data access feature. Attributes are generated only
59 // if necessary. KY 10/30/19
60 void add_attributes(BESDataHandlerInterface &dhi);
61};
62
63#endif // CSVRequestHandler.h
Structure storing information used by the BES to handle the request.
virtual void dump(std::ostream &strm) const
dumps information about this object
static bool csv_build_dmr(BESDataHandlerInterface &dhi)