Skip to main content

The anonymous{tagreader.cpp} Namespace Reference

Definition

namespace anonymous{tagreader.cpp} { ... }

Classes Index

structCompoundFactory
structElementCallbacks
classTagAnchorInfo

Information about an linkable anchor. More...

structTagClassInfo

Container for class specific info that can be read from a tagfile. More...

structTagCompoundInfo

Base class for all compound types. More...

classTagCompoundVariant

Variant class that holds a unique pointer to one of the specific container types. More...

structTagConceptInfo

Container for concept specific info that can be read from a tagfile. More...

structTagDirInfo

Container for directory specific info that can be read from a tagfile. More...

classTagEnumValueInfo

Container for enum values that are scoped within an enum. More...

structTagFileInfo

Container for file specific info that can be read from a tagfile. More...

classTagFileParser

Tag file parser. More...

structTagGroupInfo

Container for group specific info that can be read from a tagfile. More...

classTagIncludeInfo

Container for include info that can be read from a tagfile. More...

classTagMemberInfo

Container for member specific info that can be read from a tagfile. More...

structTagModuleInfo

Container for module specific info that can be read from a tagfile. More...

structTagNamespaceInfo

Container for namespace specific info that can be read from a tagfile. More...

structTagPackageInfo

Container for package specific info that can be read from a tagfile. More...

structTagPageInfo

Container for page specific info that can be read from a tagfile. More...

Typedefs Index

usingTagClassInfoPtr = std::unique_ptr< TagClassInfo >
usingTagConceptInfoPtr = std::unique_ptr< TagConceptInfo >
usingTagModuleInfoPtr = std::unique_ptr< TagModuleInfo >
usingTagNamespaceInfoPtr = std::unique_ptr< TagNamespaceInfo >
usingTagPackageInfoPtr = std::unique_ptr< TagPackageInfo >
usingTagFileInfoPtr = std::unique_ptr< TagFileInfo >
usingTagGroupInfoPtr = std::unique_ptr< TagGroupInfo >
usingTagPageInfoPtr = std::unique_ptr< TagPageInfo >
usingTagDirInfoPtr = std::unique_ptr< TagDirInfo >

Functions Index

ElementCallbacks::StartCallbackstartCb (void(TagFileParser::*fn)(const XMLHandlers::Attributes &))
ElementCallbacks::EndCallbackendCb (void(TagFileParser::*fn)())

Variables Index

static const std::map< std::string, ElementCallbacks >g_elementHandlers = ...
static const std::map< std::string, CompoundFactory >g_compoundFactory = ...

Typedefs

TagClassInfoPtr

using anonymous{tagreader.cpp}::TagClassInfoPtr = std::unique_ptr<TagClassInfo>

Definition at line 127 of file tagreader.cpp.

127using TagClassInfoPtr = std::unique_ptr<TagClassInfo>;

TagConceptInfoPtr

using anonymous{tagreader.cpp}::TagConceptInfoPtr = std::unique_ptr<TagConceptInfo>

Definition at line 135 of file tagreader.cpp.

135using TagConceptInfoPtr = std::unique_ptr<TagConceptInfo>;

TagDirInfoPtr

using anonymous{tagreader.cpp}::TagDirInfoPtr = std::unique_ptr<TagDirInfo>

Definition at line 210 of file tagreader.cpp.

210using TagDirInfoPtr = std::unique_ptr<TagDirInfo>;

TagFileInfoPtr

using anonymous{tagreader.cpp}::TagFileInfoPtr = std::unique_ptr<TagFileInfo>

Definition at line 175 of file tagreader.cpp.

175using TagFileInfoPtr = std::unique_ptr<TagFileInfo>;

TagGroupInfoPtr

using anonymous{tagreader.cpp}::TagGroupInfoPtr = std::unique_ptr<TagGroupInfo>

Definition at line 191 of file tagreader.cpp.

191using TagGroupInfoPtr = std::unique_ptr<TagGroupInfo>;

TagModuleInfoPtr

using anonymous{tagreader.cpp}::TagModuleInfoPtr = std::unique_ptr<TagModuleInfo>

Definition at line 143 of file tagreader.cpp.

143using TagModuleInfoPtr = std::unique_ptr<TagModuleInfo>;

TagNamespaceInfoPtr

using anonymous{tagreader.cpp}::TagNamespaceInfoPtr = std::unique_ptr<TagNamespaceInfo>

Definition at line 155 of file tagreader.cpp.

155using TagNamespaceInfoPtr = std::unique_ptr<TagNamespaceInfo>;

TagPackageInfoPtr

using anonymous{tagreader.cpp}::TagPackageInfoPtr = std::unique_ptr<TagPackageInfo>

Definition at line 163 of file tagreader.cpp.

163using TagPackageInfoPtr = std::unique_ptr<TagPackageInfo>;

TagPageInfoPtr

using anonymous{tagreader.cpp}::TagPageInfoPtr = std::unique_ptr<TagPageInfo>

Definition at line 200 of file tagreader.cpp.

200using TagPageInfoPtr = std::unique_ptr<TagPageInfo>;

Functions

endCb()

ElementCallbacks::EndCallback anonymous{tagreader.cpp}::endCb (void(TagFileParser::*)() fn)

Definition at line 1049 of file tagreader.cpp.

1050{
1051 return [fn](TagFileParser &parser) { (parser.*fn)(); };
1052}

startCb()

