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

#include <CCSGUIReader.h>

Inheritance diagram for WidgetPropertiesReader:
Object WidgetPropertiesReader0250 WidgetPropertiesReader0300

Public Member Functions

virtual cocos2d::gui::WidgetcreateWidget (const rapidjson::Value &dic, const char *fullPath, const char *fileName)=0
local createWidget ( local dic, local fullPath, local fileName)
virtual cocos2d::gui::WidgetwidgetFromJsonDictionary (const rapidjson::Value &data)=0
local widgetFromJsonDictionary ( local data)
- 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...
 
unsigned int getReferenceCount () const
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)

Protected Attributes

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

Additional Inherited Members

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

Member Function Documentation

virtual cocos2d::gui::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::gui::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: