aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-03-26 17:09:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-03-26 17:09:53 +0200
commite4c22d3686da0e973e21eae0561c1169c0eeff36 (patch)
tree0a49e9167edc88938b0287949080931314e8afea /xsde/cxx/hybrid/elements.hxx
parent0d62005a3ff3b62d02c2eb3fd8644e0e19b202e8 (diff)
Implement support for XML Schema polymorphism in C++/Hybrid
examples/cxx/hybrid/polyroot/ examples/cxx/hybrid/polymorphism/: new examples tests/cxx/hybrid/polymorphism/: new tests
Diffstat (limited to 'xsde/cxx/hybrid/elements.hxx')
-rw-r--r--xsde/cxx/hybrid/elements.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/xsde/cxx/hybrid/elements.hxx b/xsde/cxx/hybrid/elements.hxx
index 7f3ba3a..8452976 100644
--- a/xsde/cxx/hybrid/elements.hxx
+++ b/xsde/cxx/hybrid/elements.hxx
@@ -42,9 +42,9 @@ namespace CXX
exceptions (c.exceptions),
stl (c.stl),
poly_code (c.poly_code),
- poly_runtime (c.poly_runtime),
reset (c.reset),
detach (c.detach),
+ typeinfo (c.typeinfo),
mixin (c.mixin),
tiein (c.tiein),
fwd_expr (c.fwd_expr),
@@ -71,9 +71,9 @@ namespace CXX
exceptions (c.exceptions),
stl (c.stl),
poly_code (c.poly_code),
- poly_runtime (c.poly_runtime),
reset (c.reset),
detach (c.detach),
+ typeinfo (c.typeinfo),
mixin (c.mixin),
tiein (c.tiein),
fwd_expr (c.fwd_expr),
@@ -534,6 +534,12 @@ namespace CXX
return t.context ().count ("recursive");
}
+ Boolean
+ polymorphic (SemanticGraph::Type& t)
+ {
+ return t.context ().count ("polymorphic");
+ }
+
public:
String
istream (NarrowString const& is) const;
@@ -559,9 +565,9 @@ namespace CXX
Boolean exceptions;
Boolean stl;
Boolean poly_code;
- Boolean poly_runtime;
Boolean reset;
Boolean detach;
+ Boolean typeinfo;
Boolean mixin;
Boolean tiein;