nfd::tools::nfdc::xml Namespace Reference

Classes

struct  Text
 

Functions

template<typename DURATION >
std::string formatDuration (DURATION d)
 
std::string formatSeconds (time::seconds d)
 
std::string formatTimestamp (time::system_clock::TimePoint t)
 
std::ostream & operator<< (std::ostream &os, const Text &text)
 print XML text with special character represented as predefined entities More...
 
void printFooter (std::ostream &os)
 
void printHeader (std::ostream &os)
 

Function Documentation

template<typename DURATION >
std::string nfd::tools::nfdc::xml::formatDuration ( DURATION  d)

Definition at line 58 of file format-helpers.hpp.

std::string nfd::tools::nfdc::xml::formatSeconds ( time::seconds  d)

Definition at line 76 of file format-helpers.cpp.

std::string nfd::tools::nfdc::xml::formatTimestamp ( time::system_clock::TimePoint  t)

Definition at line 82 of file format-helpers.cpp.

std::ostream & nfd::tools::nfdc::xml::operator<< ( std::ostream &  os,
const Text text 
)

print XML text with special character represented as predefined entities

Definition at line 48 of file format-helpers.cpp.

void nfd::tools::nfdc::xml::printFooter ( std::ostream &  os)

Definition at line 42 of file format-helpers.cpp.

void nfd::tools::nfdc::xml::printHeader ( std::ostream &  os)

Definition at line 35 of file format-helpers.cpp.