|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Based on reference counted TString with added automation functionality. More...
#include <ocf/autodefs.h>
Public Member Functions | |
| TAutoString (const char *s=0) | |
| TAutoString (const wchar_t *s) | |
| TAutoString (BSTR s, bool loan) | |
| TAutoString (const owl::tstring &s) | |
| TAutoString (owl::TUString *s) | |
| TAutoString (TAutoVal &val) | |
| TAutoString (const TAutoString &src) | |
| TAutoString & | operator= (const char *s) |
| TAutoString & | operator= (const TAutoString &s) |
| TAutoString & | operator= (char *s) |
| TAutoString & | operator= (const wchar_t *s) |
| TAutoString & | operator= (wchar_t *s) |
| TAutoString & | operator= (TAutoVal &val) |
Public Member Functions inherited from owl::TString | |
| TString (const char *s=0) | |
| Construct a TString from any type of string. | |
| TString (const wchar_t *s) | |
| Construct a TString from a wide character array. | |
| TString (BSTR s, bool loan) | |
| Construct a TString from a BSTR (OLE String) | |
| TString (TSysStr &s, bool loan) | |
| Construct a TString from a System string (BSTR) | |
| TString (const tstring &s) | |
| Construct a TString from a string. | |
| TString (TUString *s) | |
| Construct a TString from a TUString. | |
| TString (const TString &src) | |
| Construct a TString from a TString (Copy Constructor) | |
| ~TString () | |
| int | Length () const |
| The length in characters of this string. | |
| bool | IsNull () const |
| Is the string NULL? | |
| bool | IsWide () const |
| Are the string contents any kind of wide? | |
| TString & | operator= (const TString &s) |
| Copy contents of TString s into this string. | |
| TString & | operator= (const tstring &s) |
| Copy contents of string s into this string. | |
| TString & | operator= (const char *s) |
| Copy contents of const char* s into this string. | |
| TString & | operator= (char *s) |
| Copy contents of char* s into this string. | |
| TString & | operator= (const wchar_t *s) |
| Copy contents of const wchar_t* s into this string. | |
| TString & | operator= (wchar_t *s) |
| Copy contents of wchar_t* s into this string. | |
| operator const char * () const | |
| Return string as a const char *. | |
| operator char * () | |
| Return string as a char*. | |
| operator const wchar_t * () const | |
| Return string as a const wchar_t*. | |
| operator wchar_t * () | |
| Return string as a wchar_t*. | |
| BSTR | AsBSTR () const |
| Return a BSTR object owned by 'this' (not by the caller) | |
| BSTR | RelinquishSysStr () const |
| Return a pointer (BSTR) to a copy of the string. | |
| wchar_t * | RelinquishWide () const |
| Return a pointer (wchar_t*) to a copy of the string. | |
| char * | RelinquishNarrow () const |
| Return a pointer (char*) to a copy of the string. | |
| tchar * | Relinquish () const |
| Return a pointer (tchar*) to a copy of the string. | |
| TLangId | GetLangId () |
| Get Language Id of this string. | |
| void | SetLangId (TLangId id) |
| Set Language Id of this string. | |
Static Public Attributes | |
| static TAutoType | ClassInfo = {atString} |
Additional Inherited Members | |
Protected Attributes inherited from owl::TString | |
| TUString * | S |
Based on reference counted TString with added automation functionality.
Definition at line 492 of file autodefs.h.
|
inline |
Definition at line 494 of file autodefs.h.
|
inline |
Definition at line 495 of file autodefs.h.
Definition at line 496 of file autodefs.h.
|
inline |
Definition at line 497 of file autodefs.h.
|
inline |
Definition at line 498 of file autodefs.h.
|
inlineexplicit |
Definition at line 1545 of file autodefs.h.
|
inline |
Definition at line 500 of file autodefs.h.
|
inline |
Definition at line 504 of file autodefs.h.
|
inline |
Definition at line 502 of file autodefs.h.
|
inline |
Definition at line 503 of file autodefs.h.
References owl::TString::S.
|
inline |
Definition at line 505 of file autodefs.h.
|
inline |
Definition at line 1555 of file autodefs.h.
References owl::TString::S.
|
inline |
Definition at line 506 of file autodefs.h.
Definition at line 509 of file autodefs.h.