diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-20 11:54:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-20 11:55:22 +0200 |
commit | c04f7d6ed04d62efafa79a87bcde6c5f62e95327 (patch) | |
tree | 500cc93aed55b0809fe04e5a0b7020d9045c65c5 /xsd/cxx/tree/fundamental-header.hxx | |
parent | e14a3f91e6e51430bf9c6978f44c7f46114793fb (diff) |
Completion of the CLI port
Diffstat (limited to 'xsd/cxx/tree/fundamental-header.hxx')
-rw-r--r-- | xsd/cxx/tree/fundamental-header.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
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<CLI::export_xml_schema> () && 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<CLI::suppress_parsing> ()); - Boolean serialization (options.value<CLI::generate_serialization> ()); - Boolean element_map (options.value<CLI::generate_element_map> ()); + Boolean parsing (!options.suppress_parsing ()); + Boolean serialization (options.generate_serialization ()); + Boolean element_map (options.generate_element_map ()); - if (options.value<CLI::generate_element_type> ()) + 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<CLI::generate_insertion> ().empty ()) + if (!options.generate_insertion ().empty ()) { if (doxygen) os << "/**" << endl @@ -852,7 +852,7 @@ namespace CXX << endl; } - if (!options.value<CLI::generate_extraction> ().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<CLI::generate_polymorphic> ()) + if (options.generate_polymorphic ()) { if (parsing || serialization) { |