|
Last change
on this file since 13200 was 13168, checked in by tbretz, 14 years ago |
|
Implemented a function for word wraping
|
|
File size:
287 bytes
|
| Line | |
|---|
| 1 | #ifndef FACT_Tools
|
|---|
| 2 | #define FACT_Tools
|
|---|
| 3 |
|
|---|
| 4 | #include <string>
|
|---|
| 5 |
|
|---|
| 6 | namespace Tools
|
|---|
| 7 | {
|
|---|
| 8 | std::string Format(const char *fmt, va_list &ap);
|
|---|
| 9 | std::string Form(const char *fmt, ...);
|
|---|
| 10 | std::string Trim(const std::string &str);
|
|---|
| 11 | std::string Wrap(std::string &str, size_t width=78);
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.