This is the documentation for Enlighten.
class Geo IGeoInputStream
class Geo::IGeoInputStream
An IGeoInputStream allows you to read 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. | |
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) | |
Tests if the stream is valid. | |
Read a single object, returning true on success. | |
Read data (prototype matches fread). Prefer to use the templated Read methods. | |
Read a collection of objects, returning true on success. | |
Read a fixed size array. | |
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) |
virtual Geo::IGeoInputStream::~IGeoInputStream
public: virtual ~IGeoInputStream()
Deleting a stream should behave like a close operation.
virtual Geo::u64 Geo::IGeoInputStream::GetPosition
public: Geo::u64 GetPosition() const
Return the position of the read/write pointer within the stream (prototype matches ftell)
virtual bool Geo::IGeoInputStream::IsEof
public: bool IsEof() const
Is the read pointer at the end of the file (as with feof, only returns true if you have read past end)
virtual bool Geo::IGeoInputStream::IsOk
public: bool IsOk() const
Tests if the stream is valid.