NuDB Logo

PrevUpHomeNext

win32_file

A descriptor to a Win32 file.

class win32_file
Member Functions

Name

Description

close

Close the file if it is open.

create

Create a new file.

erase

Remove a file from the file system.

is_open

Returns true if the file is open.

open

Open a file.

operator=

Move assignment.

read

Read data from a location in the file.

size

Return the size of the file.

sync

Perform a low level file synchronization.

trunc

Truncate the file at a specific size.

win32_file

Constructor.

Copy constructor (disallowed)

Move constructor.

write

Write data to a location in the file.

~win32_file

Destructor.

This class provides a Win32 implementation of the File concept.

Requirements

Header: nudb/win32_file.hpp


PrevUpHomeNext