9 namespace Arp {
namespace System {
namespace Rsc {
namespace Services
23 typedef std::shared_ptr<IRscReadEnumerator> Ptr;
40 virtual bool ReadNext(T& current) = 0;
55 static constexpr
size_t UndefinedArrayLength = std::numeric_limits<size_t>::max();
virtual void EndRead(void)=0
Ends the operation to read the enumerator. All enumerator elements had to be already been read...
virtual bool ReadNext(T ¤t)=0
Reads the next enumerator element.
virtual ~IRscReadEnumerator(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: RscArrayReader.hpp:22
Interface for reading an array or an enumerator. For regular enumerators UndefinedArrayLength is used...
Definition: IRscReadEnumerator.hxx:20
Root namespace for the PLCnext API
IRscReadEnumerator(void)=default
Constructs an IRscArrayWriteEnumerator instance.
System components used by the System, Device, Plc or Io domains.
virtual size_t BeginRead(void)=0
Begins the operation to read the enumerator.