AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
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 38 of file ConnectionIterator.h.

Member Typedef Documentation

◆ ConnectionPtr

template<typename T >
typedef detail::ConnectionIteratorTypes<T>::ConnectionPtr agxPowerLine::ConnectionIterator< T >::ConnectionPtr

Definition at line 42 of file ConnectionIterator.h.

◆ SourcePtr

template<typename T >
typedef detail::ConnectionIteratorTypes<T>::SourcePtr agxPowerLine::ConnectionIterator< T >::SourcePtr

Definition at line 41 of file ConnectionIterator.h.

Constructor & Destructor Documentation

◆ ConnectionIterator()

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

Definition at line 26 of file ConnectionIteratorImpl.h.

Member Function Documentation

◆ isValid()

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

Definition at line 57 of file ConnectionIteratorImpl.h.

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

◆ operator*()

Definition at line 34 of file ConnectionIteratorImpl.h.

◆ operator++()

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

Definition at line 44 of file ConnectionIteratorImpl.h.


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