Doxygen
|
#include <src/index.h>
Classes | |
struct | Private |
Public Types | |
using | MemberIndexList = std::vector<const MemberDef *> |
using | MemberIndexMap = std::map<std::string,MemberIndexList> |
Static Public Member Functions | |
static Index & | instance () |
Private Member Functions | |
void | resetDocumentedClassMembers (int i) |
void | resetDocumentedFileMembers (int i) |
void | resetDocumentedNamespaceMembers (int i) |
void | resetDocumentedModuleMembers (int i) |
void | incrementDocumentedClassMembers (int i, const std::string &letter, const MemberDef *md) |
void | incrementDocumentedFileMembers (int i, const std::string &letter, const MemberDef *md) |
void | incrementDocumentedNamespaceMembers (int i, const std::string &letter, const MemberDef *md) |
void | incrementDocumentedModuleMembers (int i, const std::string &letter, const MemberDef *md) |
Index () | |
~Index () | |
Private Attributes | |
std::unique_ptr< Private > | p |
using Index::MemberIndexList = std::vector<const MemberDef *> |
using Index::MemberIndexMap = std::map<std::string,MemberIndexList> |
|
private |
|
privatedefault |
References Index().
void Index::addClassMemberNameToIndex | ( | const MemberDef * | md | ) |
Definition at line 2836 of file index.cpp.
References ClassMemberHighlight::All, Config_getBool, convertUTF8ToLower(), ClassMemberHighlight::Enums, ClassMemberHighlight::EnumValues, ClassMemberHighlight::Events, ClassMemberHighlight::Functions, MemberDef::getClassDef(), MemberDef::getEnumScope(), getPrefixIndex(), getUTF8CharAt(), incrementDocumentedClassMembers(), MemberDef::isEnumerate(), MemberDef::isEnumValue(), MemberDef::isEvent(), MemberDef::isForeign(), MemberDef::isFriend(), MemberDef::isFunction(), ClassDef::isImplicitTemplateInstance(), Definition::isLinkableInProject(), MemberDef::isProperty(), MemberDef::isRelated(), MemberDef::isSignal(), MemberDef::isSlot(), MemberDef::isStrong(), MemberDef::isTypedef(), MemberDef::isVariable(), Definition::name(), ClassMemberHighlight::Properties, ClassMemberHighlight::Related, QCString::str(), ClassMemberHighlight::Typedefs, MemberDef::typeString(), and ClassMemberHighlight::Variables.
void Index::addFileMemberNameToIndex | ( | const MemberDef * | md | ) |
Definition at line 2948 of file index.cpp.
References FileMemberHighlight::All, convertUTF8ToLower(), FileMemberHighlight::Defines, FileMemberHighlight::Dictionaries, FileMemberHighlight::Enums, FileMemberHighlight::EnumValues, FileMemberHighlight::Functions, MemberDef::getEnumScope(), MemberDef::getFileDef(), getPrefixIndex(), getUTF8CharAt(), incrementDocumentedFileMembers(), MemberDef::isDefine(), MemberDef::isDictionary(), MemberDef::isEnumerate(), MemberDef::isEnumValue(), MemberDef::isFunction(), Definition::isLinkableInProject(), MemberDef::isSequence(), MemberDef::isStrong(), MemberDef::isTypedef(), MemberDef::isVariable(), Definition::name(), FileMemberHighlight::Sequences, QCString::str(), FileMemberHighlight::Typedefs, and FileMemberHighlight::Variables.
void Index::addModuleMemberNameToIndex | ( | const MemberDef * | md | ) |
Definition at line 3000 of file index.cpp.
References ModuleMemberHighlight::All, convertUTF8ToLower(), ModuleMemberHighlight::Enums, ModuleMemberHighlight::EnumValues, ModuleMemberHighlight::Functions, MemberDef::getEnumScope(), MemberDef::getModuleDef(), getPrefixIndex(), getUTF8CharAt(), incrementDocumentedModuleMembers(), MemberDef::isEnumerate(), MemberDef::isEnumValue(), MemberDef::isFunction(), Definition::isLinkableInProject(), ModuleDef::isPrimaryInterface(), MemberDef::isStrong(), MemberDef::isTypedef(), MemberDef::isVariable(), Definition::name(), QCString::str(), ModuleMemberHighlight::Typedefs, and ModuleMemberHighlight::Variables.
void Index::addNamespaceMemberNameToIndex | ( | const MemberDef * | md | ) |
Definition at line 2900 of file index.cpp.
References NamespaceMemberHighlight::All, convertUTF8ToLower(), NamespaceMemberHighlight::Dictionaries, NamespaceMemberHighlight::Enums, NamespaceMemberHighlight::EnumValues, NamespaceMemberHighlight::Functions, MemberDef::getEnumScope(), MemberDef::getNamespaceDef(), getPrefixIndex(), getUTF8CharAt(), incrementDocumentedNamespaceMembers(), MemberDef::isDictionary(), MemberDef::isEnumerate(), MemberDef::isEnumValue(), MemberDef::isFunction(), Definition::isLinkableInProject(), MemberDef::isSequence(), MemberDef::isStrong(), MemberDef::isTypedef(), MemberDef::isVariable(), Definition::name(), NamespaceMemberHighlight::Sequences, QCString::str(), NamespaceMemberHighlight::Typedefs, and NamespaceMemberHighlight::Variables.
void Index::countDataStructures | ( | ) |
Definition at line 262 of file index.cpp.
References ClassDef::Class, Config_getBool, countAnnotatedClasses(), countClassHierarchy(), countConcepts(), countDirs(), countFiles(), countGroups(), countNamespaces(), countRelatedPages(), ClassDef::Exception, ModuleManager::instance(), ClassDef::Interface, ModuleManager::numDocumentedModules(), p, resetDocumentedClassMembers(), resetDocumentedFileMembers(), resetDocumentedModuleMembers(), resetDocumentedNamespaceMembers(), ClassDef::Struct, ClassMemberHighlight::Total, FileMemberHighlight::Total, ModuleMemberHighlight::Total, and NamespaceMemberHighlight::Total.
Referenced by parseInput().
|
private |
Definition at line 193 of file index.cpp.
References MemberIndexMap_add(), and p.
Referenced by addClassMemberNameToIndex().
|
private |
Definition at line 199 of file index.cpp.
References MemberIndexMap_add(), and p.
Referenced by addFileMemberNameToIndex().
|
private |
Definition at line 211 of file index.cpp.
References MemberIndexMap_add(), and p.
Referenced by addModuleMemberNameToIndex().
|
private |
Definition at line 205 of file index.cpp.
References MemberIndexMap_add(), and p.
Referenced by addNamespaceMemberNameToIndex().
|
static |
Definition at line 106 of file index.cpp.
References Index().
Referenced by addMembersToIndex(), generateFileDocs(), generatePageDocs(), parseInput(), quickLinkVisible(), quickLinkVisible(), renderQuickLinksAsJs(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedExceptionIndex(), writeAnnotatedIndex(), writeAnnotatedInterfaceIndex(), writeAnnotatedStructIndex(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeConceptIndex(), writeFileIndex(), writeFileMemberIndex(), writeFileMemberIndexFiltered(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeIndex(), writeIndexHierarchyEntries(), writeModuleMemberIndex(), writeModuleMemberIndexFiltered(), writeNamespaceIndex(), writeNamespaceMemberIndex(), writeNamespaceMemberIndexFiltered(), writePageIndex(), and writeTopicIndex().
Index::MemberIndexMap Index::isClassIndexLetterUsed | ( | ClassMemberHighlight::Enum | e | ) | const |
Index::MemberIndexMap Index::isFileIndexLetterUsed | ( | FileMemberHighlight::Enum | e | ) | const |
Index::MemberIndexMap Index::isModuleIndexLetterUsed | ( | ModuleMemberHighlight::Enum | e | ) | const |
Index::MemberIndexMap Index::isNamespaceIndexLetterUsed | ( | NamespaceMemberHighlight::Enum | e | ) | const |
int Index::numAnnotatedClasses | ( | ) | const |
int Index::numAnnotatedClassesPrinted | ( | ) | const |
int Index::numAnnotatedExceptions | ( | ) | const |
int Index::numAnnotatedExceptionsPrinted | ( | ) | const |
int Index::numAnnotatedInterfaces | ( | ) | const |
int Index::numAnnotatedInterfacesPrinted | ( | ) | const |
int Index::numAnnotatedStructs | ( | ) | const |
int Index::numAnnotatedStructsPrinted | ( | ) | const |
int Index::numDocumentedClassMembers | ( | ClassMemberHighlight::Enum | e | ) | const |
int Index::numDocumentedConcepts | ( | ) | const |
int Index::numDocumentedDirs | ( | ) | const |
int Index::numDocumentedFileMembers | ( | FileMemberHighlight::Enum | e | ) | const |
int Index::numDocumentedFiles | ( | ) | const |
int Index::numDocumentedGroups | ( | ) | const |
int Index::numDocumentedModuleMembers | ( | ModuleMemberHighlight::Enum | e | ) | const |
int Index::numDocumentedModules | ( | ) | const |
int Index::numDocumentedNamespaceMembers | ( | NamespaceMemberHighlight::Enum | e | ) | const |
int Index::numDocumentedNamespaces | ( | ) | const |
int Index::numDocumentedPages | ( | ) | const |
int Index::numHierarchyClasses | ( | ) | const |
int Index::numHierarchyExceptions | ( | ) | const |
int Index::numHierarchyInterfaces | ( | ) | const |
int Index::numIndexedPages | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
void Index::sortMemberIndexLists | ( | ) |
Definition at line 218 of file index.cpp.
|
private |
Definition at line 221 of file index.h.
Referenced by countDataStructures(), incrementDocumentedClassMembers(), incrementDocumentedFileMembers(), incrementDocumentedModuleMembers(), incrementDocumentedNamespaceMembers(), Index(), isClassIndexLetterUsed(), isFileIndexLetterUsed(), isModuleIndexLetterUsed(), isNamespaceIndexLetterUsed(), numAnnotatedClasses(), numAnnotatedClassesPrinted(), numAnnotatedExceptions(), numAnnotatedExceptionsPrinted(), numAnnotatedInterfaces(), numAnnotatedInterfacesPrinted(), numAnnotatedStructs(), numAnnotatedStructsPrinted(), numDocumentedClassMembers(), numDocumentedConcepts(), numDocumentedDirs(), numDocumentedFileMembers(), numDocumentedFiles(), numDocumentedGroups(), numDocumentedModuleMembers(), numDocumentedModules(), numDocumentedNamespaceMembers(), numDocumentedNamespaces(), numDocumentedPages(), numHierarchyClasses(), numHierarchyExceptions(), numHierarchyInterfaces(), numIndexedPages(), resetDocumentedClassMembers(), resetDocumentedFileMembers(), resetDocumentedModuleMembers(), and resetDocumentedNamespaceMembers().