WithPolyXML template
WithPolyXML template, derived from WithFactory one (see ClassFactory package), provides the necessary behaviour to handle XML streaming of classes belong to hierarchy.
All classes derived from WithPolyXML template can be inserted into any of following containers :
PolyXMLArray A polymorphic Array
PolyXMLArrayMap A polymorphic ArrayMap
PolyXMLArrayMapOne A polymorphic ArrayMap containing One<T>
The containers will manage automatically the XML in and out streaming; on loading the correct objects will be created and put into the array.
Please see the PolyXMLTest example application for usage details.
|