IO.hpp File Reference

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

namespace  Gosu
 The library's main namespace.
 

Enumerations

enum  Gosu::ByteOrder { Gosu::boLittle, Gosu::boBig, Gosu::boDontCare }
 
enum  Gosu::FileMode { Gosu::fmRead, Gosu::fmReplace, Gosu::fmAlter }
 

Functions

void Gosu::loadFile (Buffer &buffer, const std::wstring &filename)
 Loads a whole file into a buffer.
 
void Gosu::saveFile (const Buffer &buffer, const std::wstring &filename)
 Creates or overwrites a file with the contents of a buffer.
 

Variables

const ByteOrder Gosu::nativeByteOrder = boLittle
 
const ByteOrder Gosu::otherByteOrder = boBig
 

Detailed Description

Contains everything related to input and output.

Definition in file IO.hpp.