eckit::FileMode class

Public static functions

static auto fromPath(const PathName& path) -> FileMode

Constructors, destructors, conversion operators

FileMode(mode_t m = 0)
FileMode(const std::string& s)

Public functions

auto operator=(const std::string& s) -> FileMode&
auto operator=(mode_t m) -> FileMode&
auto operator==(const FileMode& other) const -> bool
auto mode() const -> mode_t
auto str() const -> std::string
auto mask(const FileMode& target = FileMode(0666)) const -> mode_t

Friends

auto operator<<(std::ostream& os, const FileMode& mode) -> std::ostream&