Custom implementation of Assimp::IOStream. More...
#include "pandaIOStream.h"
Public Member Functions | |
| PandaIOStream (std::istream &stream) | |
| size_t | FileSize () const |
| Returns the size of this file. More... | |
| void | Flush () |
| See fflush. More... | |
| size_t | Read (void *pvBuffer, size_t pSize, size_t pCount) |
| See fread. More... | |
| aiReturn | Seek (size_t pOffset, aiOrigin pOrigin) |
| See fseek. More... | |
| size_t | Tell () const |
| See ftell. More... | |
| size_t | Write (const void *buffer, size_t size, size_t count) |
| See fwrite. More... | |
Friends | |
| class | PandaIOSystem |
Custom implementation of Assimp::IOStream.
It simply wraps around an istream object, and is unable to write.
Definition at line 27 of file pandaIOStream.h.
| size_t PandaIOStream::FileSize | ( | ) | const |
Returns the size of this file.
Definition at line 29 of file pandaIOStream.cxx.
| void PandaIOStream::Flush | ( | void | ) |
See fflush.
Definition at line 41 of file pandaIOStream.cxx.
| size_t PandaIOStream::Read | ( | void * | pvBuffer, |
| size_t | pSize, | ||
| size_t | pCount | ||
| ) |
See fread.
Definition at line 49 of file pandaIOStream.cxx.
| aiReturn PandaIOStream::Seek | ( | size_t | pOffset, |
| aiOrigin | pOrigin | ||
| ) |
See fseek.
Definition at line 58 of file pandaIOStream.cxx.
| size_t PandaIOStream::Tell | ( | ) | const |
See ftell.
Definition at line 89 of file pandaIOStream.cxx.
| size_t PandaIOStream::Write | ( | const void * | buffer, |
| size_t | size, | ||
| size_t | count | ||
| ) |
See fwrite.
Definition at line 97 of file pandaIOStream.cxx.
1.8.15