Bayeux  3.4.1
Core Foundation library for SuperNEMO
resource.h
Go to the documentation of this file.
1 //
10 // Copyright (c) 2014 by Ben Morgan <bmorgan.warwick@gmail.com>
11 // Copyright (c) 2014 by The University of Warwick
12 // Copyright (c) 2014 by François Mauger <mauger@lpccaen.in2p3.fr>
13 // Copyright (c) 2014 by Université de Caen
14 //
15 // This file is part of datatools.
16 //
17 // datatools is free software: you can redistribute it and/or modify
18 // it under the terms of the GNU General Public License as published by
19 // the Free Software Foundation, either version 3 of the License, or
20 // (at your option) any later version.
21 //
22 // datatools is distributed in the hope that it will be useful,
23 // but WITHOUT ANY WARRANTY; without even the implied warranty of
24 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 // GNU General Public License for more details.
26 //
27 // You should have received a copy of the GNU General Public License
28 // along with datatools. If not, see <http://www.gnu.org/licenses/>.
29 
30 #ifndef DATATOOLS_RESOURCE_H
31 #define DATATOOLS_RESOURCE_H
32 
33 // Standard Library
34 #include <string>
35 
36 namespace datatools {
37 
43  std::string get_resource_dir(bool overriden_env_ = false);
44 
53  std::string get_resource(const std::string & rname_, bool overriden_env_ = false);
54 
55 } // namespace datatools
56 
57 #endif // DATATOOLS_RESOURCE_H
58 
59 // Local Variables: --
60 // mode: c++ --
61 // c-file-style: "gnu" --
62 // tab-width: 2 --
63 // End: --
std::string get_resource_dir(bool overriden_env_=false)
The Bayeux/datatools library top-level namespace.
Definition: algo.h:13
std::string get_resource(const std::string &rname_, bool overriden_env_=false)