Last change
on this file since 13709 was 13667, checked in by tbretz, 13 years ago |
Added a split function able to parse an escaped command line
|
File size:
415 bytes
|
Line | |
---|
1 | #ifndef FACT_Tools
|
---|
2 | #define FACT_Tools
|
---|
3 |
|
---|
4 | #include <map>
|
---|
5 | #include <string>
|
---|
6 |
|
---|
7 | namespace 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 | }
|
---|
17 |
|
---|
18 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.