Elements
6.2
A C++ base framework for the Euclid Software.
|
The dependency configurations holds, for each test file to be retrieved: More...
#include <DependencyConfiguration.h>
Public Member Functions | |
virtual | ~DependencyConfiguration ()=default |
DependencyConfiguration (path distantRoot, path localRoot, path configFile) | |
std::map< path, path > | fileMap () const |
path | distantPathOf (path localFile) const |
size_t | dependencyCount () const |
std::vector< path > | distantPaths () const |
std::vector< path > | localPaths () const |
Protected Member Functions | |
void | parseConfigurationFile (path filename) |
void | parseConfigurationLine (std::string line) |
char | aliasSeparator () const |
bool | lineHasAlias (std::string line) const |
void | parseLineWithAlias (std::string line) |
void | parseLineWithoutAlias (std::string line) |
Private Attributes | |
char | m_aliasSeparator |
path | m_distantRoot |
path | m_localRoot |
std::map< path, path > | m_fileMap |
The dependency configurations holds, for each test file to be retrieved:
Definition at line 45 of file DependencyConfiguration.h.
|
virtualdefault |
Elements::Services::DataSync::DependencyConfiguration::DependencyConfiguration | ( | path | distantRoot, |
path | localRoot, | ||
path | configFile | ||
) |
Definition at line 33 of file DependencyConfiguration.cpp.
References parseConfigurationFile().
|
protected |
Definition at line 83 of file DependencyConfiguration.cpp.
References m_aliasSeparator.
size_t Elements::Services::DataSync::DependencyConfiguration::dependencyCount | ( | ) | const |
Definition at line 46 of file DependencyConfiguration.cpp.
References m_fileMap, and std::map< K, T >::size().
Definition at line 42 of file DependencyConfiguration.cpp.
References std::map< K, T >::at(), and m_fileMap.
Definition at line 50 of file DependencyConfiguration.cpp.
References std::vector< T >::emplace_back(), and m_fileMap.
Definition at line 38 of file DependencyConfiguration.cpp.
References m_fileMap.
|
protected |
Definition at line 87 of file DependencyConfiguration.cpp.
References std::string::find(), and m_aliasSeparator.
Referenced by parseConfigurationLine().
Definition at line 58 of file DependencyConfiguration.cpp.
References std::vector< T >::emplace_back(), and m_fileMap.
|
protected |
Definition at line 66 of file DependencyConfiguration.cpp.
References Elements::Services::DataSync::confFilePath(), std::getline(), and parseConfigurationLine().
Referenced by DependencyConfiguration().
|
protected |
Definition at line 75 of file DependencyConfiguration.cpp.
References lineHasAlias(), parseLineWithAlias(), and parseLineWithoutAlias().
Referenced by parseConfigurationFile().
|
protected |
Definition at line 92 of file DependencyConfiguration.cpp.
References std::string::find(), m_aliasSeparator, m_distantRoot, m_fileMap, m_localRoot, and std::string::substr().
Referenced by parseConfigurationLine().
|
protected |
Definition at line 101 of file DependencyConfiguration.cpp.
References m_distantRoot, m_fileMap, and m_localRoot.
Referenced by parseConfigurationLine().
|
private |
Definition at line 76 of file DependencyConfiguration.h.
Referenced by aliasSeparator(), lineHasAlias(), and parseLineWithAlias().
|
private |
Definition at line 77 of file DependencyConfiguration.h.
Referenced by parseLineWithAlias(), and parseLineWithoutAlias().
Definition at line 79 of file DependencyConfiguration.h.
Referenced by dependencyCount(), distantPathOf(), distantPaths(), fileMap(), localPaths(), parseLineWithAlias(), and parseLineWithoutAlias().
|
private |
Definition at line 78 of file DependencyConfiguration.h.
Referenced by parseLineWithAlias(), and parseLineWithoutAlias().