|
AGX Dynamics
2.37.2.0
|
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++ () |
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.
| typedef detail::ConnectionIteratorTypes<T>::ConnectionPtr agxPowerLine::ConnectionIterator< T >::ConnectionPtr |
Definition at line 44 of file ConnectionIterator.h.
| typedef detail::ConnectionIteratorTypes<T>::SourcePtr agxPowerLine::ConnectionIterator< T >::SourcePtr |
Definition at line 43 of file ConnectionIterator.h.
| agxPowerLine::ConnectionIterator< T >::ConnectionIterator | ( | SourcePtr | dimension | ) |
Definition at line 29 of file ConnectionIteratorImpl.h.
| bool agxPowerLine::ConnectionIterator< T >::isValid | ( | ) | const |
Definition at line 60 of file ConnectionIteratorImpl.h.
References agxPowerLine::detail::ConnectionIteratorOperations< T >::getConnections(), agx::InvalidIndex, agxPowerLine::NO_SIDE, agxPowerLine::opposite(), s_firstSearchSide, and agx::Container::size().
Referenced by agxPowerLine::ConnectionIterator< T >::operator*(), agxPowerLine::ConnectionIterator< T >::operator++(), and agxPowerLine::AbstractPowerLineTraverser< const agxPowerLine::Unit *, const agxPowerLine::PhysicalDimension *, const agxPowerLine::Connector *, const agxPowerLine::SubGraph *>::traverseConnectors().
| agxPowerLine::ConnectionIterator< T >::ConnectionPtr agxPowerLine::ConnectionIterator< T >::operator* | ( | ) |
Definition at line 37 of file ConnectionIteratorImpl.h.
References agxPowerLine::ConnectionIterator< T >::isValid().
| agxPowerLine::ConnectionIterator< T > & agxPowerLine::ConnectionIterator< T >::operator++ | ( | ) |
Definition at line 47 of file ConnectionIteratorImpl.h.
References agxPowerLine::ConnectionIterator< T >::isValid().