FACT++  1.0
tools.h File Reference
#include <map>
#include <string>
#include <vector>
+ Include dependency graph for tools.h:

Go to the source code of this file.

Namespaces

 Tools
 

Functions

std::string Tools::Format (const char *fmt, va_list &ap)
 
std::string Tools::Form (const char *fmt,...)
 
std::string Tools::Trim (const std::string &str)
 
std::string Tools::TrimQuotes (const std::string &str)
 
std::string Tools::Wrap (std::string &str, size_t width=78)
 
std::string Tools::Scientific (uint64_t val)
 
std::map< std::string, std::string > Tools::Split (std::string &, bool=false)
 
std::vector< std::string > Tools::Split (const std::string &, const std::string &)
 
std::string Tools::Uncomment (const std::string &opt)
 
template<typename T >
uint16_t Tools::Fletcher16 (const T *t, size_t cnt)