#include <Phalanx_TemplateIterator.hpp>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = BaseT |
using | differnce_type = std::ptrdiff_t |
using | pointer = BaseT * |
using | reference = BaseT & |
Public Member Functions | |
ConstTemplateIterator (const PHX::TemplateManager< TypeSeq, BaseT, ObjectT > &m, typename std::vector< Teuchos::RCP< BaseT > >::const_iterator p) | |
Constructor. | |
bool | operator== (const ConstTemplateIterator &t) const |
Equal operator. | |
bool | operator!= (const ConstTemplateIterator &t) const |
Not equal operator. | |
PHX::ConstTemplateIterator < TypeSeq, BaseT, ObjectT > ::reference | operator* () const |
Dereference operator. | |
PHX::ConstTemplateIterator < TypeSeq, BaseT, ObjectT > ::pointer | operator-> () const |
-> operator | |
ConstTemplateIterator & | operator++ () |
Prefix ++. | |
ConstTemplateIterator | operator++ (int) |
Postfix ++. | |
Teuchos::RCP< BaseT > | rcp () const |
Returns a reference counted pointer object. | |
Iterator for traversing through template instantiations stored by the TemplateManager class.
This class implements a standard forward iterator for the TemplateManager.