Namespaces | |
detail | |
Classes | |
class | ItemAttributes |
print attributes of an item More... | |
class | Separator |
print different string on first and subsequent usage More... | |
struct | Spaces |
print a number of whitespaces More... | |
Functions | |
template<typename OutputPrecision > | |
std::string | formatDuration (time::nanoseconds d, bool isLong=false) |
std::string | formatTimestamp (time::system_clock::TimePoint t) |
std::ostream & | operator<< (std::ostream &os, const Spaces &spaces) |
std::ostream & | operator<< (std::ostream &os, Separator &sep) |
std::ostream & | operator<< (std::ostream &os, const ItemAttributes::Attribute &attr) |
std::string nfd::tools::nfdc::text::formatDuration | ( | time::nanoseconds | d, |
bool | isLong = false |
||
) |
Definition at line 227 of file format-helpers.hpp.
std::string nfd::tools::nfdc::text::formatTimestamp | ( | time::system_clock::TimePoint | t | ) |
Definition at line 181 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
const Spaces & | spaces | ||
) |
Definition at line 114 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
Separator & | sep | ||
) |
Definition at line 135 of file format-helpers.cpp.
std::ostream & nfd::tools::nfdc::text::operator<< | ( | std::ostream & | os, |
const ItemAttributes::Attribute & | attr | ||
) |
Definition at line 163 of file format-helpers.cpp.