$$$ I don't really understand this mechanism yet.
Its definition begins with %ConvertFromClassCode.
At least I found out that a mapped class
- cannot have super classes, member functions or constructors.
- cannot have a %ConvertToSubClassCode directive.
- must have exactly one %ConvertFromClassCode directive.
- must have exactly one %ConvertToClassCode directive.
- must have exactly one %CanConvertToClassCode directive
Name
%ConvertFromClassCode -- Start of a from-class code
_block_Synopsis
%ConvertFromClassCode
Name
%ConvertToClassCode -- Start of a to-class code
_block_Synopsis
%ConvertToClassCode
Name
%CanConvertToClassCode -- Start of a can-to-class code
_block_Synopsis
%CanConvertToClassCode
Name
%ConvertToSubClassCode -- Start of a to-sub-class code
_block_Synopsis
%ConvertToSubClassCode
Description
$$$ This I understand even less. There is only one example (in qevent.sip).
A mapped class cannot have a %ConvertToSubClassCode directive.
A class can have only one %ConvertToSubClassCode directive.