Elements  5.12.0
A C++ base framework for the Euclid Software.
Classes | Functions
ElementsServices: Services for Python and C++

Services for runtime and tests. More...

Classes

class  ElementsServices::DataSync::UnknownHost
 Exception raised when a hosting solution is not supported by the tool. More...
 
class  ElementsServices::DataSync::ConnectionConfiguration
 The connection configuration mainly holds: More...
 
class  ElementsServices::DataSync::DownloadFailed
 An exception raised when downloading fails. More...
 
class  ElementsServices::DataSync::DataSynchronizer
 Base class to synchronize test data. More...
 
class  ElementsServices::DataSync::DependencyConfiguration
 The dependency configurations holds, for each test file to be retrieved: More...
 
class  ElementsServices::DataSync::IrodsSynchronizer
 A data synchronizer for iRODS hosts. More...
 
class  ElementsServices::DataSync::WebdavSynchronizer
 A data synchronizer for WebDAV hosts. More...
 
class  ElementsServices::DataSync::DataSync
 A class to download test data from a data repository prior to the unit test run. More...
 

Functions

ELEMENTS_API std::string ElementsServices::DataSync::environmentVariable (std::string name)
 Get the value of an environment variable. More...
 
ELEMENTS_API bool ElementsServices::DataSync::irodsIsInstalled ()
 Check whether the iRODS client is installed. More...
 
ELEMENTS_API bool ElementsServices::DataSync::webdavIsInstalled ()
 Check whether the WebDAV client is installed. More...
 

Detailed Description

Services for runtime and tests.

Function Documentation

◆ environmentVariable()

string ElementsServices::DataSync::environmentVariable ( std::string  name)

Get the value of an environment variable.

Returns
The value if the variable exists; "" otherwise.

Definition at line 74 of file DataSyncUtils.cpp.

References Elements::System::getEnv().

Referenced by ElementsServices::DataSync::localWorkspacePrefix().

Here is the call graph for this function:

◆ irodsIsInstalled()

bool ElementsServices::DataSync::irodsIsInstalled ( )

Check whether the iRODS client is installed.

Definition at line 26 of file IrodsSynchronizer.cpp.

References ElementsServices::DataSync::checkCall().

Referenced by ElementsServices::DataSync::IrodsSynchronizer::IrodsSynchronizer().

Here is the call graph for this function:

◆ webdavIsInstalled()

bool ElementsServices::DataSync::webdavIsInstalled ( )

Check whether the WebDAV client is installed.

Definition at line 26 of file WebdavSynchronizer.cpp.

References ElementsServices::DataSync::checkCall().

Referenced by ElementsServices::DataSync::WebdavSynchronizer::WebdavSynchronizer().

Here is the call graph for this function: