PLCnext API Documentation 25.0.2.69
FileAccess.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Commons { namespace Io
11{
12
17enum class FileAccess
18{
20 None = 0,
25 Read = 1,
30 Write = 2,
36 ReadWrite = 3
37};
38
40// global stream operators of enum FileAccess for logging and parsing
41ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, FileAccess value);
42ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, FileAccess& value);
43
44}}}} // end of namespace Arp::System::Commons::Io
45
46template<> struct fmt::formatter<Arp::System::Commons::Io::FileAccess>: public fmt::ostream_formatter {};
FileAccess
Contains constants for specifying the access you want for a file. You can have Read,...
Definition: FileAccess.hpp:18
@ Write
Specifies write access to the file. Data can be written to the file and the file pointer can be moved...
@ ReadWrite
Specifies read and write access to the file. Data can be written to the file and the file pointer can...
@ Read
Specifies read access to the file. Data can be read from the file and the file pointer can be moved....
Root namespace for the PLCnext API