#include "core/common.hpp"
Go to the source code of this file.
Classes | |
struct | nfd::tools::nfdc::text::ItemAttributes::Attribute |
struct | nfd::tools::nfdc::xml::Flag |
Print true as an empty element and false as nothing. More... | |
class | nfd::tools::nfdc::text::ItemAttributes |
Print attributes of an item. More... | |
struct | nfd::tools::nfdc::text::OnOff |
Print boolean as 'on' or 'off'. More... | |
class | nfd::tools::nfdc::text::Separator |
Print different string on first and subsequent usage. More... | |
struct | nfd::tools::nfdc::text::Spaces |
Print a number of whitespaces. More... | |
struct | nfd::tools::nfdc::xml::Text |
struct | nfd::tools::nfdc::text::YesNo |
Print boolean as 'yes' or 'no'. More... | |
Namespaces | |
nfd | |
-status-http-server | |
nfd::tools | |
nfd::tools::nfdc | |
nfd::tools::nfdc::text | |
nfd::tools::nfdc::text::detail | |
nfd::tools::nfdc::xml | |
Functions | |
std::string | nfd::tools::nfdc::xml::formatDuration (time::nanoseconds d) |
template<typename OutputPrecision > | |
std::string | nfd::tools::nfdc::text::formatDuration (time::nanoseconds d, bool isLong=false) |
std::string | nfd::tools::nfdc::xml::formatTimestamp (time::system_clock::time_point t) |
std::string | nfd::tools::nfdc::text::formatTimestamp (time::system_clock::time_point t) |
template<typename DurationT > | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::days > (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::hours > (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::microseconds > (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::milliseconds > (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::minutes > (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::nanoseconds > (bool isLong) |
template<> | |
std::string | nfd::tools::nfdc::text::detail::getTimeUnit< time::seconds > (bool isLong) |
std::ostream & | nfd::tools::nfdc::text::operator<< (std::ostream &os, const ItemAttributes::Attribute &attr) |
std::ostream & | nfd::tools::nfdc::text::operator<< (std::ostream &os, const Spaces &spaces) |
std::ostream & | nfd::tools::nfdc::xml::operator<< (std::ostream &os, const Text &text) |
Print XML text with special character represented as predefined entities. More... | |
std::ostream & | nfd::tools::nfdc::xml::operator<< (std::ostream &os, Flag v) |
std::ostream & | nfd::tools::nfdc::text::operator<< (std::ostream &os, OnOff v) |
std::ostream & | nfd::tools::nfdc::text::operator<< (std::ostream &os, Separator &sep) |
std::ostream & | nfd::tools::nfdc::text::operator<< (std::ostream &os, YesNo v) |
void | nfd::tools::nfdc::xml::printFooter (std::ostream &os) |
void | nfd::tools::nfdc::xml::printHeader (std::ostream &os) |