The SBCMeta Library#
This library contains compile-time types, values, and registration helpers used by advanced template code in the SDK, especially around introspection and units.
Use this page when you need low-level SDK infrastructure that other extension code builds on. For class members, signatures, and exact behavior, continue from the links below into the generated API reference.
Library contents#
This library defines key classes and macros for template meta-programming, used in particular in SAMSON's introspection mechanism and SAMSON's unit system. The most relevant classes are:
SBType(full name:SBCMetaType)SBValue(full name:SBCMetaValue)SBValueBase(full name:SBCMetaValueBase)SBValueHolder(full name:SBCMetaValueHolder)SBValueMap(full name:SBCMetaValueMap)SBValueType(full name:SBCMetaValueType)
And the most relevant macros are:
SB_DECLARE_BASE_TYPESB_REGISTER_TARGET_TYPESB_REGISTER_TYPE