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 geomtools.
14 //
15 // geomtools 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 // geomtools 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 geomtools. If not, see <http://www.gnu.org/licenses/>.
27 
28 #ifndef GEOMTOOLS_RESOURCE_H
29 #define GEOMTOOLS_RESOURCE_H
30 
31 // Standard Library:
32 #include <string>
33 
34 namespace geomtools {
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 } // namespace geomtools
53 
54 #endif // GEOMTOOLS_RESOURCE_H
55 
56 /*
57 ** Local Variables: --
58 ** mode: c++ --
59 ** c-file-style: "gnu" --
60 ** tab-width: 2 --
61 ** End: --
62 */
std::string get_resource(const std::string &rname, bool overriden_env=false)
std::string get_resource_dir(bool overriden_env=false)
Top-level namespace of the Bayeux/geomtools module library.
Definition: electromagnetic_field_manager.h:39