Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdocindexfiles.cpp File Reference

(8d97451d74e94b3d4114f5d34473f3da46e4502c)

#include "qdocindexfiles.h"
#include "access.h"
#include "atom.h"
#include "classnode.h"
#include "collectionnode.h"
#include "comparisoncategory.h"
#include "config.h"
#include "enumnode.h"
#include "qmlenumnode.h"
#include "examplenode.h"
#include "externalpagenode.h"
#include "functionnode.h"
#include "generator.h"
#include "genustypes.h"
#include "headernode.h"
#include "inclusionfilter.h"
#include "location.h"
#include "utilities.h"
#include "textutils.h"
#include "propertynode.h"
#include "qdocdatabase.h"
#include "qmlpropertynode.h"
#include "sharedcommentnode.h"
#include "typedefnode.h"
#include "variablenode.h"
#include <QtCore/qxmlstream.h>
#include <algorithm>
Include dependency graph for qdocindexfiles.cpp:

Go to the source code of this file.

Enumerations

enum  QDocAttr {
  QDocAttrNone , QDocAttrExample , QDocAttrFile , QDocAttrImage ,
  QDocAttrDocument , QDocAttrExternalPage , QDocAttrAttribution , QDocAttrNone ,
  QDocAttrExample , QDocAttrFile , QDocAttrImage , QDocAttrDocument ,
  QDocAttrExternalPage , QDocAttrAttribution
}
enum  QDocAttr {
  QDocAttrNone , QDocAttrExample , QDocAttrFile , QDocAttrImage ,
  QDocAttrDocument , QDocAttrExternalPage , QDocAttrAttribution , QDocAttrNone ,
  QDocAttrExample , QDocAttrFile , QDocAttrImage , QDocAttrDocument ,
  QDocAttrExternalPage , QDocAttrAttribution
}

Functions

static QString getAccessString (Access t)
static QString getStatusString (Status t)
static QString getThreadSafenessString (Node::ThreadSafeness t)
static void writeNonEmpty (QXmlStreamWriter &writer, const QString &name, const QString &value)
 Write an attribute to the current element using the writer for the attribute with the given name if the value is not an empty string.
static NodeList sortedNonFunctionChildren (const Aggregate *aggregate)

Variables

static Node * root_ = nullptr
static IndexSectionWriter * post_ = nullptr
static QHash< QString, SharedCommentNode * > sharedDocNodes_

Enumeration Type Documentation

◆ QDocAttr [1/2]

enum QDocAttr
Enumerator
QDocAttrNone 
QDocAttrExample 
QDocAttrFile 
QDocAttrImage 
QDocAttrDocument 
QDocAttrExternalPage 
QDocAttrAttribution 
QDocAttrNone 
QDocAttrExample 
QDocAttrFile 
QDocAttrImage 
QDocAttrDocument 
QDocAttrExternalPage 
QDocAttrAttribution 

Definition at line 37 of file qdocindexfiles.cpp.

◆ QDocAttr [2/2]

enum QDocAttr
Enumerator
QDocAttrNone 
QDocAttrExample 
QDocAttrFile 
QDocAttrImage 
QDocAttrDocument 
QDocAttrExternalPage 
QDocAttrAttribution 
QDocAttrNone 
QDocAttrExample 
QDocAttrFile 
QDocAttrImage 
QDocAttrDocument 
QDocAttrExternalPage 
QDocAttrAttribution 

Definition at line 37 of file qdocindexfiles.cpp.

Function Documentation

◆ getAccessString()

QString getAccessString ( Access t)
static

Definition at line 785 of file qdocindexfiles.cpp.

◆ getStatusString()

QString getStatusString ( Status t)
static

Definition at line 801 of file qdocindexfiles.cpp.

References Active, Deprecated, DontDocument, Internal, InternalAuto, and Preliminary.

◆ getThreadSafenessString()

◆ sortedNonFunctionChildren()

NodeList sortedNonFunctionChildren ( const Aggregate * aggregate)
static

Definition at line 1520 of file qdocindexfiles.cpp.

References Node< _Tp >::nodeLessThan(), and Aggregate::nonFunctionChildren().

Here is the call graph for this function:

◆ writeNonEmpty()

void writeNonEmpty ( QXmlStreamWriter & writer,
const QString & name,
const QString & value )
static

Write an attribute to the current element using the writer for the attribute with the given name if the value is not an empty string.

Definition at line 855 of file qdocindexfiles.cpp.

Variable Documentation

◆ post_

IndexSectionWriter * post_ = nullptr
static

Definition at line 48 of file qdocindexfiles.cpp.

◆ root_

Node * root_ = nullptr
static

Definition at line 47 of file qdocindexfiles.cpp.

◆ sharedDocNodes_

QHash< QString, SharedCommentNode * > sharedDocNodes_
static

Definition at line 49 of file qdocindexfiles.cpp.