mrdocs::SymbolCommonBase

Base class for providing variant discriminator functions.

Synopsis

template<SymbolKind K>
struct SymbolCommonBase
    : Symbol

Description

This offers functions that return a boolean at compile‐time, indicating if the most‐derived class is a certain type.

Base Classes

Name

Description

Symbol

Base class with common properties of all symbols

Member Functions

Name

Description

asInfo

asInfo overloads

Data Members

Name

Description

Access

Declaration access.

Anchor

A legible, filesystem‐ and URL‐safe name for this symbol.

Attributes

The C++ attributes attached to this declaration.

Extraction

Determine why a symbol is extracted.

InheritedFrom

The base class this symbol was inherited from.

Kind

Kind of declaration.

Loc

The source location information.

Name

The unqualified name.

Parent

The parent symbol, if any.

doc

The extracted documentation for this declaration.

id

The unique identifier for this symbol.

Static Data Members

Name

Description

kind_id

The variant discriminator constant of the most‐derived class.

Protected Member Functions

Name

Description

SymbolCommonBase [constructor]

Constructors

Derived Classes

Name

Description

ConceptSymbol

Info for concepts.

EnumConstantSymbol

Info for enum constants.

EnumSymbol

Metadata for an enumeration declaration.

FunctionSymbol

Metadata for a function or method.

GuideSymbol

Info for deduction guides.

MacroSymbol

Info for preprocessor macros.

NamespaceAliasSymbol

Info for namespace aliases.

NamespaceSymbol

Describes a namespace and its members.

OverloadsSymbol

Represents a set of function overloads.

RecordSymbol

Metadata for struct, class, or union.

TypedefSymbol

Info for typedef and using declarations.

UsingSymbol

Info for using declarations.

VariableSymbol

A variable.

Created with MrDocs