#include <TimestampMapper.hpp>
|
| TimestampMapper (const std::filesystem::path &inputDir, const std::filesystem::path &outputDir, const std::string &datasetName, const std::string ®exPattern, const std::string &fileList, const ds::DATASET_TYPE datasetType, const bool regenIndices, const bool dryRun) |
|
bool | exec () |
|
tsm::TimestampMapper::TimestampMapper |
( |
const std::filesystem::path & |
inputDir, |
|
|
const std::filesystem::path & |
outputDir, |
|
|
const std::string & |
datasetName, |
|
|
const std::string & |
regexPattern, |
|
|
const std::string & |
fileList, |
|
|
const ds::DATASET_TYPE |
datasetType, |
|
|
const bool |
regenIndices, |
|
|
const bool |
dryRun |
|
) |
| |
bool tsm::TimestampMapper::createDirectory |
( |
const std::filesystem::path & |
path | ) |
const |
|
privatenoexcept |
std::vector< fs::path > tsm::TimestampMapper::createFileList |
( |
const std::filesystem::path & |
inputDirOrIndexFile, |
|
|
const std::string & |
regex |
|
) |
| const |
|
private |
void tsm::TimestampMapper::deleteIndexFile |
( |
| ) |
|
|
private |
bool tsm::TimestampMapper::exec |
( |
| ) |
|
Runs the tool. Returns true on success, false on failure.
auto tsm::TimestampMapper::fileOrDirExists |
( |
const std::filesystem::path & |
path | ) |
const |
|
inlineprivate |
auto tsm::TimestampMapper::sanitizeDatasetName |
( |
const std::string & |
datasetName | ) |
const |
|
inlineprivate |
auto tsm::TimestampMapper::sanitizeDirectoryPath |
( |
const std::string & |
dirPath | ) |
const |
|
inlineprivate |
Database tsm::TimestampMapper::m_database |
|
private |
const std::string tsm::TimestampMapper::m_datasetName |
|
private |
const bool tsm::TimestampMapper::m_dryRun { false } |
|
private |
const std::filesystem::path tsm::TimestampMapper::m_filesToIndexPath |
|
private |
bool tsm::TimestampMapper::m_indexFileExists { false } |
|
private |
const std::filesystem::path tsm::TimestampMapper::m_inputDir |
|
private |
const std::filesystem::path tsm::TimestampMapper::m_outputDir |
|
private |
const bool tsm::TimestampMapper::m_regenIndices { false } |
|
private |
const std::string tsm::TimestampMapper::m_regexPattern |
|
private |
The documentation for this class was generated from the following files: