Extending Qt Creator Manual | Snapshot

Extending Qt Creator Manual 4.5.2

# Snapshot Class

(CPlusPlus::Snapshot)

- List of all members, including inherited members

## Public Types

typedef | IncludeLocation
typedef | const_iterator
typedef | iterator

## Public Functions

| Snapshot()
| ~Snapshot()
QSet<QString> | allIncludesForDocument(const QString &fileName) const
const_iterator | begin() const
bool | contains(const Utils::FileName &fileName) const
bool | contains(const QString &fileName) const
Document::Ptr | document(const Utils::FileName &fileName) const
Document::Ptr | document(const QString &fileName) const
Document::Ptr | documentFromSource(const QByteArray &preprocessedDocument, const QString &fileName) const
const_iterator | end() const
Utils::FileNameList | filesDependingOn(const Utils::FileName &fileName) const
Utils::FileNameList | filesDependingOn(const QString &fileName) const
const_iterator | find(const Utils::FileName &fileName) const
const_iterator | find(const QString &fileName) const
QList<IncludeLocation> | includeLocationsOfDocument(const QString &fileName) const
void | insert(Document::Ptr doc)
bool | isEmpty() const
Document::Ptr | preprocessedDocument(const QByteArray &source, const Utils::FileName &fileName, int withDefinedMacrosFromDocumentUntilLine = -1) const
Document::Ptr | preprocessedDocument(const QByteArray &source, const QString &fileName, int withDefinedMacrosFromDocumentUntilLine = -1) const
void | remove(const Utils::FileName &fileName)
void | remove(const QString &fileName)
Snapshot | simplified(Document::Ptr doc) const
int | size() const
void | updateDependencyTable() const
bool | operator==(const Snapshot &other) const

## Member Type Documentation

### typedef Snapshot::IncludeLocation

### typedef Snapshot::const_iterator

### typedef Snapshot::iterator

## Member Function Documentation

### Snapshot::Snapshot()

Default constructs an instance of Snapshot.

### Snapshot::~Snapshot()

Destroys the instance of Snapshot.

### QSet<QString> Snapshot::allIncludesForDocument(const QString &fileName) const

### const_iterator Snapshot::begin() const

### bool Snapshot::contains(const Utils::FileName &fileName) const

### bool Snapshot::contains(const QString &fileName) const

### Document::Ptr Snapshot::document(const Utils::FileName &fileName) const

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

### Document::Ptr Snapshot::documentFromSource(const QByteArray &preprocessedDocument, const QString &fileName) const

### const_iterator Snapshot::end() const

### Utils::FileNameList Snapshot::filesDependingOn(const Utils::FileName &fileName) const

### Utils::FileNameList Snapshot::filesDependingOn(const QString &fileName) const

### const_iterator Snapshot::find(const Utils::FileName &fileName) const

### const_iterator Snapshot::find(const QString &fileName) const

### QList<IncludeLocation> Snapshot::includeLocationsOfDocument(const QString &fileName) const

### void Snapshot::insert(Document::Ptr doc)

### bool Snapshot::isEmpty() const

### Document::Ptr Snapshot::preprocessedDocument(const QByteArray &source, const Utils::FileName &fileName, int withDefinedMacrosFromDocumentUntilLine = -1) const

### Document::Ptr Snapshot::preprocessedDocument(const QByteArray &source, const QString &fileName, int withDefinedMacrosFromDocumentUntilLine = -1) const

### void Snapshot::remove(const Utils::FileName &fileName)

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

### Snapshot Snapshot::simplified(Document::Ptr doc) const

### int Snapshot::size() const

### void Snapshot::updateDependencyTable() const

### bool Snapshot::operator==(const Snapshot &other) const