|
Public Types |
| enum | ValueType {
T_BOOLEAN,
T_INT32,
T_INT64,
T_DOUBLE,
T_UTF8STRING,
T_OBJECT,
T_TABLE,
T_FUNCTION,
T_ID_S,
T_ID_I,
T_VEC2F,
T_VEC3F,
T_VEC4F,
T_ROTATION,
T_COLOR3F,
T_COLOR4F,
T_USERDATA,
T_LIGHTUSERDATA,
T_UNDEFINED
} |
Public Member Functions |
| | Value () |
| | Value (double v) |
| | Value (int32_t v) |
| | Value (int64_t v) |
| | Value (const Id &v) |
| | Value (const UTF8String &s) |
| | Value (const char *s) |
| | Value (bool v) |
| | Value (IObject *obj) |
| | Value (Object *obj) |
| | Value (void *v) |
| | Value (const Value &v) |
| | Value (const Vec2f &v) |
| | Value (const Vec3f &v) |
| | Value (const Vec4f &v) |
| | Value (const Rotation &v) |
| | Value (const Color3f &v) |
| | Value (const Color4f &v) |
| virtual | ~Value () |
| | Value (int8_t v) |
| | Value (uint8_t v) |
| | Value (int16_t v) |
| | Value (uint16_t v) |
| | Value (uint32_t v) |
| | Value (uint64_t v) |
| | Value (float v) |
| | operator Object * () const |
| | operator bool () const |
| | operator int8_t () const |
| | operator uint8_t () const |
| | operator int16_t () const |
| | operator uint16_t () const |
| | operator int32_t () const |
| | operator uint32_t () const |
| | operator int64_t () const |
| | operator uint64_t () const |
| | operator float () const |
| | operator double () const |
| | operator UTF8String () const |
| | operator void * () const |
| | operator Id () const |
| | operator ResultType () const |
| | operator Vec2f () const |
| | operator Vec3f () const |
| | operator Vec4f () const |
| | operator Rotation () const |
| | operator Color3f () const |
| | operator Color4f () const |
| Value & | operator= (const Value &v) |
| bool | isNull () const |
| bool | isUndefined () const |
| bool | isBoolean () const |
| bool | isInt32 () const |
| bool | isInt64 () const |
| bool | isId () const |
| bool | isDouble () const |
| bool | isObject () const |
| bool | isLightUserData () const |
| bool | isUserData () const |
| bool | isString () const |
| bool | isTable () const |
| bool | isFunction () const |
| bool | isUTF8String () const |
| bool | isVec2f () const |
| bool | isVec3f () const |
| bool | isVec4f () const |
| bool | isRotation () const |
| bool | isColor3f () const |
| bool | isColor4f () const |
| virtual FUSION_CW_EXPORT uint32_t | getElementSize () const |
| virtual FUSION_CW_EXPORT uint32_t | getNum () const |
| virtual FUSION_CW_EXPORT void | setNum (uint32_t n) |
| virtual FUSION_CW_EXPORT ResultType | getProperty (const Id &id, Value &val) const |
| virtual FUSION_CW_EXPORT ResultType | setProperty (const Id &, const Value &) |
| virtual FUSION_CW_EXPORT ResultType | callProperty (const Id &id, Value &retval) const |
| virtual FUSION_CW_EXPORT ResultType | callProperty (const Id &id, Value &retval, const Value &val) const |
| virtual FUSION_CW_EXPORT ResultType | callProperty (const Id &id, Value &retval, Args &args, int32_t nargs) const |
| virtual FUSION_CW_EXPORT ResultType | callValue (Value &retval) const |
| virtual FUSION_CW_EXPORT ResultType | callValue (Value &retval, const Value &val) const |
| virtual FUSION_CW_EXPORT ResultType | callValue (Value &retval, Args &args, int32_t nargs) const |
| virtual void | setValue () |
| virtual void | setValue (double v) |
| virtual void | setValue (int32_t v) |
| virtual void | setValue (int64_t v) |
| virtual void | setValue (const Id &id) |
| virtual void | setValue (const UTF8String &s) |
| virtual void | setValue (const char *s) |
| virtual void | setValue (bool v) |
| virtual void | setValue (const IObject *obj) |
| virtual void | setValue (IObject *obj) |
| virtual void | setValue (const Object *obj) |
| virtual void | setValue (Object *obj) |
| virtual void | setValue (void *p) |
| virtual void | setValue (const Vec2f &v) |
| virtual void | setValue (const Vec3f &v) |
| virtual void | setValue (const Vec4f &v) |
| virtual void | setValue (const Rotation &v) |
| virtual void | setValue (const Color3f &v) |
| virtual void | setValue (const Color4f &v) |
| virtual FUSION_CW_EXPORT void | setValue (Args &args, int32_t i) |
| virtual void | setValue (const Value &v) |
| virtual FUSION_CW_EXPORT Id | getId () const |
| virtual FUSION_CW_EXPORT bool | getBoolean () const |
| virtual FUSION_CW_EXPORT double | getDouble () const |
| virtual FUSION_CW_EXPORT int32_t | getInt32 () const |
| virtual FUSION_CW_EXPORT int64_t | getInt64 () const |
| virtual FUSION_CW_EXPORT bool | getUTF8String (UTF8String &s) const |
| virtual FUSION_CW_EXPORT UTF8String | getUTF8String () const |
| virtual FUSION_CW_EXPORT void | getUTF8String (const char *&) |
| virtual FUSION_CW_EXPORT Object * | getObject () const |
| virtual FUSION_CW_EXPORT void * | getUserData () const |
| virtual FUSION_CW_EXPORT float * | getFloatV () |
| virtual const float * | getFloatV () const |
| virtual FUSION_CW_EXPORT int32_t * | getInt32V () |
| virtual const int32_t * | getInt32V () const |
| virtual FUSION_CW_EXPORT bool | getValue (bool &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (int32_t &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (float &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (double &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (UTF8String &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (Vec2f &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (Vec3f &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (Vec4f &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (Rotation &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (Color3f &v) const |
| virtual FUSION_CW_EXPORT bool | getValue (Color4f &v) const |
| ValueType | getType () const |
| void | setType (ValueType t) |
| lua_State * | getState () |
| int32_t | getRef () const |
Protected Member Functions |
| int32_t | _copyTable (int32_t t) |
| void | _clearTable (int32_t t) |
| void | _setTableProperty (int32_t t, const Id &id, const Value &val) |
| void | _getTableProperty (int32_t t, const Id &id, Value &val) const |
| uint32_t | _getTableSize (int32_t t) const |
| Value | _makeVector () const |
| void | _clearValue () |
Static Protected Member Functions |
| static void | _parseString (const char *str, Value &val) |
Friends |
| class | Args |