mrdocs::addMetaObject

Add a $meta object with type information.

Synopsis

Declared in <mrdocs/Support/MapReflectedType.hpp>

template<
    typename T,
    typename IO>
void
addMetaObject(IO& io);

Description

Creates a $meta object containing:

  • type: The unqualified C++ class name (e.g., "FunctionSymbol").

  • bases: Array of base class names (e.g., ["Symbol", "SourceInfo"]).

Template Parameters

NameDescription
TThe type whose metadata to add.

Parameters

NameDescription
ioThe lazy object IO to map into.