Extending Qt Creator Manual | Snapshot

Extending Qt Creator Manual 4.7.1

# Snapshot Class

(QmlJS::QmlJS::Snapshot)

- List of all members, including inherited members

## Public Types

typedef | const_iterator
typedef | iterator

## Public Functions

| Snapshot()
| Snapshot(const QmlJS::QmlJS::Snapshot &o)
| ~Snapshot()
QmlJS::QmlJS::Snapshot::const_iterator | begin() const
Document::Ptr | document(const QmlJS::QString &fileName) const
Document::MutablePtr | documentFromSource(const QmlJS::QString &code, const QmlJS::QString &fileName, int language) const
QList<Document::Ptr> | documentsInDirectory(const QmlJS::QString &path) const
QmlJS::QmlJS::Snapshot::const_iterator | end() const
const QmlJS::QmlJS::ImportDependencies * | importDependencies() const
QmlJS::QmlJS::ImportDependencies * | importDependencies()
void | insert(const Document::Ptr &document, bool allowInvalid = false)
void | insertLibraryInfo(const QmlJS::QString &path, const QmlJS::QmlJS::LibraryInfo &info)
QmlJS::QmlJS::LibraryInfo | libraryInfo(const QmlJS::QString &path) const
void | remove(const QmlJS::QString &fileName)

## Member Type Documentation

### typedef Snapshot::const_iterator

### typedef Snapshot::iterator

## Member Function Documentation

### Snapshot::Snapshot()

Default constructs an instance of Snapshot.

### Snapshot::Snapshot(const QmlJS::QmlJS::Snapshot &o)

Default constructs an instance of Snapshot.

### Snapshot::~Snapshot()

Destroys the instance of Snapshot.

### QmlJS::QmlJS::Snapshot::const_iterator Snapshot::begin() const

### Document::Ptr Snapshot::document(const QmlJS::QString &fileName) const

### Document::MutablePtr Snapshot::documentFromSource(const QmlJS::QString &code, const QmlJS::QString &fileName, int language) const

### QList<Document::Ptr> Snapshot::documentsInDirectory(const QmlJS::QString &path) const

### QmlJS::QmlJS::Snapshot::const_iterator Snapshot::end() const

### const QmlJS::QmlJS::ImportDependencies *Snapshot::importDependencies() const

### QmlJS::QmlJS::ImportDependencies *Snapshot::importDependencies()

### void Snapshot::insert(const Document::Ptr &document, bool allowInvalid = false)

### void Snapshot::insertLibraryInfo(const QmlJS::QString &path, const QmlJS::QmlJS::LibraryInfo &info)

### QmlJS::QmlJS::LibraryInfo Snapshot::libraryInfo(const QmlJS::QString &path) const

### void Snapshot::remove(const QmlJS::QString &fileName)