#include <Stream.h>
Inherits cinder::StreamBase.
Inherited by cinder::IoStream, cinder::IStreamFile, cinder::IStreamMem, and cinder::IStreamUrl.
Enumerator |
---|
STREAM_BIG_ENDIAN |
|
STREAM_LITTLE_ENDIAN |
|
virtual cinder::IStreamCinder::~IStreamCinder |
( |
| ) |
|
|
virtual |
cinder::IStreamCinder::IStreamCinder |
( |
| ) |
|
|
protected |
template<typename T >
void cinder::IStreamCinder::read |
( |
T * |
t | ) |
|
template<typename T >
void cinder::IStreamCinder::readEndian |
( |
T * |
t, |
|
|
uint8_t |
endian |
|
) |
| |
template<typename T >
void cinder::IStreamCinder::readBig |
( |
T * |
t | ) |
|
template<typename T >
void cinder::IStreamCinder::readLittle |
( |
T * |
t | ) |
|
void cinder::IStreamCinder::read |
( |
std::string * |
s | ) |
|
Reads characters until a null terminator.
void cinder::IStreamCinder::read |
( |
fs::path * |
p | ) |
|
void cinder::IStreamCinder::readFixedString |
( |
char * |
t, |
|
|
size_t |
maxSize, |
|
|
bool |
nullTerminate |
|
) |
| |
void cinder::IStreamCinder::readFixedString |
( |
std::string * |
t, |
|
|
size_t |
size |
|
) |
| |
std::string cinder::IStreamCinder::readLine |
( |
| ) |
|
void cinder::IStreamCinder::readData |
( |
void * |
dest, |
|
|
size_t |
size |
|
) |
| |
virtual size_t cinder::IStreamCinder::readDataAvailable |
( |
void * |
dest, |
|
|
size_t |
maxSize |
|
) |
| |
|
pure virtual |
virtual off_t cinder::IStreamCinder::size |
( |
| ) |
const |
|
pure virtual |
virtual bool cinder::IStreamCinder::isEof |
( |
| ) |
const |
|
pure virtual |
virtual void cinder::IStreamCinder::IORead |
( |
void * |
t, |
|
|
size_t |
size |
|
) |
| |
|
protectedpure virtual |
static uint8_t cinder::StreamBase::getNativeEndianness |
( |
| ) |
|
|
staticinherited |
const fs::path& cinder::StreamBase::getFileName |
( |
| ) |
const |
|
inherited |
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 | ) |
|
|
inherited |
Sets the file name of the path from which a Stream originated when relevant. Empty string when undefined.
bool cinder::StreamBase::getDeleteOnDestroy |
( |
| ) |
const |
|
inherited |
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 | ) |
|
|
inherited |
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 virtualinherited |
virtual void cinder::StreamBase::seekAbsolute |
( |
off_t |
absoluteOffset | ) |
|
|
pure virtualinherited |
virtual void cinder::StreamBase::seekRelative |
( |
off_t |
relativeOffset | ) |
|
|
pure virtualinherited |
const int cinder::IStreamCinder::MINIMUM_BUFFER_SIZE = 8 |
|
staticprotected |
fs::path cinder::StreamBase::mFileName |
|
protectedinherited |
bool cinder::StreamBase::mDeleteOnDestroy |
|
protectedinherited |
The documentation for this class was generated from the following files: