| 
    PLCnext API Documentation
    20.6.0.30321
    
   | 
 
Use this class to build a single enumerator by two given enumerator, e.g. to enumerate multiple container/collections. More...
#include <Enumerator.hxx>

Public Member Functions | |
| StackComposite (void)=default | |
| Constructs an StackComposite instance. More... | |
| StackComposite (const StackComposite &arg)=default | |
| Copy constructor. More... | |
| StackComposite & | operator= (const StackComposite &arg)=default | 
| Assignment operator. More... | |
| virtual | ~StackComposite (void)=default | 
| Destructs this instance and frees all resources. More... | |
| bool | MoveNext (void) override | 
| Moves this enumerator to the next position. More... | |
| T | GetCurrent (void) override | 
| Gets the element at the current position. More... | |
| void | Push (typename IEnumerator< T >::Ptr e) | 
| Adds the as argument passed enumerator to this stack. More... | |
| size_t | GetSize () const | 
| Get the size of this stack. More... | |
Additional Inherited Members | |
  Public Types inherited from Arp::IEnumerator< T > | |
| typedef std::shared_ptr< IEnumerator > | Ptr | 
| The smart pointer tpye of this interface. More... | |
  Protected Member Functions inherited from Arp::IEnumerator< T > | |
| IEnumerator (void)=default | |
| Constructs an IEnumerator instance. More... | |
| virtual | ~IEnumerator (void)=default | 
| Destructs this instance and frees all resources. More... | |
| IEnumerator (const IEnumerator &arg)=default | |
| Copies an IEnumerator instance. More... | |
| IEnumerator & | operator= (const IEnumerator &arg)=default | 
| Assigns an IEnumerator instance. More... | |
Use this class to build a single enumerator by two given enumerator, e.g. to enumerate multiple container/collections.
      
  | 
  default | 
Constructs an StackComposite instance.
      
  | 
  default | 
Copy constructor.
| arg | The argument to copy. | 
      
  | 
  virtualdefault | 
Destructs this instance and frees all resources.
      
  | 
  inlineoverridevirtual | 
Gets the element at the current position.
Depending an the template parameter type of this interface, a reference or even const reference might be returned.
Implements Arp::IEnumerator< T >.
      
  | 
  inline | 
Get the size of this stack.
      
  | 
  inlineoverridevirtual | 
Moves this enumerator to the next position.
false if the end of the container/collections was reached and the enumerator was not moved, otherwise false.See comments of interface declaration for more information about this operation.
Implements Arp::IEnumerator< T >.
      
  | 
  default | 
Assignment operator.
| arg | The argument to copy. | 
      
  | 
  inline | 
Adds the as argument passed enumerator to this stack.
| e | The enumerator to add to this stack. | 
 1.8.13