diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-23 07:35:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-23 07:35:46 +0200 |
commit | 72d4cfb0a3806ada247b9dd583d06e1ebe04d046 (patch) | |
tree | 203a40ebe7a59b57f375f5c7db39ebab9a7be265 /NEWS | |
parent | 4c7a3941af23fd27a97d1b06aa450bfa04bc46aa (diff) |
Generate the static polymorphic() function in aggregates
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -8,8 +8,17 @@ Version 3.2.0 * New configuration parameter, XSDE_STL_ITERATOR, makes iterators provided by the mapping conform to the STL requirements. This - feature requires working <iterator> header and allows you to use - the standard algorithms such as find_if, etc. + feature requires working <iterator> header and allows you to use the + standard algorithms such as find_if, etc. + + * When the code is generated with the --generate-polymorphic or + --runtime-polymorphic option, the resulting parser and serializer + aggregate classes provide the static polymorphic() function which + returns true if the object model corresponding to the root element + or root type is polymorphic and false otherwise. This can be used + together with the XSDE_POLYMORPHIC macro to implement generic parsing + and serialization code that works with both polymorphic and non- + polymorphic object models. Version 3.1.0 |