28 #ifndef _OSRTINPUTSTREAM_H_ 29 #define _OSRTINPUTSTREAM_H_ 31 #include "rtxsrc/OSRTInputStreamIF.h" 53 EXTRTMETHOD OSRTInputStream
54 (
OSRTContext* mpContext, OSBOOL attachStream = FALSE);
59 virtual EXTRTMETHOD ~OSRTInputStream ();
71 virtual EXTRTMETHOD
int close ();
78 virtual EXTRTMETHOD
size_t currentPos ();
88 virtual EXTRTMETHOD
int flush ();
97 virtual OSBOOL
isA (StreamID
id)
const {
164 virtual int getPosition (
size_t* ppos);
185 virtual EXTRTMETHOD OSBOOL
isOpened ();
196 virtual EXTRTMETHOD OSBOOL markSupported ();
213 virtual EXTRTMETHOD
int mark (
size_t readAheadLimit);
236 virtual EXTRTMETHOD
long read (OSOCTET* pDestBuf,
size_t maxToRead);
247 virtual EXTRTMETHOD
long readBlocking
248 (OSOCTET* pDestBuf,
size_t toReadBytes);
259 virtual EXTRTMETHOD
int reset ();
271 virtual int setPosition (
size_t pos);
283 virtual EXTRTMETHOD
int skip (
size_t n);
Definition: OSRTStream.h:44
virtual EXTRTMETHOD int close()
void resetErrorInfo()
Definition: OSRTStream.h:180
virtual char * getErrorInfo()
Definition: OSRTStream.h:122
int getStatus() const
Definition: OSRTStream.h:155
void printErrorInfo()
Definition: OSRTStream.h:172
virtual EXTRTMETHOD int flush()
Definition: OSRTContext.h:310
Definition: OSRTContext.h:64
virtual EXTRTMETHOD OSBOOL isOpened()
Definition: rtxContext.h:189
virtual OSCTXT * getCtxtPtr()
Definition: OSRTStream.h:111
virtual OSRTCtxtPtr getContext()
Definition: OSRTStream.h:101