source: trunk/FACT++/src/tools.h@ 14098

Last change on this file since 14098 was 14054, checked in by tbretz, 12 years ago
Allow to split command lines without equal signs
File size: 480 bytes
Line 
1#ifndef FACT_Tools
2#define FACT_Tools
3
4#include <map>
5#include <string>
6
7namespace Tools
8{
9 std::string Format(const char *fmt, va_list &ap);
10 std::string Form(const char *fmt, ...);
11 std::string Trim(const std::string &str);
12 std::string TrimQuotes(const std::string &str);
13 std::string Wrap(std::string &str, size_t width=78);
14
15 std::map<std::string,std::string> Split(std::string &, bool = false);
16 std::string Uncomment(const std::string &opt);
17}
18
19#endif
Note: See TracBrowser for help on using the repository browser.