| 117 | } |
| 118 | |
| 119 | void IndexedIO::writable(const IndexedIO::EntryID &name) const |
| 120 | { |
| 121 | if ( ( openMode() & (IndexedIO::Write | IndexedIO::Append) ) == 0) |
| 122 | { |
| 123 | throw PermissionDeniedIOException(name); |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | void IndexedIO::validateOpenMode(IndexedIO::OpenMode &mode) |
| 128 | { |