This is the documentation for Enlighten.
class Geo GeoFileStream
class Geo::GeoFileStream
└>Geo::IGeoStream
└>Geo::IGeoInputStream
Simple IGeoStream implementation that saves/loads data from a file.
Enums
Name | Description |
|---|---|
The underlying stream format can be either binary or text. | |
An IGeoStream is open in either esmRead or esmWrite mode. |
Functions
Name | Description |
|---|---|
close current file, if any | |
Deleting a stream should behave like a close operation. | |
Deleting a stream should behave like a close operation. | |
Provide information about the typed data written to the stream. | |
close current file, if any | |
Provide information about the typed data written to the stream. | |
create with no attached file | |
Return the position of the read/write pointer within the stream (prototype matches ftell) | |
Return the position of the read/write pointer within the stream (prototype matches ftell) | |
Return the position of the read/write pointer within the stream (prototype matches ftell) | |
Is the read pointer at the end of the file (as with feof, only returns true if you have read past end) | |
Is the read/write pointer at the end of the file (as with feof, only returns true if you have read past end) | |
Is the read/write pointer at the end of the file (as with feof, only returns true if you have read past end) | |
Tests if the stream is valid. | |
Tests if the stream is valid. | |
Tests if the stream is valid. | |
close current file, if any, and open filename | |
Read a single object, returning true on success. | |
Read a fixed size array. | |
Read data (prototype matches fread). Prefer to use the templated Read methods. | |
Read a collection of objects, returning true on success. | |
Read data (prototype matches fread). Prefer to use the templated Read methods. | |
Read a single object, returning true on success. | |
Read a single object, returning true on success. | |
Reads the stream to its end and returns the data as a char array. | |
Reads the stream to its end and returns the data as a char array. | |
Set the position of the read/write pointer within the stream (prototype matches fseek) | |
Set the position of the read/write pointer within the stream (prototype matches fseek) | |
Set the position of the read/write pointer within the stream (prototype matches fseek) | |
Write a fixed size array. | |
Write a collection of objects, in range [begin, end) as STL-style classes support. | |
Write data (prototype matches fwrite). Prefer to use the templated Write methods. | |
Write a single object, returning true on success. | |
Write data (prototype matches fwrite). Prefer to use the templated Write methods. |