28 #ifndef _OSRTOUTPUTSTREAM_H_ 29 #define _OSRTOUTPUTSTREAM_H_ 31 #include "rtxsrc/OSRTOutputStreamIF.h" 55 EXTRTMETHOD OSRTOutputStream
56 (
OSRTContext* mpContext, OSBOOL attachStream = FALSE);
61 virtual EXTRTMETHOD ~OSRTOutputStream ();
73 virtual EXTRTMETHOD
int close ();
83 virtual EXTRTMETHOD
int flush ();
159 virtual OSBOOL
isA (StreamID
id)
const {
160 return id == Unknown;
169 virtual EXTRTMETHOD OSBOOL
isOpened ();
194 virtual EXTRTMETHOD
long write (
const OSOCTET* pdata,
size_t size);
206 virtual EXTRTMETHOD
long write (
const char* pdata);
void printErrorInfo()
Definition: OSRTOutputStream.h:175
virtual int getStatus() const
Definition: OSRTOutputStream.h:148
Definition: OSRTStream.h:44
virtual EXTRTMETHOD int close()
void resetErrorInfo()
Definition: OSRTStream.h:180
virtual char * getErrorInfo()
Definition: OSRTOutputStream.h:115
virtual char * getErrorInfo()
Definition: OSRTStream.h:122
virtual OSCTXT * getCtxtPtr()
Definition: OSRTOutputStream.h:104
int getStatus() const
Definition: OSRTStream.h:155
void printErrorInfo()
Definition: OSRTStream.h:172
virtual EXTRTMETHOD int flush()
Definition: OSRTContext.h:310
void resetErrorInfo()
Definition: OSRTOutputStream.h:181
virtual OSRTCtxtPtr getContext()
Definition: OSRTOutputStream.h:94
virtual char * getErrorInfo(char *pBuf, size_t &bufSize)
Definition: OSRTOutputStream.h:135
Definition: OSRTContext.h:64
Definition: OSRTOutputStream.h:43
virtual OSBOOL isA(StreamID id) const
Definition: OSRTOutputStream.h:159
virtual EXTRTMETHOD OSBOOL isOpened()
Definition: rtxContext.h:198
virtual OSCTXT * getCtxtPtr()
Definition: OSRTStream.h:111
virtual OSRTCtxtPtr getContext()
Definition: OSRTStream.h:101