|
| __Dictionary () |
| The constructor of Dictionary. More...
|
|
| ~__Dictionary () |
| The destructor of Dictionary. More...
|
|
bool | init () |
| Initializes the dictionary. More...
|
|
unsigned int | count () |
| Get the count of elements in Dictionary. More...
|
|
local | count () |
| Get the count of elements in Dictionary. More...
|
|
__Array * | allKeys () |
| Return all keys of elements. More...
|
|
__Array * | allKeysForObject (Ref *object) |
| Get all keys according to the specified object. More...
|
|
local | allKeysForObject ( local object) |
| Get all keys according to the specified object. More...
|
|
Ref * | objectForKey (const std::string &key) |
| Get the object according to the specified string key. More...
|
|
Ref * | objectForKey (intptr_t key) |
| Get the object according to the specified integer key. More...
|
|
local | objectForKey ( local key) |
| Get the object according to the specified integer key. More...
|
|
const __String * | valueForKey (const std::string &key) |
| Get the value according to the specified string key. More...
|
|
local | valueForKey ( local key) |
| Get the value according to the specified string key. More...
|
|
const __String * | valueForKey (intptr_t key) |
| Get the value according to the specified integer key. More...
|
|
local | valueForKey ( local key) |
| Get the value according to the specified integer key. More...
|
|
void | setObject (Ref *pObject, const std::string &key) |
| Insert an object to dictionary, and match it with the specified string key. More...
|
|
void | setObject (Ref *pObject, intptr_t key) |
| Insert an object to dictionary, and match it with the specified string key. More...
|
|
void | removeObjectForKey (const std::string &key) |
| Remove an object by the specified string key. More...
|
|
void | removeObjectForKey (intptr_t key) |
| Remove an object by the specified integer key. More...
|
|
local | removeObjectForKey ( local key) |
| Remove an object by the specified integer key. More...
|
|
void | removeObjectsForKeys (__Array *pKey__Array) |
| Remove objects by an array of keys. More...
|
|
void | removeObjectForElememt (DictElement *pElement) |
| Remove an object by an element. More...
|
|
void | removeAllObjects () |
| Remove all objects in the dictionary. More...
|
|
local | removeAllObjects () |
| Remove all objects in the dictionary. More...
|
|
Ref * | randomObject () |
| Return a random object in the dictionary. More...
|
|
bool | writeToFile (const char *fullPath) |
| Write a dictionary to a plist file. More...
|
|
virtual void | acceptVisitor (DataVisitor &visitor) |
var | acceptVisitor ( var visitor) |
local | acceptVisitor ( local visitor) |
virtual __Dictionary * | 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...
|
|