clang API Documentation

Public Types | Public Member Functions | Friends
clang::CanTypeIterator< InputIterator > Class Template Reference

Iterator adaptor that turns an iterator over canonical QualTypes into an iterator over CanQualTypes. More...

#include <CanonicalType.h>

List of all members.

Public Types

typedef CanQualType value_type
typedef value_type reference
typedef CanProxy< Typepointer
typedef std::iterator_traits
< InputIterator >
::difference_type 
difference_type
typedef std::iterator_traits
< InputIterator >
::iterator_category 
iterator_category

Public Member Functions

 CanTypeIterator ()
 CanTypeIterator (InputIterator Iter)
reference operator* () const
pointer operator-> () const
CanTypeIteratoroperator++ ()
CanTypeIterator operator++ (int)
CanTypeIteratoroperator-- ()
CanTypeIterator operator-- (int)
reference operator[] (difference_type n) const
CanTypeIteratoroperator+= (difference_type n)
CanTypeIteratoroperator-= (difference_type n)

Friends

bool operator== (const CanTypeIterator &X, const CanTypeIterator &Y)
bool operator!= (const CanTypeIterator &X, const CanTypeIterator &Y)
CanTypeIterator operator+ (CanTypeIterator X, difference_type n)
CanTypeIterator operator+ (difference_type n, CanTypeIterator X)
CanTypeIterator operator- (CanTypeIterator X, difference_type n)
difference_type operator- (const CanTypeIterator &X, const CanTypeIterator &Y)

Detailed Description

template<typename InputIterator>
class clang::CanTypeIterator< InputIterator >

Iterator adaptor that turns an iterator over canonical QualTypes into an iterator over CanQualTypes.

Definition at line 385 of file CanonicalType.h.


Member Typedef Documentation

template<typename InputIterator >
typedef std::iterator_traits<InputIterator>::difference_type clang::CanTypeIterator< InputIterator >::difference_type

Definition at line 393 of file CanonicalType.h.

template<typename InputIterator >
typedef std::iterator_traits<InputIterator>::iterator_category clang::CanTypeIterator< InputIterator >::iterator_category

Definition at line 395 of file CanonicalType.h.

template<typename InputIterator >
typedef CanProxy<Type> clang::CanTypeIterator< InputIterator >::pointer

Definition at line 391 of file CanonicalType.h.

template<typename InputIterator >
typedef value_type clang::CanTypeIterator< InputIterator >::reference

Definition at line 390 of file CanonicalType.h.

template<typename InputIterator >
typedef CanQualType clang::CanTypeIterator< InputIterator >::value_type

Definition at line 389 of file CanonicalType.h.


Constructor & Destructor Documentation

template<typename InputIterator >
clang::CanTypeIterator< InputIterator >::CanTypeIterator ( ) [inline]

Definition at line 397 of file CanonicalType.h.

template<typename InputIterator >
clang::CanTypeIterator< InputIterator >::CanTypeIterator ( InputIterator  Iter) [inline, explicit]

Definition at line 398 of file CanonicalType.h.


Member Function Documentation

template<typename InputIterator >
reference clang::CanTypeIterator< InputIterator >::operator* ( ) const [inline]

Definition at line 401 of file CanonicalType.h.

References clang::CanQual< Type >::CreateUnsafe().

template<typename InputIterator >
CanTypeIterator& clang::CanTypeIterator< InputIterator >::operator++ ( ) [inline]

Definition at line 407 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator clang::CanTypeIterator< InputIterator >::operator++ ( int  ) [inline]

Definition at line 412 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator& clang::CanTypeIterator< InputIterator >::operator+= ( difference_type  n) [inline]

Definition at line 442 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator& clang::CanTypeIterator< InputIterator >::operator-- ( ) [inline]

Definition at line 426 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator clang::CanTypeIterator< InputIterator >::operator-- ( int  ) [inline]

Definition at line 431 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator& clang::CanTypeIterator< InputIterator >::operator-= ( difference_type  n) [inline]

Definition at line 447 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator< InputIterator >::pointer clang::CanTypeIterator< InputIterator >::operator-> ( ) const

Definition at line 732 of file CanonicalType.h.

template<typename InputIterator >
reference clang::CanTypeIterator< InputIterator >::operator[] ( difference_type  n) const [inline]

Definition at line 438 of file CanonicalType.h.

References clang::CanQual< Type >::CreateUnsafe().


Friends And Related Function Documentation

template<typename InputIterator >
bool operator!= ( const CanTypeIterator< InputIterator > &  X,
const CanTypeIterator< InputIterator > &  Y 
) [friend]

Definition at line 421 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator operator+ ( CanTypeIterator< InputIterator >  X,
difference_type  n 
) [friend]

Definition at line 452 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator operator+ ( difference_type  n,
CanTypeIterator< InputIterator >  X 
) [friend]

Definition at line 457 of file CanonicalType.h.

template<typename InputIterator >
CanTypeIterator operator- ( CanTypeIterator< InputIterator >  X,
difference_type  n 
) [friend]

Definition at line 462 of file CanonicalType.h.

template<typename InputIterator >
difference_type operator- ( const CanTypeIterator< InputIterator > &  X,
const CanTypeIterator< InputIterator > &  Y 
) [friend]

Definition at line 467 of file CanonicalType.h.

template<typename InputIterator >
bool operator== ( const CanTypeIterator< InputIterator > &  X,
const CanTypeIterator< InputIterator > &  Y 
) [friend]

Definition at line 418 of file CanonicalType.h.


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