File with the Resource interface.
More...
List of all members.
Public Member Functions |
| File (const std::wstring &filename, FileMode mode=fmRead) |
| ~File () |
std::size_t | size () const |
void | resize (std::size_t newSize) |
void | read (std::size_t offset, std::size_t length, void *destBuffer) const |
void | write (std::size_t offset, std::size_t length, const void *sourceBuffer) |
Detailed Description
File with the Resource interface.
Definition at line 236 of file IO.hpp.
Constructor & Destructor Documentation
Gosu::File::File |
( |
const std::wstring & |
filename, |
|
|
FileMode |
mode = fmRead |
|
) |
| [explicit] |
Member Function Documentation
void Gosu::File::read |
( |
std::size_t |
offset, |
|
|
std::size_t |
length, |
|
|
void * |
destBuffer |
|
) |
| const [virtual] |
void Gosu::File::resize |
( |
std::size_t |
newSize | ) |
[virtual] |
std::size_t Gosu::File::size |
( |
| ) |
const [virtual] |
void Gosu::File::write |
( |
std::size_t |
offset, |
|
|
std::size_t |
length, |
|
|
const void * |
sourceBuffer |
|
) |
| [virtual] |
The documentation for this class was generated from the following file: