Doxygen
Loading...
Searching...
No Matches
anonymous_namespace{layout.cpp} Namespace Reference

Classes

struct  ElementCallbacks
 

Functions

template<class... Args>
static auto startCb (void(LayoutParser::*fn)(Args...))
 
template<class... Args>
static auto startCb (void(LayoutParser::*fn)(Args...), LayoutDocEntry::Kind kind)
 
template<class... Args>
static auto startCb (void(LayoutParser::*fn)(Args...), LayoutDocEntry::Kind kind, const std::function< QCString()> &title)
 
template<class... Args>
static auto startCb (void(LayoutParser::*fn)(Args...), MemberListType type, const std::function< QCString()> &title)
 
template<class... Args>
static auto startCb (void(LayoutParser::*fn)(Args...), MemberListType type, const std::function< QCString()> &title, const std::function< QCString()> &subtitle)
 
template<class... Args>
static auto startCb (void(LayoutParser::*fn)(Args...), LayoutDocManager::LayoutPart part, const QCString &scope, LayoutNavEntry::Kind nav)
 
static auto endCb (void(LayoutParser::*fn)())
 

Variables

static const std::map< std::string, ElementCallbacksg_elementHandlers
 

Function Documentation

◆ endCb()

static auto anonymous_namespace{layout.cpp}::endCb ( void(LayoutParser::* fn )())
static

Definition at line 778 of file layout.cpp.

779{
780 return [=](LayoutParser &parser) { (parser.*fn)(); };
781}

◆ startCb() [1/6]

template<class... Args>
static auto anonymous_namespace{layout.cpp}::startCb ( void(LayoutParser::* fn )(Args...))
static

Definition at line 727 of file layout.cpp.

728{
729 return [=](LayoutParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(attr); };
730}
std::unordered_map< std::string, std::string > Attributes
Definition xml.h:29

◆ startCb() [2/6]

template<class... Args>
static auto anonymous_namespace{layout.cpp}::startCb ( void(LayoutParser::* fn )(Args...),
LayoutDocEntry::Kind kind )
static

Definition at line 733 of file layout.cpp.

736{
737 return [=](LayoutParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(kind,attr); };
738}

◆ startCb() [3/6]

template<class... Args>
static auto anonymous_namespace{layout.cpp}::startCb ( void(LayoutParser::* fn )(Args...),
LayoutDocEntry::Kind kind,
const std::function< QCString()> & title )
static

Definition at line 741 of file layout.cpp.

745{
746 return [=](LayoutParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(kind,attr,title()); };
747}

◆ startCb() [4/6]

template<class... Args>
static auto anonymous_namespace{layout.cpp}::startCb ( void(LayoutParser::* fn )(Args...),
LayoutDocManager::LayoutPart part,
const QCString & scope,
LayoutNavEntry::Kind nav )
static

Definition at line 769 of file layout.cpp.

774{
775 return [=](LayoutParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(attr,part,scope,nav); };
776}

◆ startCb() [5/6]

template<class... Args>
static auto anonymous_namespace{layout.cpp}::startCb ( void(LayoutParser::* fn )(Args...),
MemberListType type,
const std::function< QCString()> & title )
static

Definition at line 750 of file layout.cpp.

754{
755 return [=](LayoutParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(attr,type,title(),QCString()); };
756}
This is an alternative implementation of QCString.
Definition qcstring.h:101

◆ startCb() [6/6]

template<class... Args>
static auto anonymous_namespace{layout.cpp}::startCb ( void(LayoutParser::* fn )(Args...),
MemberListType type,
const std::function< QCString()> & title,
const std::function< QCString()> & subtitle )
static

Definition at line 759 of file layout.cpp.

764{
765 return [=](LayoutParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(attr,type,title(),subtitle()); };
766}

Variable Documentation

◆ g_elementHandlers

const std::map< std::string, ElementCallbacks > anonymous_namespace{layout.cpp}::g_elementHandlers
static

Definition at line 783 of file layout.cpp.

