Last change
on this file since 14621 was 14219, checked in by tbretz, 12 years ago |
Added conversion of a value to a scientific notation.
|
File size:
522 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 | std::string Scientific(uint64_t val);
|
---|
15 |
|
---|
16 | std::map<std::string,std::string> Split(std::string &, bool = false);
|
---|
17 | std::string Uncomment(const std::string &opt);
|
---|
18 | }
|
---|
19 |
|
---|
20 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.