Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT > Class Template Reference

#include <Panzer_VectorTemplateIterator.hpp>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = const std::vector< Teuchos::RCP< BaseT >>
 
using differnce_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 ConstVectorTemplateIterator (const panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > &m, typename std::vector< std::vector< Teuchos::RCP< BaseT > > >::const_iterator p)
 Constructor. More...
 
bool operator== (const ConstVectorTemplateIterator &t) const
 Equal operator. More...
 
bool operator!= (const ConstVectorTemplateIterator &t) const
 Not equal operator. More...
 
panzer::ConstVectorTemplateIterator
< TypeSeq, BaseT, ObjectT >
::reference 
operator* () const
 Dereference operator. More...
 
panzer::ConstVectorTemplateIterator
< TypeSeq, BaseT, ObjectT >
::pointer 
operator-> () const
 -> operator More...
 
ConstVectorTemplateIteratoroperator++ ()
 Prefix ++. More...
 
ConstVectorTemplateIterator operator++ (int)
 Postfix ++. More...
 

Private Attributes

const
panzer::VectorTemplateManager
< TypeSeq, BaseT, ObjectT > * 
manager_
 
std::vector< std::vector
< Teuchos::RCP< BaseT >
> >::const_iterator 
object_iterator_
 

Detailed Description

template<typename TypeSeq, typename BaseT, typename ObjectT>
class panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >

Definition at line 84 of file Panzer_VectorTemplateIterator.hpp.

Member Typedef Documentation

template<typename TypeSeq, typename BaseT, typename ObjectT>
using panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::iterator_category = std::input_iterator_tag

Definition at line 88 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
using panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::value_type = const std::vector<Teuchos::RCP<BaseT>>

Definition at line 89 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
using panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::differnce_type = std::ptrdiff_t

Definition at line 90 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
using panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::pointer = value_type*

Definition at line 91 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
using panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::reference = value_type&

Definition at line 92 of file Panzer_VectorTemplateIterator.hpp.

Constructor & Destructor Documentation

template<typename TypeSeq, typename BaseT, typename ObjectT>
panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::ConstVectorTemplateIterator ( const panzer::VectorTemplateManager< TypeSeq, BaseT, ObjectT > &  m,
typename std::vector< std::vector< Teuchos::RCP< BaseT > > >::const_iterator  p 
)
inline

Constructor.

Definition at line 95 of file Panzer_VectorTemplateIterator.hpp.

Member Function Documentation

template<typename TypeSeq, typename BaseT, typename ObjectT>
bool panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::operator== ( const ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT > &  t) const
inline

Equal operator.

Definition at line 100 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
bool panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::operator!= ( const ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT > &  t) const
inline

Not equal operator.

Definition at line 104 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
panzer::ConstVectorTemplateIterator<TypeSeq, BaseT, ObjectT>::reference panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::operator* ( ) const
inline

Dereference operator.

Definition at line 109 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
panzer::ConstVectorTemplateIterator<TypeSeq, BaseT, ObjectT>::pointer panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::operator-> ( ) const
inline

-> operator

Definition at line 115 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
ConstVectorTemplateIterator& panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::operator++ ( )
inline

Prefix ++.

Definition at line 120 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
ConstVectorTemplateIterator panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::operator++ ( int  )
inline

Postfix ++.

Definition at line 126 of file Panzer_VectorTemplateIterator.hpp.

Member Data Documentation

template<typename TypeSeq, typename BaseT, typename ObjectT>
const panzer::VectorTemplateManager<TypeSeq,BaseT,ObjectT>* panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::manager_
private

Definition at line 133 of file Panzer_VectorTemplateIterator.hpp.

template<typename TypeSeq, typename BaseT, typename ObjectT>
std::vector<std::vector< Teuchos::RCP<BaseT> > >::const_iterator panzer::ConstVectorTemplateIterator< TypeSeq, BaseT, ObjectT >::object_iterator_
private

Definition at line 134 of file Panzer_VectorTemplateIterator.hpp.


The documentation for this class was generated from the following file: