13 #ifndef LT_IO_CALLBACK_STREAM_H
14 #define LT_IO_CALLBACK_STREAM_H
19 #if defined(LT_COMPILER_MS)
20 #pragma warning(push,4)
86 virtual bool isOpen();
95 virtual lt_int64 tell();
97 virtual LTIOStreamInf* duplicate();
99 virtual const char* getID()
const;
117 #if defined(LT_COMPILER_MS)
121 #endif // LT_IO_CALLBACK_STREAM_H
LT_STATUS(* LTIOCallbackStream_Open)(void *)
typedef for callback stream open function
unsigned int lt_uint32
unsigned 32-bit integer
unsigned char lt_uint8
unsigned 8-bit integer
lt_uint32(* LTIOCallbackStream_Read)(void *, lt_uint8 *, lt_uint32)
typedef for callback stream read function
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
LT_STATUS(* LTIOCallbackStream_Close)(void *)
typedef for callback stream close function
lt_uint32(* LTIOCallbackStream_Write)(void *, const lt_uint8 *, lt_uint32)
typedef for callback stream write function
lt_uint32 LT_STATUS
An integral status code.
lt_uint8(* LTIOCallbackStream_IsOpen)(void *)
typedef for callback stream isOpen function
lt_int64(* LTIOCallbackStream_Tell)(void *)
typedef for callback stream tell function
Stream driven entirely by user-defined callbacks.
lt_uint8(* LTIOCallbackStream_IsEOF)(void *)
typedef for callback stream isEOF function
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
LTIOSeekDir
Stream seek directions.
LTIOStreamH(* LTIOCallbackStream_Duplicate)(void *)
typedef for callback stream duplicate function
Abstract definition of a stream.
LT_STATUS(* LTIOCallbackStream_Seek)(void *, lt_int64, LTIOSeekDir)
typedef for callback stream seek function