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

Common::SeekableReadStream * Ps2FilesystemNode::createReadStream (  )  [virtual]

Creates a SeekableReadStream instance corresponding to the file referred by this node. This assumes that the node actually refers to a readable file. If this is not the case, 0 is returned.

Returns:
pointer to the stream object, 0 in case of a failure

Implements AbstractFSNode.

Definition at line 504 of file ps2-fs.cpp.

References getPath().

                                                              {
      Common::SeekableReadStream *ss = PS2FileStream::makeFromPath(getPath().c_str(), false);
      return ss;
}


Generated by  Doxygen 1.6.0   Back to index