bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HttpdCatalogContainerStorage.h
1
2// -*- mode: c++; c-basic-offset:4 -*-
3//
4// This file is part of httpd_catalog_module, A C++ module that can be loaded in to
5// the OPeNDAP Back-End Server (BES) and is able to handle remote requests.
6//
7// Copyright (c) 2018 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//
26// Authors:
27// ndp Nathan Potter <ndp@opendap.org>
28
29#ifndef I_HttpdCatalogContainerStorage_H_
30#define I_HttpdCatalogContainerStorage_H_ 1
31
32#include "BESContainerStorageVolatile.h"
33
34class BESCatalogUtils;
35
36namespace httpd_catalog {
37
49public:
50 HttpdCatalogContainerStorage(const std::string &n);
52
53 virtual void add_container(const std::string &s_name, const std::string &r_name, const std::string &type);
54
55 virtual void dump(std::ostream &strm) const;
56};
57
58} // namespace httpd_catalog
59
60#endif // I_HttpdCatalogContainerStorage_H_
BESContainerStorageVolatile(const std::string &n)
create an instance of this persistent store with the given name.
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual void add_container(const std::string &s_name, const std::string &r_name, const std::string &type)
adds a container with the provided information
HttpdCatalogContainerStorage(const std::string &n)
create an instance of this persistent store with the given name.