OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
NCMLRequestHandler.h
Go to the documentation of this file.
1 // This file is part of the "NcML Module" project, a BES module designed
3 // to allow NcML files to be used to be used as a wrapper to add
4 // AIS to existing datasets of any format.
5 //
6 // Copyright (c) 2009 OPeNDAP, Inc.
7 // Author: Michael Johnson <m.johnson@opendap.org>
8 //
9 // For more information, please also see the main website: http://opendap.org/
10 //
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the GNU Lesser General Public
13 // License as published by the Free Software Foundation; either
14 // version 2.1 of the License, or (at your option) any later version.
15 //
16 // This library is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 // Lesser General Public License for more details.
20 //
21 // You should have received a copy of the GNU Lesser General Public
22 // License along with this library; if not, write to the Free Software
23 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 //
25 // Please see the files COPYING and COPYRIGHT for more information on the GLPL.
26 //
27 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
29 
30 #ifndef I_NCMLRequestHandler_H
31 #define I_NCMLRequestHandler_H
32 
33 #include "BESRequestHandler.h"
34 #include "BESDDSResponse.h"
35 
36 namespace ncml_module
37 {
42 {
43 private: // rep
44  static bool _global_attributes_container_name_set ;
45  static string _global_attributes_container_name;
46 
47 private:
48 #if 0
49  // Not used jhrg 4/16/14
50  // example for loading other locations by hijacking the dhi of the ncml request.
51  static bool ncml_build_redirect( BESDataHandlerInterface &dhi, const string& location ) ;
52 #endif
53 public:
54  NCMLRequestHandler( const string &name ) ;
55  virtual ~NCMLRequestHandler( void ) ;
56 
57  virtual void dump( ostream &strm ) const ;
58 
59  static bool ncml_build_das( BESDataHandlerInterface &dhi ) ;
60  static bool ncml_build_dds( BESDataHandlerInterface &dhi ) ;
61  static bool ncml_build_data( BESDataHandlerInterface &dhi ) ;
62  static bool ncml_build_dmr( BESDataHandlerInterface &dhi ) ;
63  static bool ncml_build_vers( BESDataHandlerInterface &dhi ) ;
64  static bool ncml_build_help( BESDataHandlerInterface &dhi ) ;
65 
66  static string get_global_attributes_container_name() { return _global_attributes_container_name; }
67 
68 }; // class NCMLRequestHandler
69 } // namespace ncml_module
70 
71 #endif // NCMLRequestHandler.h
72 
virtual void dump(ostream &strm) const
dumps information about this object
An abstract superclass for NCMLArray that handles the non-parameterized functionality and allows u...
static string get_global_attributes_container_name()
static bool ncml_build_vers(BESDataHandlerInterface &dhi)
static bool ncml_build_dds(BESDataHandlerInterface &dhi)
static bool ncml_build_das(BESDataHandlerInterface &dhi)
static bool ncml_build_data(BESDataHandlerInterface &dhi)
Represents a specific data type request handler.
NCMLRequestHandler(const string &name)
Structure storing information used by the BES to handle the request.
Handler for AIS Using NCML.
static bool ncml_build_help(BESDataHandlerInterface &dhi)
static bool ncml_build_dmr(BESDataHandlerInterface &dhi)