8 #include "Arp/System/Rsc/Services/RscType.hpp"
10 namespace Arp {
namespace System {
namespace Rsc {
namespace Services
25 typedef std::shared_ptr<IRscWriteEnumerator> Ptr;
36 virtual void BeginWrite(
size_t size = UndefinedArrayLength) = 0;
56 static constexpr
size_t UndefinedArrayLength = std::numeric_limits<size_t>::max();
Interface for writing an array or an enumerator. For regular enumerators UndefinedArrayLength is used...
Definition: IRscWriteEnumerator.hxx:23
virtual void EndWrite(void)=0
Ends the enumerator. With an array enumerator all enumerator elements had to be written
virtual void BeginWrite(size_t size=UndefinedArrayLength)=0
Begins the operation to write the enumerator.
virtual RscArrayWriter WriteNext(size_t arraySize, RscType elementType)=0
Writes the next enumerator element if the element contains an array object.
virtual void WriteNext(const T ¤t)=0
Writes the next enumerator element.
IRscWriteEnumerator(void)=default
Constructs an IRscArrayWriteEnumerator instance.
virtual ~IRscWriteEnumerator(void)=default
Destructs this instance and frees all resources.
Helper class to read an array of primtive types from an RscVariant. This class uses the array informa...
Definition: RscArrayWriter.hpp:22
@ System
System components used by the System, Device, Plc or Io domains.
RscType
Datatypes supported by Rsc. Values are identical with CommonRemoting::RemotingMarshalType....
Definition: RscType.hpp:37
Root namespace for the PLCnext API