|
Public Member Functions |
| LPCTSTR | Set (double n, LPCTSTR pTemplate="%f0.2") |
| | Sets a double value into the string.
|
|
| CStr () |
| | Constructor.
|
|
virtual | ~CStr () |
| | Destructor.
|
| | CStr (LPCTSTR pStr) |
| | Constructs a string and initializes.
|
| | CStr (unsigned long dw) |
| | Constructs a string initialized with a DWORD value.
|
| | CStr (long l) |
| | Constructs a string and initializes to a long value.
|
| | CStr (double d) |
| | Constructs a string and initializes to a double value.
|
|
| operator LPCTSTR () |
| | Returns a pointer to the encapsulated string.
|
| char * | str (unsigned long offset=0) |
| | Returns a pointer to the encapsulated string ofset.
|
| bool | copy (const char *ptr) |
| | Copies NULL terminated string.
|
| bool | copy (const char *ptr, unsigned long len) |
| | Copies unterminated string.
|
|
CStr & | operator= (unsigned long n) |
| | Assigns string value of unsigned long.
|
|
CStr & | operator= (long n) |
| | Assigns string value of long.
|
|
CStr & | operator= (LPCTSTR str) |
| | Assigns value of NULL terminated string.
|
|
CStr & | operator= (double n) |
| | Assigns string value of double.
|
|
CStr & | operator+= (unsigned long n) |
| | Appends string value of unsigned long.
|
|
CStr & | operator+= (long n) |
| | Appends string value of long.
|
|
CStr & | operator+= (LPCTSTR str) |
| | Appends value of NULL terminated string.
|
|
CStr & | operator+= (double n) |
| | Appends string value of double.
|
|
DWORD | strlen () |
| | Returns the length of the encapsulated string.
|