This is the documentation for Enlighten.
class Geo IGeoStream
class Geo::IGeoStream
An IGeoStream allows you to read/write memory/files in a consistent manner, and is an extension point for users wishing to control where data is stored.
The simplest implementation is
See Also
GeoFileStream which stores/loads content from a file.
Functions
Name | Description |
|---|---|
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. | |
Provide information about the typed data written to the stream. | |
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) | |
Tests if the stream is valid. | |
Tests if the stream is valid. | |
Read a collection of objects, returning true on success. | |
Read a fixed size array. | |
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. | |
Read a single object, returning true on success. | |
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) | |
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 fixed size array. | |
Write a single object, returning true on success. |
Enums
Name | Description |
|---|---|
An IGeoStream is open in either esmRead or esmWrite mode. |
virtual Geo::IGeoInputStream::~IGeoInputStream
public: virtual ~IGeoInputStream()
Deleting a stream should behave like a close operation.