Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
DependencyConfiguration.h
Go to the documentation of this file.
1
18
23
24#ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DEPENDENCYCONFIGURATION_H_
25#define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DEPENDENCYCONFIGURATION_H_
26
27#include <cstddef> // for size_t
28#include <map> // for map
29#include <string> // for string
30#include <vector> // for vector
31
32#include "ElementsKernel/Export.h" // for ELEMENTS_API
33
34#include "ElementsServices/DataSync/DataSyncUtils.h" // for path, Services
35
36namespace Elements {
37inline namespace Services {
38namespace DataSync {
39
49
50public:
51 virtual ~DependencyConfiguration() = default;
52
53 DependencyConfiguration(path distantRoot, path localRoot, path configFile);
54
56
57 path distantPathOf(path localFile) const;
58
60
62
64
65protected:
66 void parseConfigurationFile(path filename);
67
69
70 char aliasSeparator() const;
71
72 bool lineHasAlias(std::string line) const;
73
75
77
78private:
83};
84
85} // namespace DataSync
86} // namespace Services
87} // namespace Elements
88
90
91#endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DEPENDENCYCONFIGURATION_H_
92
defines the macros to be used for explicit export of the symbols
DependencyConfiguration(path distantRoot, path localRoot, path configFile)
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition Export.h:74
Path::Item path
importing the path item from ElementsKernel