Extending Qt Creator Manual | CreateBindings

Extending Qt Creator Manual 4.4.0

# CreateBindings Class

(CPlusPlus::CreateBindings)

- List of all members, including inherited members

## Public Functions

| CreateBindings(Document::Ptr thisDocument, const Snapshot &snapshot)
virtual | ~CreateBindings()
ClassOrNamespace * | allocClassOrNamespace(ClassOrNamespace *parent)
QSharedPointer<Control> | control() const
bool | expandTemplates() const
ClassOrNamespace * | globalNamespace() const
void | lookupInScope(const Name *name, Scope *scope, QList<LookupItem> *result, const TemplateNameId *templateId, ClassOrNamespace *binding)
ClassOrNamespace * | lookupType(Symbol *symbol, ClassOrNamespace *enclosingBinding = 0)
ClassOrNamespace * | lookupType(const QList<const Name *> &path, ClassOrNamespace *enclosingBinding = 0)
void | process(Symbol *rootSymbol, ClassOrNamespace *classOrNamespace)
void | setExpandTemplates(bool expandTemplates)

## Protected Functions

ClassOrNamespace * | enterClassOrNamespaceBinding(Symbol *symbol)
ClassOrNamespace * | enterGlobalClassOrNamespace(Symbol *symbol)
void | process(Document::Ptr document)
void | process(Symbol *root)
ClassOrNamespace * | switchCurrentClassOrNamespace(ClassOrNamespace *classOrNamespace)
virtual bool | visit(Template *templ)
virtual bool | visit(Namespace *ns)
virtual bool | visit(Class *klass)
virtual bool | visit(ForwardClassDeclaration *klass)
virtual bool | visit(Enum *e)
virtual bool | visit(Declaration *decl)
virtual bool | visit(Function *function)
virtual bool | visit(Block *block)
virtual bool | visit(BaseClass *b)
virtual bool | visit(UsingNamespaceDirective *u)
virtual bool | visit(UsingDeclaration *u)
virtual bool | visit(NamespaceAlias *a)
virtual bool | visit(ObjCClass *klass)
virtual bool | visit(ObjCBaseClass *b)
virtual bool | visit(ObjCForwardClassDeclaration *klass)
virtual bool | visit(ObjCProtocol *proto)
virtual bool | visit(ObjCBaseProtocol *b)
virtual bool | visit(ObjCForwardProtocolDeclaration *proto)
virtual bool | visit(ObjCMethod *)

## Member Function Documentation

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

Default constructs an instance of CreateBindings.

### `[virtual]` CreateBindings::~CreateBindings()

Destroys the instance of CreateBindings. The destructor is virtual.

### ClassOrNamespace *CreateBindings::allocClassOrNamespace(ClassOrNamespace *parent)

### QSharedPointer<Control> CreateBindings::control() const

### `[protected]` ClassOrNamespace *CreateBindings::enterClassOrNamespaceBinding(Symbol *symbol)

### `[protected]` ClassOrNamespace *CreateBindings::enterGlobalClassOrNamespace(Symbol *symbol)

### bool CreateBindings::expandTemplates() const

See also setExpandTemplates().

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

### void CreateBindings::lookupInScope(const Name *name, Scope *scope, QList<LookupItem> *result, const TemplateNameId *templateId, ClassOrNamespace *binding)

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

### ClassOrNamespace *CreateBindings::lookupType(const QList<const Name *> &path, ClassOrNamespace *enclosingBinding = 0)

### void CreateBindings::process(Symbol *rootSymbol, ClassOrNamespace *classOrNamespace)

### `[protected]` void CreateBindings::process(Document::Ptr document)

### `[protected]` void CreateBindings::process(Symbol *root)

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

See also expandTemplates().

### `[protected]` ClassOrNamespace *CreateBindings::switchCurrentClassOrNamespace(ClassOrNamespace *classOrNamespace)

### `[virtual protected]` bool CreateBindings::visit(Template *templ)

### `[virtual protected]` bool CreateBindings::visit(Namespace *ns)

### `[virtual protected]` bool CreateBindings::visit(Class *klass)

### `[virtual protected]` bool CreateBindings::visit(ForwardClassDeclaration *klass)

### `[virtual protected]` bool CreateBindings::visit(Enum *e)

### `[virtual protected]` bool CreateBindings::visit(Declaration *decl)

### `[virtual protected]` bool CreateBindings::visit(Function *function)

### `[virtual protected]` bool CreateBindings::visit(Block *block)

### `[virtual protected]` bool CreateBindings::visit(BaseClass *b)

### `[virtual protected]` bool CreateBindings::visit(UsingNamespaceDirective *u)

### `[virtual protected]` bool CreateBindings::visit(UsingDeclaration *u)

### `[virtual protected]` bool CreateBindings::visit(NamespaceAlias *a)

### `[virtual protected]` bool CreateBindings::visit(ObjCClass *klass)

### `[virtual protected]` bool CreateBindings::visit(ObjCBaseClass *b)

### `[virtual protected]` bool CreateBindings::visit(ObjCForwardClassDeclaration *klass)

### `[virtual protected]` bool CreateBindings::visit(ObjCProtocol *proto)

### `[virtual protected]` bool CreateBindings::visit(ObjCBaseProtocol *b)

### `[virtual protected]` bool CreateBindings::visit(ObjCForwardProtocolDeclaration *proto)

### `[virtual protected]` bool CreateBindings::visit(ObjCMethod *)