class LazyVector
Declaration
template <typename T,
typename Source,
void (Source::*)(SmallVectorImpl<T>&) Loader,
unsigned int LoadedStorage = 2,
unsigned int LocalStorage = 4>
class LazyVector { /* full declaration omitted */ };
Description
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.
Declared at: clang/include/clang/AST/ExternalASTSource.h:493
Templates
- T
- Source
- void (Source::*)(SmallVectorImpl
&) Loader - unsigned int LoadedStorage = 2
- unsigned int LocalStorage = 4
Member Variables
- private SmallVector<T, LoadedStorage> Loaded
- private SmallVector<T, LocalStorage> Local
Method Overview
- public clang::LazyVector::iterator begin(Source * source, bool LocalOnly = false)
- public clang::LazyVector::iterator end()
- public void erase(clang::LazyVector::iterator From, clang::LazyVector::iterator To)
- public void push_back(const T & LocalValue)
Methods
¶clang::LazyVector::iterator begin(
Source* source,
bool LocalOnly = false)
clang::LazyVector::iterator begin(
Source* source,
bool LocalOnly = false)
Declared at: clang/include/clang/AST/ExternalASTSource.h:536
Parameters
- Source* source
- bool LocalOnly = false
¶clang::LazyVector::iterator end()
clang::LazyVector::iterator end()
Declared at: clang/include/clang/AST/ExternalASTSource.h:545
¶void erase(clang::LazyVector::iterator From,
clang::LazyVector::iterator To)
void erase(clang::LazyVector::iterator From,
clang::LazyVector::iterator To)
Declared at: clang/include/clang/AST/ExternalASTSource.h:553
Parameters
¶void push_back(const T& LocalValue)
void push_back(const T& LocalValue)
Declared at: clang/include/clang/AST/ExternalASTSource.h:549
Parameters
- const T& LocalValue