Template Function iox::cxx::operator<<(StreamType&, perms)

Function Documentation

template<typename StreamType>
StreamType &iox::cxx::operator<<(StreamType &stream, perms value) noexcept

The streaming operator for the perms enum. It handles the enum as if it was a bitset and always lists the values for owner, group, others, special bits.

Parameters:
  • stream[in] reference to the stream

  • value[in] the file permission

Returns:

the reference to the stream