Logo Search packages:      
Sourcecode: scummvm version File versions

bool Common::FSNode::isReadable (  )  const [virtual]

Indicates whether the object referred by this node can be read from or not.

If the node refers to a directory, readability implies being able to read and list the directory entries.

If the node refers to a file, readability implies being able to read the contents of the file.

Returns:
true if the object can be read, false otherwise.

Definition at line 124 of file fs.cpp.

                              {
      if (_realNode == 0)
            return false;

      return _realNode->isReadable();
}


Generated by  Doxygen 1.6.0   Back to index