[serialization] How to pass user defined flags?
When loading an object via serialization I need to be able to load the object in different modes (which has nothing to do with its data). I tried making an ext_xml_wiarchive (inheriting xml_wiarchive) that adds a function to retrieve the mode, but the serialization template functions do not seem to be able to access that function. I know I'm missing something here... :( /R
Look at a) the comments in xml_woarchive regarding derivation. b) portabla_binary_archive demo in the librar c) discussion of this topic in the current documentation Robert Ramey Robert Bielik wrote:
When loading an object via serialization I need to be able to load the object in different modes (which has nothing to do with its data). I tried making an ext_xml_wiarchive (inheriting xml_wiarchive) that adds a function to retrieve the mode, but the serialization template functions do not seem to be able to access that function.
I know I'm missing something here... :(
/R
participants (2)
-
Robert Bielik
-
Robert Ramey