Initial QFileInputStream implementation

This commit is contained in:
Dan Paulat 2023-01-01 21:44:03 -06:00
parent 08965aa7f3
commit ad6eb61898
5 changed files with 218 additions and 5 deletions

View file

@ -29,7 +29,7 @@ public:
explicit QFileBuffer();
/**
* Constructs a new QFileBuffer object, then associated the object with a
* Constructs a new QFileBuffer object, then associates the object with a
* file by calling open(filename, mode). If the open call is successful,
* is_open() returns true.
*/
@ -43,6 +43,13 @@ public:
QFileBuffer(QFileBuffer&&) noexcept;
QFileBuffer& operator=(QFileBuffer&&) noexcept;
/**
* @brief Swaps two QFileBuffer objects
*
* Exchanges the contents of the QFile buffer with those of the other.
*/
void swap(QFileBuffer& other);
/**
* @brief Checks if the associated file is open
*