Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Serialize of derived classes
Re: Serialize of derived classes [message #36410 is a reply to message #36409] Thu, 24 May 2012 13:58 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
mhhhh... better not.
You can either :

1) Create a new PolySerialize package, using PolyXML one and provide PolySerialize and PolyJsonize classes
Using PolyXML is needed just for ClassFactory.

2) I could split PolyXML into ClassFactory + PolyXML packages, and you could do as above but using the new ClassFactory package instead of PolyXML (cleaner solution...)

3) same as 2, put provide a couple of different packages for PolySerialize and PolyJsonize. That would be the cleanest solution, IMHO.

I'd rather not rename PolyXML package, because I'd have to patch some tenths of my source files.....

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Value: String to int - problem or feature?
Next Topic: Problem with GetTickCount on Linux
Goto Forum:
  


Current Time: Wed May 08 06:39:47 CEST 2024

Total time taken to generate the page: 0.01858 seconds