#include <string_format.h>
Public Member Functions | |
| CL_StringFormat (const CL_String &format_string) | |
| Construction:. | |
| ~CL_StringFormat () | |
| const CL_String & | get_result () const |
| Attributes:. | |
| void | set_arg (int index, const CL_StringA &text) |
| Operations:. | |
| void | set_arg (int index, const CL_StringW &text) |
| void | set_arg (int index, int value, int min_length=0) |
| void | set_arg (int index, double value) |
Private Member Functions | |
| void | create_arg (int index, int start, int length) |
| Implementation:. | |
Private Attributes | |
| CL_String | string |
| std::vector< ArgPosition > | args |
Classes | |
| struct | ArgPosition |
|
|
Construction:.
Definition at line 37 of file string_format.cpp. References create_arg(), string, and TEXT. |
|
|
Definition at line 101 of file string_format.cpp. |
|
||||||||||||||||
|
Implementation:.
Definition at line 183 of file string_format.cpp. References args, CL_StringFormat::ArgPosition::length, CL_StringFormat::ArgPosition::start, and TEXT. Referenced by CL_StringFormat(). |
|
|
Attributes:.
Definition at line 108 of file string_format.cpp. References CL_String, and string. Referenced by cl_format(), cl_log_event(), code_to_message(), CL_RegExp::compile(), and CL_FileLogger::log(). |
|
||||||||||||
|
Definition at line 175 of file string_format.cpp. References set_arg(). |
|
||||||||||||||||
|
Definition at line 168 of file string_format.cpp. References CL_String, CL_StringHelp::int_to_text(), set_arg(), and TEXT. |
|
||||||||||||
|
Definition at line 142 of file string_format.cpp. References args, CL_StringFormat::ArgPosition::length, set_arg(), CL_StringFormat::ArgPosition::start, and string. |
|
||||||||||||
|
Operations:.
Definition at line 116 of file string_format.cpp. References args, CL_StringFormat::ArgPosition::length, CL_StringFormat::ArgPosition::start, and string. Referenced by cl_format(), cl_log_event(), code_to_message(), CL_RegExp::compile(), CL_FileLogger::log(), and set_arg(). |
|
|
Definition at line 70 of file string_format.h. Referenced by create_arg(), and set_arg(). |
|
|
Definition at line 60 of file string_format.h. Referenced by CL_StringFormat(), get_result(), and set_arg(). |
1.4.1