morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::SectionGroupTraits< G > Struct Template Reference

Traits specialisation mapping a SectionGroup type to its string type-id. More...

Detailed Description

template<typename G>
struct morph::forms::SectionGroupTraits< G >

Traits specialisation mapping a SectionGroup type to its string type-id.

Specialise via BRIDGE_REGISTER_SECTION_GROUP rather than by hand. The default is a forward declaration — using it without a specialisation is an incomplete-type error. The schema needs a stable name for the group; deriving one from the C++ type would tie the wire format to a mangled name.

Template Parameters
GConcrete SectionGroup<...> type.

Definition at line 79 of file sections.hpp.


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