AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

Definition at line 44 of file ConnectionIterator.h.

Definition at line 43 of file ConnectionIterator.h.

Constructor & Destructor Documentation

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

Definition at line 29 of file ConnectionIteratorImpl.h.

Member Function Documentation

template<typename T >
bool agxPowerLine::ConnectionIterator< T >::isValid ( ) const

Definition at line 60 of file ConnectionIteratorImpl.h.

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

template<typename T >
agxPowerLine::ConnectionIterator< T >::ConnectionPtr agxPowerLine::ConnectionIterator< T >::operator* ( )

Definition at line 37 of file ConnectionIteratorImpl.h.

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: