diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:30:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:30:56 +0200 |
commit | 9e21f520fb19163eeac2a9b80a4568dabfc29268 (patch) | |
tree | 50e27bcaaf0807bd29a845485732159aa684971f /xsd/cxx/parser/element-validation-source.cxx | |
parent | ea95e3637288a1369ac96011d0cec9feeead05f2 (diff) |
Adjust to changed predicate names
Diffstat (limited to 'xsd/cxx/parser/element-validation-source.cxx')
-rw-r--r-- | xsd/cxx/parser/element-validation-source.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/parser/element-validation-source.cxx b/xsd/cxx/parser/element-validation-source.cxx index df701e9..211a0d3 100644 --- a/xsd/cxx/parser/element-validation-source.cxx +++ b/xsd/cxx/parser/element-validation-source.cxx @@ -36,10 +36,10 @@ namespace CXX { String const& name (e.name ()); - if (polymorphic && e.global ()) + if (polymorphic && e.global_p ()) os << "("; - if (e.qualified () && e.namespace_ ().name ()) + if (e.qualified_p () && e.namespace_ ().name ()) { String const& ns (e.namespace_ ().name ()); @@ -52,7 +52,7 @@ namespace CXX // Only a globally-defined element can be a subst-group root. // - if (polymorphic && e.global ()) + if (polymorphic && e.global_p ()) { os << ") ||" << endl << "::xsd::cxx::parser::substitution_map_instance< " << @@ -153,7 +153,7 @@ namespace CXX virtual Void traverse (SemanticGraph::Element& e) { - String ns (e.qualified () ? e.namespace_ ().name () : String ()); + String ns (e.qualified_p () ? e.namespace_ ().name () : String ()); os << strlit (ns) << ", " << strlit (e.name ()); } @@ -877,7 +877,7 @@ namespace CXX continue; Element& e (dynamic_cast<Element&> (ci->particle ())); - String ns (e.qualified () ? e.namespace_ ().name () : String ()); + String ns (e.qualified_p () ? e.namespace_ ().name () : String ()); UnsignedLong state (e.context ().get<UnsignedLong> ("state")); os << "if (count[" << state << "UL] == 0)" << endl |