diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-03-11 09:30:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-03-11 09:30:41 +0200 |
commit | 9db750f407ceeb5c1fab99414b074d289bfda179 (patch) | |
tree | eb1a5e52ebf84d79d378d5ab2ae56372028776e0 /xsde/cxx/hybrid/elements.hxx | |
parent | bc628cff98a1d90d4ee293f22979db56b4ed0695 (diff) |
Add support for parsing/serialization of recursive types
tests/cxx/hybrid/recursive/: new test
Diffstat (limited to 'xsde/cxx/hybrid/elements.hxx')
-rw-r--r-- | xsde/cxx/hybrid/elements.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/xsde/cxx/hybrid/elements.hxx b/xsde/cxx/hybrid/elements.hxx index 73caa35..f5d959b 100644 --- a/xsde/cxx/hybrid/elements.hxx +++ b/xsde/cxx/hybrid/elements.hxx @@ -332,6 +332,12 @@ namespace CXX epstate_base (SemanticGraph::Type&); static String const& + epstate_first (SemanticGraph::Type&); + + static String const& + epstate_top (SemanticGraph::Type&); + + static String const& epstate_member (SemanticGraph::Type&); static String const& @@ -396,6 +402,12 @@ namespace CXX esstate_type (SemanticGraph::Type&); static String const& + esstate_first (SemanticGraph::Type&); + + static String const& + esstate_top (SemanticGraph::Type&); + + static String const& esstate_member (SemanticGraph::Type&); static String const& @@ -479,6 +491,12 @@ namespace CXX return c.context ().get<Boolean> ("fixed"); } + Boolean + recursive (SemanticGraph::Type& t) + { + return t.context ().count ("recursive"); + } + public: String istream (NarrowString const& is) const; |