aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/insertion-header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-22 15:07:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-22 15:07:35 +0200
commit973221821ac8e20da4eadbf4ad552f686b1ace48 (patch)
tree861059c9606d07487f08413b35172fe2b5fa3733 /xsde/cxx/hybrid/insertion-header.cxx
parentb2efa0d81f7e28017789082138cb547e6bea4028 (diff)
Get rid of dependency on libcult
Diffstat (limited to 'xsde/cxx/hybrid/insertion-header.cxx')
-rw-r--r--xsde/cxx/hybrid/insertion-header.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/xsde/cxx/hybrid/insertion-header.cxx b/xsde/cxx/hybrid/insertion-header.cxx
index a054d9e..8c11707 100644
--- a/xsde/cxx/hybrid/insertion-header.cxx
+++ b/xsde/cxx/hybrid/insertion-header.cxx
@@ -21,7 +21,7 @@ namespace CXX
{
}
- virtual Void
+ virtual void
traverse (Type& e)
{
// First see if we should delegate this one to the Complex
@@ -62,7 +62,7 @@ namespace CXX
{
}
- virtual Void
+ virtual void
traverse (Type& l)
{
String const& name (ename_custom (l));
@@ -91,7 +91,7 @@ namespace CXX
{
}
- virtual Void
+ virtual void
traverse (Type& u)
{
String const& name (ename_custom (u));
@@ -124,7 +124,7 @@ namespace CXX
{
}
- virtual Void
+ virtual void
traverse (SemanticGraph::All& a)
{
// For the all compositor, maxOccurs=1 and minOccurs={0,1}
@@ -149,12 +149,12 @@ namespace CXX
struct Choice: Traversal::Choice, Context
{
- Choice (Context& c, Boolean in_choice)
+ Choice (Context& c, bool in_choice)
: Context (c), in_choice_ (in_choice)
{
}
- virtual Void
+ virtual void
traverse (SemanticGraph::Choice& c)
{
// When choice is in choice we generate nested class even
@@ -179,18 +179,18 @@ namespace CXX
}
private:
- Boolean in_choice_;
+ bool in_choice_;
};
struct Sequence: Traversal::Sequence, Context
{
- Sequence (Context& c, Boolean in_choice)
+ Sequence (Context& c, bool in_choice)
: Context (c), in_choice_ (in_choice)
{
}
- virtual Void
+ virtual void
traverse (SemanticGraph::Sequence& s)
{
// When sequence is in choice we generate nested class even
@@ -215,7 +215,7 @@ namespace CXX
}
private:
- Boolean in_choice_;
+ bool in_choice_;
};
struct Complex : Traversal::Complex, Context
@@ -245,7 +245,7 @@ namespace CXX
contains_compositor_ >> sequence_in_sequence_;
}
- virtual Void
+ virtual void
traverse (Type& c)
{
String const& name (ename_custom (c));
@@ -285,7 +285,7 @@ namespace CXX
};
}
- Void
+ void
generate_insertion_header (Context& ctx)
{
Traversal::Schema schema;