Functions
vtkPVStandardPaths Namespace Reference

Functions

VTK_ABI_NAMESPACE_BEGIN VTKREMOTINGAPPLICATION_EXPORT std::vector< std::stringGetSystemDirectories ()
 Return system data directories, depending on operating system: More...
 
VTKREMOTINGAPPLICATION_EXPORT std::vector< std::stringGetInstallDirectories ()
 Returns paths relative to install directory. More...
 
VTKREMOTINGAPPLICATION_EXPORT std::string GetUserSettingsDirectory ()
 Get directory for user settings file. More...
 
VTKREMOTINGAPPLICATION_EXPORT std::string GetUserSettingsFilePath ()
 Get file path for the user settings file. More...
 

Function Documentation

◆ GetSystemDirectories()

VTK_ABI_NAMESPACE_BEGIN VTKREMOTINGAPPLICATION_EXPORT std::vector<std::string> vtkPVStandardPaths::GetSystemDirectories ( )

Return system data directories, depending on operating system:

◆ GetInstallDirectories()

VTKREMOTINGAPPLICATION_EXPORT std::vector<std::string> vtkPVStandardPaths::GetInstallDirectories ( )

Returns paths relative to install directory.

  • the exectutable dir
  • the <install> dir: the executable dir or its parent if executable is under a "bin" dir.
  • <install>/lib <install>/share/paraview-<version>
  • MacOs specific:
    • package <root>: <install>/../../..
    • lib, lib-paraview-<version>, Support as <root> subdirs.

◆ GetUserSettingsDirectory()

VTKREMOTINGAPPLICATION_EXPORT std::string vtkPVStandardPaths::GetUserSettingsDirectory ( )

Get directory for user settings file.

The last character is always the file path separator appropriate for the system.

◆ GetUserSettingsFilePath()

VTKREMOTINGAPPLICATION_EXPORT std::string vtkPVStandardPaths::GetUserSettingsFilePath ( )

Get file path for the user settings file.

Construct server settings file path: <GetUserSettingsDirectory()>/<GetApplicationName()>-UserSettings.json

See also
vtkInitializationHelper::GetApplicationName()