#include <gmlstring.h>
Inheritance diagram for String:
Public Member Functions | |
Standard constructors (the same as in std::string) | |
String () | |
Empty string. | |
String (const string &rhs) | |
Copy constructor. | |
String (const string &rhs, size_type pos, size_type n) | |
Constructor from substring. | |
String (const char *s, size_type n) | |
From N characters of C string. | |
String (const char *s) | |
From C string. | |
String (size_type n, char c) | |
A sequence of n chars. | |
String (const_iterator first, const_iterator last) | |
two iterators point to a some string of list of chars | |
MFC, VCL - specific functions (use defines to enable them) | |
CString | AsCString () const |
Conversion to MFC string. | |
Utility functions | |
int | AsInt () const |
To integer. | |
double | AsDouble () const |
To double. | |
void | Format (const char *format,...) |
write a formatted string and a variable list of arguments to this object | |
void | FormatV (const char *format, va_list arglist) |
write a formatted string and a variable list of arguments to this object |
|
Constructor from substring.
|
|
Conversion to MFC string.
|
|
To integer.
|
|
To double.
|