AGX Dynamics  2.35.0.1
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()

template<typename T >
bool agxPowerLine::ConnectionIterator< T >::isValid

Definition at line 60 of file ConnectionIteratorImpl.h.

References agx::InvalidIndex, and agxPowerLine::NO_SIDE.

◆ operator*()

Definition at line 37 of file ConnectionIteratorImpl.h.

◆ operator++()

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

Definition at line 47 of file ConnectionIteratorImpl.h.


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