Logo Search packages:      
Sourcecode: scummvm version File versions

bool Common::FSNode::exists ( void   )  const [virtual]

Indicates whether the object referred by this node exists in the filesystem or not.

bool true if the node exists, false otherwise.

Definition at line 57 of file fs.cpp.

Referenced by Common::SearchSet::addDirectory(), DefaultSaveFileManager::checkPath(), Common::FSDirectory::getMember(), Common::FSDirectory::hasFile(), Common::File::open(), and Common::FSDirectory::openFile().

      if (_realNode == 0)
            return false;

      return _realNode->exists();

Generated by  Doxygen 1.6.0   Back to index