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::ConstTemplateIterator< BaseT > Class Template Reference

#include <Sacado_TemplateIterator.hpp>

Inherits iterator< std::input_iterator_tag, BaseT >.

Public Member Functions

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

Private Attributes

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

Detailed Description

template<typename BaseT>
class Sacado::ConstTemplateIterator< 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 95 of file Sacado_TemplateIterator.hpp.

Constructor & Destructor Documentation

template<typename BaseT >
Sacado::ConstTemplateIterator< BaseT >::ConstTemplateIterator ( typename std::vector< Teuchos::RCP< BaseT > >::const_iterator  p)
inline

Constructor.

Definition at line 100 of file Sacado_TemplateIterator.hpp.

Member Function Documentation

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

Equal operator.

Definition at line 108 of file Sacado_TemplateIterator.hpp.

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

Not equal operator.

Definition at line 113 of file Sacado_TemplateIterator.hpp.

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

Dereference operator.

Definition at line 119 of file Sacado_TemplateIterator.hpp.

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

-> operator

Definition at line 125 of file Sacado_TemplateIterator.hpp.

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

Prefix ++.

Definition at line 130 of file Sacado_TemplateIterator.hpp.

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

Postfix ++.

Definition at line 136 of file Sacado_TemplateIterator.hpp.

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

Returns a reference counted pointer object.

Definition at line 143 of file Sacado_TemplateIterator.hpp.

Member Data Documentation

template<typename BaseT >
std::vector< Teuchos::RCP<BaseT> >::const_iterator Sacado::ConstTemplateIterator< BaseT >::object_iterator
private

Underlying object iterator.

Definition at line 150 of file Sacado_TemplateIterator.hpp.


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