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

Common::SeekableSubReadStreamEndian Class Reference

This is a SeekableSubReadStream subclass which adds non-endian read methods whose endianness is set on the stream creation. More...

#include <substream.h>

Inheritance diagram for Common::SeekableSubReadStreamEndian:
Collaboration diagram for Common::SeekableSubReadStreamEndian:

List of all members.

Public Member Functions

 SeekableSubReadStreamEndian (SeekableReadStream *parentStream, uint32 begin, uint32 end, bool bigEndian, DisposeAfterUse::Flag disposeParentStream=DisposeAfterUse::NO)
virtual int32 pos () const
virtual int32 size () const
virtual bool seek (int32 offset, int whence=SEEK_SET)
void hexdump (int len, int bytesPerLine=16, int startOffset=0)
bool skip (uint32 offset)

Detailed Description

This is a SeekableSubReadStream subclass which adds non-endian read methods whose endianness is set on the stream creation.

Manipulating the parent stream directly /will/ mess up a substream.

See also:
SubReadStream

Definition at line 89 of file substream.h.


Constructor & Destructor Documentation

Common::SeekableSubReadStreamEndian::SeekableSubReadStreamEndian ( SeekableReadStream parentStream,
uint32  begin,
uint32  end,
bool  bigEndian,
DisposeAfterUse::Flag  disposeParentStream = DisposeAfterUse::NO 
) [inline]

Definition at line 91 of file substream.h.


Member Function Documentation

void Common::SeekableSubReadStreamEndian::hexdump ( int  len,
int  bytesPerLine = 16,
int  startOffset = 0 
) [inline]

Definition at line 101 of file substream.h.

virtual int32 Common::SeekableSubReadStreamEndian::pos (  )  const [inline, virtual]

Definition at line 97 of file substream.h.

virtual bool Common::SeekableSubReadStreamEndian::seek ( int32  offset,
int  whence = SEEK_SET 
) [inline, virtual]

Definition at line 100 of file substream.h.

virtual int32 Common::SeekableSubReadStreamEndian::size (  )  const [inline, virtual]

Definition at line 98 of file substream.h.

bool Common::SeekableSubReadStreamEndian::skip ( uint32  offset  )  [inline]

Definition at line 102 of file substream.h.


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


Generated on Sat Sep 19 2020 05:04:51 for ResidualVM by doxygen 1.7.1
curved edge   curved edge