From 4c408a85759eb42b6b84b8cdab81453df31cd289 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Dec 2011 13:09:25 +0200 Subject: Register substituting anonymous types with polymorphic maps --- xsd/cxx/tree/elements.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xsd/cxx/tree/elements.hxx') diff --git a/xsd/cxx/tree/elements.hxx b/xsd/cxx/tree/elements.hxx index 4977045..369dc3a 100644 --- a/xsd/cxx/tree/elements.hxx +++ b/xsd/cxx/tree/elements.hxx @@ -170,6 +170,12 @@ namespace CXX return t.context ().count ("anonymous"); } + // Return true if this anonymous type is defined in an element + // that belongs to a substitution group. + // + Boolean + anonymous_substitutes_p (SemanticGraph::Type&); + // Escaped names. // public: -- cgit v1.1