Machine Learning Library
Public Types | Public Member Functions | List of all members
keyed_iterator< Type > Class Template Reference

#include <CDenseVector.h>

Public Types

typedef pair< int, Type > pair_type
 
typedef pair_type value_type
 
typedef pair_typepointer
 
typedef pair_typereference
 
typedef ptrdiff_t difference_type
 
typedef keyed_iterator_tag iterator_category
 

Public Member Functions

 keyed_iterator ()
 
 keyed_iterator (pair< int, Type > *it, int size, difference_type max)
 
reference operator* () const
 
pointer operator-> () const
 
keyed_iteratoroperator++ ()
 
keyed_iterator operator++ (int)
 
keyed_iteratoroperator-- ()
 
keyed_iterator operator-- (int)
 
bool operator== (const keyed_iterator< Type > &o) const
 
bool operator!= (const keyed_iterator &o) const
 
bool operator< (const keyed_iterator< Type > &o)
 
keyed_iteratoroperator+= (int n)
 
keyed_iteratoroperator-= (int n)
 
keyed_iterator operator+ (int n) const
 
keyed_iterator operator- (int n) const
 
const reference operator[] (int n) const
 
reference operator[] (int n)
 
difference_type operator- (const keyed_iterator< Type > &o)
 
int key () const
 
Type val () const
 
Type & val ()
 
int size () const
 
difference_type max () const
 

Member Typedef Documentation

template<typename Type>
typedef ptrdiff_t keyed_iterator< Type >::difference_type
template<typename Type>
typedef keyed_iterator_tag keyed_iterator< Type >::iterator_category
template<typename Type>
typedef pair<int, Type> keyed_iterator< Type >::pair_type
template<typename Type>
typedef pair_type* keyed_iterator< Type >::pointer
template<typename Type>
typedef pair_type& keyed_iterator< Type >::reference
template<typename Type>
typedef pair_type keyed_iterator< Type >::value_type

Constructor & Destructor Documentation

template<typename Type>
keyed_iterator< Type >::keyed_iterator ( )
inline
template<typename Type>
keyed_iterator< Type >::keyed_iterator ( pair< int, Type > *  it,
int  size,
difference_type  max 
)
inline

Member Function Documentation

template<typename Type>
int keyed_iterator< Type >::key ( ) const
inline
template<typename Type>
difference_type keyed_iterator< Type >::max ( ) const
inline
template<typename Type>
bool keyed_iterator< Type >::operator!= ( const keyed_iterator< Type > &  o) const
inline
template<typename Type>
reference keyed_iterator< Type >::operator* ( ) const
inline
template<typename Type>
keyed_iterator keyed_iterator< Type >::operator+ ( int  n) const
inline
template<typename Type>
keyed_iterator& keyed_iterator< Type >::operator++ ( )
inline
template<typename Type>
keyed_iterator keyed_iterator< Type >::operator++ ( int  )
inline
template<typename Type>
keyed_iterator& keyed_iterator< Type >::operator+= ( int  n)
inline
template<typename Type>
keyed_iterator keyed_iterator< Type >::operator- ( int  n) const
inline
template<typename Type>
difference_type keyed_iterator< Type >::operator- ( const keyed_iterator< Type > &  o)
inline
template<typename Type>
keyed_iterator& keyed_iterator< Type >::operator-- ( )
inline
template<typename Type>
keyed_iterator keyed_iterator< Type >::operator-- ( int  )
inline
template<typename Type>
keyed_iterator& keyed_iterator< Type >::operator-= ( int  n)
inline
template<typename Type>
pointer keyed_iterator< Type >::operator-> ( ) const
inline
template<typename Type>
bool keyed_iterator< Type >::operator< ( const keyed_iterator< Type > &  o)
inline
template<typename Type>
bool keyed_iterator< Type >::operator== ( const keyed_iterator< Type > &  o) const
inline
template<typename Type>
const reference keyed_iterator< Type >::operator[] ( int  n) const
inline
template<typename Type>
reference keyed_iterator< Type >::operator[] ( int  n)
inline
template<typename Type>
int keyed_iterator< Type >::size ( ) const
inline
template<typename Type>
Type keyed_iterator< Type >::val ( ) const
inline
template<typename Type>
Type& keyed_iterator< Type >::val ( )
inline

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