|
Crombie Tools
|
#include <iostream>#include <string>#include <sstream>#include <iterator>#include <cstdlib>#include <memory>#include <stdexcept>#include <array>#include <vector>#include "crombie/Debug.h"#include "crombie/Types.h"#include "TROOT.h"Go to the source code of this file.
Namespaces | |
| crombie | |
| This header file includes common functions that are used to interpret configuration files. | |
| crombie::Misc | |
Functions | |
| template<typename O , typename C , typename F > | |
| std::vector< O > | crombie::Misc::comprehension (const C &container, const F &func) |
| void | crombie::Misc::draw_progress (unsigned progress, unsigned max) |
| std::string | crombie::Misc::env (const std::string &variable, const std::string &fallback="") |
| Get an environment variable by name, with an optional fallback value. More... | |
| std::string | crombie::Misc::shell (const std::string &cmd) |
| Get the output of a shell command. More... | |
| Types::strings | crombie::Misc::split (const std::string &str, const std::string &delim="\) |
| Splits a string. More... | |
| Types::strings | crombie::Misc::tokenize (const std::string &str) |
| Split the contents of a string into multiple strings. More... | |