cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCObject Class Reference

NA. More...

#include <CCObject.h>

Inherits CCCopying.

Inherited by CCAction, CCActionManager, CCAnimation, CCAnimationCache, CCAnimationFrame, CCArray, CCAutoreleasePool, CCBMFontConfiguration, CCBool, CCCamera, CCComponent, CCConfiguration, CCDictionary, CCDirector, CCDouble, CCEvent, CCFloat, CCGLProgram, CCGrabber, CCGridBase, CCImage, CCInteger, CCKeyboardDispatcher, CCKeyboardHandler, CCKeypadDispatcher, CCKeypadHandler, CCMouseDispatcher, CCMouseHandler, CCNode, CCNotificationCenter, CCNotificationObserver, CCPointArray, CCProfiler, CCProfilingTimer, CCScheduler, CCScriptHandlerEntry, CCSet, CCShaderCache, CCSpriteFrame, CCSpriteFrameCache, CCString, CCTMXLayerInfo, CCTMXMapInfo, CCTMXObjectGroup, CCTMXTilesetInfo, CCTexture2D, CCTextureAtlas, CCTextureCache, CCTextureETC, CCTexturePVR, CCTimer, CCTouch, CCTouchDispatcher, CCTouchHandler, CCColor3bObject, CCHttpClient, CCHttpRequest, CCHttpResponse, and CCInvocation.

Collaboration diagram for CCObject:
[legend]

Public Member Functions

 CCObject (void)
 
virtual ~CCObject (void)
 NA. More...
 
void release (void)
 
void retain (void)
 
CCObjectautorelease (void)
 
CCObjectcopy (void)
 
bool isSingleReference (void) const
 
unsigned int retainCount (void) const
 
virtual bool isEqual (const CCObject *pObject)
 
virtual void acceptVisitor (CCDataVisitor &visitor)
 
virtual void update (float dt)
 
 CCObject (const CCObject &)
 
CCObjectoperator= (const CCObject &)
 
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)
 

Public Attributes

unsigned int m_uID
 
int m_nLuaID
 

Protected Attributes

unsigned int m_uReference
 
unsigned int m_uAutoReleaseCount
 
int m_nTag
 
int m_eObjType
 
unsigned int m_uObjectIdxInArray
 

Friends

class CCAutoreleasePool
 
virtual void encodeWithCoder (DS_Dictionary *)
 
virtual bool canEncode ()
 
CCObjectType getObjType () const
 
virtual int getTag () const
 
virtual void setTag (int nTag)
 
void setObjType (CCObjectType)
 
static CCObjectcreateWithCoder (DS_Dictionary *)
 

Detailed Description

NA.

Constructor & Destructor Documentation

◆ CCObject() [1/2]

CCObject ( void  )

◆ CCObject() [2/2]

CCObject ( const CCObject )
Remarks
Added by RobTop. See RT_ADD for more info.

◆ ~CCObject()

virtual ~CCObject ( void  )
virtual

NA.

Member Function Documentation

◆ acceptVisitor()

virtual void acceptVisitor ( CCDataVisitor visitor)
virtual

◆ autorelease()

CCObject * autorelease ( void  )

◆ canEncode()

virtual bool canEncode ( )
virtual
Remarks
Added by RobTop. See RT_ADD for more info.

◆ copy()

CCObject * copy ( void  )

◆ createWithCoder()

static CCObject * createWithCoder ( DS_Dictionary )
static
Remarks
Added by RobTop. See RT_ADD for more info.

◆ encodeWithCoder()

virtual void encodeWithCoder ( DS_Dictionary )
virtual
Remarks
Added by RobTop. See RT_ADD for more info.

◆ getObjType()

CCObjectType getObjType ( ) const
Remarks
Added by RobTop. See RT_ADD for more info.

◆ getTag()

virtual int getTag ( ) const
virtual
Remarks
Added by RobTop. See RT_ADD for more info.

Reimplemented in CCHttpRequest, and CCAction.

◆ isEqual()

virtual bool isEqual ( const CCObject pObject)
virtual

Reimplemented in CCString.

◆ isSingleReference()

bool isSingleReference ( void  ) const

◆ operator=()

CCObject & operator= ( const CCObject )
Remarks
Added by RobTop. See RT_ADD for more info.

◆ release()

void release ( void  )

◆ retain()

void retain ( void  )

◆ retainCount()

unsigned int retainCount ( void  ) const

◆ setObjType()

void setObjType ( CCObjectType  )
Remarks
Added by RobTop. See RT_ADD for more info.

◆ setTag()

virtual void setTag ( int  nTag)
virtual
Remarks
Added by RobTop. See RT_ADD for more info.

Reimplemented in CCAction.

◆ update()

Friends And Related Function Documentation

◆ CCAutoreleasePool

friend class CCAutoreleasePool ( void  )
friend

Member Data Documentation

◆ m_eObjType

int m_eObjType
protected
Remarks
Added by RobTop. See RT_ADD for more info.

◆ m_nLuaID

int m_nLuaID

◆ m_nTag

int m_nTag
protected
Remarks
Added by RobTop. See RT_ADD for more info.

◆ m_uAutoReleaseCount

unsigned int m_uAutoReleaseCount
protected

◆ m_uID

unsigned int m_uID

◆ m_uObjectIdxInArray

unsigned int m_uObjectIdxInArray
protected
Remarks
Added by RobTop. See RT_ADD for more info.

◆ m_uReference

unsigned int m_uReference
protected

The documentation for this class was generated from the following file: