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

Common::String Common::FSNode::getName (  )  const [virtual]

Return a string representation of the name of the file. This can be used e.g. by detection code that relies on matching the name of a given file. But it is *not* suitable for use with fopen / File::open, nor should it be archived.

Returns:
the file name

Implements Common::ArchiveMember.

Definition at line 96 of file fs.cpp.

Referenced by createReadStream(), createWriteStream(), and DefaultSaveFileManager::removeSavefile().

                                   {
      assert(_realNode);
      return _realNode->getName();
}


Generated by  Doxygen 1.6.0   Back to index