boost::corosio::file_base::flags

Bitmask flags for opening a file.

Synopsis

enum flags : unsigned int;

Description

Flags are combined with bitwise OR to specify the desired access mode and creation behavior.

Members

Name

Description

read_only

Open for reading only.

write_only

Open for writing only.

read_write

Open for reading and writing.

append

Append to the end of the file on each write.

create

Create the file if it does not exist.

exclusive

Fail if the file already exists (requires create).

truncate

Truncate the file to zero length on open.

sync_all_on_write

Synchronize data to disk on each write.

Non-Member Functions

Name

Description

::boost::corosio::operator&

Bitwise conjunction operator

::boost::corosio::operator&=

Bitwise conjunction assignment operator

::boost::corosio::operator|

Bitwise disjunction operator

::boost::corosio::operator|=

Bitwise disjunction assignment operator

Created with MrDocs