784{
785 // path/name
786 { "doxygenlayout", { startCb(&LayoutParser::startLayout) } },
788 { "navindex/tab", { startCb(&LayoutParser::startNavEntry),
790 } },
791
792 // class layout handlers
793 { "class", { startCb(&LayoutParser::startTop,LayoutDocManager::Class,"class/",LayoutNavEntry::Classes),
795 } },
796 { "class/briefdescription", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::BriefDesc) } },
797 { "class/detaileddescription", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::DetailedDesc,
799 } },
800 { "class/authorsection", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::AuthorSection) } },
801 { "class/includes", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::ClassIncludes) } },
802 { "class/inheritancegraph", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::ClassInheritanceGraph) } },
803 { "class/collaborationgraph", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::ClassCollaborationGraph) } },
804 { "class/allmemberslink", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::ClassAllMembersLink) } },
805 { "class/usedfiles", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::ClassUsedFiles) } },
807 { "class/memberdecl/membergroups", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::MemberGroups) } },
808 { "class/memberdecl/nestedclasses", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::ClassNestedClasses,
809 []() { return compileOptions(/*default*/ theTranslator->trCompounds(),
812 } },
813 { "class/memberdecl/services", { startCb(&LayoutParser::startMemberDeclEntry,MemberListType::Services(),
814 []() { return compileOptions(theTranslator->trServices()); })
815 } },
816 { "class/memberdecl/interfaces", { startCb(&LayoutParser::startMemberDeclEntry,MemberListType::Interfaces(),
817 []() { return compileOptions(theTranslator->trInterfaces()); })
818 } },
819 { "class/memberdecl/publictypes", { startCb(&LayoutParser::startMemberDeclEntry,MemberListType::PubTypes(),
820 []() { return compileOptions(theTranslator->trPublicTypes()); })
821 } },
822 { "class/memberdecl/publicslots", { startCb(&LayoutParser::startMemberDeclEntry,MemberListType::PubSlots(),
823 []() { return compileOptions(theTranslator->trPublicSlots()); })
824 } },
825 { "class/memberdecl/signals", { startCb(&LayoutParser::startMemberDeclEntry,MemberListType::Signals(),
826 []() { return compileOptions(theTranslator->trSignals()); })
827 } },
828 { "class/memberdecl/publicmethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PubMethods(),
829 []() { return compileOptions(/* default */ theTranslator->trPublicMembers(),
832 } },
833 { "class/memberdecl/publicstaticmethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PubStaticMethods(),
834 []() { return compileOptions(/* default */ theTranslator->trStaticPublicMembers(),
836 } },
837 { "class/memberdecl/publicattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PubAttribs(),
838 []() { return compileOptions(/* default */ theTranslator->trPublicAttribs(),
840 } },
841 { "class/memberdecl/publicstaticattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PubStaticAttribs(),
843 } },
844 { "class/memberdecl/protectedtypes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::ProTypes(),
845 []() { return compileOptions(theTranslator->trProtectedTypes()); })
846 } },
847 { "class/memberdecl/protectedslots", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::ProSlots(),
848 []() { return compileOptions(theTranslator->trProtectedSlots()); })
849 } },
850 { "class/memberdecl/protectedmethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::ProMethods(),
852 } },
853 { "class/memberdecl/protectedstaticmethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::ProStaticMethods(),
855 } },
856 { "class/memberdecl/protectedattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::ProAttribs(),
858 } },
859 { "class/memberdecl/protectedstaticattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::ProStaticAttribs(),
861 } },
862 { "class/memberdecl/packagetypes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PacTypes(),
863 []() { return compileOptions(theTranslator->trPackageTypes()); })
864 } },
865 { "class/memberdecl/packagemethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PacMethods(),
867 } },
868 { "class/memberdecl/packagestaticmethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PacStaticMethods(),
870 } },
871 { "class/memberdecl/packageattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PacAttribs(),
872 []() { return compileOptions(theTranslator->trPackageAttribs()); })
873 } },
874 { "class/memberdecl/packagestaticattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PacStaticAttribs(),
876 } },
877 { "class/memberdecl/properties", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::Properties(),
878 []() { return compileOptions(theTranslator->trProperties()); })
879 } },
880 { "class/memberdecl/events", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::Events(),
881 []() { return compileOptions(theTranslator->trEvents()); })
882 } },
883 { "class/memberdecl/privatetypes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PriTypes(),
884 []() { return compileOptions(theTranslator->trPrivateTypes()); })
885 } },
886 { "class/memberdecl/privateslots", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PriSlots(),
887 []() { return compileOptions(theTranslator->trPrivateSlots()); })
888 } },
889 { "class/memberdecl/privatemethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PriMethods(),
890 []() { return compileOptions(theTranslator->trPrivateMembers()); })
891 } },
892 { "class/memberdecl/privatestaticmethods", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PriStaticMethods(),
894 } },
895 { "class/memberdecl/privateattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PriAttribs(),
896 []() { return compileOptions(theTranslator->trPrivateAttribs()); })
897 } },
898 { "class/memberdecl/privatestaticattributes", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::PriStaticAttribs(),
900 } },
901 { "class/memberdecl/friends", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::Friends(),
902 []() { return compileOptions(theTranslator->trFriends()); })
903 } },
904 { "class/memberdecl/related", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::Related(),
905 []() { return compileOptions(theTranslator->trRelatedSymbols()); },
907 } },
909 { "class/memberdef/inlineclasses", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::ClassInlineClasses,
910 []() { return compileOptions(/* default */ theTranslator->trClassDocumentation(),
912 } },
913 { "class/memberdef/typedefs", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::TypedefMembers(),
915 } },
916 { "class/memberdef/enums", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::EnumMembers(),
918 } },
919 { "class/memberdef/services", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::ServiceMembers(),
920 []() { return compileOptions(theTranslator->trInterfaces()); })
921 } },
922 { "class/memberdef/interfaces", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::InterfaceMembers(),
923 []() { return compileOptions(theTranslator->trInterfaces()); })
924 } },
925 { "class/memberdef/constructors", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::Constructors(),
927 } },
928 { "class/memberdef/functions", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::FunctionMembers(),
932 } },
933 { "class/memberdef/related", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::RelatedMembers(),
935 } },
936 { "class/memberdef/variables", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::VariableMembers(),
937 []() { return compileOptions(/* default */ theTranslator->trMemberDataDocumentation(),
939 } },
940 { "class/memberdef/properties", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::PropertyMembers(),
942 } },
943 { "class/memberdef/events", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::EventMembers(),
945 } },
946
947 // concept layout handlers
948 { "concept", { startCb(&LayoutParser::startTop,LayoutDocManager::Concept,"concept/",LayoutNavEntry::Concepts),
950 } },
951 { "concept/briefdescription", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::BriefDesc) } },
952 { "concept/definition", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::ConceptDefinition,
954 } },
955 { "concept/includes", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::ClassIncludes) } },
956 { "concept/sourcelink", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::FileSourceLink) } },
957 { "concept/detaileddescription", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::DetailedDesc,
959 } },
960 { "concept/authorsection", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::AuthorSection) } },
961 // namespace layout handlers
962 { "namespace", { startCb(&LayoutParser::startTop,LayoutDocManager::Namespace,"namespace/",LayoutNavEntry::Namespaces),
964 } },
965 { "namespace/briefdescription", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::BriefDesc) } },
966 { "namespace/detaileddescription", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::DetailedDesc,
968 } },
969 { "namespace/authorsection", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::AuthorSection) } },
970 { "namespace/memberdecl", { startCb(&LayoutParser::startMemberDecl),
972 } },
973 { "namespace/memberdecl/nestednamespaces", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::NamespaceNestedNamespaces,
974 []() { return compileOptions(/* default */ theTranslator->trNamespaces(),
979 SrcLangExt::Slice,(Config_getBool(OPTIMIZE_OUTPUT_SLICE) ?
982 } },
983 { "namespace/memberdecl/constantgroups", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::NamespaceNestedConstantGroups,
984 []() { return compileOptions(theTranslator->trConstantGroups()); })
985 } },
986 { "namespace/memberdecl/interfaces", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::NamespaceInterfaces,
988 } },
989 { "namespace/memberdecl/classes", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::NamespaceClasses,
990 []() { return compileOptions(/* default */ theTranslator->trCompounds(),
993 } },
994 { "namespace/memberdecl/concepts", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::NamespaceConcepts,
995 []() { return compileOptions(theTranslator->trConcept(true,false)); })
996 } },
997 { "namespace/memberdecl/structs", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::NamespaceStructs,
998 []() { return compileOptions(theTranslator->trStructs()); })
999 } },
1000 { "namespace/memberdecl/exceptions", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::NamespaceExceptions,
1001 []() { return compileOptions(theTranslator->trExceptions()); })
1002 } },
1003 { "namespace/memberdecl/membergroups", { startCb(&LayoutParser::startSimpleEntry,LayoutDocEntry::MemberGroups) } },
1004 { "namespace/memberdecl/typedefs", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecTypedefMembers(),
1005 []() { return compileOptions(theTranslator->trTypedefs()); })
1006 } },
1007 { "namespace/memberdecl/sequences", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecSequenceMembers(),
1008 []() { return compileOptions(theTranslator->trSequences()); })
1009 } },
1010 { "namespace/memberdecl/dictionaries", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecDictionaryMembers(),
1011 []() { return compileOptions(theTranslator->trDictionaries()); })
1012 } },
1013 { "namespace/memberdecl/enums", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecEnumMembers(),
1014 []() { return compileOptions(theTranslator->trEnumerations()); })
1015 } },
1016 { "namespace/memberdecl/functions", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecFuncMembers(),
1017 []() { return compileOptions(/* default */ theTranslator->trFunctions(),
1020 } },
1021 { "namespace/memberdecl/variables", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecVarMembers(),
1022 []() { return compileOptions(Config_getBool(OPTIMIZE_OUTPUT_SLICE) ?
1025 } },
1026 { "namespace/memberdecl/properties", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::Properties(),
1027 []() { return compileOptions(theTranslator->trProperties()); })
1028 } },
1029 { "namespace/memberdef", { startCb(&LayoutParser::startMemberDef), endCb(&LayoutParser::endMemberDef) } },
1030 { "namespace/memberdef/inlineclasses", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::NamespaceInlineClasses,
1031 []() { return compileOptions(/* default */ theTranslator->trClassDocumentation(),
1033 } },
1034 { "namespace/memberdef/typedefs", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocTypedefMembers(),
1036 } },
1037 { "namespace/memberdef/sequences", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocSequenceMembers(),
1039 } },
1040 { "namespace/memberdef/dictionaries", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocDictionaryMembers(),
1042 } },
1043 { "namespace/memberdef/enums", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocEnumMembers(),
1045 } },
1046 { "namespace/memberdef/functions", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocFuncMembers(),
1047 []() { return compileOptions(/* default */ theTranslator->trFunctionDocumentation(),
1049 } },
1050 { "namespace/memberdef/variables", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocVarMembers(),
1051 []() { return compileOptions(Config_getBool(OPTIMIZE_OUTPUT_SLICE) ?
1054 } },
1055 { "namespace/memberdef/properties", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::PropertyMembers(),
1057 } },
1058
1059 // file layout handlers
1060 { "file", { startCb(&LayoutParser::startTop,LayoutDocManager::File,"file/",LayoutNavEntry::Files),
1062 } },
1063 { "file/briefdescription", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::BriefDesc) } },
1064 { "file/detaileddescription", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::DetailedDesc,
1066 } },
1067 { "file/authorsection", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::AuthorSection) } },
1068 { "file/includes", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::FileIncludes) } },
1069 { "file/includegraph", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::FileIncludeGraph) } },
1070 { "file/includedbygraph", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::FileIncludedByGraph) } },
1071 { "file/sourcelink", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::FileSourceLink) } },
1072 { "file/memberdecl/membergroups", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::MemberGroups) } },
1074 { "file/memberdecl/interfaces", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileInterfaces,
1075 []() { return compileOptions(theTranslator->trSliceInterfaces()); })
1076 } },
1077 { "file/memberdecl/classes", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileClasses,
1078 []() { return compileOptions(/* default */ theTranslator->trCompounds(),
1081 } },
1082 { "file/memberdecl/concepts", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::FileConcepts,
1083 []() { return compileOptions(theTranslator->trConcept(true,false)); })
1084 } },
1085 { "file/memberdecl/structs", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileStructs,
1086 []() { return compileOptions(theTranslator->trStructs()); })
1087 } },
1088 { "file/memberdecl/exceptions", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileExceptions,
1089 []() { return compileOptions(theTranslator->trExceptions()); })
1090 } },
1091 { "file/memberdecl/namespaces", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileNamespaces,
1092 []() { return compileOptions(/* default */ theTranslator->trNamespaces(),
1097 } },
1098 { "file/memberdecl/constantgroups", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileConstantGroups,
1099 []() { return compileOptions(theTranslator->trConstantGroups()); })
1100 } },
1101 { "file/memberdecl/defines", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecDefineMembers(),
1102 []() { return compileOptions(theTranslator->trDefines()); })
1103 } },
1104 { "file/memberdecl/typedefs", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecTypedefMembers(),
1105 []() { return compileOptions(theTranslator->trTypedefs()); })
1106 } },
1107 { "file/memberdecl/sequences", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecSequenceMembers(),
1108 []() { return compileOptions(theTranslator->trSequences()); })
1109 } },
1110 { "file/memberdecl/dictionaries", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecDictionaryMembers(),
1111 []() { return compileOptions(theTranslator->trDictionaries()); })
1112 } },
1113 { "file/memberdecl/enums", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecEnumMembers(),
1114 []() { return compileOptions(theTranslator->trEnumerations()); })
1115 } },
1116 { "file/memberdecl/functions", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecFuncMembers(),
1117 []() { return compileOptions(/* default */ theTranslator->trFunctions(),
1120 } },
1121 { "file/memberdecl/variables", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecVarMembers(),
1122 []() { return compileOptions(Config_getBool(OPTIMIZE_OUTPUT_SLICE) ?
1125 } },
1126 { "file/memberdecl/properties", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::Properties(),
1127 []() { return compileOptions(theTranslator->trProperties()); })
1128 } },
1130
1131 { "file/memberdef/inlineclasses", { startCb(&LayoutParser::startSectionEntry,LayoutDocEntry::FileInlineClasses,
1132 []() { return compileOptions(/* default */ theTranslator->trClassDocumentation(),
1134 } },
1135 { "file/memberdef/defines", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocDefineMembers(),
1137 } },
1138 { "file/memberdef/typedefs", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocTypedefMembers(),
1140 } },
1141 { "file/memberdef/sequences", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocSequenceMembers(),
1143 } },
1144 { "file/memberdef/dictionaries", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocDictionaryMembers(),
1146 } },
1147 { "file/memberdef/enums", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocEnumMembers(),
1149 } },
1150 { "file/memberdef/functions", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocFuncMembers(),
1151 []() { return compileOptions(/* default */ theTranslator->trFunctionDocumentation(),
1153 } },
1154 { "file/memberdef/variables", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocVarMembers(),
1156 } },
1157
1158 { "file/memberdef/properties", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::PropertyMembers(),
1160 } },
1161 // group layout handlers
1162 { "group", { startCb(&LayoutParser::startTop,LayoutDocManager::Group,"group/",LayoutNavEntry::None),
1164 } },
1165 { "group/briefdescription", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::BriefDesc) } },
1166 { "group/detaileddescription", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::DetailedDesc,
1168 } },
1169 { "group/authorsection", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::AuthorSection) } },
1170 { "group/groupgraph", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::GroupGraph) } },
1172 { "group/memberdecl/membergroups", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::MemberGroups) } },
1173 { "group/memberdecl/classes", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupClasses,
1174 []() { return compileOptions(/* default */ theTranslator->trCompounds(),
1177 } },
1178 { "group/memberdecl/concepts", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupConcepts,
1179 []() { return compileOptions(theTranslator->trConcept(true,false)); })
1180 } },
1181 { "group/memberdecl/modules", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupModules,
1182 []() { return compileOptions(theTranslator->trModule(true,false)); })
1183 } },
1184 { "group/memberdecl/namespaces", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupNamespaces,
1185 []() { return compileOptions(/* default */ theTranslator->trNamespaces(),
1188 } },
1189 { "group/memberdecl/dirs", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupDirs,
1190 []() { return compileOptions(theTranslator->trDirectories()); })
1191 } },
1192 { "group/memberdecl/nestedgroups", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupNestedGroups,
1193 []() { return compileOptions(theTranslator->trTopics()); })
1194 } },
1195 { "group/memberdecl/files", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupFiles,
1196 []() { return compileOptions(theTranslator->trFile(TRUE,FALSE)); })
1197 } },
1198 { "group/memberdecl/defines", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecDefineMembers(),
1199 []() { return compileOptions(theTranslator->trDefines()); })
1200 } },
1201 { "group/memberdecl/typedefs", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecTypedefMembers(),
1202 []() { return compileOptions(theTranslator->trTypedefs()); })
1203 } },
1204 { "group/memberdecl/sequences", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecSequenceMembers(),
1205 []() { return compileOptions(theTranslator->trSequences()); })
1206 } },
1207 { "group/memberdecl/dictionaries", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecDictionaryMembers(),
1208 []() { return compileOptions(theTranslator->trDictionaries()); })
1209 } },
1210 { "group/memberdecl/enums", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecEnumMembers(),
1211 []() { return compileOptions(theTranslator->trEnumerations()); })
1212 } },
1213 { "group/memberdecl/enumvalues", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecEnumValMembers(),
1215 } },
1216 { "group/memberdecl/functions", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecFuncMembers(),
1217 []() { return compileOptions(/* default */ theTranslator->trFunctions(),
1220 } },
1221 { "group/memberdecl/variables", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecVarMembers(),
1222 []() { return compileOptions(theTranslator->trVariables()); })
1223 } },
1224 { "group/memberdecl/signals", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecSignalMembers(),
1225 []() { return compileOptions(theTranslator->trSignals()); })
1226 } },
1227 { "group/memberdecl/publicslots", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecPubSlotMembers(),
1228 []() { return compileOptions(theTranslator->trPublicSlots()); })
1229 } },
1230 { "group/memberdecl/protectedslots", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecProSlotMembers(),
1231 []() { return compileOptions(theTranslator->trProtectedSlots()); })
1232 } },
1233 { "group/memberdecl/privateslots", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecPriSlotMembers(),
1234 []() { return compileOptions(theTranslator->trPrivateSlots()); })
1235 } },
1236 { "group/memberdecl/events", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecEventMembers(),
1237 []() { return compileOptions(theTranslator->trEvents()); })
1238 } },
1239 { "group/memberdecl/properties", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecPropMembers(),
1240 []() { return compileOptions(theTranslator->trProperties()); })
1241 } },
1242 { "group/memberdecl/friends", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecFriendMembers(),
1243 []() { return compileOptions(theTranslator->trFriends()); })
1244 } },
1246 { "group/memberdef/pagedocs", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::GroupPageDocs) } },
1247 { "group/memberdef/inlineclasses", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::GroupInlineClasses,
1248 []() { return compileOptions(/* default */ theTranslator->trClassDocumentation(),
1250 } },
1251 { "group/memberdef/defines", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocDefineMembers(),
1253 } },
1254 { "group/memberdef/typedefs", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocTypedefMembers(),
1256 } },
1257 { "group/memberdef/sequences", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocSequenceMembers(),
1259 } },
1260 { "group/memberdef/dictionaries", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocDictionaryMembers(),
1262 } },
1263 { "group/memberdef/enums", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocEnumMembers(),
1265 } },
1266 { "group/memberdef/enumvalues", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocEnumValMembers(),
1268 } },
1269 { "group/memberdef/functions", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocFuncMembers(),
1270 []() { return compileOptions(/* default */ theTranslator->trFunctionDocumentation(),
1272 } },
1273 { "group/memberdef/variables", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocVarMembers(),
1275 } },
1276 { "group/memberdef/signals", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocSignalMembers(),
1277 []() { return compileOptions(theTranslator->trSignals()); })
1278 } },
1279 { "group/memberdef/publicslots", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocPubSlotMembers(),
1280 []() { return compileOptions(theTranslator->trPublicSlots()); })
1281 } },
1282 { "group/memberdef/protectedslots", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocProSlotMembers(),
1283 []() { return compileOptions(theTranslator->trProtectedSlots()); })
1284 } },
1285 { "group/memberdef/privateslots", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocPriSlotMembers(),
1286 []() { return compileOptions(theTranslator->trPrivateSlots()); })
1287 } },
1288 { "group/memberdef/events", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocEventMembers(),
1289 []() { return compileOptions(theTranslator->trEvents()); })
1290 } },
1291 { "group/memberdef/properties", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocPropMembers(),
1292 []() { return compileOptions(theTranslator->trProperties()); })
1293 } },
1294 { "group/memberdef/friends", { startCb(&LayoutParser::startMemberDefEntry, MemberListType::DocFriendMembers(),
1295 []() { return compileOptions(theTranslator->trFriends()); })
1296 } },
1297
1298 // module layout handlers
1299 { "module", { startCb(&LayoutParser::startTop,LayoutDocManager::Module,"module/",LayoutNavEntry::Modules),
1301 } },
1302 { "module/briefdescription", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::BriefDesc) } },
1303 { "module/exportedmodules", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::ModuleExports,
1304 []() { return compileOptions(theTranslator->trExportedModules()); })
1305 } },
1306 { "module/detaileddescription", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::DetailedDesc,
1308 } },
1309 { "module/authorsection", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::AuthorSection) } },
1311 { "module/memberdecl/concepts", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::ModuleConcepts,
1312 []() { return compileOptions(theTranslator->trConcept(true,false)); })
1313 } },
1314 { "module/memberdecl/classes", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::ModuleClasses,
1315 []() { return compileOptions(theTranslator->trCompounds()); })
1316 } },
1317 { "module/memberdecl/enums", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecEnumMembers(),
1318 []() { return compileOptions(theTranslator->trEnumerations()); })
1319 } },
1320 { "module/memberdecl/typedefs", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecTypedefMembers(),
1321 []() { return compileOptions(theTranslator->trTypedefs()); })
1322 } },
1323 { "module/memberdecl/functions", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecFuncMembers(),
1324 []() { return compileOptions(theTranslator->trFunctions()); })
1325 } },
1326 { "module/memberdecl/variables", { startCb(&LayoutParser::startMemberDeclEntry, MemberListType::DecVarMembers(),
1327 []() { return compileOptions(theTranslator->trVariables()); })
1328 } },
1329 { "module/memberdecl/membergroups", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::MemberGroups) } },
1330 { "module/memberdecl/files", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::ModuleUsedFiles,
1331 []() { return compileOptions(theTranslator->trFile(TRUE,FALSE)); })
1332 } },
1333
1334 // directory layout handlers
1335 { "directory", { startCb(&LayoutParser::startTop,LayoutDocManager::Directory,"directory/",LayoutNavEntry::None),
1337 } },
1338 { "directory/briefdescription", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::BriefDesc) } },
1339 { "directory/detaileddescription", { startCb(&LayoutParser::startSectionEntry, LayoutDocEntry::DetailedDesc,
1341 } },
1342 { "directory/directorygraph", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::DirGraph) } },
1343 { "directory/memberdecl", { startCb(&LayoutParser::startMemberDecl), endCb(&LayoutParser::endMemberDecl) } },
1344 { "directory/memberdecl/dirs", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::DirSubDirs) } },
1345 { "directory/memberdecl/files", { startCb(&LayoutParser::startSimpleEntry, LayoutDocEntry::DirFiles) } },
1346};
void startMemberDef(const XMLHandlers::Attributes &attrib)
Definition layout.cpp:640
void startNavEntry(const XMLHandlers::Attributes &attrib)
Definition layout.cpp:282
void startSimpleEntry(LayoutDocEntry::Kind k, const XMLHandlers::Attributes &attrib)
Definition layout.cpp:204
void startMemberDecl(const XMLHandlers::Attributes &attrib)
Definition layout.cpp:672
void endMemberDecl()
Definition layout.cpp:682
void startLayout(const XMLHandlers::Attributes &)
Definition layout.cpp:257
void startTop(const XMLHandlers::Attributes &attrib, LayoutDocManager::LayoutPart part, const QCString &scope, LayoutNavEntry::Kind nav)
Definition layout.cpp:618
void startMemberDefEntry(const XMLHandlers::Attributes &attrib, MemberListType type, const QCString &title, const QCString &)
Definition layout.cpp:244
void startSectionEntry(LayoutDocEntry::Kind k, const XMLHandlers::Attributes &attrib, const QCString &title)
Definition layout.cpp:215
void endMemberDef()
Definition layout.cpp:650
void startMemberDeclEntry(const XMLHandlers::Attributes &attrib, MemberListType type, const QCString &title, const QCString &subscript)
Definition layout.cpp:230
void endNavIndex()
Definition layout.cpp:271
void startNavIndex(const XMLHandlers::Attributes &)
Definition layout.cpp:261
void endTop()
Definition layout.cpp:634
void endNavEntry()
Definition layout.cpp:601
virtual QCString trStaticPrivateAttribs()=0
virtual QCString trTopics()=0
virtual QCString trPrivateTypes()=0
virtual QCString trDataTypes()=0
virtual QCString trMemberFunctionDocumentationFortran()=0
virtual QCString trPrivateMembers()=0
virtual QCString trDirectories()=0
virtual QCString trStaticPackageAttribs()=0
virtual QCString trPrivateSlots()=0
virtual QCString trStaticProtectedAttribs()=0
virtual QCString trPropertyDocumentation()=0
virtual QCString trSequences()=0
virtual QCString trEventDocumentation()=0
virtual QCString trDataMemberDocumentation()=0
virtual QCString trFunctionAndProc()=0
virtual QCString trModules()=0
virtual QCString trFunctionDocumentation()=0
virtual QCString trMemberTypedefDocumentation()=0
virtual QCString trConcept(bool first_capital, bool singular)=0
virtual QCString trMethodDocumentation()=0
virtual QCString trConstantDocumentation()=0
virtual QCString trVariables()=0
virtual QCString trProtectedMembers()=0
virtual QCString trStructs()=0
virtual QCString trPackageFunctions()=0
virtual QCString trFunctions()=0
virtual QCString trPublicMembers()=0
virtual QCString trRelatedSymbolsSubscript()=0
virtual QCString trInstanceMethods()=0
virtual QCString trProtectedSlots()=0
virtual QCString trDataMembers()=0
virtual QCString trPublicTypes()=0
virtual QCString trConstantGroups()=0
virtual QCString trPackages()=0
virtual QCString trSliceInterfaces()=0
virtual QCString trEnumerationValues()=0
virtual QCString trOperationDocumentation()=0
virtual QCString trStaticPrivateMembers()=0
virtual QCString trPublicSlots()=0
virtual QCString trVariableDocumentation()=0
virtual QCString trExceptions()=0
virtual QCString trOperations()=0
virtual QCString trConstants()=0
virtual QCString trClassMethods()=0
virtual QCString trProtectedAttribs()=0
virtual QCString trSubprogramDocumentation()=0
virtual QCString trPrivateAttribs()=0
virtual QCString trEnumerationTypeDocumentation()=0
virtual QCString trDetailedDescription()=0
virtual QCString trTypedefDocumentation()=0
virtual QCString trMemberDataDocumentation()=0
virtual QCString trClassDocumentation()=0
virtual QCString trExportedModules()=0
virtual QCString trCompounds()=0
virtual QCString trInterfaces()=0
virtual QCString trDefineDocumentation()=0
virtual QCString trTypeDocumentation()=0
virtual QCString trSignals()=0
virtual QCString trStaticProtectedMembers()=0
virtual QCString trSequenceDocumentation()=0
virtual QCString trMemberEnumerationDocumentation()=0
virtual QCString trServices()=0
virtual QCString trEnumerations()=0
virtual QCString trProtectedTypes()=0
virtual QCString trModule(bool first_capital, bool singular)=0
virtual QCString trMemberFunctionDocumentation()=0
virtual QCString trFriends()=0
virtual QCString trDictionaryDocumentation()=0
virtual QCString trVhdlType(VhdlSpecifier type, bool single)=0
virtual QCString trPackageAttribs()=0
virtual QCString trConceptDefinition()=0
virtual QCString trEvents()=0
virtual QCString trPackageTypes()=0
virtual QCString trSubprograms()=0
virtual QCString trPublicAttribs()=0
virtual QCString trFile(bool first_capital, bool singular)=0
virtual QCString trDictionaries()=0
virtual QCString trStaticPublicMembers()=0
virtual QCString trEnumerationValueDocumentation()=0
virtual QCString trRelatedSymbols()=0
virtual QCString trNamespaces()=0
virtual QCString trStaticPackageFunctions()=0
virtual QCString trConstructorDocumentation()=0
virtual QCString trStaticPublicAttribs()=0
virtual QCString trRelatedSymbolDocumentation()=0
virtual QCString trProperties()=0
virtual QCString trTypedefs()=0
virtual QCString trDefines()=0
#define Config_getBool(name)
Definition config.h:33
Translator * theTranslator
Definition language.cpp:71
QCString compileOptions(const QCString &def)
Definition layout.cpp:37
static auto startCb(void(LayoutParser::*fn)(Args...))
Definition layout.cpp:727
static auto endCb(void(LayoutParser::*fn)())
Definition layout.cpp:778
#define TRUE
Definition qcstring.h:37
#define FALSE
Definition qcstring.h:34
@ Fortran
Definition types.h:53
@ Slice
Definition types.h:59

Referenced by LayoutParser::endElement(), and LayoutParser::startElement().