#include <OleStr.h>
Public Member Functions | |
COleStr () | |
Construct with an empty string. | |
COleStr (LPCWSTR str) | |
Construct with a copy of an existing wide string. | |
COleStr (LPCSTR str) | |
Construct with a copy of an existing narrow string. | |
COleStr (const COleStr &str) | |
Construct with a copy of an existing COleStr. | |
~COleStr () | |
Tidy the string. | |
unsigned int | Length () const |
Return the length of the encapsulated string. | |
void | Attach (LPOLESTR lpOle) |
Attach an existing OLESTR. | |
LPOLESTR | Detach () |
Deatch the encapsulated string and return it. | |
LPOLESTR | Copy () const |
Return a copy of the encapsulated string. | |
COleStr & | operator= (const COleStr &str) |
Assign another COleStr. | |
COleStr & | operator= (const LPCWSTR &str) |
Assign a wide character string. | |
COleStr & | operator= (const LPCSTR &str) |
Assign a narrow character string. | |
LPOLESTR * | operator & () |
Return the address of the encapsulated string. | |
operator LPOLESTR () const | |
Extractor the string data. | |
bool | operator! () const |
Test for !(m_data != NULL). | |
operator bool () const | |
Test for m_data != NULL. |
|
Construct with a copy of an existing wide string.
|
|
Construct with a copy of an existing narrow string.
|
|
Construct with a copy of an existing COleStr.
|
|
Assign a narrow character string.
|
|
Assign a wide character string.
|
|
Assign another COleStr.
|