mrdocs::NamespaceSymbol

Describes a namespace and its members.

Synopsis

Declared in <mrdocs/Metadata/Symbol/Namespace.hpp>

struct NamespaceSymbol final
    : SymbolCommonBase<SymbolKind::Namespace>

Base Classes

Name Description

SymbolCommonBase<SymbolKind::Namespace>

Base class for providing variant discriminator functions.

Member Functions

Name

Description

NamespaceSymbol [constructor]

Create a namespace symbol bound to an ID.

operator<=>

Compare namespaces by attributes and member lists.

Data Members

Name

Description

IsAnonymous

Whether this represents an unnamed namespace.

IsInline

Whether this declaration is inline.

Members

The members of this namespace.

UsingDirectives

Namespaces nominated by using‐directives.

Static Data Members

Name

kind_id

Non-Member Functions

Name

Description

allMembers

View all members of the namespace across tranches.

canMerge

Check whether two symbols may be merged.

getPrimaryLocation

Determine a location to use when none is explicitly chosen.

Created with MrDocs