8#include "Arp/Base/Core/Enum.hxx"
56 return static_cast<Traits>(
static_cast<int32>(lhs) |
static_cast<int32>(rhs));
61 return static_cast<Traits>(
static_cast<int32>(lhs) &
static_cast<int32>(rhs));
66 return (lhs =
static_cast<Traits>(
static_cast<int32>(lhs) |
static_cast<int32>(rhs)));
71 return (lhs =
static_cast<Traits>(
static_cast<int32>(lhs) &
static_cast<int32>(rhs)));
76 return static_cast<Traits>(~static_cast<int32>(arg));
81ARP_EXPORT std::ostream& operator<<(std::ostream& os,
Traits value);
82ARP_EXPORT std::istream& operator>>(std::istream& is,
Traits& value);
88template<>
struct fmt::formatter<
Arp::System::Commons::Services::Io::Traits> :
public fmt::ostream_formatter {};
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
Namespace for services to access the filesystem
Permissions
Provides attributes for files and directories.
Definition: Permissions.hpp:19
Traits
This enum is used by several file services to specify the file traits to get or set,...
Definition: Traits.hpp:19
@ Crc32
Specifies the CRC32 value of the file as System.Int32.
@ TotalPermissions
Specifies the file permissions mask as Arp.System.Commons.Services.Io.Permissions mask....
@ Length
Specifies the size of the file in bytes as System.Int64.
@ LastWriteTime
Specifies the time of last write access or last modified time, respectively as System....
Root namespace for the PLCnext API