Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Resources.hpp
1 #pragma once
2 #include <Core/RaCore.hpp>
3 #include <Core/Utils/StdOptional.hpp>
4 
5 namespace Ra {
6 namespace Core {
7 
23 namespace Resources {
24 using namespace Ra::Core::Utils;
34 RA_CORE_API optional<std::string> getRadiumResourcesPath();
35 
41 RA_CORE_API optional<std::string> getRadiumPluginsPath();
42 
46 RA_CORE_API optional<std::string> getBasePath();
47 
54 RA_CORE_API optional<std::string> getResourcesPath( void* symbol = nullptr,
55  const std::string& pattern = "Resources" );
56 
58 
68 RA_CORE_API std::string getDataPath();
69 
74 RA_CORE_API void pushDataPath( std::string datapath );
75 
81 RA_CORE_API std::string popDataPath();
83 
84 } // namespace Resources
85 } // namespace Core
86 } // namespace Ra
std::string getDataPath()
Get the current data path.
Definition: Resources.cpp:70
std::string popDataPath()
Pop the current data path.
Definition: Resources.cpp:75
optional< std::string > getRadiumPluginsPath()
Get the path of Radium embedded plugins.
Definition: Resources.cpp:44
optional< std::string > getBasePath()
this one is always found, use optional for consistency ?
Definition: Resources.cpp:53
void pushDataPath(std::string datapath)
Push a new data path.
Definition: Resources.cpp:82
optional< std::string > getResourcesPath(void *symbol, const std::string &pattern)
Search for general resource path.
Definition: Resources.cpp:57
optional< std::string > getRadiumResourcesPath()
Get the path of Radium internal resources.
Definition: Resources.cpp:35
Definition: Cage.cpp:3