|
PLCnext API Documentation 25.6.0.37
|
Interface for writing an array enumeration or enumeration of unspefied length. More...
#include <IRscWriteEnumerator.hxx>

Public Types | |
| using | Ptr = std::shared_ptr< IRscWriteEnumerator > |
| The pointer type of this class. | |
Public Member Functions | |
| IRscWriteEnumerator (void)=default | |
| The default constructor. | |
| IRscWriteEnumerator (const IRscWriteEnumerator &arg)=delete | |
| The deleted copy constructor. More... | |
| IRscWriteEnumerator (IRscWriteEnumerator &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscWriteEnumerator & | operator= (const IRscWriteEnumerator &arg)=delete |
| The deleted assignment operator. More... | |
| IRscWriteEnumerator & | operator= (IRscWriteEnumerator &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscWriteEnumerator (void)=default |
| Destructs this instance and frees all resources. | |
| virtual void | BeginWrite (size_t size=UndefinedArrayLength)=0 |
| Begins the writing of the enumeration. More... | |
| virtual void | WriteNext (const T ¤t)=0 |
| Writes the next enumeration value. More... | |
| virtual RscArrayWriter | WriteNext (size_t arraySize, RscType elementType)=0 |
| Writes the next enumeration value if the value contains an array object. More... | |
| virtual void | EndWrite (void)=0 |
| Ends this enumerator while all values shall be written if this is an array enumeration. More... | |
Static Public Attributes | |
| static constexpr size_t | UndefinedArrayLength = std::numeric_limits<size_t>::max() |
| Determines an undefined array length. | |
Interface for writing an array enumeration or enumeration of unspefied length.
| T | The type of enumeration value. |
|
delete |
The deleted copy constructor.
| arg | The argument to copy. |
|
defaultnoexcept |
The default move constructor.
| arg | The argument to move. |
|
pure virtual |
Begins the writing of the enumeration.
| size | Number of elements in case of an array enumeration. The default parameter is used for regular enumerations. |
Implemented in Arp::Base::Rsc::Commons::Services::RscWriteEnumerator< T >, and Arp::Base::Rsc::Commons::Services::RscImplWriteEnumerator< T >.
|
pure virtual |
Ends this enumerator while all values shall be written if this is an array enumeration.
Implemented in Arp::Base::Rsc::Commons::Services::RscImplWriteEnumerator< T >, and Arp::Base::Rsc::Commons::Services::RscWriteEnumerator< T >.
|
delete |
The deleted assignment operator.
| arg | The argument to copy. |
|
defaultnoexcept |
The default move-assignment operator.
| arg | The argument to move. |
|
pure virtual |
Writes the next enumeration value.
| current | The next value to write. |
Implemented in Arp::Base::Rsc::Commons::Services::RscImplWriteEnumerator< T >, and Arp::Base::Rsc::Commons::Services::RscWriteEnumerator< T >.
|
pure virtual |
Writes the next enumeration value if the value contains an array object.
| arraySize | The number of array elements. |
| elementType | The RsyType of the array values. |
Implemented in Arp::Base::Rsc::Commons::Services::RscWriteEnumerator< T >, and Arp::Base::Rsc::Commons::Services::RscImplWriteEnumerator< T >.