Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::reflection::CreatePointerConversion< DerivedClass, T > Struct Template Reference

Creates wrapper_mapper conversions for the Dervived class and all its base classes. More...

Detailed Description

template<typename DerivedClass, typename... T>
struct sbk::reflection::CreatePointerConversion< DerivedClass, T >

Creates wrapper_mapper conversions for the Dervived class and all its base classes.

Implementation is taken from rttr's basic conversion tempates but adapts it to our use case.

Once large difference is rttr assumes wrappers to wrap object types. However, our pointers wrap the SB_ID type. This means it cannot automatically find the base_class_list. In our custom version, we remove the auto deduction of wrapper types and just use our DatabasePtr and child_ptr wrappers.


The documentation for this struct was generated from the following file: