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

Last change on this file since 13918 was 13713, checked in by tbretz, 12 years ago
Added Uncomment function to tools used to strip off inline comments.
File size: 466 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 &);
16 std::string Uncomment(const std::string &opt);
17}
18
19#endif
Note: See TracBrowser for help on using the repository browser.