Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class KLuaTable : public KList, public KLuaValue
- {
- public:
- KLuaTable(int ref) : KList("KLuaTable"), KLuaValue(ref), methods(this) {}
- virtual ~KLuaTable();
- virtual void Set(const char *name, KValueRef value);
- virtual KValueRef Get(const char *name);
- virtual bool Equals(KObjectRef other);
- virtual SharedStringList GetPropertyNames();
- virtual bool HasProperty(const char* name);
- unsigned int Size();
- void Append(KValueRef value);
- virtual void SetAt(unsigned int index, KValueRef value);
- bool Remove(unsigned int index);
- KValueRef At(unsigned int index);
- virtual SharedString DisplayString(int levels);
- friend class KLuaTableMethods;
- private:
- KLuaTableMethods methods;
- DISALLOW_EVIL_CONSTRUCTORS(KLuaTable);
- };
Add Comment
Please, Sign In to add comment