14LT_BEGIN_LIZARDTECH_NAMESPACE
192 virtual const char*
getID()
const =0;
206LT_END_LIZARDTECH_NAMESPACE
Support for the IO classes.
LTIOSeekDir
Stream seek directions.
lt_uint32 LT_STATUS
An integral status code.
unsigned char lt_uint8
unsigned 8-bit integer
unsigned int lt_uint32
unsigned 32-bit integer
long long int lt_int64
signed 64-bit integer
Abstract definition of a stream.
virtual LT_STATUS getLastError() const =0
Get status code of last error event.
virtual const char * getID() const =0
Get a URI describing the stream object.
virtual ~LTIOStreamInf()=0
virtual lt_uint32 read(lt_uint8 *pDest, lt_uint32 numBytes)=0
Retrieve the specified number of bytes from the data source and place them in pDest.
virtual char * readString(int delimiter='\0')
read a delimiter-terminated string
virtual lt_uint32 write(const lt_uint8 *pSrc, lt_uint32 numBytes)=0
Store the specified number of bytes in the data source.
virtual bool isEOF()=0
Test for end-of-stream.
virtual bool isOpen()=0
Test for stream openness.
virtual LT_STATUS seek(lt_int64 offset, LTIOSeekDir origin)=0
Moves the data access position to origin + offset.
virtual LTIOStreamInf * duplicate()=0
Clone the stream.
virtual lt_int64 tell()=0
Returns the current data access position as an offset from the start of the data.
virtual LT_STATUS open()=0
Opens the stream.
virtual LT_STATUS close()=0
Closes the stream.