diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 15:07:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 15:07:35 +0200 |
commit | 973221821ac8e20da4eadbf4ad552f686b1ace48 (patch) | |
tree | 861059c9606d07487f08413b35172fe2b5fa3733 /xsde/elements.hxx | |
parent | b2efa0d81f7e28017789082138cb547e6bea4028 (diff) |
Get rid of dependency on libcult
Diffstat (limited to 'xsde/elements.hxx')
-rw-r--r-- | xsde/elements.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xsde/elements.hxx b/xsde/elements.hxx index 7684484..f37c6f6 100644 --- a/xsde/elements.hxx +++ b/xsde/elements.hxx @@ -6,18 +6,14 @@ #ifndef ELEMENTS_HXX #define ELEMENTS_HXX -#include <cult/types.hxx> - #include <xsd-frontend/semantic-graph.hxx> #include <xsd-frontend/traversal.hxx> -using namespace Cult; -typedef WideString String; +#include <types.hxx> namespace SemanticGraph = XSDFrontend::SemanticGraph; namespace Traversal = XSDFrontend::Traversal; - // Anonymous feedback via belongs edge. // struct AnonymousBase: Traversal::Element, Traversal::Attribute @@ -63,7 +59,7 @@ public: public: - virtual Void + virtual void traverse (SemanticGraph::Element& e) { SemanticGraph::Type& t (e.type ()); @@ -82,7 +78,7 @@ public: } } - virtual Void + virtual void traverse (SemanticGraph::Attribute& a) { SemanticGraph::Type& t (a.type ()); @@ -109,7 +105,7 @@ private: { } - virtual Void + virtual void traverse (SemanticGraph::Complex& c) { if (d1_) |