GraphicsAPI_2020C
Public Member Functions | Protected Member Functions | Friends | List of all members
Assimp::DefaultIOStream Class Reference

Default IO implementation, use standard IO operations. More...

#include <DefaultIOStream.h>

Inheritance diagram for Assimp::DefaultIOStream:
Inheritance graph
[legend]
Collaboration diagram for Assimp::DefaultIOStream:
Collaboration graph
[legend]

Public Member Functions

 ~DefaultIOStream ()
 Destructor public to allow simple deletion to close the file. More...
 
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.
 
- Public Member Functions inherited from Assimp::IOStream
virtual ~IOStream ()
 Destructor. More...
 

Protected Member Functions

 DefaultIOStream (FILE *pFile, const std::string &strFilename)
 
- Protected Member Functions inherited from Assimp::IOStream
 IOStream (void)
 Constructor protected, use IOSystem::Open() to create an instance. More...
 

Friends

class DefaultIOSystem
 

Detailed Description

Default IO implementation, use standard IO operations.

Note
An instance of this class can exist without a valid file handle attached to it. All calls fail, but the instance can nevertheless be used with no restrictions.

Constructor & Destructor Documentation

◆ ~DefaultIOStream()

Assimp::DefaultIOStream::~DefaultIOStream ( )

Destructor public to allow simple deletion to close the file.


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