Phalanx  Development
 All Classes Functions Variables Typedefs Enumerations Friends Pages
Public Types | Public Member Functions | List of all members
PHX::ConstTemplateIterator< TypeSeq, BaseT, ObjectT > Class Template Reference

#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
 
ConstTemplateIteratoroperator++ ()
 Prefix ++.
 
ConstTemplateIterator operator++ (int)
 Postfix ++.
 
Teuchos::RCP< BaseT > rcp () const
 Returns a reference counted pointer object.
 

Detailed Description

template<typename TypeSeq, typename BaseT, typename ObjectT>
class PHX::ConstTemplateIterator< TypeSeq, BaseT, ObjectT >

Iterator for traversing through template instantiations stored by the TemplateManager class.

This class implements a standard forward iterator for the TemplateManager.


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