Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
ResourceIOStream Class Reference
+ Inheritance diagram for ResourceIOStream:
+ Collaboration diagram for ResourceIOStream:

Public Member Functions

 ResourceIOStream (const char *pFile, const char *pMode)
 
size_t Read (void *pvBuffer, size_t pSize, size_t pCount) override
 
size_t Write (const void *pvBuffer, size_t pSize, size_t pCount) override
 
aiReturn Seek (size_t pOffset, aiOrigin pOrigin) override
 
size_t Tell () const override
 
size_t FileSize () const override
 
void Flush () override
 

Detailed Description

Definition at line 165 of file assimpimporter_rt.cpp.

Constructor & Destructor Documentation

◆ ResourceIOStream()

ResourceIOStream::ResourceIOStream ( const char * pFile,
const char * pMode )

Definition at line 182 of file assimpimporter_rt.cpp.

References QIODeviceBase::NotOpen, QFile::open(), QByteArray(), QIODeviceBase::ReadOnly, QIODeviceBase::Text, and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

Member Function Documentation

◆ FileSize()

size_t ResourceIOStream::FileSize ( ) const
override

Definition at line 240 of file assimpimporter_rt.cpp.

References QFile::size().

+ Here is the call graph for this function:

◆ Flush()

void ResourceIOStream::Flush ( )
override

Definition at line 245 of file assimpimporter_rt.cpp.

◆ Read()

size_t ResourceIOStream::Read ( void * pvBuffer,
size_t pSize,
size_t pCount )
override

Definition at line 195 of file assimpimporter_rt.cpp.

References QIODevice::read(), read(), and ret.

+ Here is the call graph for this function:

◆ Seek()

aiReturn ResourceIOStream::Seek ( size_t pOffset,
aiOrigin pOrigin )
override

Definition at line 217 of file assimpimporter_rt.cpp.

References QFileDevice::pos(), QFileDevice::seek(), and QFile::size().

+ Here is the call graph for this function:

◆ Tell()

size_t ResourceIOStream::Tell ( ) const
override

Definition at line 235 of file assimpimporter_rt.cpp.

References QFileDevice::pos().

+ Here is the call graph for this function:

◆ Write()

size_t ResourceIOStream::Write ( const void * pvBuffer,
size_t pSize,
size_t pCount )
override

Definition at line 208 of file assimpimporter_rt.cpp.

References Q_UNIMPLEMENTED, and Q_UNUSED.


The documentation for this class was generated from the following file: