PLCnext API Documentation 23.6.0.37
SeekOrigin.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Commons { namespace Io
11{
12
19enum class SeekOrigin
20{
22 None = 0,
26 Begin = 1,
30 Current = 2,
34 End = 3
35};
36
38// global stream operators of enum SeekOrigin for logging and parsing
39ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, SeekOrigin value);
40ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, SeekOrigin& value);
41
42}}}} // end of namespace Arp::System::Commons::Io
@ System
System components used by the System, Device, Plc or Io domains.
SeekOrigin
Provides seek reference points. To seek to the end of a stream, call stream.Seek(0,...
Definition: SeekOrigin.hpp:20
@ Begin
Specifies the beginning of a stream.
@ Current
Specifies the current position of a stream.
@ End
Specifies the end of a stream.
Root namespace for the PLCnext API