cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
WidgetPropertiesReader0300 Class Reference

#include <CCSGUIReader.h>

Inheritance diagram for WidgetPropertiesReader0300:
WidgetPropertiesReader Ref

Public Member Functions

 WidgetPropertiesReader0300 ()
virtual ~WidgetPropertiesReader0300 ()
virtual cocos2d::ui::WidgetcreateWidget (const rapidjson::Value &dic, const char *fullPath, const char *fileName)
virtual cocos2d::ui::WidgetcreateWidgetFromBinary (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode, const char *fileName) override
virtual cocos2d::ui::WidgetwidgetFromBinary (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)
virtual void setPropsForAllWidgetFromBinary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)
virtual void setPropsForAllCustomWidgetFromBinary (const std::string &classType, cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)
virtual cocos2d::ui::WidgetwidgetFromJsonDictionary (const rapidjson::Value &dic)
virtual void setPropsForAllWidgetFromJsonDictionary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, const rapidjson::Value &options)
virtual void setPropsForAllCustomWidgetFromJsonDictionary (const std::string &classType, cocos2d::ui::Widget *widget, const rapidjson::Value &customOptions)
virtual cocos2d::ui::WidgetwidgetFromProtocolBuffers (const protocolbuffers::NodeTree &nodetree)
virtual void setPropsForAllWidgetFromProtocolBuffers (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, const protocolbuffers::NodeTree &nodetree)
virtual cocos2d::ui::WidgetwidgetFromXML (const tinyxml2::XMLElement *objectData, const std::string &classType)
virtual void setPropsForAllWidgetFromXML (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, const tinyxml2::XMLElement *objectData)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
local getReferenceCount ()
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Additional Inherited Members

- Protected Member Functions inherited from WidgetPropertiesReader
void setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
std::string getWidgetReaderClassName (const std::string &classname)
std::string getWidgetReaderClassName (cocos2d::ui::Widget *widget)
std::string getGUIClassName (const std::string &name)
cocos2d::ui::WidgetcreateGUI (const std::string &classname)
WidgetReaderProtocolcreateWidgetReaderProtocol (const std::string &classname)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from WidgetPropertiesReader
std::string m_strFilePath
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

virtual ~WidgetPropertiesReader0300 ( )
inlinevirtual

Member Function Documentation

virtual cocos2d::ui::Widget*
createWidget
( const rapidjson::Value &  dic,
const char *  fullPath,
const char *  fileName 
)
virtual
virtual cocos2d::ui::Widget*
createWidgetFromBinary
( CocoLoader cocoLoader,
stExpCocoNode pCocoNode,
const char *  fileName 
)
overridevirtual
virtual void
setPropsForAllCustomWidgetFromBinary
( const std::string &  classType,
cocos2d::ui::Widget widget,
CocoLoader cocoLoader,
stExpCocoNode pCocoNode 
)
inlinevirtual
virtual void
setPropsForAllCustomWidgetFromJsonDictionary
( const std::string &  classType,
cocos2d::ui::Widget widget,
const rapidjson::Value &  customOptions 
)
virtual
virtual void
setPropsForAllWidgetFromBinary
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
CocoLoader cocoLoader,
stExpCocoNode pCocoNode 
)
virtual
virtual void
setPropsForAllWidgetFromJsonDictionary
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
virtual
virtual void
setPropsForAllWidgetFromProtocolBuffers
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
const protocolbuffers::NodeTree nodetree 
)
virtual
virtual void
setPropsForAllWidgetFromXML
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
const tinyxml2::XMLElement *  objectData 
)
virtual
virtual cocos2d::ui::Widget*
widgetFromBinary
( CocoLoader cocoLoader,
stExpCocoNode pCocoNode 
)
virtual
virtual cocos2d::ui::Widget*
widgetFromJsonDictionary
( const rapidjson::Value &  dic)
virtual
virtual cocos2d::ui::Widget*
widgetFromProtocolBuffers
( const protocolbuffers::NodeTree nodetree)
virtual
virtual cocos2d::ui::Widget*
widgetFromXML
( const tinyxml2::XMLElement *  objectData,
const std::string &  classType 
)
virtual

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