ElementCallbacks::StartCallback anonymous{tagreader.cpp}::startCb (void(TagFileParser::*)(const XMLHandlers::Attributes &) fn)

Definition at line 1044 of file tagreader.cpp.

1045{
1046 return [fn](TagFileParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(attr); };
1047}

Variables

g_compoundFactory

const std::map< std::string, CompoundFactory > anonymous{tagreader.cpp}::g_compoundFactory
static
Initialiser
= { { "class", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Class); } } }, { "struct", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Struct); } } }, { "union", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Union); } } }, { "interface", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Interface); } } }, { "enum", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Enum); } } }, { "exception", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Exception); } } }, { "protocol", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Protocol); } } }, { "category", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Category); } } }, { "service", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Service); } } }, { "singleton", { TagFileParser::InClass, []() { return TagCompoundVariant::make<TagClassInfo>(TagClassInfo::Kind::Singleton); } } }, { "file", { TagFileParser::InFile, []() { return TagCompoundVariant::make<TagFileInfo>(); } } }, { "namespace", { TagFileParser::InNamespace, []() { return TagCompoundVariant::make<TagNamespaceInfo>(); } } }, { "concept", { TagFileParser::InConcept, []() { return TagCompoundVariant::make<TagConceptInfo>(); } } }, { "module", { TagFileParser::InModule, []() { return TagCompoundVariant::make<TagModuleInfo>(); } } }, { "group", { TagFileParser::InGroup, []() { return TagCompoundVariant::make<TagGroupInfo>(); } } }, { "page", { TagFileParser::InPage, []() { return TagCompoundVariant::make<TagPageInfo>(); } } }, { "package", { TagFileParser::InPackage, []() { return TagCompoundVariant::make<TagPackageInfo>(); } } }, { "dir", { TagFileParser::InDir, []() { return TagCompoundVariant::make<TagDirInfo>(); } } } }

Definition at line 1095 of file tagreader.cpp.

1095static const std::map< std::string, CompoundFactory > g_compoundFactory =
1096{
1097 // kind tag state creation function
1108 { "file", { TagFileParser::InFile, []() { return TagCompoundVariant::make<TagFileInfo>(); } } },
1109 { "namespace", { TagFileParser::InNamespace, []() { return TagCompoundVariant::make<TagNamespaceInfo>(); } } },
1110 { "concept", { TagFileParser::InConcept, []() { return TagCompoundVariant::make<TagConceptInfo>(); } } },
1111 { "module", { TagFileParser::InModule, []() { return TagCompoundVariant::make<TagModuleInfo>(); } } },
1112 { "group", { TagFileParser::InGroup, []() { return TagCompoundVariant::make<TagGroupInfo>(); } } },
1113 { "page", { TagFileParser::InPage, []() { return TagCompoundVariant::make<TagPageInfo>(); } } },
1114 { "package", { TagFileParser::InPackage, []() { return TagCompoundVariant::make<TagPackageInfo>(); } } },
1115 { "dir", { TagFileParser::InDir, []() { return TagCompoundVariant::make<TagDirInfo>(); } } }
1116};

Referenced by anonymous{tagreader.cpp}::TagFileParser::startCompound.

g_elementHandlers

const std::map< std::string, ElementCallbacks > anonymous{tagreader.cpp}::g_elementHandlers
static
Initialiser
= { { "compound", { startCb(&TagFileParser::startCompound ), endCb(&TagFileParser::endCompound ) } }, { "member", { startCb(&TagFileParser::startMember ), endCb(&TagFileParser::endMember ) } }, { "enumvalue", { startCb(&TagFileParser::startEnumValue ), endCb(&TagFileParser::endEnumValue ) } }, { "name", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endName ) } }, { "base", { startCb(&TagFileParser::startBase ), endCb(&TagFileParser::endBase ) } }, { "filename", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endFilename ) } }, { "includes", { startCb(&TagFileParser::startIncludes ), endCb(&TagFileParser::endIncludes ) } }, { "path", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endPath ) } }, { "anchorfile", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endAnchorFile ) } }, { "anchor", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endAnchor ) } }, { "clangid", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endClangId ) } }, { "arglist", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endArglist ) } }, { "title", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endTitle ) } }, { "subgroup", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endSubgroup ) } }, { "class", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endClass ) } }, { "concept", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endConcept ) } }, { "module", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endModule ) } }, { "namespace", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endNamespace ) } }, { "file", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endFile ) } }, { "dir", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endDir ) } }, { "page", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endPage ) } }, { "subpage", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endSubpage ) } }, { "docanchor", { startCb(&TagFileParser::startDocAnchor ), endCb(&TagFileParser::endDocAnchor ) } }, { "tagfile", { startCb(&TagFileParser::startIgnoreElement), endCb(&TagFileParser::endIgnoreElement) } }, { "templarg", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endTemplateArg ) } }, { "type", { startCb(&TagFileParser::startStringValue ), endCb(&TagFileParser::endType ) } } }

Definition at line 1054 of file tagreader.cpp.

1054static const std::map< std::string, ElementCallbacks > g_elementHandlers =
1055{
1056 // name, start element callback, end element callback
1083};

Referenced by anonymous{tagreader.cpp}::TagFileParser::endElement and anonymous{tagreader.cpp}::TagFileParser::startElement.


The documentation for this namespace was generated from the following file:


Generated via doxygen2docusaurus by Doxygen 1.14.0.