cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LayerColorLoader Class Reference

#include <CCLayerColorLoader.h>

Inheritance diagram for LayerColorLoader:
LayerLoader NodeLoader Object

Public Member Functions

virtual ~LayerColorLoader ()
- Public Member Functions inherited from LayerLoader
virtual ~LayerLoader ()
- Public Member Functions inherited from NodeLoader
 NodeLoader ()
virtual ~NodeLoader ()
virtual NodeloadNode (Node *, CCBReader *ccbReader)
virtual void parseProperties (Node *pNode, Node *pParent, CCBReader *ccbReader)
virtual DictionarygetCustomProperties ()
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)

Static Public Member Functions

static LayerColorLoaderloader ()
local loader ()
- Static Public Member Functions inherited from LayerLoader
static LayerLoaderloader ()
var loader ()
local loader ()
- Static Public Member Functions inherited from NodeLoader
static NodeLoaderloader ()

Protected Member Functions

virtual LayerColorcreateNode (cocos2d::Node *pParent, cocos2d::extension::CCBReader *ccbReader)
local createNode ( local pParent, local ccbReader)
virtual void onHandlePropTypeColor3 (Node *pNode, Node *pParent, const char *pPropertyName, Color3B pColor3B, CCBReader *ccbReader)
var onHandlePropTypeColor3 ( var pNode, var pParent, var pPropertyName, var pColor3B, var ccbReader)
local onHandlePropTypeColor3 ( local pNode, local pParent, local pPropertyName, local pColor3B, local ccbReader)
virtual void onHandlePropTypeByte (Node *pNode, Node *pParent, const char *pPropertyName, unsigned char pByte, CCBReader *ccbReader)
var onHandlePropTypeByte ( var pNode, var pParent, var pPropertyName, var pByte, var ccbReader)
local onHandlePropTypeByte ( local pNode, local pParent, local pPropertyName, local pByte, local ccbReader)
virtual void onHandlePropTypeBlendFunc (Node *pNode, Node *pParent, const char *pPropertyName, BlendFunc pBlendFunc, CCBReader *ccbReader)
var onHandlePropTypeBlendFunc ( var pNode, var pParent, var pPropertyName, var pBlendFunc, var ccbReader)
local onHandlePropTypeBlendFunc ( local pNode, local pParent, local pPropertyName, local pBlendFunc, local ccbReader)
- Protected Member Functions inherited from LayerLoader
virtual void onHandlePropTypeCheck (Node *pNode, Node *pParent, const char *pPropertyName, bool pCheck, CCBReader *ccbReader)
local onHandlePropTypeCheck ( local pNode, local pParent, local pPropertyName, local pCheck, local ccbReader)
- Protected Member Functions inherited from NodeLoader
virtual Point parsePropTypePosition (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
local parsePropTypePosition ( local pNode, local pParent, local ccbReader, local pPropertyName)
virtual Point parsePropTypePoint (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypePoint ( local pNode, local pParent, local ccbReader)
virtual Point parsePropTypePointLock (Node *pNode, Node *pParent, CCBReader *ccbReader)
var parsePropTypePointLock ( var pNode, var pParent, var ccbReader)
local parsePropTypePointLock ( local pNode, local pParent, local ccbReader)
virtual Size parsePropTypeSize (Node *pNode, Node *pParent, CCBReader *ccbReader)
var parsePropTypeSize ( var pNode, var pParent, var ccbReader)
local parsePropTypeSize ( local pNode, local pParent, local ccbReader)
virtual float * parsePropTypeScaleLock (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
var parsePropTypeScaleLock ( var pNode, var pParent, var ccbReader, var pPropertyName)
local parsePropTypeScaleLock ( local pNode, local pParent, local ccbReader, local pPropertyName)
virtual float parsePropTypeFloat (Node *pNode, Node *pParent, CCBReader *ccbReader)
virtual float parsePropTypeDegrees (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
var parsePropTypeDegrees ( var pNode, var pParent, var ccbReader, var pPropertyName)
local parsePropTypeDegrees ( local pNode, local pParent, local ccbReader, local pPropertyName)
virtual float parsePropTypeFloatScale (Node *pNode, Node *pParent, CCBReader *ccbReader)
virtual int parsePropTypeInteger (Node *pNode, Node *pParent, CCBReader *ccbReader)
var parsePropTypeInteger ( var pNode, var pParent, var ccbReader)
local parsePropTypeInteger ( local pNode, local pParent, local ccbReader)
virtual int parsePropTypeIntegerLabeled (Node *pNode, Node *pParent, CCBReader *ccbReader)
var parsePropTypeIntegerLabeled ( var pNode, var pParent, var ccbReader)
local parsePropTypeIntegerLabeled ( local pNode, local pParent, local ccbReader)
virtual float * parsePropTypeFloatVar (Node *pNode, Node *pParent, CCBReader *ccbReader)
var parsePropTypeFloatVar ( var pNode, var pParent, var ccbReader)
local parsePropTypeFloatVar ( local pNode, local pParent, local ccbReader)
virtual bool parsePropTypeCheck (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
var parsePropTypeCheck ( var pNode, var pParent, var ccbReader, var pPropertyName)
local parsePropTypeCheck ( local pNode, local pParent, local ccbReader, local pPropertyName)
virtual SpriteFrameparsePropTypeSpriteFrame (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
virtual AnimationparsePropTypeAnimation (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeAnimation ( local pNode, local pParent, local ccbReader)
virtual Texture2DparsePropTypeTexture (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeTexture ( local pNode, local pParent, local ccbReader)
virtual unsigned char parsePropTypeByte (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
virtual Color3B parsePropTypeColor3 (Node *pNode, Node *pParent, CCBReader *ccbReader, const char *pPropertyName)
virtual Color4FparsePropTypeColor4FVar (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeColor4FVar ( local pNode, local pParent, local ccbReader)
virtual bool * parsePropTypeFlip (Node *pNode, Node *pParent, CCBReader *ccbReader)
virtual BlendFunc parsePropTypeBlendFunc (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeBlendFunc ( local pNode, local pParent, local ccbReader)
virtual std::string parsePropTypeFntFile (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeFntFile ( local pNode, local pParent, local ccbReader)
virtual std::string parsePropTypeString (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeString ( local pNode, local pParent, local ccbReader)
virtual std::string parsePropTypeText (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeText ( local pNode, local pParent, local ccbReader)
virtual std::string parsePropTypeFontTTF (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeFontTTF ( local pNode, local pParent, local ccbReader)
virtual BlockDataparsePropTypeBlock (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeBlock ( local pNode, local pParent, local ccbReader)
virtual BlockControlDataparsePropTypeBlockControl (Node *pNode, Node *pParent, CCBReader *ccbReader)
local parsePropTypeBlockControl ( local pNode, local pParent, local ccbReader)
virtual NodeparsePropTypeCCBFile (Node *pNode, Node *pParent, CCBReader *ccbReader)
virtual float * parsePropTypeFloatXY (Node *pNode, Node *pParent, CCBReader *ccbReader)
var parsePropTypeFloatXY ( var pNode, var pParent, var ccbReader)
local parsePropTypeFloatXY ( local pNode, local pParent, local ccbReader)
virtual void onHandlePropTypePosition (Node *pNode, Node *pParent, const char *pPropertyName, Point pPosition, CCBReader *ccbReader)
var onHandlePropTypePosition ( var pNode, var pParent, var pPropertyName, var pPosition, var ccbReader)
local onHandlePropTypePosition ( local pNode, local pParent, local pPropertyName, local pPosition, local ccbReader)
virtual void onHandlePropTypePoint (Node *pNode, Node *pParent, const char *pPropertyName, Point pPoint, CCBReader *ccbReader)
virtual void onHandlePropTypePointLock (Node *pNode, Node *pParent, const char *pPropertyName, Point pPointLock, CCBReader *ccbReader)
var onHandlePropTypePointLock ( var pNode, var pParent, var pPropertyName, var pPointLock, var ccbReader)
local onHandlePropTypePointLock ( local pNode, local pParent, local pPropertyName, local pPointLock, local ccbReader)
virtual void onHandlePropTypeSize (Node *pNode, Node *pParent, const char *pPropertyName, Size pSize, CCBReader *ccbReader)
var onHandlePropTypeSize ( var pNode, var pParent, var pPropertyName, var pSize, var ccbReader)
local onHandlePropTypeSize ( local pNode, local pParent, local pPropertyName, local pSize, local ccbReader)
virtual void onHandlePropTypeScaleLock (Node *pNode, Node *pParent, const char *pPropertyName, float *pScaleLock, CCBReader *ccbReader)
var onHandlePropTypeScaleLock ( var pNode, var pParent, var pPropertyName, var pScaleLock, var ccbReader)
local onHandlePropTypeScaleLock ( local pNode, local pParent, local pPropertyName, local pScaleLock, local ccbReader)
virtual void onHandlePropTypeFloat (Node *pNode, Node *pParent, const char *pPropertyName, float pFloat, CCBReader *ccbReader)
var onHandlePropTypeFloat ( var pNode, var pParent, var pPropertyName, var pFloat, var ccbReader)
local onHandlePropTypeFloat ( local pNode, local pParent, local pPropertyName, local pFloat, local ccbReader)
virtual void onHandlePropTypeDegrees (Node *pNode, Node *pParent, const char *pPropertyName, float pDegrees, CCBReader *ccbReader)
var onHandlePropTypeDegrees ( var pNode, var pParent, var pPropertyName, var pDegrees, var ccbReader)
local onHandlePropTypeDegrees ( local pNode, local pParent, local pPropertyName, local pDegrees, local ccbReader)
virtual void onHandlePropTypeFloatScale (Node *pNode, Node *pParent, const char *pPropertyName, float pFloatScale, CCBReader *ccbReader)
var onHandlePropTypeFloatScale ( var pNode, var pParent, var pPropertyName, var pFloatScale, var ccbReader)
local onHandlePropTypeFloatScale ( local pNode, local pParent, local pPropertyName, local pFloatScale, local ccbReader)
virtual void onHandlePropTypeInteger (Node *pNode, Node *pParent, const char *pPropertyName, int pInteger, CCBReader *ccbReader)
var onHandlePropTypeInteger ( var pNode, var pParent, var pPropertyName, var pInteger, var ccbReader)
local onHandlePropTypeInteger ( local pNode, local pParent, local pPropertyName, local pInteger, local ccbReader)
virtual void onHandlePropTypeIntegerLabeled (Node *pNode, Node *pParent, const char *pPropertyName, int pIntegerLabeled, CCBReader *ccbReader)
var onHandlePropTypeIntegerLabeled ( var pNode, var pParent, var pPropertyName, var pIntegerLabeled, var ccbReader)
local onHandlePropTypeIntegerLabeled ( local pNode, local pParent, local pPropertyName, local pIntegerLabeled, local ccbReader)
virtual void onHandlePropTypeFloatVar (Node *pNode, Node *pParent, const char *pPropertyName, float *pFoatVar, CCBReader *ccbReader)
var onHandlePropTypeFloatVar ( var pNode, var pParent, var pPropertyName, var pFoatVar, var ccbReader)
local onHandlePropTypeFloatVar ( local pNode, local pParent, local pPropertyName, local pFoatVar, local ccbReader)
virtual void onHandlePropTypeFloatXY (Node *pNode, Node *pParent, const char *pPropertyName, float *pFoatVar, CCBReader *ccbReader)
var onHandlePropTypeFloatXY ( var pNode, var pParent, var pPropertyName, var pFoatVar, var ccbReader)
local onHandlePropTypeFloatXY ( local pNode, local pParent, local pPropertyName, local pFoatVar, local ccbReader)
virtual void onHandlePropTypeSpriteFrame (Node *pNode, Node *pParent, const char *pPropertyName, SpriteFrame *pSpriteFrame, CCBReader *ccbReader)
var onHandlePropTypeSpriteFrame ( var pNode, var pParent, var pPropertyName, var pSpriteFrame, var ccbReader)
local onHandlePropTypeSpriteFrame ( local pNode, local pParent, local pPropertyName, local pSpriteFrame, local ccbReader)
virtual void onHandlePropTypeAnimation (Node *pNode, Node *pParent, const char *pPropertyName, Animation *pAnimation, CCBReader *ccbReader)
var onHandlePropTypeAnimation ( var pNode, var pParent, var pPropertyName, var pAnimation, var ccbReader)
local onHandlePropTypeAnimation ( local pNode, local pParent, local pPropertyName, local pAnimation, local ccbReader)
virtual void onHandlePropTypeTexture (Node *pNode, Node *pParent, const char *pPropertyName, Texture2D *pTexture2D, CCBReader *ccbReader)
var onHandlePropTypeTexture ( var pNode, var pParent, var pPropertyName, var pTexture2D, var ccbReader)
local onHandlePropTypeTexture ( local pNode, local pParent, local pPropertyName, local pTexture2D, local ccbReader)
virtual void onHandlePropTypeColor4FVar (Node *pNode, Node *pParent, const char *pPropertyName, Color4F *pColor4FVar, CCBReader *ccbReader)
var onHandlePropTypeColor4FVar ( var pNode, var pParent, var pPropertyName, var pColor4FVar, var ccbReader)
local onHandlePropTypeColor4FVar ( local pNode, local pParent, local pPropertyName, local pColor4FVar, local ccbReader)
virtual void onHandlePropTypeFlip (Node *pNode, Node *pParent, const char *pPropertyName, bool *pFlip, CCBReader *ccbReader)
var onHandlePropTypeFlip ( var pNode, var pParent, var pPropertyName, var pFlip, var ccbReader)
local onHandlePropTypeFlip ( local pNode, local pParent, local pPropertyName, local pFlip, local ccbReader)
virtual void onHandlePropTypeFntFile (Node *pNode, Node *pParent, const char *pPropertyName, const char *pFntFile, CCBReader *ccbReader)
var onHandlePropTypeFntFile ( var pNode, var pParent, var pPropertyName, var pFntFile, var ccbReader)
local onHandlePropTypeFntFile ( local pNode, local pParent, local pPropertyName, local pFntFile, local ccbReader)
virtual void onHandlePropTypeString (Node *pNode, Node *pParent, const char *pPropertyName, const char *pString, CCBReader *ccbReader)
var onHandlePropTypeString ( var pNode, var pParent, var pPropertyName, var pString, var ccbReader)
local onHandlePropTypeString ( local pNode, local pParent, local pPropertyName, local pString, local ccbReader)
virtual void onHandlePropTypeText (Node *pNode, Node *pParent, const char *pPropertyName, const char *pText, CCBReader *ccbReader)
virtual void onHandlePropTypeFontTTF (Node *pNode, Node *pParent, const char *pPropertyName, const char *pFontTTF, CCBReader *ccbReader)
var onHandlePropTypeFontTTF ( var pNode, var pParent, var pPropertyName, var pFontTTF, var ccbReader)
local onHandlePropTypeFontTTF ( local pNode, local pParent, local pPropertyName, local pFontTTF, local ccbReader)
virtual void onHandlePropTypeBlock (Node *pNode, Node *pParent, const char *pPropertyName, BlockData *pBlockData, CCBReader *ccbReader)
virtual void onHandlePropTypeBlockControl (Node *pNode, Node *pParent, const char *pPropertyName, BlockControlData *pBlockControlData, CCBReader *ccbReader)
var onHandlePropTypeBlockControl ( var pNode, var pParent, var pPropertyName, var pBlockControlData, var ccbReader)
local onHandlePropTypeBlockControl ( local pNode, local pParent, local pPropertyName, local pBlockControlData, local ccbReader)
virtual void onHandlePropTypeCCBFile (Node *pNode, Node *pParent, const char *pPropertyName, Node *pCCBFileNode, CCBReader *ccbReader)

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
- Protected Attributes inherited from NodeLoader
Dictionary_customProperties

Constructor & Destructor Documentation

virtual ~LayerColorLoader ( )
inlinevirtual

Member Function Documentation

virtual LayerColor* createNode ( cocos2d::Node pParent,
cocos2d::extension::CCBReader ccbReader 
)
inlineprotectedvirtual

Reimplemented from LayerLoader.

var createNode ( var  pParent,
var  ccbReader 
)
inlineprotectedvirtual

Reimplemented from LayerLoader.

local createNode ( local  pParent,
local  ccbReader 
)
inlineprotectedvirtual

Reimplemented from LayerLoader.

static LayerColorLoader* loader ( )
inlinestatic
var loader ( )
inlinestatic
local loader ( )
inlinestatic
virtual void
onHandlePropTypeBlendFunc
( Node pNode,
Node pParent,
const char *  pPropertyName,
BlendFunc  pBlendFunc,
CCBReader ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

var onHandlePropTypeBlendFunc ( var  pNode,
var  pParent,
var  pPropertyName,
var  pBlendFunc,
var  ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

local onHandlePropTypeBlendFunc ( local  pNode,
local  pParent,
local  pPropertyName,
local  pBlendFunc,
local  ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

virtual void onHandlePropTypeByte ( Node pNode,
Node pParent,
const char *  pPropertyName,
unsigned char  pByte,
CCBReader ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

var onHandlePropTypeByte ( var  pNode,
var  pParent,
var  pPropertyName,
var  pByte,
var  ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

local onHandlePropTypeByte ( local  pNode,
local  pParent,
local  pPropertyName,
local  pByte,
local  ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

virtual void onHandlePropTypeColor3 ( Node pNode,
Node pParent,
const char *  pPropertyName,
Color3B  pColor3B,
CCBReader ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

var onHandlePropTypeColor3 ( var  pNode,
var  pParent,
var  pPropertyName,
var  pColor3B,
var  ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.

local onHandlePropTypeColor3 ( local  pNode,
local  pParent,
local  pPropertyName,
local  pColor3B,
local  ccbReader 
)
protectedvirtual

Reimplemented from NodeLoader.


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