summaryrefslogtreecommitdiff
path: root/xsd/cxx/parser/attribute-validation-source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:30:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:30:56 +0200
commit9e21f520fb19163eeac2a9b80a4568dabfc29268 (patch)
tree50e27bcaaf0807bd29a845485732159aa684971f /xsd/cxx/parser/attribute-validation-source.cxx
parentea95e3637288a1369ac96011d0cec9feeead05f2 (diff)
Adjust to changed predicate names
Diffstat (limited to 'xsd/cxx/parser/attribute-validation-source.cxx')
-rw-r--r--xsd/cxx/parser/attribute-validation-source.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/parser/attribute-validation-source.cxx b/xsd/cxx/parser/attribute-validation-source.cxx
index 2c57f2a..536e2da 100644
--- a/xsd/cxx/parser/attribute-validation-source.cxx
+++ b/xsd/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 ());
@@ -127,7 +127,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;";
@@ -180,7 +180,7 @@ namespace CXX
virtual Void
traverse (Type& a)
{
- if (!a.optional ())
+ if (!a.optional_p ())
os << "as." << ename (a) << " = false;";
}
};
@@ -198,9 +198,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) << ")" << endl
<< "this->_expected_attribute (" << endl