format-helpers.cpp File Reference
#include "format-helpers.hpp"
#include <iomanip>
#include <sstream>
+ Include dependency graph for format-helpers.cpp:

Go to the source code of this file.

Namespaces

 nfd
 -status-http-server
 
 nfd::tools
 
 nfd::tools::nfdc
 
 nfd::tools::nfdc::text
 
 nfd::tools::nfdc::xml
 

Functions

std::string nfd::tools::nfdc::xml::formatDuration (time::nanoseconds d)
 
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)
 
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)