NuDB Logo

PrevUpHomeNext

posix_file

class posix_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.

posix_file

Constructor.

Copy constructor (disallowed)

Move constructor.

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.

write

Write data to a location in the file.

~posix_file

Destructor.

Requirements

Header: nudb/posix_file.hpp


PrevUpHomeNext