![]() |
User Guide
|
file/string manipulation functions More...
file/string manipulation functions
Classes | |
class | Blame |
class | NoBlame |
struct | PerfStat |
Helper class to collect performance statistics. More... | |
class | SingletonRandomString |
Singleton class for random strings. More... | |
class | TableData |
Class to construct and pretty-print tabular data. More... | |
Typedefs | |
using | ShortBlame = NoBlame |
using | DetailedBlame = NoBlame |
Enumerations | |
enum | BlameLevel { BlameLevel::Short, BlameLevel::Detailed } |
enum | UseNumbersInString : bool { WithNumbers = true, WithoutNumbers = false } |
Enum to wrap bool variable to select if random string should have numbers or not. More... | |
Functions | |
std::unique_ptr< Blame > | make_blame (size_t blame_line, BlameLevel blame_level) |
std::string | generate_random_string (int len, UseNumbersInString use_numbers) |
Generate random std::string of length len based on a uniform distribution. More... | |
template<typename Iter , typename Cont > | |
bool | is_last (Iter iter, const Cont &cont) |
Check if the iterator is pointing to last element in the container. More... | |
PerfStat | operator+ (const PerfStat &first, const PerfStat &second) |
Variables | |
static constexpr char | envpathsep {':'} |
The character conventionally used by the operating system to separate search path components. More... | |
using nmodl::utils::DetailedBlame = typedef NoBlame |
using nmodl::utils::ShortBlame = typedef NoBlame |
|
strong |
std::unique_ptr< Blame > nmodl::utils::make_blame | ( | size_t | blame_line, |
BlameLevel | blame_level | ||
) |
Definition at line 18 of file perf_stat.cpp.