[xsd-users] ACE CDR Constructor for deserialization.

Boris Kolpackov boris at codesynthesis.com
Mon Mar 18 08:50:42 EDT 2019


jimson.james at intellitix.com <jimson.james at intellitix.com> writes:

> In the ACE CDR example, the deserialization uses the constructor. 
> 
> Didn't find any functions to do something like below,
> 
> std::auto_ptr<catalog> copy (catalog_(icdr,
>   ::xml_schema::Flags::dont_validate));

Loading from a binary representation is done via constructors
(note that there is no schema validation so the flags do not
apply). See Section 5.2, "Binary Serialization" for details:

https://codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#5.2



More information about the xsd-users mailing list