String formatting class.
More...
#include <string_format.h>
|
|
| CL_StringFormat (const CL_StringRef &format_string) |
| Constructs a TempStringFormat. More...
|
|
| ~CL_StringFormat () |
|
|
const CL_String & | get_result () const |
|
|
void | set_arg (int index, const CL_StringRef &text) |
| Set arg. More...
|
|
void | set_arg (int index, int value, int min_length=0) |
| Set arg. More...
|
|
void | set_arg (int index, unsigned int value, int min_length=0) |
| Set arg. More...
|
|
void | set_arg (int index, long unsigned int value, int min_length=0) |
| Set arg. More...
|
|
void | set_arg (int index, long long value, int min_length=0) |
| Set arg. More...
|
|
void | set_arg (int index, unsigned long long value, int min_length=0) |
| Set arg. More...
|
|
void | set_arg (int index, float value) |
| Set arg. More...
|
|
void | set_arg (int index, double value) |
| Set arg. More...
|
|
CL_StringFormat::CL_StringFormat |
( |
const CL_StringRef & |
format_string) | |
|
Constructs a TempStringFormat.
- Parameters
-
format_string | = String Ref |
CL_StringFormat::~CL_StringFormat |
( |
) | |
|
const CL_String& CL_StringFormat::get_result |
( |
) | |
const |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
const CL_StringRef & |
text |
|
) |
| |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
int |
value, |
|
|
int |
min_length = 0 |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
min_length | = value |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
unsigned int |
value, |
|
|
int |
min_length = 0 |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
min_length | = value |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
long unsigned int |
value, |
|
|
int |
min_length = 0 |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
min_length | = value |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
long long |
value, |
|
|
int |
min_length = 0 |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
min_length | = value |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
unsigned long long |
value, |
|
|
int |
min_length = 0 |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
min_length | = value |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
float |
value |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
void CL_StringFormat::set_arg |
( |
int |
index, |
|
|
double |
value |
|
) |
| |
Set arg.
- Parameters
-
index | = value |
value | = value |
The documentation for this class was generated from the following file: