Functions | |
std::string | home () |
Returns the home directory for current user. More... | |
std::string | tempdir () |
Returns the directory for temporary files. More... | |
std::string | datahome () |
Returns the directory where user-specific data files should be written. More... | |
std::vector< std::string > | datadirs () |
Returns the directories where data files should be searched. More... | |
std::string | confighome () |
Returns the directory where user-specific configuration files should be written. More... | |
std::vector< std::string > | configdirs () |
Returns the directories where configuration files should be searched. More... | |
std::string | cachehome () |
Returns the directory where user-specific non-essential (cached) data should be written. More... | |
std::string | runtimedir () |
Returns the directory where user-specific runtime files and other file objects should be placed. More... | |
std::string | yarpdatahome () |
Returns the directory where user-specific YARP data files should be written. More... | |
std::vector< std::string > | yarpdatadirs () |
Returns the directories where YARP data files should be searched. More... | |
std::string | yarpconfighome () |
Returns the directory where user-specific YARP configuration files should be written. More... | |
std::vector< std::string > | yarpconfigdirs () |
Returns the directories where YARP configuration files should be searched. More... | |
std::string | yarpcachehome () |
Returns the directory where user-specific non-essential (cached) YARP data should be written. More... | |
std::string | yarpruntimedir () |
Returns the directory where user-specific runtime YARP files and other YARP file objects should be placed. More... | |
|
inline |
Returns the directory where user-specific non-essential (cached) data should be written.
LOCALAPPDATA
environment variable (default: [HOME]\AppData\Local
)[HOME]/Library/Caches
XDG_CACHE_HOME
environment variable (default: [HOME]/.cache
)
|
inline |
|
inline |
Returns the directory where user-specific configuration files should be written.
APPDATA
environment variable (default: [HOME]\AppData\Roaming
)[HOME]/Library/Preferences
XDG_CONFIG_HOME
environment variable (default: [HOME]/.config
)
|
inline |
Returns the directories where data files should be searched.
ALLUSERSPROFILE
environment variable (default: C:\\ProgramData
)/usr/local/share:/usr/share
XDG_DATA_DIRS
environment variable (default: /usr/local/share:/usr/share
)
|
inline |
Returns the directory where user-specific data files should be written.
APPDATA
environment variable (default: [HOME]\AppData\Roaming
)[HOME]/Library/Application Support
XDG_DATA_HOME
environment variable (default: [HOME]/.local/share
)
|
inline |
|
inline |
|
inline |
|
inline |
Returns the directory where user-specific non-essential (cached) YARP data should be written.
Uses YARP_CACHE_HOME
environment variable, if defined. Otherwise uses the yarp
folder inside the folder returned by yarp::conf::dirs::cachehome()
|
inline |
Returns the directories where YARP configuration files should be searched.
Uses YARP_CONFIG_DIRS
environment variable, if defined. Otherwise uses the yarp
folder (yarp\config
on Windows) inside each folder returned by yarp::conf::dirs::configdirs()
XDG_CONFIG_DIRS
is not defined, the folder /etc/yarp
is used instead of /etc/xdg/yarp
. This might change in the future.
|
inline |
Returns the directory where user-specific YARP configuration files should be written.
Uses YARP_CONFIG_HOME
environment variable, if defined. Otherwise uses the yarp
folder (yarp\config
on Windows) inside the folder returned by yarp::conf::dirs::confighome()
|
inline |
Returns the directories where YARP data files should be searched.
Uses YARP_DATA_DIRS
environment variable, if defined. Otherwise uses the "yarp" folder inside each folder returned by yarp::conf::dirs::datadirs()
|
inline |
Returns the directory where user-specific YARP data files should be written.
Uses YARP_DATA_HOME
environment variable, if defined. Otherwise uses the "yarp" folder inside the folder returned by yarp::conf::dirs::datahome()
|
inline |
Returns the directory where user-specific runtime YARP files and other YARP file objects should be placed.
Uses YARP_RUNTIME_DIR
environment variable, if defined. Otherwise uses the yarp
folder inside the folder returned by yarp::conf::dirs::runtimedir()