Loading [MathJax]/extensions/TeX/AMSsymbols.js
Radium Engine  1.5.26
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Resources.hpp
1#pragma once
2#include <Core/RaCore.hpp>
3#include <Core/Utils/StdOptional.hpp>
4#include <string>
5
6namespace Ra {
7namespace Core {
8
24namespace Resources {
25using namespace Ra::Core::Utils;
35RA_CORE_API optional<std::string> getRadiumResourcesPath();
36
42RA_CORE_API optional<std::string> getRadiumPluginsPath();
43
47RA_CORE_API optional<std::string> getBasePath();
48
55RA_CORE_API optional<std::string> getResourcesPath( void* symbol = nullptr,
56 const std::string& pattern = "Resources" );
57
59
69RA_CORE_API std::string getDataPath();
70
75RA_CORE_API void pushDataPath( std::string datapath );
76
82RA_CORE_API std::string popDataPath();
84
85} // namespace Resources
86} // namespace Core
87} // namespace Ra
std::string getDataPath()
Get the current data path.
Definition Resources.cpp:68
std::string popDataPath()
Pop the current data path.
Definition Resources.cpp:73
optional< std::string > getRadiumPluginsPath()
Get the path of Radium embedded plugins.
Definition Resources.cpp:42
optional< std::string > getBasePath()
this one is always found, use optional for consistency ?
Definition Resources.cpp:51
void pushDataPath(std::string datapath)
Push a new data path.
Definition Resources.cpp:80
optional< std::string > getResourcesPath(void *symbol, const std::string &pattern)
Search for general resource path.
Definition Resources.cpp:55
optional< std::string > getRadiumResourcesPath()
Get the path of Radium internal resources.
Definition Resources.cpp:33
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:4