bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
FFRequestHandler.h
1
2// -*- mode: c++; c-basic-offset:4 -*-
3
4// This file is part of hdf5_handler, a data handler for the OPeNDAP data
5// server.
6
7// Copyright (c) 2002,2003 OPeNDAP, Inc.
8// Author: James Gallagher <jgallagher@opendap.org>
9//
10// This is free software; you can redistribute it and/or modify it under the
11// terms of the GNU Lesser General Public License as published by the Free
12// Software Foundation; either version 2.1 of the License, or (at your
13// option) any later version.
14//
15// This software is distributed in the hope that it will be useful, but
16// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18// 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// CDFRequestHandler.h
27
28#ifndef I_FFRequestHandler_H
29#define I_FFRequestHandler_H 1
30
31#include "BESRequestHandler.h"
32
33class FFRequestHandler : public BESRequestHandler {
34private:
35 static bool d_RSS_format_support;
36 static std::string d_RSS_format_files;
37
38 static bool d_Regex_format_support;
39 static std::map<std::string,std::string> d_fmt_regex_map;
40 //static string d_Regex_expr;
41public:
42 FFRequestHandler( const std::string &name ) ;
43 virtual ~FFRequestHandler( void ) ;
44
45 static bool ff_build_das(BESDataHandlerInterface &dhi);
46 static bool ff_build_dds(BESDataHandlerInterface &dhi);
47 static bool ff_build_data(BESDataHandlerInterface &dhi);
48
49 static bool ff_build_dmr(BESDataHandlerInterface &dhi);
50
51 static bool ff_build_help(BESDataHandlerInterface &dhi);
52 static bool ff_build_version(BESDataHandlerInterface &dhi);
53
54 static bool get_RSS_format_support() { return d_RSS_format_support; }
55 static std::string get_RSS_format_files() { return d_RSS_format_files; }
56
57 static bool get_Regex_format_support() { return d_Regex_format_support; }
58 static std::map<std::string,std::string> get_fmt_regex_map() { return d_fmt_regex_map; }
59
60};
61
62#endif
63
Structure storing information used by the BES to handle the request.
static bool ff_build_dmr(BESDataHandlerInterface &dhi)