clang API Documentation

Public Types | Public Member Functions | Friends
clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator Class Reference

#include <ExternalASTSource.h>

List of all members.

Public Types

typedef T value_type
typedef value_typereference
typedef value_typepointer
typedef
std::random_access_iterator_tag 
iterator_category
typedef int difference_type

Public Member Functions

 iterator ()
 iterator (LazyVector *Self, int Position)
reference operator* () const
pointer operator-> () const
reference operator[] (difference_type D)
iteratoroperator++ ()
iterator operator++ (int)
iteratoroperator-- ()
iterator operator-- (int)

Friends

class LazyVector
bool operator== (const iterator &X, const iterator &Y)
bool operator!= (const iterator &X, const iterator &Y)
bool operator< (const iterator &X, const iterator &Y)
bool operator> (const iterator &X, const iterator &Y)
bool operator<= (const iterator &X, const iterator &Y)
bool operator>= (const iterator &X, const iterator &Y)
iteratoroperator+= (iterator &X, difference_type D)
iteratoroperator-= (iterator &X, difference_type D)
iterator operator+ (iterator X, difference_type D)
iterator operator+ (difference_type D, iterator X)
difference_type operator- (const iterator &X, const iterator &Y)
iterator operator- (iterator X, difference_type D)

Detailed Description

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
class clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator

Definition at line 481 of file ExternalASTSource.h.


Member Typedef Documentation

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
typedef int clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::difference_type

Definition at line 505 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
typedef std::random_access_iterator_tag clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::iterator_category

Definition at line 504 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
typedef value_type* clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::pointer

Definition at line 503 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
typedef value_type& clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::reference

Definition at line 502 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
typedef T clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::value_type

Definition at line 501 of file ExternalASTSource.h.


Constructor & Destructor Documentation

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::iterator ( ) [inline]

Definition at line 507 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::iterator ( LazyVector Self,
int  Position 
) [inline]

Definition at line 509 of file ExternalASTSource.h.


Member Function Documentation

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
reference clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator* ( ) const [inline]

Definition at line 512 of file ExternalASTSource.h.

References Position.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator& clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator++ ( ) [inline]

Definition at line 529 of file ExternalASTSource.h.

References Position.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator++ ( int  ) [inline]

Definition at line 534 of file ExternalASTSource.h.

References Position.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator& clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator-- ( ) [inline]

Definition at line 540 of file ExternalASTSource.h.

References Position.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator-- ( int  ) [inline]

Definition at line 545 of file ExternalASTSource.h.

References Position.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
pointer clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator-> ( ) const [inline]

Definition at line 518 of file ExternalASTSource.h.

References Position.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
reference clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::iterator::operator[] ( difference_type  D) [inline]

Definition at line 525 of file ExternalASTSource.h.


Friends And Related Function Documentation

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
friend class LazyVector [friend]

Definition at line 498 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
bool operator!= ( const iterator X,
const iterator Y 
) [friend]

Definition at line 555 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator operator+ ( iterator  X,
difference_type  D 
) [friend]

Definition at line 585 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator operator+ ( difference_type  D,
iterator  X 
) [friend]

Definition at line 590 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator& operator+= ( iterator X,
difference_type  D 
) [friend]

Definition at line 575 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
difference_type operator- ( const iterator X,
const iterator Y 
) [friend]

Definition at line 595 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator operator- ( iterator  X,
difference_type  D 
) [friend]

Definition at line 599 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator& operator-= ( iterator X,
difference_type  D 
) [friend]

Definition at line 580 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
bool operator< ( const iterator X,
const iterator Y 
) [friend]

Definition at line 559 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
bool operator<= ( const iterator X,
const iterator Y 
) [friend]

Definition at line 567 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
bool operator== ( const iterator X,
const iterator Y 
) [friend]

Definition at line 551 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
bool operator> ( const iterator X,
const iterator Y 
) [friend]

Definition at line 563 of file ExternalASTSource.h.

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
bool operator>= ( const iterator X,
const iterator Y 
) [friend]

Definition at line 571 of file ExternalASTSource.h.


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