Phalanx  Development
 All Classes Functions Variables Typedefs Enumerations Friends Pages
Public Types | Public Member Functions | List of all members
PHX::TemplateIterator< 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

 TemplateIterator (PHX::TemplateManager< TypeSeq, BaseT, ObjectT > &m, typename std::vector< Teuchos::RCP< BaseT > >::iterator p)
 Constructor.
 
bool operator== (const TemplateIterator &t) const
 Equal operator.
 
bool operator!= (const TemplateIterator &t) const
 Not equal operator.
 
PHX::TemplateIterator< TypeSeq,
BaseT, ObjectT >::reference 
operator* () const
 Dereference operator.
 
PHX::TemplateIterator< TypeSeq,
BaseT, ObjectT >::pointer 
operator-> () const
 -> operator
 
TemplateIteratoroperator++ ()
 Prefix ++.
 
TemplateIterator 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::TemplateIterator< 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: