|
PLCnext API Documentation 23.3.0.32
|
Interface for reading an array or an enumerator. For regular enumerators UndefinedArrayLength is used. More...
#include <IRscReadEnumerator.hxx>

Public Types | |
| typedef std::shared_ptr< IRscReadEnumerator > | Ptr |
Public Member Functions | |
| virtual size_t | BeginRead (void)=0 |
| Begins the operation to read the enumerator. More... | |
| virtual bool | ReadNext (T ¤t)=0 |
| Reads the next enumerator element. More... | |
| virtual bool | ReadNext (RscArrayReader ¤t)=0 |
| Reads the next array enumerator element. Use this method only, if element contains object with an array. More... | |
| virtual void | EndRead (void)=0 |
| Ends the operation to read the enumerator. All enumerator elements had to be already been read. More... | |
Static Public Attributes | |
| static constexpr size_t | UndefinedArrayLength = std::numeric_limits<size_t>::max() |
Protected Member Functions | |
| IRscReadEnumerator (void)=default | |
| Constructs an IRscArrayWriteEnumerator instance. | |
| virtual | ~IRscReadEnumerator (void)=default |
| Destructs this instance and frees all resources. | |
| IRscReadEnumerator (const IRscReadEnumerator &arg)=default | |
| IRscReadEnumerator & | operator= (const IRscReadEnumerator &arg)=default |
Interface for reading an array or an enumerator. For regular enumerators UndefinedArrayLength is used.
| T | Type of enumerator element |
|
pure virtual |
Begins the operation to read the enumerator.
Implemented in Arp::System::Rsc::Services::RscImplReadEnumerator< T >, and Arp::System::Rsc::Services::RscReadEnumerator< T >.
|
pure virtual |
Ends the operation to read the enumerator. All enumerator elements had to be already been read.
Implemented in Arp::System::Rsc::Services::RscImplReadEnumerator< T >, and Arp::System::Rsc::Services::RscReadEnumerator< T >.
|
pure virtual |
Reads the next array enumerator element. Use this method only, if element contains object with an array.
| current | Reference to RscArrayReader. The given RscArrayReader will be configured by this method. |
Implemented in Arp::System::Rsc::Services::RscImplReadEnumerator< T >, and Arp::System::Rsc::Services::RscReadEnumerator< T >.
|
pure virtual |
Reads the next enumerator element.
| current | Place to store next element |
Implemented in Arp::System::Rsc::Services::RscImplReadEnumerator< T >, and Arp::System::Rsc::Services::RscReadEnumerator< T >.