ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <stdiostream.h>

Inheritance diagram for StdioStream:
Collaboration diagram for StdioStream:

List of all members.

Public Member Functions

 StdioStream (void *handle)
virtual ~StdioStream ()
virtual bool err () const
virtual void clearErr ()
virtual bool eos () const
virtual uint32 write (const void *dataPtr, uint32 dataSize)
virtual bool flush ()
virtual int32 pos () const
virtual int32 size () const
virtual bool seek (int32 offs, int whence=SEEK_SET)
virtual uint32 read (void *dataPtr, uint32 dataSize)

Static Public Member Functions

static StdioStreammakeFromPath (const Common::String &path, bool writeMode)
 Given a path, invokes fopen on that path and wrap the result in a StdioStream instance.

Protected Attributes

void * _handle
 File handle to the actual file.

Detailed Description

Definition at line 31 of file stdiostream.h.


Constructor & Destructor Documentation

StdioStream::StdioStream ( void *  handle  ) 

Definition at line 30 of file stdiostream.cpp.

StdioStream::~StdioStream (  )  [virtual]

Definition at line 34 of file stdiostream.cpp.


Member Function Documentation

void StdioStream::clearErr (  )  [virtual]

Definition at line 42 of file stdiostream.cpp.

bool StdioStream::eos (  )  const [virtual]

Definition at line 46 of file stdiostream.cpp.

bool StdioStream::err (  )  const [virtual]

Definition at line 38 of file stdiostream.cpp.

bool StdioStream::flush (  )  [virtual]

Definition at line 75 of file stdiostream.cpp.

StdioStream * StdioStream::makeFromPath ( const Common::String path,
bool  writeMode 
) [static]

Given a path, invokes fopen on that path and wrap the result in a StdioStream instance.

Definition at line 79 of file stdiostream.cpp.

int32 StdioStream::pos (  )  const [virtual]

Definition at line 50 of file stdiostream.cpp.

uint32 StdioStream::read ( void *  dataPtr,
uint32  dataSize 
) [virtual]

Definition at line 67 of file stdiostream.cpp.

bool StdioStream::seek ( int32  offs,
int  whence = SEEK_SET 
) [virtual]

Definition at line 63 of file stdiostream.cpp.

int32 StdioStream::size (  )  const [virtual]

Definition at line 54 of file stdiostream.cpp.

uint32 StdioStream::write ( const void *  dataPtr,
uint32  dataSize 
) [virtual]

Definition at line 71 of file stdiostream.cpp.


Member Data Documentation

void* StdioStream::_handle [protected]

File handle to the actual file.

Definition at line 34 of file stdiostream.h.


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


Generated on Sat Mar 23 2019 05:05:58 for ResidualVM by doxygen 1.7.1
curved edge   curved edge