File mode wrapper. A class that gives access to file mode bits via its methods.
const mode_type type_maskA mask with file type bits set.
const mode_type perm_maskA mask with user, group and other bits set.
const mode_type mode_maskA mask with special, user, group and other bits set.
operator!=(const mode_type & rhs) const -> boolComparison.
operator==(const mode_type & rhs) const -> boolComparison.
operator!=(const file_mode & rhs) const -> boolComparison.
operator==(const file_mode & rhs) const -> boolComparison.
other() const -> mode_typeGet other bits.
group() const -> mode_typeGet group bits.
user() const -> mode_typeGet user bits.
special() const -> mode_typeGet special bits.
mode(mode_type mask) const -> mode_type
Set file mode bits described by mask mask.
mode() const -> mode_typeGet file mode.
operator=(mode_type rhs) -> file_mode &Assignment.
operator=(const file_mode &) -> file_mode &Assignment.
operator mode_type() const
Automatically cast to mode_t system type.
operator mode_type &()
Automatically cast to mode_t system type.
file_mode(const file_mode & rhs)Copy-constructor.
file_mode(mode_type rhs)
Construct file mode from mode_t system type.
~file_mode()file_mode()Print file mode bits in symbolic form. The format is similar to ls(1) command, but special bits are encoded by individual characters.