Path Tracer
|
Default IO implementation, use standard IO operations. More...
#include <DefaultIOStream.h>
Public Member Functions | |
~DefaultIOStream () | |
size_t | Read (void *pvBuffer, size_t pSize, size_t pCount) |
Read from stream. | |
size_t | Write (const void *pvBuffer, size_t pSize, size_t pCount) |
Write to stream. | |
aiReturn | Seek (size_t pOffset, aiOrigin pOrigin) |
Seek specific position. | |
size_t | Tell () const |
Get current seek position. | |
size_t | FileSize () const |
Get size of file. | |
void | Flush () |
Flush file contents. | |
![]() | |
virtual | ~IOStream () |
Destructor. Deleting the object closes the underlying file, alternatively you may use IOSystem::Close() to release the file. | |
Protected Member Functions | |
DefaultIOStream (FILE *pFile, const std::string &strFilename) | |
![]() | |
IOStream () AI_NO_EXCEPT | |
class IOStream More... | |
Friends | |
class | DefaultIOSystem |
Default IO implementation, use standard IO operations.
Assimp::DefaultIOStream::~DefaultIOStream | ( | ) |
Destructor public to allow simple deletion to close the file.