![]() |
nomlib
|
Filesystem interfacing bridge between libRocket and nomlib. More...
#include <RocketFileInterface.hpp>
Public Member Functions | |
| RocketFileInterface (const std::string &root) | |
| virtual void | Release () |
| Implements Rocket::Core::FileInterface::Release. | |
| virtual Rocket::Core::FileHandle | Open (const Rocket::Core::String &path) |
| Opens a file. | |
| virtual void | Close (Rocket::Core::FileHandle file) |
| Closes a previously opened file. | |
| virtual nom::size_type | Read (void *buffer, nom::size_type size, Rocket::Core::FileHandle file) |
| Reads data from a previously opened file. | |
| virtual bool | Seek (Rocket::Core::FileHandle file, long offset, int origin) |
| Seeks to a point in a previously opened file. | |
| virtual nom::size_type | Tell (Rocket::Core::FileHandle file) |
| Returns the current position of the file pointer. | |
| std::string | root () const |
| Get the root directory path. | |
Private Attributes | |
| Rocket::Core::String | root_ |
Filesystem interfacing bridge between libRocket and nomlib.
Rocket file interface for the shell examples.
Definition at line 69 of file RocketFileInterface.hpp.
|
virtual |
Implements Rocket::Core::FileInterface::Release.
| std::string nom::RocketFileInterface::root | ( | ) | const |
Get the root directory path.
|
private |
Definition at line 103 of file RocketFileInterface.hpp.