OSRTStreamIF Class Reference
[ASN.1 Stream Classes]
Inheritance diagram for OSRTStreamIF:
Public Member Functions | |
virtual int | close ()=0 |
Closes the input or output stream and releases any system resources associated with the stream. | |
virtual int | flush ()=0 |
Flushes the buffered data to the stream. | |
virtual OSBOOL | isOpened ()=0 |
Checks, is the stream opened or not. |
Detailed Description
Definition at line 41 of file OSRTStreamIF.h.
Member Function Documentation
virtual int OSRTStreamIF::close | ( | ) | [pure virtual] |
Closes the input or output stream and releases any system resources associated with the stream.
For output streams this function also flushes all internal buffers to the stream.
- Returns:
- Completion status of operation:
- 0 = success,
- negative return value is error.
- See also:
- rtxStreamClose
Implemented in OSRTInputStream, OSRTOutputStream, and OSRTStream.
virtual int OSRTStreamIF::flush | ( | ) | [pure virtual] |
Flushes the buffered data to the stream.
- Returns:
- Completion status of operation:
- 0 = success,
- negative return value is error.
- See also:
- rtxStreamFlush
Implemented in OSRTInputStream, OSRTOutputStream, and OSRTStream.
virtual OSBOOL OSRTStreamIF::isOpened | ( | ) | [pure virtual] |
Checks, is the stream opened or not.
- Returns:
- TRUE, if the stream is opened, FALSE otherwise.
- See also:
- rtxStreamIsOpened
Implemented in OSRTInputStream, OSRTOutputStream, and OSRTStream.
The documentation for this class was generated from the following file: