aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/default-value.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-27 10:10:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-27 10:10:46 +0200
commit3dcdc88b14aec626c87f8f480a1d07781a27c069 (patch)
tree3d64d4701e07441545ffaf3afe0050c4c9e35b41 /xsde/cxx/hybrid/default-value.hxx
parent8161144e7f3182d9dc66a811b4618a81232d4af3 (diff)
Implement schema enumeration to C++ enum mapping in C++/Hybrid
Diffstat (limited to 'xsde/cxx/hybrid/default-value.hxx')
-rw-r--r--xsde/cxx/hybrid/default-value.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/xsde/cxx/hybrid/default-value.hxx b/xsde/cxx/hybrid/default-value.hxx
index b9f902c..46a6bf0 100644
--- a/xsde/cxx/hybrid/default-value.hxx
+++ b/xsde/cxx/hybrid/default-value.hxx
@@ -163,6 +163,7 @@ namespace CXX
struct InitValue: Traversal::List,
Traversal::Union,
Traversal::Complex,
+ Traversal::Enumeration,
Traversal::Type,
Traversal::AnySimpleType,
@@ -217,6 +218,9 @@ namespace CXX
traverse (SemanticGraph::Complex&);
virtual Void
+ traverse (SemanticGraph::Enumeration&);
+
+ virtual Void
traverse (SemanticGraph::Type& t);
// anySimpleType.
@@ -337,6 +341,7 @@ namespace CXX
struct CompareValue: Traversal::Union,
Traversal::Complex,
+ Traversal::Enumeration,
Traversal::Type,
Context
{
@@ -354,6 +359,9 @@ namespace CXX
traverse (SemanticGraph::Complex&);
virtual Void
+ traverse (SemanticGraph::Enumeration&);
+
+ virtual Void
traverse (SemanticGraph::Type& t);
private: