cocos2d-x  3.0rc2
 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::Widget * createWidget (const rapidjson::Value &dic, const char *fullPath, const char *fileName)=0
local createWidget ( local dic, local fullPath, local fileName)
virtual cocos2d::ui::Widget * widgetFromJsonDictionary (const rapidjson::Value &data)=0
virtual void setPropsForAllWidgetFromJsonDictionary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, const rapidjson::Value &options)=0
virtual void setPropsForAllCustomWidgetFromJsonDictionary (const std::string &classType, cocos2d::ui::Widget *widget, const rapidjson::Value &customOptions)=0
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Release the ownership immediately. More...
 
local release ()
 Release the ownership immediately. More...
 
Ref * autorelease ()
 Release the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Member Function Documentation

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 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
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*
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: