mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-14 21:07:12 +02:00
Update POCO library.
This commit is contained in:
18
vendor/POCO/Foundation/include/Poco/FileStream.h
vendored
18
vendor/POCO/Foundation/include/Poco/FileStream.h
vendored
@ -49,14 +49,14 @@ class Foundation_API FileIOS: public virtual std::ios
|
||||
public:
|
||||
FileIOS(std::ios::openmode defaultMode);
|
||||
/// Creates the basic stream.
|
||||
|
||||
|
||||
~FileIOS();
|
||||
/// Destroys the stream.
|
||||
|
||||
void open(const std::string& path, std::ios::openmode mode);
|
||||
/// Opens the file specified by path, using the given mode.
|
||||
///
|
||||
/// Throws a FileException (or a similar exception) if the file
|
||||
/// 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.
|
||||
|
||||
@ -90,7 +90,7 @@ class Foundation_API FileInputStream: public FileIOS, public std::istream
|
||||
public:
|
||||
FileInputStream();
|
||||
/// Creates an unopened FileInputStream.
|
||||
|
||||
|
||||
FileInputStream(const std::string& path, std::ios::openmode mode = std::ios::in);
|
||||
/// Creates the FileInputStream for the file given by path, using
|
||||
/// the given mode.
|
||||
@ -98,7 +98,7 @@ public:
|
||||
/// The std::ios::in flag is always set, regardless of the actual
|
||||
/// value specified for mode.
|
||||
///
|
||||
/// Throws a FileNotFoundException (or a similar exception) if the file
|
||||
/// Throws a FileNotFoundException (or a similar exception) if the file
|
||||
/// does not exist or is not accessible for other reasons.
|
||||
|
||||
~FileInputStream();
|
||||
@ -120,15 +120,15 @@ class Foundation_API FileOutputStream: public FileIOS, public std::ostream
|
||||
public:
|
||||
FileOutputStream();
|
||||
/// Creats an unopened FileOutputStream.
|
||||
|
||||
|
||||
FileOutputStream(const std::string& path, std::ios::openmode mode = std::ios::out | std::ios::trunc);
|
||||
/// Creates the FileOutputStream for the file given by path, using
|
||||
/// the given mode.
|
||||
///
|
||||
/// The std::ios::out is always set, regardless of the actual
|
||||
/// The std::ios::out is always set, regardless of the actual
|
||||
/// value specified for mode.
|
||||
///
|
||||
/// Throws a FileException (or a similar exception) if the file
|
||||
/// 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.
|
||||
|
||||
@ -147,7 +147,7 @@ class Foundation_API FileStream: public FileIOS, public std::iostream
|
||||
/// Use an InputLineEndingConverter or OutputLineEndingConverter
|
||||
/// if you require CR-LF translation.
|
||||
///
|
||||
/// A seek (seekg() or seekp()) operation will always set the
|
||||
/// A seek (seekg() or seekp()) operation will always set the
|
||||
/// read position and the write position simultaneously to the
|
||||
/// same value.
|
||||
///
|
||||
@ -156,7 +156,7 @@ class Foundation_API FileStream: public FileIOS, public std::iostream
|
||||
public:
|
||||
FileStream();
|
||||
/// Creats an unopened FileStream.
|
||||
|
||||
|
||||
FileStream(const std::string& path, std::ios::openmode mode = std::ios::out | std::ios::in);
|
||||
/// Creates the FileStream for the file given by path, using
|
||||
/// the given mode.
|
||||
|
Reference in New Issue
Block a user