8#include "Arp/System/Core/Enum.hxx"
10namespace Arp {
namespace System {
namespace Commons {
namespace Io
58ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os,
FileMode value);
59ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is,
FileMode& value);
@ System
System components used by the System, Device, Plc or Io domains.
FileMode
Contains constants for specifying how the OS should open a file.
Definition: FileMode.hpp:24
@ CreateNew
Creates a new file. An exception is raised if the file already exists.
@ OpenOrCreate
Opens the file for update, if it exists. Otherwise, creates a new file.
@ Append
Opens the file if it exists and seeks to the end. Otherwise, creates a new file.
@ Create
Creates a new file. If the file already exists, it is overwritten.
@ Truncate
Opens an existing file. Once opened, the file is truncated so that its size is zero bytes....
@ Open
Opens an existing file. An exception is raised if the file does not exist.
Root namespace for the PLCnext API