Panzer
Version of the Day
|
#include <Panzer_VectorTemplateIterator.hpp>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = std::vector< Teuchos::RCP< BaseT >> |
using | differnce_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
VectorTemplateIterator (panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > &m, typename std::vector< std::vector< Teuchos::RCP< BaseT > > >::iterator p) | |
Constructor. More... | |
bool | operator== (const VectorTemplateIterator &t) const |
Equal operator. More... | |
bool | operator!= (const VectorTemplateIterator &t) const |
Not equal operator. More... | |
panzer::VectorTemplateIterator < TypeSeq, BaseT, ObjectT > ::reference | operator* () const |
Dereference operator. More... | |
panzer::VectorTemplateIterator < TypeSeq, BaseT, ObjectT > ::pointer | operator-> () const |
-> operator More... | |
VectorTemplateIterator & | operator++ () |
Prefix ++. More... | |
VectorTemplateIterator | operator++ (int) |
Postfix ++. More... | |
Private Attributes | |
panzer::VectorTemplateManager < TypeSeq, BaseT, ObjectT > * | manager_ |
std::vector< std::vector < Teuchos::RCP< BaseT > > >::iterator | object_iterator_ |
Iterator for traversing through template instantiations stored by the TemplateManager class.
This class implements a standard forward iterator for the TemplateManager.
Definition at line 30 of file Panzer_VectorTemplateIterator.hpp.
using panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::iterator_category = std::input_iterator_tag |
Definition at line 34 of file Panzer_VectorTemplateIterator.hpp.
using panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::value_type = std::vector<Teuchos::RCP<BaseT>> |
Definition at line 35 of file Panzer_VectorTemplateIterator.hpp.
using panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::differnce_type = std::ptrdiff_t |
Definition at line 36 of file Panzer_VectorTemplateIterator.hpp.
using panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::pointer = value_type* |
Definition at line 37 of file Panzer_VectorTemplateIterator.hpp.
using panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::reference = value_type& |
Definition at line 38 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
Constructor.
Definition at line 41 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
Equal operator.
Definition at line 46 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
Not equal operator.
Definition at line 50 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
Dereference operator.
Definition at line 55 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
-> operator
Definition at line 61 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
Prefix ++.
Definition at line 66 of file Panzer_VectorTemplateIterator.hpp.
|
inline |
Postfix ++.
Definition at line 72 of file Panzer_VectorTemplateIterator.hpp.
|
private |
Definition at line 79 of file Panzer_VectorTemplateIterator.hpp.
|
private |
Definition at line 80 of file Panzer_VectorTemplateIterator.hpp.