mrdocs::addMetaObject

Add a $meta object with type information.

Synopsis

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

Name Description

T

The type whose metadata to add.

Parameters

Name Description

io

The lazy object IO to map into.

Created with MrDocs