Elements
6.2
A C++ base framework for the Euclid Software.
|
Go to the documentation of this file.
24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCUTILS_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCUTILS_H_
31 #include <boost/filesystem.hpp>
37 inline namespace Services {
66 const auto& begin = list.
begin();
67 const auto& end = list.
end();
68 return std::find(begin, end, value) != end;
79 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCUTILS_H_
boost::filesystem::path Item
ELEMENTS_API bool checkCall(const std::string &command)
defines the macros to be used for explicit export of the symbols
provide functions to retrieve resources pointed by environment variables
ELEMENTS_API bool valueIsListed(const T &value, const std::vector< T > &list)
ELEMENTS_API bool localDirExists(path localDir)
ELEMENTS_API std::string lower(std::string text)
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
ELEMENTS_API std::pair< std::string, std::string > runCommandAndCaptureOutErr(std::string command)
ELEMENTS_API bool containsInThisOrder(std::string input, std::vector< std::string > substrings)
ELEMENTS_API void createLocalDirOf(path localFile)
ELEMENTS_API path localWorkspacePrefix()
ELEMENTS_API path confFilePath(path filename)
ELEMENTS_API std::string environmentVariable(std::string name)
Get the value of an environment variable.
Path::Item path
importing the path item from ElementsKernel