diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:42:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:42:19 +0200 |
commit | d20a8a5ee6554a173e1f2e1e5910cea258d8fd0b (patch) | |
tree | 1dd4e3bc8694d3e81d6a96a492fe7b5cbf55c7dc /xsde/cxx/parser/attribute-validation-source.cxx | |
parent | 417548d2097c56d95cab7587cffeea7004d33117 (diff) |
Adjust to changed predicate names
Diffstat (limited to 'xsde/cxx/parser/attribute-validation-source.cxx')
-rw-r--r-- | xsde/cxx/parser/attribute-validation-source.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xsde/cxx/parser/attribute-validation-source.cxx b/xsde/cxx/parser/attribute-validation-source.cxx index 218f192..22c70c4 100644 --- a/xsde/cxx/parser/attribute-validation-source.cxx +++ b/xsde/cxx/parser/attribute-validation-source.cxx @@ -28,7 +28,7 @@ namespace CXX { String const& name (a.name ()); - if (a.qualified () && a.namespace_ ().name ()) + if (a.qualified_p () && a.namespace_ ().name ()) { String const& ns (a.namespace_ ().name ()); @@ -151,7 +151,7 @@ namespace CXX os << "}"; - if (!a.optional ()) + if (!a.optional_p ()) os << "static_cast< v_state_attr_* > (" << "this->v_state_attr_stack_.top ())->" << name << " = true;"; @@ -204,7 +204,7 @@ namespace CXX virtual Void traverse (Type& a) { - if (!a.optional ()) + if (!a.optional_p ()) os << "as." << ename (a) << " = false;"; } }; @@ -222,9 +222,9 @@ namespace CXX virtual Void traverse (Type& a) { - if (!a.optional ()) + if (!a.optional_p ()) { - String ns (a.qualified () ? a.namespace_ ().name () : String ()); + String ns (a.qualified_p () ? a.namespace_ ().name () : String ()); os << "if (!as." << ename (a) << ")" << "{" |