LookupContext Class | Extending Qt Creator Manual

Extending Qt Creator Manual | LookupContext

Extending Qt Creator Manual 4.6.0

# LookupContext Class

(CPlusPlus::LookupContext)

- List of all members, including inherited members

## Public Functions

| LookupContext()
| LookupContext(Document::Ptr thisDocument, const Snapshot &snapshot)
| LookupContext(Document::Ptr expressionDocument, Document::Ptr thisDocument, const Snapshot &snapshot, QSharedPointer<CreateBindings> bindings = QSharedPointer<CreateBindings> ())
| LookupContext(const LookupContext &other)
QSharedPointer<CreateBindings> | bindings() const
Document::Ptr | document(const QString &fileName) const
Document::Ptr | expressionDocument() const
ClassOrNamespace * | globalNamespace() const
QList<LookupItem> | lookup(const Name *name, Scope *scope) const
ClassOrNamespace * | lookupParent(Symbol *symbol) const
ClassOrNamespace * | lookupType(const Name *name, Scope *scope, ClassOrNamespace *enclosingBinding = 0, QSet<const Declaration *> typedefsBeingResolved = QSet<const Declaration *> ()) const
ClassOrNamespace * | lookupType(Symbol *symbol, ClassOrNamespace *enclosingBinding = 0) const
void | setExpandTemplates(bool expandTemplates)
Snapshot | snapshot() const
Document::Ptr | thisDocument() const
LookupContext & | operator=(const LookupContext &other)

## Static Public Members

QList<const Name *> | fullyQualifiedName(Symbol *symbol)
const Name * | minimalName(Symbol *symbol, ClassOrNamespace *target, Control *control)
QList<const Name *> | path(Symbol *symbol)

## Member Function Documentation

### LookupContext::LookupContext()

Default constructs an instance of LookupContext.

### LookupContext::LookupContext(Document::Ptr thisDocument, const Snapshot &snapshot)

Default constructs an instance of LookupContext.

### LookupContext::LookupContext(Document::Ptr expressionDocument, Document::Ptr thisDocument, const Snapshot &snapshot, QSharedPointer<CreateBindings> bindings = QSharedPointer<CreateBindings> ())

Default constructs an instance of LookupContext.

### LookupContext::LookupContext(const LookupContext &other)

Copy constructor.

### QSharedPointer<CreateBindings> LookupContext::bindings() const

### Document::Ptr LookupContext::document(const QString &fileName) const

### Document::Ptr LookupContext::expressionDocument() const

### `[static]` QList<const Name *> LookupContext::fullyQualifiedName(Symbol *symbol)

### ClassOrNamespace *LookupContext::globalNamespace() const

### QList<LookupItem> LookupContext::lookup(const Name *name, Scope *scope) const

### ClassOrNamespace *LookupContext::lookupParent(Symbol *symbol) const

### ClassOrNamespace *LookupContext::lookupType(const Name *name, Scope *scope, ClassOrNamespace *enclosingBinding = 0, QSet<const Declaration *> typedefsBeingResolved = QSet<const Declaration *> ()) const

### ClassOrNamespace *LookupContext::lookupType(Symbol *symbol, ClassOrNamespace *enclosingBinding = 0) const

### `[static]` const Name *LookupContext::minimalName(Symbol *symbol, ClassOrNamespace *target, Control *control)

### `[static]` QList<const Name *> LookupContext::path(Symbol *symbol)

### void LookupContext::setExpandTemplates(bool expandTemplates)

### Snapshot LookupContext::snapshot() const

### Document::Ptr LookupContext::thisDocument() const

### LookupContext &LookupContext::operator=(const LookupContext &other)

Copy-assignment operator.