11 #ifndef __Panzer_VectorTemplateIterator_hpp__
12 #define __Panzer_VectorTemplateIterator_hpp__
29 template <
typename TypeSeq,
typename BaseT,
typename ObjectT>
62 return &(*(*object_iterator_));
79 panzer::VectorTemplateManager<TypeSeq,BaseT,ObjectT> *
manager_;
83 template <
typename TypeSeq,
typename BaseT,
typename ObjectT>
89 using value_type =
const std::vector<Teuchos::RCP<BaseT>>;
116 return &(*(*object_iterator_));
133 const panzer::VectorTemplateManager<TypeSeq,BaseT,ObjectT> *
manager_;
134 typename std::vector<std::vector< Teuchos::RCP<BaseT> > >::const_iterator
object_iterator_;
panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::reference operator*() const
Dereference operator.
ConstVectorTemplateIterator(const panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > &m, typename std::vector< std::vector< Teuchos::RCP< BaseT > > >::const_iterator p)
Constructor.
std::vector< std::vector< Teuchos::RCP< BaseT > > >::iterator object_iterator_
std::ptrdiff_t differnce_type
panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > * manager_
ConstVectorTemplateIterator operator++(int)
Postfix ++.
std::input_iterator_tag iterator_category
ConstVectorTemplateIterator & operator++()
Prefix ++.
panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::pointer operator->() const
-> operator
VectorTemplateIterator & operator++()
Prefix ++.
std::vector< Teuchos::RCP< BaseT >> value_type
const std::vector< Teuchos::RCP< BaseT >> value_type
std::input_iterator_tag iterator_category
bool operator==(const ConstVectorTemplateIterator &t) const
Equal operator.
bool operator!=(const VectorTemplateIterator &t) const
Not equal operator.
bool operator!=(const ConstVectorTemplateIterator &t) const
Not equal operator.
const panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > * manager_
std::ptrdiff_t differnce_type
VectorTemplateIterator(panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > &m, typename std::vector< std::vector< Teuchos::RCP< BaseT > > >::iterator p)
Constructor.
panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::reference operator*() const
Dereference operator.
VectorTemplateIterator operator++(int)
Postfix ++.
panzer::VectorTemplateIterator< TypeSeq, BaseT, ObjectT >::pointer operator->() const
-> operator
std::vector< std::vector< Teuchos::RCP< BaseT > > >::const_iterator object_iterator_
bool operator==(const VectorTemplateIterator &t) const
Equal operator.