Extending Qt Creator Manual | ImportDependencies

Extending Qt Creator Manual 4.5.2

# ImportDependencies Class

(QmlJS::ImportDependencies)

- List of all members, including inherited members

## Public Types

typedef | ImportElements

## Public Functions

| ImportDependencies()
| ~ImportDependencies()
void | addCoreImport(const CoreImport &import)
void | addExport(const QString &importId, const ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())
ImportElements | candidateImports(const ImportKey &key, const ViewerContext &vContext) const
void | checkConsistency() const
CoreImport | coreImport(const QString &importId) const
QList<DependencyInfo::ConstPtr> | createDependencyInfos(const ImportKey &mainDoc, const ViewerContext &vContext) const
void | filter(const ViewerContext &vContext)
void | iterateOnCandidateImports(const ImportKey &key, const ViewerContext &vContext, std::function<bool( const ImportMatchStrength &, const Export &, const CoreImport & ) > const &iterF) const
void | iterateOnCoreImports(const ViewerContext &vContext, std::function<bool( const CoreImport & ) > const &iterF) const
void | iterateOnLibraryImports(const ViewerContext &vContext, std::function<bool( const ImportMatchStrength &, const Export &, const CoreImport & ) > const &iterF) const
void | iterateOnSubImports(const ImportKey &baseKey, const ViewerContext &vContext, std::function<bool( const ImportMatchStrength &, const Export &, const CoreImport & ) > const &iterF) const
QSet<ImportKey> | libraryImports(const ViewerContext &viewContext) const
void | removeCoreImport(const QString &importId)
void | removeExport(const QString &importId, const ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())
QSet<ImportKey> | subdirImports(const ImportKey &baseKey, const ViewerContext &viewContext) const

## Member Type Documentation

### typedef ImportDependencies::ImportElements

## Member Function Documentation

### ImportDependencies::ImportDependencies()

Default constructs an instance of ImportDependencies.

### ImportDependencies::~ImportDependencies()

Destroys the instance of ImportDependencies.

### void ImportDependencies::addCoreImport(const CoreImport &import)

### void ImportDependencies::addExport(const QString &importId, const ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())

### ImportElements ImportDependencies::candidateImports(const ImportKey &key, const ViewerContext &vContext) const

### void ImportDependencies::checkConsistency() const

### CoreImport ImportDependencies::coreImport(const QString &importId) const

### QList<DependencyInfo::ConstPtr> ImportDependencies::createDependencyInfos(const ImportKey &mainDoc, const ViewerContext &vContext) const

### void ImportDependencies::filter(const ViewerContext &vContext)

### void ImportDependencies::iterateOnCandidateImports(const ImportKey &key, const ViewerContext &vContext, std::function<bool( const ImportMatchStrength &, const Export &, const CoreImport & ) > const &iterF) const

### void ImportDependencies::iterateOnCoreImports(const ViewerContext &vContext, std::function<bool( const CoreImport & ) > const &iterF) const

### void ImportDependencies::iterateOnLibraryImports(const ViewerContext &vContext, std::function<bool( const ImportMatchStrength &, const Export &, const CoreImport & ) > const &iterF) const

### void ImportDependencies::iterateOnSubImports(const ImportKey &baseKey, const ViewerContext &vContext, std::function<bool( const ImportMatchStrength &, const Export &, const CoreImport & ) > const &iterF) const

### QSet<ImportKey> ImportDependencies::libraryImports(const ViewerContext &viewContext) const

### void ImportDependencies::removeCoreImport(const QString &importId)

### void ImportDependencies::removeExport(const QString &importId, const ImportKey &importKey, const QString &requiredPath, const QString &typeName = Export::libraryTypeName())

### QSet<ImportKey> ImportDependencies::subdirImports(const ImportKey &baseKey, const ViewerContext &viewContext) const