Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
util::ProxyIterator< Proxy > Class Template Reference

#include <proxy_iterator.hh>

Collaboration diagram for util::ProxyIterator< Proxy >:
[legend]

List of all members.

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
typedef Proxy::value_type value_type
typedef std::ptrdiff_t difference_type
typedef Proxy reference
typedef Proxy * pointer

Public Member Functions

 ProxyIterator ()
template<class AlternateProxy >
 ProxyIterator (const ProxyIterator< AlternateProxy > &in)
 ProxyIterator (const Proxy &p)
Soperator= (const S &other)
bool operator== (const S &other) const
bool operator!= (const S &other) const
bool operator< (const S &other) const
bool operator> (const S &other) const
bool operator<= (const S &other) const
bool operator>= (const S &other) const
Soperator++ ()
S operator++ (int)
Soperator+= (std::ptrdiff_t amount)
S operator+ (std::ptrdiff_t amount) const
Soperator-- ()
S operator-- (int)
Soperator-= (std::ptrdiff_t amount)
S operator- (std::ptrdiff_t amount) const
std::ptrdiff_t operator- (const S &other) const
Proxy operator* ()
const Proxy operator* () const
Proxy * operator-> ()
const Proxy * operator-> () const
Proxy operator[] (std::ptrdiff_t amount) const
const InnerIteratorInner ()

Private Types

typedef ProxyIterator< Proxy > S
typedef Proxy::InnerIterator InnerIterator

Private Member Functions

InnerIteratorI ()
const InnerIteratorI () const

Private Attributes

Proxy p_

template<class Proxy>
class util::ProxyIterator< Proxy >


Member Typedef Documentation

template<class Proxy>
typedef std::ptrdiff_t util::ProxyIterator< Proxy >::difference_type
template<class Proxy>
typedef Proxy::InnerIterator util::ProxyIterator< Proxy >::InnerIterator [private]
template<class Proxy>
typedef std::random_access_iterator_tag util::ProxyIterator< Proxy >::iterator_category
template<class Proxy>
typedef Proxy* util::ProxyIterator< Proxy >::pointer
template<class Proxy>
typedef Proxy util::ProxyIterator< Proxy >::reference
template<class Proxy>
typedef ProxyIterator<Proxy> util::ProxyIterator< Proxy >::S [private]
template<class Proxy>
typedef Proxy::value_type util::ProxyIterator< Proxy >::value_type

Constructor & Destructor Documentation

template<class Proxy>
util::ProxyIterator< Proxy >::ProxyIterator ( )
template<class Proxy>
template<class AlternateProxy >
util::ProxyIterator< Proxy >::ProxyIterator ( const ProxyIterator< AlternateProxy > &  in)
template<class Proxy>
util::ProxyIterator< Proxy >::ProxyIterator ( const Proxy &  p) [explicit]

Member Function Documentation

template<class Proxy>
InnerIterator& util::ProxyIterator< Proxy >::I ( ) [private]

Here is the caller graph for this function:

template<class Proxy>
const InnerIterator& util::ProxyIterator< Proxy >::I ( ) const [private]
template<class Proxy>
const InnerIterator& util::ProxyIterator< Proxy >::Inner ( )
template<class Proxy>
bool util::ProxyIterator< Proxy >::operator!= ( const S other) const
template<class Proxy>
Proxy util::ProxyIterator< Proxy >::operator* ( )
template<class Proxy>
const Proxy util::ProxyIterator< Proxy >::operator* ( ) const
template<class Proxy>
S util::ProxyIterator< Proxy >::operator+ ( std::ptrdiff_t  amount) const
template<class Proxy>
S& util::ProxyIterator< Proxy >::operator++ ( )
template<class Proxy>
S util::ProxyIterator< Proxy >::operator++ ( int  )
template<class Proxy>
S& util::ProxyIterator< Proxy >::operator+= ( std::ptrdiff_t  amount)
template<class Proxy>
S util::ProxyIterator< Proxy >::operator- ( std::ptrdiff_t  amount) const
template<class Proxy>
std::ptrdiff_t util::ProxyIterator< Proxy >::operator- ( const S other) const
template<class Proxy>
S& util::ProxyIterator< Proxy >::operator-- ( )
template<class Proxy>
S util::ProxyIterator< Proxy >::operator-- ( int  )
template<class Proxy>
S& util::ProxyIterator< Proxy >::operator-= ( std::ptrdiff_t  amount)
template<class Proxy>
Proxy* util::ProxyIterator< Proxy >::operator-> ( )
template<class Proxy>
const Proxy* util::ProxyIterator< Proxy >::operator-> ( ) const
template<class Proxy>
bool util::ProxyIterator< Proxy >::operator< ( const S other) const
template<class Proxy>
bool util::ProxyIterator< Proxy >::operator<= ( const S other) const
template<class Proxy>
S& util::ProxyIterator< Proxy >::operator= ( const S other)
template<class Proxy>
bool util::ProxyIterator< Proxy >::operator== ( const S other) const
template<class Proxy>
bool util::ProxyIterator< Proxy >::operator> ( const S other) const
template<class Proxy>
bool util::ProxyIterator< Proxy >::operator>= ( const S other) const
template<class Proxy>
Proxy util::ProxyIterator< Proxy >::operator[] ( std::ptrdiff_t  amount) const

Member Data Documentation

template<class Proxy>
Proxy util::ProxyIterator< Proxy >::p_ [private]