|
PLCnext API Documentation 25.6.0.37
|
Implementation of IRscReadEnumerator used on client side. More...
#include <RscReadEnumerator.hxx>

Public Member Functions | |
| RscReadEnumerator (RscReader &rscReader, bool isArrayEnumerator) | |
| Constructs an RscReadEnumerator instance. More... | |
| RscReadEnumerator (const RscReadEnumerator &arg) | |
| The default copy constructor. More... | |
| RscReadEnumerator (RscReadEnumerator &&arg) noexcept | |
| The default move constructor. More... | |
| RscReadEnumerator & | operator= (const RscReadEnumerator &arg) |
| The default copy-assignment operator. More... | |
| RscReadEnumerator & | operator= (RscReadEnumerator &&arg) noexcept |
| The default move-assignment operator. More... | |
| ~RscReadEnumerator (void) override | |
| Destructs this instance and checks if enumerations has ended. More... | |
| size_t | BeginRead (void) override |
| This operation is called at the begin of reading the enumeration. More... | |
| bool | ReadNext (T ¤t) override |
| Reads the next value of the enumeration. More... | |
| bool | ReadNext (RscArrayReader ¤t) override |
| Reads the next array value of the enumeration. More... | |
| void | EndRead (void) override |
| This operation has to be called when the enumerating has finished. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscReadEnumerator< T > | |
| IRscReadEnumerator (void)=default | |
| The default constructor. | |
| IRscReadEnumerator (const IRscReadEnumerator &arg)=delete | |
| The deleted copy constructor. More... | |
| IRscReadEnumerator (IRscReadEnumerator &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscReadEnumerator & | operator= (const IRscReadEnumerator &arg)=delete |
| The deleted assignment operator. More... | |
| IRscReadEnumerator & | operator= (IRscReadEnumerator &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscReadEnumerator (void)=default |
| Destructs this instance and frees all resources. | |
| virtual size_t | BeginRead (void)=0 |
| Begins to read the enumeration values. More... | |
| virtual bool | ReadNext (T ¤t)=0 |
| Reads the next enumeration value. More... | |
| virtual bool | ReadNext (RscArrayReader ¤t)=0 |
| Reads the next array object. Use this method only, if the current enumerated value contains an array object. More... | |
| virtual void | EndRead (void)=0 |
| Call this operation when all enumeration values has been read, to perform checks and cleanup. More... | |
Static Public Attributes | |
| static constexpr size_t | UndefinedArrayLength = std::numeric_limits<size_t>::max() |
| This constant is used to determine that an enumeration is not an array enumeration and hence has an unknown length. | |
Static Public Attributes inherited from Arp::Base::Rsc::Commons::IRscReadEnumerator< T > | |
| static constexpr size_t | UndefinedArrayLength = std::numeric_limits<size_t>::max() |
| This constant is used to determine that an enumeration is not an array enumeration and hence has an unknown length. | |
Additional Inherited Members | |
Public Types inherited from Arp::Base::Rsc::Commons::IRscReadEnumerator< T > | |
| using | Ptr = std::shared_ptr< IRscReadEnumerator > |
| The pointer type of this type. | |
Implementation of IRscReadEnumerator used on client side.
|
inline |
Constructs an RscReadEnumerator instance.
| rscReader | The Rsc reader to read the data. |
| isArrayEnumerator | Determines if it's an standard or array enumeration. |
| T | The enumerated type. |
|
inlinedefault |
The default copy constructor.
| T | The enumerated type. |
| arg | The argument to copy. |
|
inlinedefaultnoexcept |
The default move constructor.
| T | The enumerated type. |
| arg | The argument to move. |
|
inlineoverridedefault |
Destructs this instance and checks if enumerations has ended.
| T | The enumerated type. |
|
inlineoverridevirtual |
This operation is called at the begin of reading the enumeration.
| T | The enumerated type. |
Implements Arp::Base::Rsc::Commons::IRscReadEnumerator< T >.
|
inlineoverridevirtual |
This operation has to be called when the enumerating has finished.
This operation checks if all values has been read.
Implements Arp::Base::Rsc::Commons::IRscReadEnumerator< T >.
|
inlinedefault |
The default copy-assignment operator.
| T | The enumerated type. |
| arg | The argument to assign. |
|
inlinedefaultnoexcept |
The default move-assignment operator.
| T | The enumerated type. |
| arg | The argument to assign. |
|
inlineoverridevirtual |
Reads the next array value of the enumeration.
| T | The enumerated type. |
| current | The array reader to read the current array value. |
true if the array value could be read, otherwise false if the enumeration has ended.Implements Arp::Base::Rsc::Commons::IRscReadEnumerator< T >.
|
inlineoverridevirtual |
Reads the next value of the enumeration.
| T | The enumerated type. |
| current | The current value to read. |
true if the value could be read, otherwise false if the enumeration has ended.Implements Arp::Base::Rsc::Commons::IRscReadEnumerator< T >.