Public Member Functions | Protected Attributes

OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator Class Reference

#include <optimization_bounds2constraint.h>

List of all members.

Public Member Functions

 vector_iterator (size_t const &begin, size_t const &end, bound_iterator &pos, bool const &is_lower, size_t const &i)
 vector_iterator (vector_iterator const &i)
bool const operator== (vector_iterator const &i) const
bool const operator!= (vector_iterator const &i) const
size_t const index () const
operator* () const
vector_iteratoroperator= (vector_iterator const &i)
vector_iterator const & operator++ ()

Protected Attributes

size_t m_index
 The current index value of the iterator.
size_t m_end
 The index value one position past the last element (if zero-based indexing is used, then this is the size of a vector).
bound_iterator m_pos
 A iterator to the ``native'' vector_iterator on the bound function.
bool m_is_lower
 Boolean flag, if set to true then the constraint functions corresponds to a lower bound otherwise the constraint function corresponds to an upper bound.
size_t m_i
 The variable index.

template<typename T, typename bound_functor>
class OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator


Constructor & Destructor Documentation

template<typename T, typename bound_functor>
OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::vector_iterator ( size_t const &  begin,
size_t const &  end,
bound_iterator pos,
bool const &  is_lower,
size_t const &  i 
) [inline]
template<typename T, typename bound_functor>
OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::vector_iterator ( vector_iterator const &  i  )  [inline]

Member Function Documentation

template<typename T, typename bound_functor>
size_t const OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::index (  )  const [inline]
template<typename T, typename bound_functor>
bool const OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::operator!= ( vector_iterator const &  i  )  const [inline]
template<typename T, typename bound_functor>
T OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::operator* (  )  const [inline]
template<typename T, typename bound_functor>
vector_iterator const& OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::operator++ (  )  [inline]
template<typename T, typename bound_functor>
vector_iterator& OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::operator= ( vector_iterator const &  i  )  [inline]
template<typename T, typename bound_functor>
bool const OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::operator== ( vector_iterator const &  i  )  const [inline]

Member Data Documentation

template<typename T, typename bound_functor>
size_t OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::m_end [protected]

The index value one position past the last element (if zero-based indexing is used, then this is the size of a vector).

template<typename T, typename bound_functor>
size_t OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::m_i [protected]

The variable index.

template<typename T, typename bound_functor>
size_t OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::m_index [protected]

The current index value of the iterator.

template<typename T, typename bound_functor>
bool OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::m_is_lower [protected]

Boolean flag, if set to true then the constraint functions corresponds to a lower bound otherwise the constraint function corresponds to an upper bound.

template<typename T, typename bound_functor>
bound_iterator OpenTissue::math::optimization::detail::Bound2ConstraintFunctor< T, bound_functor >::vector_iterator::m_pos [protected]

A iterator to the ``native'' vector_iterator on the bound function.


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