Elements  5.12.0
A C++ base framework for the Euclid Software.
Public Member Functions | List of all members
ElementsServices::DataSync::WebdavSynchronizer Class Reference

A data synchronizer for WebDAV hosts. More...

#include <WebdavSynchronizer.h>

Inheritance diagram for ElementsServices::DataSync::WebdavSynchronizer:
[legend]
Collaboration diagram for ElementsServices::DataSync::WebdavSynchronizer:
[legend]

Public Member Functions

virtual ~WebdavSynchronizer ()=default
 
 WebdavSynchronizer (const ConnectionConfiguration &connection, const DependencyConfiguration &dependency)
 
std::string createDownloadCommand (path distantFile, path localFile) const override
 
- Public Member Functions inherited from ElementsServices::DataSync::DataSynchronizer
virtual ~DataSynchronizer ()=default
 
 DataSynchronizer (const ConnectionConfiguration &connection, const DependencyConfiguration &dependency)
 
void downloadAllFiles () const
 

Additional Inherited Members

- Protected Member Functions inherited from ElementsServices::DataSync::DataSynchronizer
bool fileShouldBeWritten (path localFile) const
 
bool fileAlreadyExists (path localFile) const
 
void downloadOneFile (path distantFile, path localFile) const
 
bool hasBeenDownloaded (path distantFile, path localFile) const
 
- Protected Attributes inherited from ElementsServices::DataSync::DataSynchronizer
ConnectionConfiguration m_connection
 
std::map< path, pathm_fileMap
 

Detailed Description

A data synchronizer for WebDAV hosts.

Definition at line 48 of file WebdavSynchronizer.h.

Constructor & Destructor Documentation

◆ ~WebdavSynchronizer()

virtual ElementsServices::DataSync::WebdavSynchronizer::~WebdavSynchronizer ( )
virtualdefault

◆ WebdavSynchronizer()

ElementsServices::DataSync::WebdavSynchronizer::WebdavSynchronizer ( const ConnectionConfiguration connection,
const DependencyConfiguration dependency 
)

Definition at line 30 of file WebdavSynchronizer.cpp.

References ElementsServices::DataSync::webdavIsInstalled().

Here is the call graph for this function:

Member Function Documentation

◆ createDownloadCommand()

std::string ElementsServices::DataSync::WebdavSynchronizer::createDownloadCommand ( path  distantFile,
path  localFile 
) const
overridevirtual

The documentation for this class was generated from the following files: