A base class for streams that allows reading from a PipeInputStream, all data written to the PipeOutputStream.
More...
#include <CeresEngine/Foundation/IO/Stream.Pipe.hpp>
|
| enum class | Seek { Start = SEEK_SET
, Current = SEEK_CUR
, End = SEEK_END
} |
| | An enumeration that describes how a data stream should be seeked. More...
|
| |
A base class for streams that allows reading from a PipeInputStream, all data written to the PipeOutputStream.
The stream pair must be opened with open().
◆ PipeStream() [1/3]
| CeresEngine::PipeStream::PipeStream |
( |
SPtr< State > |
state | ) |
|
|
explicitprivate |
Constructs a new stream with an existing state.
◆ PipeStream() [2/3]
◆ PipeStream() [3/3]
| CeresEngine::PipeStream::PipeStream |
( |
PipeStream && |
| ) |
|
|
noexcept |
◆ isSeekable()
|
|
inlinefinalvirtualnoexcept |
Checks if the stream is seekable.
If this method returns true, seek() is safe to be called on this stream.
Reimplemented from CeresEngine::IStream.
◆ isSizeKnown()
| bool CeresEngine::PipeStream::isSizeKnown |
( |
| ) |
const |
|
inlinefinalvirtualnoexcept |
Checks if the stream knows the size of the data.
If this method returns true, size() is safe to be called on this stream.
Reimplemented from CeresEngine::IStream.
◆ isTellable()
| bool CeresEngine::PipeStream::isTellable |
( |
| ) |
const |
|
inlinefinalvirtualnoexcept |
Checks if the stream knows it's current absolute position.
If this method returns true, tell() is safe to be called on this stream.
Reimplemented from CeresEngine::IStream.
◆ open()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ mState
| SPtr<State> CeresEngine::PipeStream::mState |
|
protected |
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Foundation/IO/Stream.Pipe.hpp