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

(c9387be9a99b57d72882119a6b25c68bc9e308ac)

#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 "indexserializationcontext.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 tt)
static QString getStatusString (Status tt)
static QString getThreadSafenessString (Node::ThreadSafeness tt)
static void writeNonEmpty (QXmlStreamWriter &writer, const QString &namename, const QString &valuevalue)
 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 void writeExternalRelates (QXmlStreamWriter &writer, Node *node)
 Writes the relatedto attribute for node using the writer, if node is related to aggregates in other modules with the relates command.
static NodeList sortedNonFunctionChildren (const Aggregate *aggregate)

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 38 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 38 of file qdocindexfiles.cpp.

Function Documentation

◆ getAccessString()

QString getAccessString ( Access t)
static

Definition at line 836 of file qdocindexfiles.cpp.

◆ getStatusString()

QString getStatusString ( Status t)
static

Definition at line 852 of file qdocindexfiles.cpp.

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

◆ getThreadSafenessString()

◆ sortedNonFunctionChildren()

NodeList sortedNonFunctionChildren ( const Aggregate * aggregate)
static

Definition at line 1599 of file qdocindexfiles.cpp.

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

Here is the call graph for this function:

◆ writeExternalRelates()

void writeExternalRelates ( QXmlStreamWriter & writer,
Node * node )
static

Writes the relatedto attribute for node using the writer, if node is related to aggregates in other modules with the relates command.

The value is a comma-separated list of the qualified names of those aggregates.

See also
Tree::addExternalRelates()

Definition at line 922 of file qdocindexfiles.cpp.

References Node< _Tp >::tree().

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 908 of file qdocindexfiles.cpp.