A specialized OutputStream for a ResourceStream.
More...
#include <CeresEngine/Resource/ResourceStream.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...
|
| |
◆ WrappedResourceOutputStream()
◆ flush()
| bool CeresEngine::WrappedResourceOutputStream::flush |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getDataStream() [1/2]
| const OutputStream & CeresEngine::WrappedResourceOutputStream::getDataStream |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDataStream() [2/2]
| OutputStream & CeresEngine::WrappedResourceOutputStream::getDataStream |
( |
| ) |
|
|
inlinenoexcept |
◆ isSeekable()
|
|
inlineoverridevirtualnoexcept |
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::WrappedResourceOutputStream::isSizeKnown |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
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::WrappedResourceOutputStream::isTellable |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
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.
◆ isWritable()
| bool CeresEngine::WrappedResourceOutputStream::isWritable |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ seek()
Changes the position of the data stream.
- Note
- This method is only callable if
isSeekable() returns true.
- Parameters
-
| position | The position to set the data stream to. |
| mode | The mode to change the data stream position. |
Reimplemented from CeresEngine::IStream.
◆ size()
| size_t CeresEngine::WrappedResourceOutputStream::size |
( |
| ) |
|
|
inlineoverridevirtual |
◆ tell()
| size_t CeresEngine::WrappedResourceOutputStream::tell |
( |
| ) |
|
|
inlineoverridevirtual |
◆ write()
◆ mStream
| OutputStream CeresEngine::WrappedResourceOutputStream::mStream |
|
private |
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Resource/ResourceStream.hpp