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

Classes

class  TagAnchorInfo
 Information about an linkable anchor. More...
class  TagEnumValueInfo
 Container for enum values that are scoped within an enum. More...
class  TagIncludeInfo
 Container for include info that can be read from a tagfile. More...
class  TagMemberInfo
 Container for member specific info that can be read from a tagfile. More...
struct  TagCompoundInfo
 Base class for all compound types. More...
struct  TagClassInfo
 Container for class specific info that can be read from a tagfile. More...
struct  TagConceptInfo
 Container for concept specific info that can be read from a tagfile. More...
struct  TagModuleInfo
 Container for module specific info that can be read from a tagfile. More...
struct  TagNamespaceInfo
 Container for namespace specific info that can be read from a tagfile. More...
struct  TagPackageInfo
 Container for package specific info that can be read from a tagfile. More...
struct  TagFileInfo
 Container for file specific info that can be read from a tagfile. More...
struct  TagGroupInfo
 Container for group specific info that can be read from a tagfile. More...
struct  TagPageInfo
 Container for page specific info that can be read from a tagfile. More...
struct  TagDirInfo
 Container for directory specific info that can be read from a tagfile. More...
struct  TagRequirementInfo
 Container for requirement specific info that can be read from a tagfile. More...
class  TagCompoundVariant
 Variant class that holds a unique pointer to one of the specific container types. More...
class  TagFileParser
 Tag file parser. More...
struct  ElementCallbacks
struct  CompoundFactory

Typedefs

using TagClassInfoPtr = std::unique_ptr<TagClassInfo>
using TagConceptInfoPtr = std::unique_ptr<TagConceptInfo>
using TagModuleInfoPtr = std::unique_ptr<TagModuleInfo>
using TagNamespaceInfoPtr = std::unique_ptr<TagNamespaceInfo>
using TagPackageInfoPtr = std::unique_ptr<TagPackageInfo>
using TagFileInfoPtr = std::unique_ptr<TagFileInfo>
using TagGroupInfoPtr = std::unique_ptr<TagGroupInfo>
using TagPageInfoPtr = std::unique_ptr<TagPageInfo>
using TagDirInfoPtr = std::unique_ptr<TagDirInfo>
using TagRequirementInfoPtr = std::unique_ptr<TagRequirementInfo>

Functions

ElementCallbacks::StartCallback startCb (void(TagFileParser::*fn)(const XMLHandlers::Attributes &))
ElementCallbacks::EndCallback endCb (void(TagFileParser::*fn)())

Variables

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

Typedef Documentation

◆ TagClassInfoPtr

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

Definition at line 129 of file tagreader.cpp.

◆ TagConceptInfoPtr

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

Definition at line 137 of file tagreader.cpp.

◆ TagDirInfoPtr

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

Definition at line 212 of file tagreader.cpp.

◆ TagFileInfoPtr

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

Definition at line 177 of file tagreader.cpp.

◆ TagGroupInfoPtr

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

Definition at line 193 of file tagreader.cpp.

◆ TagModuleInfoPtr

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

Definition at line 145 of file tagreader.cpp.

◆ TagNamespaceInfoPtr

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

Definition at line 157 of file tagreader.cpp.

◆ TagPackageInfoPtr

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

Definition at line 165 of file tagreader.cpp.

◆ TagPageInfoPtr

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

Definition at line 202 of file tagreader.cpp.

◆ TagRequirementInfoPtr

using anonymous_namespace{tagreader.cpp}::TagRequirementInfoPtr = std::unique_ptr<TagRequirementInfo>

Definition at line 222 of file tagreader.cpp.

Function Documentation

◆ endCb()

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

Definition at line 1092 of file tagreader.cpp.

1093{
1094 return [fn](TagFileParser &parser) { (parser.*fn)(); };
1095}

References endCb().

Referenced by endCb().

◆ startCb()

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

Definition at line 1087 of file tagreader.cpp.

1088{
1089 return [fn](TagFileParser &parser,const XMLHandlers::Attributes &attr) { (parser.*fn)(attr); };
1090}
std::unordered_map< std::string, std::string > Attributes
Definition xml.h:29

References startCb().

Referenced by startCb().

Variable Documentation

◆ g_compoundFactory

const std::map< std::string, CompoundFactory > anonymous_namespace{tagreader.cpp}::g_compoundFactory
static
Initial value:
=
{
{ "file", { TagFileParser::InFile, []() { return TagCompoundVariant::make<TagFileInfo>(); } } },
{ "group", { TagFileParser::InGroup, []() { return TagCompoundVariant::make<TagGroupInfo>(); } } },
{ "page", { TagFileParser::InPage, []() { return TagCompoundVariant::make<TagPageInfo>(); } } },
{ "dir", { TagFileParser::InDir, []() { return TagCompoundVariant::make<TagDirInfo>(); } } },
}
static TagCompoundVariant make(Args &&... args)
Generic factory method to create a variant holding a unique pointer to a given compound type.

Definition at line 1139 of file tagreader.cpp.

Referenced by anonymous_namespace{tagreader.cpp}::TagFileParser::startCompound().

◆ g_elementHandlers

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