|
| __String () |
| __String (const char *str) |
| __String (const std::string &str) |
| __String (const __String &str) |
virtual | ~__String () |
__String & | operator= (const __String &other) |
local | operator= ( local other) |
bool | initWithFormat (const char *format,...) CC_FORMAT_PRINTF(2 |
| init a string with format, it's similar with the c function 'sprintf' More...
|
|
bool int | intValue () const |
| convert to int value More...
|
|
unsigned int | uintValue () const |
| convert to unsigned int value More...
|
|
local | uintValue () |
| convert to unsigned int value More...
|
|
float | floatValue () const |
| convert to float value More...
|
|
local | floatValue () |
| convert to float value More...
|
|
double | doubleValue () const |
| convert to double value More...
|
|
local | doubleValue () |
| convert to double value More...
|
|
bool | boolValue () const |
| convert to bool value More...
|
|
local | boolValue () |
| convert to bool value More...
|
|
const char * | getCString () const |
| get the C string More...
|
|
local | getCString () |
| get the C string More...
|
|
int | length () const |
| get the length of string More...
|
|
local | length () |
| get the length of string More...
|
|
int | compare (const char *) const |
| compare to a c string More...
|
|
local | compare () |
| compare to a c string More...
|
|
void | append (const std::string &str) |
| append additional characters at the end of its current value More...
|
|
void | appendWithFormat (const char *format,...) |
| append(w/ format) additional characters at the end of its current value More...
|
|
__Array * | componentsSeparatedByString (const char *delimiter) |
| split a string More...
|
|
virtual bool | isEqual (const Ref *pObject) |
var | isEqual ( var pObject) |
local | isEqual ( local pObject) |
virtual void | acceptVisitor (DataVisitor &visitor) |
virtual __String * | clone () const |
| returns a copy of the Ref More...
|
|
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
virtual | ~Clonable () |
CC_DEPRECATED_ATTRIBUTE Ref * | copy () const |
| returns a copy of the Ref. More...
|
|
local | copy () |
| returns a copy of the Ref. More...
|
|