WSF
WsfComponentFactoryList< PARENT_TYPE >::Iterator Class Reference

#include <WsfComponentFactoryList.hpp>

Public Member Functions

 Iterator (const WsfScenario &aScenario)
 An iterator for iterating over the factories that apply to the class PARENT_TYPE.
FactoryTypeoperator* () const
Iteratoroperator++ ()
bool AtEnd () const
 Return true if the end-of-list has been reached.

Constructor & Destructor Documentation

◆ Iterator()

template<typename PARENT_TYPE>
WsfComponentFactoryList< PARENT_TYPE >::Iterator::Iterator ( const WsfScenario & aScenario)
inline

An iterator for iterating over the factories that apply to the class PARENT_TYPE.

Referenced by operator++().

Member Function Documentation

◆ AtEnd()

◆ operator*()

template<typename PARENT_TYPE>
FactoryType * WsfComponentFactoryList< PARENT_TYPE >::Iterator::operator* ( ) const
inline

Return the pointer to the factory currently addressed by the iterator.

Returns
Pointer to the factory, cast to the proper type.

◆ operator++()

template<typename PARENT_TYPE>
Iterator & WsfComponentFactoryList< PARENT_TYPE >::Iterator::operator++ ( )
inline

Pre-increment operator. This must never be called if the iterator is already at the end of the list.

References Iterator().


The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved