cocos2d-x  3.0
 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
virtual cocos2d::ui::WidgetwidgetFromJsonDictionary (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...
Refautorelease ()
 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...

Member Function Documentation

virtual cocos2d::ui::Widget*
( const rapidjson::Value &  dic,
const char *  fullPath,
const char *  fileName 
pure virtual
virtual void
( const std::string &  classType,
cocos2d::ui::Widget widget,
const rapidjson::Value &  customOptions 
pure virtual
virtual void
( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
pure virtual
virtual cocos2d::ui::Widget*
( const rapidjson::Value &  data)
pure virtual

Member Data Documentation

std::string m_strFilePath

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