Elements
6.2
A C++ base framework for the Euclid Software.
|
Go to the documentation of this file.
24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
38 inline namespace Services {
50 :
std::runtime_error(
"Unable to download file: '" + distantFile.
string() +
"' as: '" + localFile.
string() +
68 void downloadAllFiles()
const;
71 bool fileShouldBeWritten(
path localFile)
const;
73 bool fileAlreadyExists(
path localFile)
const;
75 void downloadOneFile(
path distantFile,
path localFile)
const;
77 bool hasBeenDownloaded(
path distantFile,
path localFile)
const;
92 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
defines the macros to be used for explicit export of the symbols
DownloadFailed(path distantFile, path localFile)
An exception raised when downloading fails.
Base class to synchronize test data.
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
The dependency configurations holds, for each test file to be retrieved:
std::map< path, path > m_fileMap
The connection configuration mainly holds:
Path::Item path
importing the path item from ElementsKernel
ConnectionConfiguration m_connection