Namespaces | |
detail | |
Classes | |
class | ItemAttributes |
Print attributes of an item. More... | |
struct | OnOff |
Print boolean as 'on' or 'off'. More... | |
class | Separator |
Print different string on first and subsequent usage. More... | |
struct | Spaces |
Print a number of whitespaces. More... | |
struct | YesNo |
Print boolean as 'yes' or 'no'. More... | |
Functions | |
template<typename OutputPrecision > | |
std::string | formatDuration (time::nanoseconds d, bool isLong=false) |
std::string | formatTimestamp (time::system_clock::time_point t) |
std::ostream & | operator<< (std::ostream &os, const ItemAttributes::Attribute &attr) |
std::ostream & | operator<< (std::ostream &os, const Spaces &spaces) |
std::ostream & | operator<< (std::ostream &os, OnOff v) |
std::ostream & | operator<< (std::ostream &os, Separator &sep) |
std::ostream & | operator<< (std::ostream &os, YesNo v) |
std::string nfd::tools::nfdc::text::formatDuration | ( | time::nanoseconds | d, |
bool | isLong = false |
||
) |
Definition at line 256 of file format-helpers.hpp.
std::string nfd::tools::nfdc::text::formatTimestamp | ( | time::system_clock::time_point | t | ) |
Definition at line 198 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
const ItemAttributes::Attribute & | attr | ||
) |
Definition at line 167 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
const Spaces & | spaces | ||
) |
Definition at line 120 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
OnOff | v | ||
) |
Definition at line 185 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
Separator & | sep | ||
) |
Definition at line 140 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
YesNo | v | ||
) |
Definition at line 191 of file format-helpers.cpp.