A descriptor to a Win32 file.
class win32_file
Name |
Description |
---|---|
Close the file if it is open. |
|
Create a new file. |
|
Remove a file from the file system. |
|
Returns true if the file is open. |
|
Open a file. |
|
Move assignment. |
|
Read data from a location in the file. |
|
Return the size of the file. |
|
Perform a low level file synchronization. |
|
Truncate the file at a specific size. |
|
Constructor. Copy constructor (disallowed) Move constructor. |
|
Write data to a location in the file. |
|
Destructor. |
This class provides a Win32 implementation of the File concept.
Header: nudb/win32_file.hpp