AGX Dynamics  2.37.2.0
agxPowerLine::ConnectionIterator< T > Class Template Reference

Iterator that iterates over all, both input and output, connections that have a non-null Connector. More...

#include <ConnectionIterator.h>

Public Types

typedef detail::ConnectionIteratorTypes< T >::ConnectionPtr ConnectionPtr
 
typedef detail::ConnectionIteratorTypes< T >::SourcePtr SourcePtr
 

Public Member Functions

 ConnectionIterator (SourcePtr dimension)
 
bool isValid () const
 
ConnectionPtr operator* ()
 
ConnectionIterator & operator++ ()
 

Detailed Description

template<typename T>
class agxPowerLine::ConnectionIterator< T >

Iterator that iterates over all, both input and output, connections that have a non-null Connector.

The template parameter T is the type of the object that contains the Connections to iterate over. Currently supported types are const and non-const PhysicalDimension and Connector.

Definition at line 40 of file ConnectionIterator.h.

Member Typedef Documentation

◆ ConnectionPtr

Definition at line 44 of file ConnectionIterator.h.

◆ SourcePtr

Definition at line 43 of file ConnectionIterator.h.

Constructor & Destructor Documentation

◆ ConnectionIterator()

template<typename T >
agxPowerLine::ConnectionIterator< T >::ConnectionIterator ( SourcePtr  dimension)

Definition at line 29 of file ConnectionIteratorImpl.h.

Member Function Documentation

◆ isValid()

◆ operator*()

◆ operator++()

template<typename T >
agxPowerLine::ConnectionIterator< T > & agxPowerLine::ConnectionIterator< T >::operator++ ( )

The documentation for this class was generated from the following files: