diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-19 11:44:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-19 11:44:48 +0200 |
commit | 3bf42ed8ccc93a3ff5fdabb9153b887018075acc (patch) | |
tree | 19608b70275324a6e49f7f013ddff912b26128d4 /NEWS | |
parent | 4257e28e3bbb92042f5a1db05eba17d7b2a3b151 (diff) |
Add support for selective polymorphic in C++/Tree
New options: --polymorphic-type, --polymorphic-type-all.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -46,6 +46,16 @@ Version 3.3.0 example and Section 2.9.2, "Element Map" in the C++/Tree Mapping User Manual. + * Prior to this version when the --generate-polymorphic option is + specified the compiler treats all types as potentially polymorphic. + Now by default only type hierarchies used in substitution groups and + those explicitly declared polymorphic with the new --polymorphic-type + option are treated as polymorphic. This results in smaller and faster + generated code. If you would like to continue using the old behavior, + you will need to specify --polymorphic-type-all. For more information + on this change see Section 2.11, "Mapping for xsi:type and Substitution + Groups" in the C++/Tree Mapping User Manual. + * New option, --export-xml-schema, causes the compiler to export/import types in the XML Schema namespace using the export symbol provided with the --export-symbol option. |