bes  Updated for version 3.20.6
HDF5PathFinder.h
Go to the documentation of this file.
1 // This file is part of hdf5_handler a HDF5 file handler for the OPeNDAP
2 // data server.
3 
4 // Author: Hyo-Kyung Lee <hyoklee@hdfgroup.org> and Muqun Yang
5 // <myang6@hdfgroup.org>
6 
7 // Copyright (c) 2009-2016 The HDF Group, Inc. and OPeNDAP, Inc.
8 //
9 // This is free software; you can redistribute it and/or modify it under the
10 // terms of the GNU Lesser General Public License as published by the Free
11 // Software Foundation; either version 2.1 of the License, or (at your
12 // option) any later version.
13 //
14 // This software is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17 // License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 //
23 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24 // You can contact The HDF Group, Inc. at 1800 South Oak Street,
25 // Suite 203, Champaign, IL 61820
26 
27 #include <map>
28 #include <string>
29 
30 
43 
44  private:
45  std::map < std::string, std::string > id_to_name_map;
46 
47 
48  public:
50  virtual ~ HDF5PathFinder();
51 
59  bool add(std::string id, const std::string name);
60 
67  bool visited(std::string id);
68 
74  std::string get_name(std::string id);
75 
76 };
HDF5PathFinder
Definition: HDF5PathFinder.h:42
HDF5PathFinder::add
bool add(std::string id, const std::string name)
Definition: HDF5PathFinder.cc:50
HDF5PathFinder::get_name
std::string get_name(std::string id)
Definition: HDF5PathFinder.cc:74
HDF5PathFinder::visited
bool visited(std::string id)
Definition: HDF5PathFinder.cc:64