aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/elements.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-03-11 09:30:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-03-11 09:30:41 +0200
commit9db750f407ceeb5c1fab99414b074d289bfda179 (patch)
treeeb1a5e52ebf84d79d378d5ab2ae56372028776e0 /xsde/cxx/hybrid/elements.cxx
parentbc628cff98a1d90d4ee293f22979db56b4ed0695 (diff)
Add support for parsing/serialization of recursive types
tests/cxx/hybrid/recursive/: new test
Diffstat (limited to 'xsde/cxx/hybrid/elements.cxx')
-rw-r--r--xsde/cxx/hybrid/elements.cxx32
1 files changed, 28 insertions, 4 deletions
diff --git a/xsde/cxx/hybrid/elements.cxx b/xsde/cxx/hybrid/elements.cxx
index c7609ff..68af8df 100644
--- a/xsde/cxx/hybrid/elements.cxx
+++ b/xsde/cxx/hybrid/elements.cxx
@@ -144,15 +144,27 @@ namespace CXX
}
String const& Context::
- epstate_member (SemanticGraph::Type& t)
+ epstate_base (SemanticGraph::Type& t)
{
- return t.context ().get<String> ("pstate-member");
+ return t.context ().get<String> ("pstate-base");
}
String const& Context::
- epstate_base (SemanticGraph::Type& t)
+ epstate_first (SemanticGraph::Type& t)
{
- return t.context ().get<String> ("pstate-base");
+ return t.context ().get<String> ("pstate-first");
+ }
+
+ String const& Context::
+ epstate_top (SemanticGraph::Type& t)
+ {
+ return t.context ().get<String> ("pstate-top");
+ }
+
+ String const& Context::
+ epstate_member (SemanticGraph::Type& t)
+ {
+ return t.context ().get<String> ("pstate-member");
}
String const& Context::
@@ -256,6 +268,18 @@ namespace CXX
}
String const& Context::
+ esstate_first (SemanticGraph::Type& t)
+ {
+ return t.context ().get<String> ("sstate-first");
+ }
+
+ String const& Context::
+ esstate_top (SemanticGraph::Type& t)
+ {
+ return t.context ().get<String> ("sstate-top");
+ }
+
+ String const& Context::
esstate_member (SemanticGraph::Type& t)
{
return t.context ().get<String> ("sstate-member");