![]() |
|
#1
|
|||
|
|||
Serialisation - OOP issueHello.
I have class "A" that needs to creat another class "B". In one case, class "B" needs to have one attribute/field and in another case two attributes/fields. I thought to split class "B" into two classes "C" and "D" that one will have one attribute ant the other one two. constructor of "A" will know which to create. so far - so good. now I need to serialize the whole thing. in the output xml, "C" or "D" must have the same node name. How can I do this? Any other options I have? Thanks. |
|||
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unknown issue | rockyford1000 | PHP Code Library | 0 | 06-Aug-2007 21:55 |
| pointer/memory issue | acosgaya | C++ Forum | 1 | 09-Feb-2007 12:50 |
| Simple syntax issue with Header file for my class. | zermeno68 | C++ Forum | 3 | 16-Sep-2006 10:19 |
| d3d sprite issue | markhuntley | C++ Forum | 0 | 28-Jun-2006 13:21 |
| how to issue dos command from c program | jaininaveen | C Programming Language | 2 | 03-Mar-2006 11:02 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The