|
Crombie Tools
|
#include <unistd.h>#include <iostream>#include <functional>#include <vector>#include <string>#include <queue>#include <fstream>#include <map>#include <mutex>#include <algorithm>#include <thread>#include <chrono>#include <list>#include <sys/stat.h>#include "crombie/Types.h"#include "crombie/Misc.h"#include "crombie/Parse.h"#include "crombie/FileSystem.h"Go to the source code of this file.
Classes | |
| class | crombie::FileConfig::DirectoryInfo |
| Holds information for the files to run over as well as relevant processes. More... | |
| class | crombie::FileConfig::FileConfig |
| A single object that holds all of the information about the files to run on. More... | |
| class | crombie::FileConfig::FileInfo |
| Hold the necessary information for running over a single file. More... | |
| struct | crombie::FileConfig::Process |
| The processes that a directory can be divided between. More... | |
Namespaces | |
| crombie | |
| This header file includes common functions that are used to interpret configuration files. | |
| crombie::FileConfig | |
Typedefs | |
| template<typename M > | |
| using | crombie::FileConfig::MapFunc = std::function< M(const FileInfo &)> |
| The type that is used for the mapping function. More... | |
| template<typename R , typename M > | |
| using | crombie::FileConfig::MergeFunc = std::function< R(const ToMerge< M > &)> |
| A functional type that is not necessary, but might be a useful shortcut. More... | |
| template<typename M > | |
| using | crombie::FileConfig::ToMerge = Types::map< std::list< M >> |
| The parameter passed to the FileConfig::runfiles reduce function. More... | |
Enumerations | |
| enum | crombie::FileConfig::Type { crombie::FileConfig::Type::Data, crombie::FileConfig::Type::Background, crombie::FileConfig::Type::Signal } |
| The kinds of processes. More... | |
Functions | |
| bool | crombie::FileConfig::operator< (const FileInfo &a, const FileInfo &b) |
| Compares FileInfo objects based on the size of the files; used for queue priority. More... | |
| std::istream & | crombie::FileConfig::operator>> (std::istream &is, FileConfig &config) |
| FileConfig | crombie::FileConfig::read (const std::string &indir, const std::string &config) |
| Reads a configuration file for file info. More... | |