Class that provides access to the stream file.
More...
#include <StreamIndexedIO.h>
|
typedef tbb::recursive_mutex | Mutex |
|
typedef Mutex::scoped_lock | MutexLock |
|
typedef size_t | RefCount |
|
|
void | seekg (size_t pos, std::ios_base::seekdir dir) |
|
void | seekp (size_t pos, std::ios_base::seekdir dir) |
|
void | read (char *buffer, size_t size) |
|
void | write (const char *buffer, size_t size) |
|
Imf::Int64 | tellg () |
|
Imf::Int64 | tellp () |
|
IndexedIO::OpenMode | openMode () const |
|
Mutex & | mutex () |
|
char * | ioBuffer (unsigned long size) |
|
virtual void | flush (size_t endPosition) |
| called after the main index is saved to disk, ready to close the file.
|
|
| IE_CORE_DECLAREMEMBERPTR (RefCounted) |
|
void | addRef () const |
| Add a reference to the current object.
|
|
void | removeRef () const |
| Remove a reference from the current object.
|
|
RefCount | refCount () const |
| Returns the current reference count.
|
|
|
static bool | canRead (std::iostream &stream) |
|
|
| StreamFile (IndexedIO::OpenMode mode) |
|
void | setStream (std::iostream *stream, bool emptyFile) |
| called once after construction. Assigns a stream and tells if the stream is empty.
|
|
|
IndexedIO::OpenMode | m_openmode |
|
std::iostream * | m_stream |
|
Mutex | m_mutex |
|
unsigned long | m_ioBufferLen |
|
char * | m_ioBuffer |
|
Class that provides access to the stream file.
The documentation for this class was generated from the following file: