|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-10-13 15:33:41
If you use BOOST_CLASS_EXPORT(my_type)
you will get the type name ala class_name="my_type" under the following
conditions.
a) its a polymorphic derived pointer.
b) its the first time that that type is used
That may be helpful - but that's the best I can do. Note that the class_id
# in the xml output indicates which type is being handled. I would hope
that some sort of XML viewer could make sense of it.
If you had nothing else to do you could probably enhance this output - I
already responded to someone who wanted to do this - but I don't remember if
it was via private email or here.
Robert Ramey
Sean Huang wrote:
> Is it possible to add class(type) name in xml archive? It would be a
> big help when looking at the xml output (yes, we want to display
> those files). for example (from demo.xml):
> <s type="bus_schedule" class_id="0" tracking_level="0" version="2">
> ^^^^^^^^^^^^^^^^^
>
> Thanks,
>
> Sean
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net