2012-04-26 11:39:49 +08:00
|
|
|
|
2012-04-26 09:34:42 +08:00
|
|
|
class CCString : public CCObject
|
|
|
|
{
|
|
|
|
int intValue() const;
|
|
|
|
unsigned int uintValue() const;
|
|
|
|
float floatValue() const;
|
|
|
|
double doubleValue() const;
|
|
|
|
bool boolValue() const;
|
|
|
|
const char* getCString() const;
|
|
|
|
unsigned int length() const;
|
|
|
|
|
|
|
|
bool isEqual(const CCObject* pObject);
|
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCString* create(const char* pStr);
|
|
|
|
static CCString* createWithData(unsigned char* pData, unsigned long nLen);
|
|
|
|
static CCString* createWithContentsOfFile(const char* pszFileName);
|
2012-04-26 11:39:49 +08:00
|
|
|
};
|
|
|
|
|