|
| | FileStream (const std::string &name, PHYSFS_File *fileHandle, bool writeable) |
| |
| | FileStream (const std::string &name, const std::string &buffer) |
| |
| | ~FileStream () |
| |
| void | cache () |
| |
| void | close () |
| |
| void | flush () |
| |
| void | write (const void *buffer, uint count) |
| |
| int | read (void *buffer, uint size, uint nmemb=1) |
| |
| void | seek (uint pos) |
| |
| void | skip (uint len) |
| |
| uint | size () |
| |
| uint | tell () |
| |
| bool | eof () |
| |
| std::string | name () |
| |
| uint8 | getU8 () |
| |
| uint16 | getU16 () |
| |
| uint32 | getU32 () |
| |
| uint64 | getU64 () |
| |
| int8 | get8 () |
| |
| int16 | get16 () |
| |
| int32 | get32 () |
| |
| int64 | get64 () |
| |
| std::string | getString () |
| |
| BinaryTreePtr | getBinaryTree () |
| |
| void | startNode (uint8 n) |
| |
| void | endNode () |
| |
| void | addU8 (uint8 v) |
| |
| void | addU16 (uint16 v) |
| |
| void | addU32 (uint32 v) |
| |
| void | addU64 (uint64 v) |
| |
| void | add8 (int8 v) |
| |
| void | add16 (int16 v) |
| |
| void | add32 (int32 v) |
| |
| void | add64 (int64 v) |
| |
| void | addString (const std::string &v) |
| |
| void | addPos (uint16 x, uint16 y, uint8 z) |
| |
| void | addPoint (const Point &p) |
| |
| FileStreamPtr | asFileStream () |
| |
| | LuaObject () |
| |
| virtual | ~LuaObject () |
| |
| template<typename T > |
| void | connectLuaField (const std::string &field, const std::function< T > &f, bool pushFront=false) |
| |
| template<typename... T> |
| int | luaCallLuaField (const std::string &field, const T &... args) |
| |
| template<typename R , typename... T> |
| R | callLuaField (const std::string &field, const T &... args) |
| |
| template<typename... T> |
| void | callLuaField (const std::string &field, const T &... args) |
| |
| bool | hasLuaField (const std::string &field) |
| | Returns true if the lua field exists. More...
|
| |
| template<typename T > |
| void | setLuaField (const std::string &key, const T &value) |
| | Sets a field in this lua object. More...
|
| |
| template<typename T > |
| T | getLuaField (const std::string &key) |
| | Gets a field from this lua object. More...
|
| |
| void | releaseLuaFieldsTable () |
| | Release fields table reference. More...
|
| |
| void | luaSetField (const std::string &key) |
| | Sets a field from this lua object, the value must be on the stack. More...
|
| |
| void | luaGetField (const std::string &key) |
| | Gets a field from this lua object, the result is pushed onto the stack. More...
|
| |
| void | luaGetMetatable () |
| | Get object's metatable. More...
|
| |
| void | luaGetFieldsTable () |
| | Gets the table containing all stored fields of this lua object, the result is pushed onto the stack. More...
|
| |
| int | getUseCount () |
| |
| std::string | getClassName () |
| | Returns the derived class name, its the same name used in Lua. More...
|
| |
| LuaObjectPtr | asLuaObject () |
| |
| void | operator= (const LuaObject &) |
| |
| | shared_object () |
| |
| virtual | ~shared_object () |
| |
| void | add_ref () |
| |
| void | dec_ref () |
| |
| refcount_t | ref_count () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | static_self_cast () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | dynamic_self_cast () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | const_self_cast () |
| |
Definition at line 34 of file filestream.h.