Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
cqsp::asset::IOStream Class Reference

#include <modelloader.h>

Inheritance diagram for cqsp::asset::IOStream:

Public Member Functions

size_t Read (void *pvBuffer, size_t pSize, size_t pCount)
 
size_t Write (const void *pvBuffer, size_t pSize, size_t pCount)
 
aiReturn Seek (size_t pOffset, aiOrigin pOrigin)
 
size_t Tell () const
 
size_t FileSize () const
 
void Flush ()
 
void Close ()
 

Protected Member Functions

 IOStream (IVirtualFilePtr _ivfp)
 

Protected Attributes

IVirtualFilePtr ivfp
 

Friends

class IOSystem
 

Constructor & Destructor Documentation

◆ IOStream()

cqsp::asset::IOStream::IOStream ( IVirtualFilePtr  _ivfp)
inlineexplicitprotected

Member Function Documentation

◆ Close()

void cqsp::asset::IOStream::Close ( )

◆ FileSize()

size_t cqsp::asset::IOStream::FileSize ( ) const

◆ Flush()

void cqsp::asset::IOStream::Flush ( )

◆ Read()

size_t cqsp::asset::IOStream::Read ( void *  pvBuffer,
size_t  pSize,
size_t  pCount 
)

◆ Seek()

aiReturn cqsp::asset::IOStream::Seek ( size_t  pOffset,
aiOrigin  pOrigin 
)

Beginning of the file

◆ Tell()

size_t cqsp::asset::IOStream::Tell ( ) const

◆ Write()

size_t cqsp::asset::IOStream::Write ( const void *  pvBuffer,
size_t  pSize,
size_t  pCount 
)
inline

Friends And Related Function Documentation

◆ IOSystem

friend class IOSystem
friend

Member Data Documentation

◆ ivfp

IVirtualFilePtr cqsp::asset::IOStream::ivfp
protected

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