Guest User

Untitled

a guest
Jul 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. class KLuaTable : public KList, public KLuaValue
  2. {
  3. public:
  4. KLuaTable(int ref) : KList("KLuaTable"), KLuaValue(ref), methods(this) {}
  5. virtual ~KLuaTable();
  6.  
  7. virtual void Set(const char *name, KValueRef value);
  8. virtual KValueRef Get(const char *name);
  9. virtual bool Equals(KObjectRef other);
  10. virtual SharedStringList GetPropertyNames();
  11. virtual bool HasProperty(const char* name);
  12.  
  13. unsigned int Size();
  14. void Append(KValueRef value);
  15. virtual void SetAt(unsigned int index, KValueRef value);
  16. bool Remove(unsigned int index);
  17. KValueRef At(unsigned int index);
  18.  
  19. virtual SharedString DisplayString(int levels);
  20.  
  21. friend class KLuaTableMethods;
  22.  
  23. private:
  24. KLuaTableMethods methods;
  25. DISALLOW_EVIL_CONSTRUCTORS(KLuaTable);
  26. };
Add Comment
Please, Sign In to add comment