axmol/tools/tolua++/CCString.pkg

20 lines
541 B
Plaintext
Raw Normal View History

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;
int compare(const char* str) const;
bool isEqual(const CCObject* pObject);
static CCString* create(const char* pStr);
static CCString* createWithData(unsigned char* pData, unsigned long nLen);
static CCString* createWithContentsOfFile(const char* pszFileName);
};