#include <CCComAttribute.h>
|
virtual bool | init () |
virtual bool | serialize (void *r) |
void | setInt (const char *key, int value) |
var | setInt ( var key, var value) |
void | setFloat (const char *key, float value) |
var | setFloat ( var key, var value) |
void | setBool (const char *key, bool value) |
var | setBool ( var key, var value) |
void | setCString (const char *key, const char *value) |
int | getInt (const char *key, int def=0) const |
var | getInt ( var key, var 0) |
float | getFloat (const char *key, float def=0.0f) const |
var | getFloat ( var key, var 0f) |
bool | getBool (const char *key, bool def=false) const |
var | getBool ( var key, var false) |
const char * | getCString (const char *key, const char *def=NULL) const |
bool | parse (const std::string &jsonPath) |
virtual | ~CCComponent (void) |
virtual void | onEnter () |
virtual void | onExit () |
virtual void | update (float delta) |
var | update ( var delta) |
local | update ( local delta) |
virtual bool | isEnabled () const |
var | isEnabled () |
local | isEnabled () |
virtual void | setEnabled (bool b) |
local | setEnabled ( local b) |
const char * | getName () const |
var | getName () |
local | getName () |
void | setName (const char *pName) |
void | setOwner (CCNode *pOwner) |
CCNode * | getOwner () const |
| CCObject (void) |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual CCObject * | copyWithZone (CCZone *pZone) |
bool getBool |
( |
const char * |
key, |
|
|
bool |
def = false |
|
) |
| const |
var getBool |
( |
var |
key, |
|
|
var |
def = false |
|
) |
| |
const char* getCString |
( |
const char * |
key, |
|
|
const char * |
def = NULL |
|
) |
| const |
var getCString |
( |
var |
key, |
|
|
var |
def = NULL |
|
) |
| |
float getFloat |
( |
const char * |
key, |
|
|
float |
def = 0.0f |
|
) |
| const |
var getFloat |
( |
var |
key, |
|
|
var |
def = 0.0f |
|
) |
| |
int getInt |
( |
const char * |
key, |
|
|
int |
def = 0 |
|
) |
| const |
var getInt |
( |
var |
key, |
|
|
var |
def = 0 |
|
) |
| |
bool parse |
( |
const std::string & |
jsonPath) | |
|
var parse |
( |
var |
jsonPath) | |
|
virtual bool serialize |
( |
void * |
r) | |
|
|
virtual |
void setBool |
( |
const char * |
key, |
|
|
bool |
value |
|
) |
| |
var setBool |
( |
var |
key, |
|
|
var |
value |
|
) |
| |
void setCString |
( |
const char * |
key, |
|
|
const char * |
value |
|
) |
| |
var setCString |
( |
var |
key, |
|
|
var |
value |
|
) |
| |
void setFloat |
( |
const char * |
key, |
|
|
float |
value |
|
) |
| |
var setFloat |
( |
var |
key, |
|
|
var |
value |
|
) |
| |
void setInt |
( |
const char * |
key, |
|
|
int |
value |
|
) |
| |
var setInt |
( |
var |
key, |
|
|
var |
value |
|
) |
| |
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x/extensions/CocoStudio/Components/CCComAttribute.h