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

Stark::Formats::XRCReadStream Class Reference

A read stream with helper functions to read usual XRC data types. More...

#include <xrc.h>

Inheritance diagram for Stark::Formats::XRCReadStream:
Collaboration diagram for Stark::Formats::XRCReadStream:

List of all members.

Public Member Functions

 XRCReadStream (const Common::String &archiveName, Common::SeekableReadStream *parentStream, DisposeAfterUse::Flag disposeParentStream=DisposeAfterUse::YES)
virtual ~XRCReadStream ()
Common::String getArchiveName () const
 Obtain the file name of the archive containing the XRC tree.
Common::String readString ()
Resources::Type readResourceType ()
ResourceReference readResourceReference ()
Math::Vector3d readVector3 ()
Common::Rect readRect ()
Common::Point readPoint ()
bool readBool ()
bool isDataLeft ()

Private Attributes

Common::String _archiveName

Detailed Description

A read stream with helper functions to read usual XRC data types.

Definition at line 46 of file xrc.h.

Constructor & Destructor Documentation

Stark::Formats::XRCReadStream::XRCReadStream ( const Common::String archiveName,
Common::SeekableReadStream parentStream,
DisposeAfterUse::Flag  disposeParentStream = DisposeAfterUse::YES 

Definition at line 64 of file xrc.cpp.

Stark::Formats::XRCReadStream::~XRCReadStream (  )  [virtual]

Definition at line 70 of file xrc.cpp.

Member Function Documentation

Common::String Stark::Formats::XRCReadStream::getArchiveName (  )  const

Obtain the file name of the archive containing the XRC tree.

Definition at line 130 of file xrc.cpp.

bool Stark::Formats::XRCReadStream::isDataLeft (  ) 

Definition at line 126 of file xrc.cpp.

bool Stark::Formats::XRCReadStream::readBool (  ) 

Definition at line 121 of file xrc.cpp.

Common::Point Stark::Formats::XRCReadStream::readPoint (  ) 

Definition at line 114 of file xrc.cpp.

Common::Rect Stark::Formats::XRCReadStream::readRect (  ) 

Definition at line 105 of file xrc.cpp.

ResourceReference Stark::Formats::XRCReadStream::readResourceReference (  ) 

Definition at line 92 of file xrc.cpp.

Resources::Type Stark::Formats::XRCReadStream::readResourceType (  ) 

Definition at line 86 of file xrc.cpp.

Common::String Stark::Formats::XRCReadStream::readString (  ) 

Definition at line 73 of file xrc.cpp.

Math::Vector3d Stark::Formats::XRCReadStream::readVector3 (  ) 

Definition at line 99 of file xrc.cpp.

Member Data Documentation

Definition at line 64 of file xrc.h.

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

Generated on Sat Sep 19 2020 05:06:08 for ResidualVM by doxygen 1.7.1
curved edge   curved edge