Logo Search packages:      
Sourcecode: scummvm version File versions

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

Indicates whether the object referred by this node can be written to or not.

If the node refers to a directory, writability implies being able to modify the directory entry (i.e. rename the directory, remove it or write files inside of it).

If the node refers to a file, writability implies being able to write data to the file.

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

Definition at line 131 of file fs.cpp.

                              {
      if (_realNode == 0)
            return false;

      return _realNode->isWritable();
}


Generated by  Doxygen 1.6.0   Back to index