Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Sacado::TemplateIterator< BaseT > Class Template Reference

#include <Sacado_TemplateIterator.hpp>

Inherits iterator< std::input_iterator_tag, BaseT >.

Public Member Functions

 TemplateIterator (typename std::vector< Teuchos::RCP< BaseT > >::iterator p)
 Constructor. More...
 
bool operator== (const TemplateIterator &t) const
 Equal operator. More...
 
bool operator!= (const TemplateIterator &t) const
 Not equal operator. More...
 
Sacado::TemplateIterator
< BaseT >::reference 
operator* () const
 Dereference operator. More...
 
Sacado::TemplateIterator
< BaseT >::pointer 
operator-> () const
 -> operator More...
 
TemplateIteratoroperator++ ()
 Prefix ++. More...
 
TemplateIterator operator++ (int)
 Postfix ++. More...
 
Teuchos::RCP< BaseT > rcp () const
 Returns a reference counted pointer object. More...
 

Private Attributes

std::vector< Teuchos::RCP
< BaseT > >::iterator 
object_iterator
 Underlying object iterator. More...
 

Detailed Description

template<typename BaseT>
class Sacado::TemplateIterator< BaseT >

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

This class implements a standard forward iterator for the TemplateManager.

Definition at line 27 of file Sacado_TemplateIterator.hpp.

Constructor & Destructor Documentation

template<typename BaseT >
Sacado::TemplateIterator< BaseT >::TemplateIterator ( typename std::vector< Teuchos::RCP< BaseT > >::iterator  p)
inline

Constructor.

Definition at line 32 of file Sacado_TemplateIterator.hpp.

Member Function Documentation

template<typename BaseT >
bool Sacado::TemplateIterator< BaseT >::operator== ( const TemplateIterator< BaseT > &  t) const
inline

Equal operator.

Definition at line 40 of file Sacado_TemplateIterator.hpp.

template<typename BaseT >
bool Sacado::TemplateIterator< BaseT >::operator!= ( const TemplateIterator< BaseT > &  t) const
inline

Not equal operator.

Definition at line 45 of file Sacado_TemplateIterator.hpp.

template<typename BaseT >
Sacado::TemplateIterator<BaseT>::reference Sacado::TemplateIterator< BaseT >::operator* ( ) const
inline

Dereference operator.

Definition at line 51 of file Sacado_TemplateIterator.hpp.

template<typename BaseT >
Sacado::TemplateIterator<BaseT>::pointer Sacado::TemplateIterator< BaseT >::operator-> ( ) const
inline

-> operator

Definition at line 57 of file Sacado_TemplateIterator.hpp.

template<typename BaseT >
TemplateIterator& Sacado::TemplateIterator< BaseT >::operator++ ( )
inline

Prefix ++.

Definition at line 62 of file Sacado_TemplateIterator.hpp.

template<typename BaseT >
TemplateIterator Sacado::TemplateIterator< BaseT >::operator++ ( int  )
inline

Postfix ++.

Definition at line 68 of file Sacado_TemplateIterator.hpp.

template<typename BaseT >
Teuchos::RCP<BaseT> Sacado::TemplateIterator< BaseT >::rcp ( ) const
inline

Returns a reference counted pointer object.

Definition at line 75 of file Sacado_TemplateIterator.hpp.

Member Data Documentation

template<typename BaseT >
std::vector< Teuchos::RCP<BaseT> >::iterator Sacado::TemplateIterator< BaseT >::object_iterator
private

Underlying object iterator.

Definition at line 82 of file Sacado_TemplateIterator.hpp.


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