mrdocs::Corpus::qualifiedName

qualifiedName overloads

Synopses

Declared in <mrdocs/Corpus.hpp>

Return the fully qualified name of I.

std::string
qualifiedName(Symbol const& I) const;

Populate temp with the fully qualified name of I.

virtual
void
qualifiedName(
    Symbol const& I,
    std::string& temp) const = 0;

Return the qualified name of I relative to context.

std::string
qualifiedName(
    Symbol const& I,
    SymbolID const& context) const;

Populate result with a qualified name relative to context. If context contains I, the name is relative; otherwise it is computed from the global namespace.

virtual
void
qualifiedName(
    Symbol const& I,
    SymbolID const& context,
    std::string& result) const = 0;

Parameters

Name Description

I

The Symbol to get the qualified name for.

temp

The string to store the result in.

context

The context used to qualify the name.

result

Output string receiving the name.

Created with MrDocs