#4170: Poco::FileStream is always opened with std::ios::in | std::ios::out

This commit is contained in:
Günter Obiltschnig
2023-09-30 12:26:11 +02:00
parent 1db6fb9a2e
commit 4244c3251f
2 changed files with 21 additions and 6 deletions

View File

@@ -60,6 +60,14 @@ public:
/// does not exist or is not accessible for other reasons and
/// a new file cannot be created.
void open(const std::string& path);
/// Opens the file specified by path, using the default mode given
/// in the constructor.
///
/// Throws a FileException (or a similar exception) if the file
/// does not exist or is not accessible for other reasons and
/// a new file cannot be created.
void close();
/// Closes the file stream.
///