axmol/tools/tolua++/CCDictionary.pkg

27 lines
765 B
Plaintext

class CCDictionary : public CCObject
{
unsigned int count();
CCArray* allKeys();
CCArray* allKeysForObject(CCObject* object);
CCObject* objectForKey(const std::string& key);
CCObject* objectForKey(int key);
const CCString* valueForKey(const std::string& key);
const CCString* valueForKey(int key);
void setObject(CCObject* pObject, const std::string& key);
void setObject(CCObject* pObject, int key);
void removeObjectForKey(const std::string& key);
void removeObjectForKey(int key);
void removeObjectsForKeys(CCArray* pKeyArray);
void removeAllObjects();
static CCDictionary* create();
static CCDictionary* create(CCDictionary* srcDict);
static CCDictionary* create(const char *pFileName);
};