An abstract base class, TStream provides links between streams and documents, views, and document files.
More...
#include <owl/docview.h>
|
| TDocument & | GetDocument () |
| | Returns the current document that is open for streaming.
|
| | ~TStream () |
| | Closes the stream.
|
| int | GetOpenMode () |
| | Gets mode flags used when opening document streams.
|
| LPCTSTR | GetStreamName () |
| | Gets the name of the stream used for opening the document.
|
An abstract base class, TStream provides links between streams and documents, views, and document files.
Definition at line 568 of file docview.h.
◆ ~TStream()
| owl::TStream::~TStream |
( |
| ) |
|
|
inline |
◆ TStream()
| owl::TStream::TStream |
( |
TDocument & | doc, |
|
|
LPCTSTR | name, |
|
|
int | mode ) |
|
inlineprotected |
◆ GetDocument()
Returns the current document that is open for streaming.
Definition at line 1207 of file docview.h.
References Doc, and TDocument.
◆ GetOpenMode()
| int owl::TStream::GetOpenMode |
( |
| ) |
|
|
inline |
Gets mode flags used when opening document streams.
For example, the stream can be opened in ofRead mode to allow reading, but not changing (writing to) the file.
Definition at line 1245 of file docview.h.
◆ GetStreamName()
| LPCTSTR owl::TStream::GetStreamName |
( |
| ) |
|
|
inline |
Gets the name of the stream used for opening the document.
Definition at line 1236 of file docview.h.
◆ TDocument
◆ Doc
Stores the document that owns this stream.
Definition at line 576 of file docview.h.
◆ NextStream
Points to the next stream in the list of active streams.
Definition at line 577 of file docview.h.
The documentation for this class was generated from the following file: