18 #ifndef AGXPOWERLINE_CONNECTION_ITERATOR_IMPL_H 19 #define AGXPOWERLINE_CONNECTION_ITERATOR_IMPL_H 32 this->scanForNonNull();
42 return this->getConnection();
53 this->scanForNonNull();
62 return m_source != 0 &&
78 return this->getConnections()[m_index];
96 return this->getConnections().
size();
103 this->scanConnectionsForNonNull();
107 this->scanConnectionsForNonNull();
118 for (; m_index < this->getNumConnections(); ++m_index) {
119 if (this->isConnectionValid()) {
detail::ConnectionIteratorTypes< T >::SourcePtr SourcePtr
ConnectionIterator(SourcePtr dimension)
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
AGXMODEL_EXPORT const agxPowerLine::Side s_firstSearchSide
ConnectionIterator & operator++()
detail::ConnectionIteratorTypes< T >::ConnectionPtr ConnectionPtr
ConnectionPtr operator*()
static const ConnectionRefVector & getConnections(SourcePtr source, Side side)
Iterator that iterates over all, both input and output, connections that have a non-null Connector...
AGXMODEL_EXPORT agxPowerLine::Side opposite(agxPowerLine::Side side)