Gosu
|
Contains everything related to input and output. More...
Go to the source code of this file.
Classes | |
class | Gosu::Reader |
Utility class that points to a specific position in a resource and offers an interface for sequential reading. More... | |
class | Gosu::Writer |
Utility class that points to a specific position in a resource and offers an interface for sequential writing. More... | |
class | Gosu::Resource |
Base class for resources. More... | |
class | Gosu::Buffer |
Piece of memory with the Resource interface. More... | |
class | Gosu::File |
File with the Resource interface. More... | |
Namespaces | |
Gosu | |
Enumerations | |
enum | Gosu::ByteOrder { Gosu::BO_LITTLE, Gosu::BO_BIG, Gosu::BO_DONT_CARE } |
enum | Gosu::FileMode { Gosu::FM_READ, Gosu::FM_REPLACE, Gosu::FM_ALTER } |
Functions | |
void | Gosu::load_file (Buffer &buffer, const std::string &filename) |
Loads a whole file into a buffer. More... | |
void | Gosu::save_file (const Buffer &buffer, const std::string &filename) |
Creates or overwrites a file with the contents of a buffer. More... | |
Variables | |
const ByteOrder | Gosu::BO_NATIVE = BO_LITTLE |
const ByteOrder | Gosu::BO_OTHER = BO_BIG |
Contains everything related to input and output.
Definition in file IO.hpp.