Chemical Data Processing Library C++ API - Version 1.4.0
Classes | Namespaces | Functions
VectorIterator.hpp File Reference

Definition of vector element iterator traits and functions. More...

#include <functional>
#include "CDPL/Math/Expression.hpp"
#include "CDPL/Util/IndexedElementIterator.hpp"

Go to the source code of this file.

Classes

class  CDPL::Math::VectorElementAccessor< E >
 Access functor used by Math::VectorIteratorTraits to read mutable vector elements via Util::IndexedElementIterator. More...
 
class  CDPL::Math::VectorElementAccessor< const E >
 Specialization of Math::VectorElementAccessor for const vector references (read-only iteration). More...
 
struct  CDPL::Math::VectorIteratorTraits< E >
 Traits selecting the element accessor and Util::IndexedElementIterator specialization for mutable iteration over E. More...
 
struct  CDPL::Math::VectorIteratorTraits< const E >
 Specialization of Math::VectorIteratorTraits for read-only iteration over E. More...
 

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Math
 Contains classes and functions related to mathematics.
 

Functions

template<typename E >
VectorIteratorTraits< E >::IteratorType CDPL::Math::vectorBegin (VectorExpression< E > &e)
 Returns a mutable iterator pointing to the first element of the vector expression e. More...
 
template<typename E >
VectorIteratorTraits< E >::IteratorType CDPL::Math::vectorEnd (VectorExpression< E > &e)
 Returns a mutable iterator pointing one past the last element of the vector expression e. More...
 
template<typename E >
VectorIteratorTraits< const E >::IteratorType CDPL::Math::vectorBegin (const VectorExpression< E > &e)
 Returns a constant iterator pointing to the first element of the vector expression e. More...
 
template<typename E >
VectorIteratorTraits< const E >::IteratorType CDPL::Math::vectorEnd (const VectorExpression< E > &e)
 Returns a constant iterator pointing one past the last element of the vector expression e. More...
 

Detailed Description

Definition of vector element iterator traits and functions.