Utilities methods to get standard paths. More...
#include <vtkPVStandardPaths.h>
Static Public Member Functions | |
| static std::vector< std::string > | GetSystemDirectories () |
| Return system data directories, depending on operating system: More... | |
| static std::vector< std::string > | GetInstallDirectories () |
| Returns paths relative to install directory. More... | |
| static std::string | GetUserSettingsDirectory () |
| Get directory for user settings file. More... | |
| static std::string | GetUserSettingsFilePath () |
| Get file path for the user settings file. More... | |
Utilities methods to get standard paths.
Methods to get useful paths depending on the current operating system and on the running application:
Different environment variables are taken into account, trying to respect diffent system convention:
This class has only static methods to access standard paths used by ParaView and is not meant to be instantiated.
Definition at line 33 of file vtkPVStandardPaths.h.
|
static |
Return system data directories, depending on operating system:
|
static |
Returns paths relative to install directory.
<install> dir: the executable dir or its parent if executable is under a "bin" dir.<install>/lib <install>/share/paraview-<version><root>: <install>/../../..lib, lib-paraview-<version>, Support as <root> subdirs.
|
static |
Get directory for user settings file.
The last character is always the file path separator appropriate for the system.
APPDATA environment variable$XDG_DATA_HOME environment first$HOME/.config/<organization-name> then see: https://specifications.freedesktop.org/basedir-spec/0.8/
|
static |
Get file path for the user settings file.
Construct server settings file path: <GetUserSettingsDirectory()>/<GetApplicationName()>-UserSettings.json
1.8.13 on Thu Aug 27 2026