#include <Stream.h>
|
virtual | ~StreamBase () |
|
const fs::path & | getFileName () const |
| Returns the file name of the path from which a Stream originated when relevant. Empty string when undefined. More...
|
|
void | setFileName (const fs::path &aFileName) |
| Sets the file name of the path from which a Stream originated when relevant. Empty string when undefined. More...
|
|
bool | getDeleteOnDestroy () const |
| Returns whether the Stream has been requested to destroy its source upon its own destruction. For example, IStreamFile will delete its source file. Ignored in some types of streams. Defaults to false . More...
|
|
void | setDeleteOnDestroy (bool enable=true) |
| Sets whether the Stream has been requested to destroy its source upon its own destruction. For example, IStreamFile will delete its source file. Ignored in some types of streams. Defaults to false . More...
|
|
virtual off_t | tell () const =0 |
| Returns the current position of the stream measured in bytes **/. More...
|
|
virtual void | seekAbsolute (off_t absoluteOffset)=0 |
| Sets the current position of the stream to byte absoluteOffset. A negative offset is relative to the end of the file. More...
|
|
virtual void | seekRelative (off_t relativeOffset)=0 |
| Moves the current position of the stream by relativeOffset bytes. More...
|
|
Enumerator |
---|
STREAM_BIG_ENDIAN |
|
STREAM_LITTLE_ENDIAN |
|
virtual cinder::StreamBase::~StreamBase |
( |
| ) |
|
|
virtual |
cinder::StreamBase::StreamBase |
( |
| ) |
|
|
protected |
static uint8_t cinder::StreamBase::getNativeEndianness |
( |
| ) |
|
|
static |
const fs::path& cinder::StreamBase::getFileName |
( |
| ) |
const |
Returns the file name of the path from which a Stream originated when relevant. Empty string when undefined.
void cinder::StreamBase::setFileName |
( |
const fs::path & |
aFileName | ) |
|
Sets the file name of the path from which a Stream originated when relevant. Empty string when undefined.
bool cinder::StreamBase::getDeleteOnDestroy |
( |
| ) |
const |
Returns whether the Stream has been requested to destroy its source upon its own destruction. For example, IStreamFile will delete its source file. Ignored in some types of streams. Defaults to false
.
void cinder::StreamBase::setDeleteOnDestroy |
( |
bool |
enable = true | ) |
|
Sets whether the Stream has been requested to destroy its source upon its own destruction. For example, IStreamFile will delete its source file. Ignored in some types of streams. Defaults to false
.
virtual off_t cinder::StreamBase::tell |
( |
| ) |
const |
|
pure virtual |
virtual void cinder::StreamBase::seekAbsolute |
( |
off_t |
absoluteOffset | ) |
|
|
pure virtual |
virtual void cinder::StreamBase::seekRelative |
( |
off_t |
relativeOffset | ) |
|
|
pure virtual |
fs::path cinder::StreamBase::mFileName |
|
protected |
bool cinder::StreamBase::mDeleteOnDestroy |
|
protected |
The documentation for this class was generated from the following file: