Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

bool Agi::WagFileParser::endOfProperties ( const Common::SeekableReadStream stream ) const [protected]

Checks if we're at or past the end of the properties stored in the stream.

Parameters:
streamThe stream whose seeking position is to be checked.
Returns:
True if stream's seeking position is at or past the end of the properties, false otherwise.

Definition at line 221 of file wagparser.cpp.

References Common::SeekableReadStream::pos(), Common::SeekableReadStream::size(), and WINAGI_VERSION_LENGTH.

Referenced by parse().

                                                                                {
      return stream.pos() >= (stream.size() - WINAGI_VERSION_LENGTH);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index