cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCLuaValue Class Reference

Lua support for cocos2d-x. More...

#include <CCLuaValue.h>

Public Member Functions

 CCLuaValue (void)
 CCLuaValue (const CCLuaValue &rhs)
CCLuaValueoperator= (const CCLuaValue &rhs)
 ~CCLuaValue (void)
const CCLuaValueType getType (void) const
const std::string & getCCObjectTypename (void) const
int intValue (void) const
float floatValue (void) const
bool booleanValue (void) const
const std::string & stringValue (void) const
const CCLuaValueDictdictValue (void) const
const CCLuaValueArrayarrayValue (void) const
CCObjectccobjectValue (void) const

Static Public Member Functions

static const CCLuaValue intValue (const int intValue)
static const CCLuaValue floatValue (const float floatValue)
static const CCLuaValue booleanValue (const bool booleanValue)
static const CCLuaValue stringValue (const char *stringValue)
static const CCLuaValue stringValue (const std::string &stringValue)
static const CCLuaValue dictValue (const CCLuaValueDict &dictValue)
static const CCLuaValue arrayValue (const CCLuaValueArray &arrayValue)
static const CCLuaValue ccobjectValue (CCObject *ccobjectValue, const char *objectTypename)
static const CCLuaValue ccobjectValue (CCObject *ccobjectValue, const std::string &objectTypename)

Detailed Description

Lua support for cocos2d-x.

Constructor & Destructor Documentation

CCLuaValue ( void  )
inline
CCLuaValue ( const CCLuaValue rhs)
~CCLuaValue ( void  )

Member Function Documentation

static const CCLuaValue arrayValue ( const CCLuaValueArray arrayValue)
static
const CCLuaValueArray& arrayValue ( void  ) const
inline
static const CCLuaValue
booleanValue
( const bool  booleanValue)
static
bool booleanValue ( void  ) const
inline
static const CCLuaValue
ccobjectValue
( CCObject ccobjectValue,
const char *  objectTypename 
)
static
static const CCLuaValue
ccobjectValue
( CCObject ccobjectValue,
const std::string &  objectTypename 
)
static
CCObject* ccobjectValue ( void  ) const
inline
static const CCLuaValue dictValue ( const CCLuaValueDict dictValue)
static
const CCLuaValueDict& dictValue ( void  ) const
inline
static const CCLuaValue floatValue ( const float  floatValue)
static
float floatValue ( void  ) const
inline
const std::string&
getCCObjectTypename
( void  ) const
inline
const CCLuaValueType getType ( void  ) const
inline
static const CCLuaValue intValue ( const int  intValue)
static
int intValue ( void  ) const
inline
CCLuaValue& operator= ( const CCLuaValue rhs)
static const CCLuaValue stringValue ( const char *  stringValue)
static
static const CCLuaValue stringValue ( const std::string &  stringValue)
static
const std::string& stringValue ( void  ) const
inline

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