clang API Documentation

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

Represents a lazily-loaded vector of data. More...

#include <ExternalASTSource.h>

Inheritance diagram for clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >:
Inheritance graph
[legend]

List of all members.

Classes

class  iterator

Public Member Functions

iterator begin (Source *source, bool LocalOnly=false)
iterator end ()
void push_back (const T &LocalValue)
void erase (iterator From, iterator To)

Friends

class iterator

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 >

Represents a lazily-loaded vector of data.

The lazily-loaded vector of data contains data that is partially loaded from an external source and partially added by local translation. The items loaded from the external source are loaded lazily, when needed for iteration over the complete vector.

Definition at line 475 of file ExternalASTSource.h.


Member Function Documentation

template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::begin ( Source *  source,
bool  LocalOnly = false 
) [inline]
template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
iterator clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::end ( ) [inline]
template<typename T, typename Source, void(Source::*)(SmallVectorImpl< T > &) Loader, unsigned LoadedStorage = 2, unsigned LocalStorage = 4>
void clang::LazyVector< T, Source, Loader, LoadedStorage, LocalStorage >::erase ( iterator  From,
iterator  To 
) [inline]

Definition at line 623 of file ExternalASTSource.h.

Referenced by clang::Sema::ActOnEndOfTranslationUnit().

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

Friends And Related Function Documentation

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

Definition at line 604 of file ExternalASTSource.h.


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