summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/validator.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/tree/validator.cxx
parentea95e3637288a1369ac96011d0cec9feeead05f2 (diff)
Adjust to changed predicate names
Diffstat (limited to 'xsd/cxx/tree/validator.cxx')
-rw-r--r--xsd/cxx/tree/validator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/tree/validator.cxx b/xsd/cxx/tree/validator.cxx
index 32dee69..88451ba 100644
--- a/xsd/cxx/tree/validator.cxx
+++ b/xsd/cxx/tree/validator.cxx
@@ -67,7 +67,7 @@ namespace CXX
if (n.is_a<SemanticGraph::Namespace> ())
return L"<namespace-level>"; // There is a bug if you see this.
- if (n.named ())
+ if (n.named_p ())
{
SemanticGraph::Scope& scope (n.scope ());
@@ -130,7 +130,7 @@ namespace CXX
using SemanticGraph::Any;
- Boolean q (e.qualified ());
+ Boolean q (e.qualified_p ());
String ns (q ? e.namespace_ ().name () : "");
for (Any::NamespaceIterator i (any_.namespace_begin ());
@@ -306,7 +306,7 @@ namespace CXX
{
SemanticGraph::Type& t (c.inherits ().base ());
- if (t.named () &&
+ if (t.named_p () &&
types_.find (
t.scope ().name () + L"#" + t.name ()) == types_.end ())
{
@@ -346,7 +346,7 @@ namespace CXX
{
// This is also used to traverse Complex.
//
- if (t.named ())
+ if (t.named_p ())
{
types_.insert (t.scope ().name () + L"#" + t.name ());
}
@@ -437,7 +437,7 @@ namespace CXX
{
SemanticGraph::Type& t (m.type ());
- if (!t.named ()
+ if (!t.named_p ()
&& !t.is_a<SemanticGraph::Fundamental::IdRef> ()
&& !t.is_a<SemanticGraph::Fundamental::IdRefs> ())
{