format-helpers.hpp File Reference
#include "core/common.hpp"
Include dependency graph for format-helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nfd::tools::nfdc::xml::Text
 
class  nfd::tools::nfdc::text::Separator
 print different string on first and subsequent usage More...
 

Namespaces

 nfd
 Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
 
 nfd::tools
 
 nfd::tools::nfdc
 
 nfd::tools::nfdc::xml
 
 nfd::tools::nfdc::text
 

Functions

void nfd::tools::nfdc::xml::printHeader (std::ostream &os)
 
void nfd::tools::nfdc::xml::printFooter (std::ostream &os)
 
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::string nfd::tools::nfdc::xml::formatSeconds (time::seconds d)
 
template<typename DURATION >
std::string nfd::tools::nfdc::xml::formatDuration (DURATION d)
 
std::string nfd::tools::nfdc::xml::formatTimestamp (time::system_clock::TimePoint t)
 
std::ostream & nfd::tools::nfdc::text::operator<< (std::ostream &os, Separator &sep)
 
std::string nfd::tools::nfdc::text::formatSeconds (time::seconds d, bool isLong)
 
template<typename DURATION >
std::string nfd::tools::nfdc::text::formatDuration (DURATION d, bool isLong=false)
 
std::string nfd::tools::nfdc::text::formatTimestamp (time::system_clock::TimePoint t)