cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
WidgetPropertiesReader Class Referenceabstract

#include <CCSGUIReader.h>

Inheritance diagram for WidgetPropertiesReader:
Ref WidgetPropertiesReader0250 WidgetPropertiesReader0300

Public Member Functions

virtual cocos2d::ui::WidgetcreateWidget (const rapidjson::Value &dic, const char *fullPath, const char *fileName)=0
local createWidget ( local dic, local fullPath, local fileName)
virtual cocos2d::ui::WidgetwidgetFromJsonDictionary (const rapidjson::Value &data)=0
local widgetFromJsonDictionary ( local data)
virtual void setPropsForAllWidgetFromJsonDictionary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, const rapidjson::Value &options)=0
local setPropsForAllWidgetFromJsonDictionary ( local reader, local widget, local options)
virtual void setPropsForAllCustomWidgetFromJsonDictionary (const std::string &classType, cocos2d::ui::Widget *widget, const rapidjson::Value &customOptions)=0
virtual cocos2d::ui::WidgetcreateWidgetFromBinary (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode, const char *fileName)=0
virtual cocos2d::ui::WidgetwidgetFromBinary (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)=0
local widgetFromBinary ( local cocoLoader, local pCocoNode)
virtual void setPropsForAllWidgetFromBinary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)=0
- 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...
 
virtual ~Ref ()
 Destructor. More...
 

Protected Member Functions

void setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
var setAnchorPointForWidget ( var widget, var options)
local setAnchorPointForWidget ( local widget, local 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)
local createGUI ( local classname)
WidgetReaderProtocolcreateWidgetReaderProtocol (const std::string &classname)
local createWidgetReaderProtocol ( local classname)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Protected Attributes

std::string m_strFilePath
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Member Function Documentation

cocos2d::ui::Widget* createGUI ( const std::string &  classname)
protected
var createGUI ( var  classname)
protected
local createGUI ( local  classname)
protected
virtual cocos2d::ui::Widget*
createWidget
( const rapidjson::Value &  dic,
const char *  fullPath,
const char *  fileName 
)
pure virtual
var createWidget ( var  dic,
var  fullPath,
var  fileName 
)
pure virtual
local createWidget ( local  dic,
local  fullPath,
local  fileName 
)
pure virtual
virtual cocos2d::ui::Widget*
createWidgetFromBinary
( CocoLoader cocoLoader,
stExpCocoNode pCocoNode,
const char *  fileName 
)
pure virtual
var createWidgetFromBinary ( var  cocoLoader,
var  pCocoNode,
var  fileName 
)
pure virtual
local createWidgetFromBinary ( local  cocoLoader,
local  pCocoNode,
local  fileName 
)
pure virtual
WidgetReaderProtocol*
createWidgetReaderProtocol
( const std::string &  classname)
protected
var createWidgetReaderProtocol ( var  classname)
protected
local createWidgetReaderProtocol ( local  classname)
protected
std::string getGUIClassName ( const std::string &  name)
protected
var getGUIClassName ( var  name)
protected
local getGUIClassName ( local  name)
protected
std::string
getWidgetReaderClassName
( const std::string &  classname)
protected
var getWidgetReaderClassName ( var  classname)
protected
local getWidgetReaderClassName ( local  classname)
protected
std::string
getWidgetReaderClassName
( cocos2d::ui::Widget widget)
protected
var getWidgetReaderClassName ( var  widget)
protected
local getWidgetReaderClassName ( local  widget)
protected
void setAnchorPointForWidget ( cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
protected
var setAnchorPointForWidget ( var  widget,
var  options 
)
protected
local setAnchorPointForWidget ( local  widget,
local  options 
)
protected
virtual void
setPropsForAllCustomWidgetFromJsonDictionary
( const std::string &  classType,
cocos2d::ui::Widget widget,
const rapidjson::Value &  customOptions 
)
pure virtual
var
setPropsForAllCustomWidgetFromJsonDictionary
( var  classType,
var  widget,
var  customOptions 
)
pure virtual
local
setPropsForAllCustomWidgetFromJsonDictionary
( local  classType,
local  widget,
local  customOptions 
)
pure virtual
virtual void
setPropsForAllWidgetFromBinary
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
CocoLoader cocoLoader,
stExpCocoNode pCocoNode 
)
pure virtual
var setPropsForAllWidgetFromBinary ( var  reader,
var  widget,
var  cocoLoader,
var  pCocoNode 
)
pure virtual
local
setPropsForAllWidgetFromBinary
( local  reader,
local  widget,
local  cocoLoader,
local  pCocoNode 
)
pure virtual
virtual void
setPropsForAllWidgetFromJsonDictionary
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
pure virtual
var
setPropsForAllWidgetFromJsonDictionary
( var  reader,
var  widget,
var  options 
)
pure virtual
local
setPropsForAllWidgetFromJsonDictionary
( local  reader,
local  widget,
local  options 
)
pure virtual
virtual cocos2d::ui::Widget*
widgetFromBinary
( CocoLoader cocoLoader,
stExpCocoNode pCocoNode 
)
pure virtual
var widgetFromBinary ( var  cocoLoader,
var  pCocoNode 
)
pure virtual
local widgetFromBinary ( local  cocoLoader,
local  pCocoNode 
)
pure virtual
virtual cocos2d::ui::Widget*
widgetFromJsonDictionary
( const rapidjson::Value &  data)
pure virtual
var widgetFromJsonDictionary ( var  data)
pure virtual
local widgetFromJsonDictionary ( local  data)
pure virtual

Member Data Documentation

std::string m_strFilePath
protected
var m_strFilePath
protected
local m_strFilePath
protected

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