32 #ifndef SACADO_TEMPLATEITERATOR_HPP
33 #define SACADO_TEMPLATEITERATOR_HPP
48 template <
typename BaseT>
74 return *(*object_iterator);
80 return &(*(*object_iterator));
116 template <
typename BaseT>
142 return *(*object_iterator);
148 return &(*(*object_iterator));
std::vector< Teuchos::RCP< BaseT > >::iterator object_iterator
Underlying object iterator.
TemplateIterator(typename std::vector< Teuchos::RCP< BaseT > >::iterator p)
Constructor.
bool operator==(const ConstTemplateIterator &t) const
Equal operator.
bool operator!=(const ConstTemplateIterator &t) const
Not equal operator.
Sacado::TemplateIterator< BaseT >::pointer operator->() const
-> operator
Teuchos::RCP< BaseT > rcp() const
Returns a reference counted pointer object.
std::vector< Teuchos::RCP< BaseT > >::const_iterator object_iterator
Underlying object iterator.
TemplateIterator & operator++()
Prefix ++.
ConstTemplateIterator operator++(int)
Postfix ++.
TemplateIterator operator++(int)
Postfix ++.
Sacado::ConstTemplateIterator< BaseT >::pointer operator->() const
-> operator
Teuchos::RCP< BaseT > rcp() const
Returns a reference counted pointer object.
ConstTemplateIterator & operator++()
Prefix ++.
bool operator!=(const TemplateIterator &t) const
Not equal operator.
Sacado::ConstTemplateIterator< BaseT >::reference operator*() const
Dereference operator.
Sacado::TemplateIterator< BaseT >::reference operator*() const
Dereference operator.
bool operator==(const TemplateIterator &t) const
Equal operator.
ConstTemplateIterator(typename std::vector< Teuchos::RCP< BaseT > >::const_iterator p)
Constructor.