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