Stream insertion operators

Synopses

Declared in <bdls_filepermissions.h>

Write the octal numeric representation of the specified permission bit mask value to the specified output stream in a single‐line format, and return a reference to stream. The value is written in octal notation without the customary leading 0 prefix (for example, the mask 0640 is written as 640). Note that this method has the same behavior as ` bdls::FilePermissions::print(stream, value, 0, ‐1); `

std::ostream&
operator<<(
    std::ostream& stream,
    FilePermissions::Enum value);

Output the specified value to the specified stream, in human‐readable form. If value is not a valid Whence value, report that it is invalid and output it as an integer.

std::ostream&
operator<<(
    std::ostream& stream,
    FilesystemUtil::Whence value);

Output the specified value to the specified stream, in human‐readable form. If value is not a valid ErrorType value, report that it is invalid and output it as an integer.

std::ostream&
operator<<(
    std::ostream& stream,
    FilesystemUtil::ErrorType value);

Output the specified value to the specified stream, in human‐readable form. If value is not a valid FileOpenPolicy value, report that it is invalid and output it as an integer.

std::ostream&
operator<<(
    std::ostream& stream,
    FilesystemUtil::FileOpenPolicy value);

Output the specified value to the specified stream, in human‐readable form. If value is not a valid FileIOPolicy value, report that it is invalid and output it as an integer.

std::ostream&
operator<<(
    std::ostream& stream,
    FilesystemUtil::FileIOPolicy value);

Output the specified value to the specified stream, in human‐readable form. If value is not a valid FileTruncatePolicy value, report that it is invalid and output it as an integer.

std::ostream&
operator<<(
    std::ostream& stream,
    FilesystemUtil::FileTruncatePolicy value);

Created with MrDocs