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

Common::String Common::FSNode::getPath (  )  const

Return a string representation of the file which is suitable for archiving (i.e. writing to the config file). This will usually be a 'path' (hence the name of the method), but can be anything that meets the above criterions. What a 'path' is differs greatly from system to system anyway.

Note:
Do not assume that this string contains (back)slashes or any other kind of 'path separators'.
Returns:
the 'path' represented by this filesystem node

Definition at line 113 of file fs.cpp.

Referenced by Common::SearchSet::addSubDirectoriesMatching(), DefaultSaveFileManager::checkPath(), Common::File::open(), Agi::WagFileParser::parse(), and DefaultSaveFileManager::removeSavefile().

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


Generated by  Doxygen 1.6.0   Back to index