From c04f7d6ed04d62efafa79a87bcde6c5f62e95327 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Jun 2012 11:54:24 +0200 Subject: Completion of the CLI port --- xsd/cxx/tree/fundamental-header.hxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'xsd/cxx/tree/fundamental-header.hxx') diff --git a/xsd/cxx/tree/fundamental-header.hxx b/xsd/cxx/tree/fundamental-header.hxx index 327aa63..424034d 100644 --- a/xsd/cxx/tree/fundamental-header.hxx +++ b/xsd/cxx/tree/fundamental-header.hxx @@ -80,7 +80,7 @@ namespace CXX FundamentalNamespace (Context& c) : DocumentedNamespace (c), Context (c), - export_ (c.options.value () && type_exp) + export_ (c.options.export_xml_schema () && type_exp) { *this >> names_ >> *this; @@ -720,11 +720,11 @@ namespace CXX { SemanticGraph::Context& c (xs_ns ().context()); - Boolean parsing (!options.value ()); - Boolean serialization (options.value ()); - Boolean element_map (options.value ()); + Boolean parsing (!options.suppress_parsing ()); + Boolean serialization (options.generate_serialization ()); + Boolean element_map (options.generate_element_map ()); - if (options.value ()) + if (options.generate_element_type ()) { if (doxygen) os << "/**" << endl @@ -838,7 +838,7 @@ namespace CXX //@@ Can't change names of ostream/istream since they are // templates. // - if (!options.value ().empty ()) + if (!options.generate_insertion ().empty ()) { if (doxygen) os << "/**" << endl @@ -852,7 +852,7 @@ namespace CXX << endl; } - if (!options.value ().empty ()) + if (!options.generate_extraction ().empty ()) { if (doxygen) os << "/**" << endl @@ -1050,7 +1050,7 @@ namespace CXX L"::xsd::cxx::tree::no_prefix_mapping< " + char_type + L" >"); } - if (options.value ()) + if (options.generate_polymorphic ()) { if (parsing || serialization) { -- cgit v1.1