a string holder class More...


Public Member Functions | |
| CString (UTF8StringPtr string=0) | |
| ~CString () | |
| void | setUTF8String (UTF8StringPtr string) |
| UTF8StringPtr | getUTF8String () const |
| IPlatformString * | getPlatformString () const |
Reference Counting Methods | |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 | |
| virtual void | remember () |
| increase refcount | |
| virtual int32_t | getNbReference () const |
| get refcount | |
Message Methods | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Protected Attributes | |
| UTF8StringPtr | utf8String |
| IPlatformString * | platformString |
a string holder class
It's main propose is to hold a platform dependent string represenation when the string is used more than once. You should currently don't use this, it's used internally.
| CString | ( | UTF8StringPtr | string = 0 |
) |
| ~CString | ( | ) |
| virtual void forget | ( | ) | [inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
| virtual int32_t getNbReference | ( | ) | const [inline, virtual, inherited] |
get refcount
| IPlatformString* getPlatformString | ( | ) | const [inline] |
| UTF8StringPtr getUTF8String | ( | ) | const [inline] |
| virtual CMessageResult notify | ( | CBaseObject * | sender, | |
| IdStringPtr | message | |||
| ) | [inline, virtual, inherited] |
| virtual void remember | ( | ) | [inline, virtual, inherited] |
increase refcount
| void setUTF8String | ( | UTF8StringPtr | string | ) |
IPlatformString* platformString [protected] |
UTF8StringPtr utf8String [protected] |
1.6.1