Define KARANA_FOR_EACH_VAR_TEMPLATE

Define KARANA_FOR_EACH_VAR_TEMPLATE#

Define Documentation#

KARANA_FOR_EACH_VAR_TEMPLATE(APPLY)#

Apply a declaration or definition macro to every supported Var specialization.

Keep value types aligned with KCore_Py.cc and NumericVar.cc, and quantity magnitudes aligned with KCore_Py_Vars/QuantityVar_*_Py.cc. Only floating-point scalars, vectors and matrices receive physical quantities; all other types receive none. Do not add a second entry for an alias of an already listed type.

Parameters:
  • APPLY – Variadic macro accepting Var’s template arguments and emitting a complete declaration or definition, including its semicolon.