summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/generator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/cxx/tree/generator.hxx')
-rw-r--r--xsd/cxx/tree/generator.hxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/xsd/cxx/tree/generator.hxx b/xsd/cxx/tree/generator.hxx
index 0e05585..5db4a5d 100644
--- a/xsd/cxx/tree/generator.hxx
+++ b/xsd/cxx/tree/generator.hxx
@@ -6,12 +6,11 @@
#ifndef CXX_TREE_GENERATOR_HXX
#define CXX_TREE_GENERATOR_HXX
-#include <cult/types.hxx>
-
#include <xsd-frontend/semantic-graph/elements.hxx> // Path
#include <xsd-frontend/semantic-graph/schema.hxx>
#include <xsd.hxx>
+#include <types.hxx>
#include <cxx/literal-map.hxx>
#include <cxx/tree/options.hxx>
@@ -20,21 +19,19 @@ namespace CXX
{
namespace Tree
{
- using namespace Cult::Types;
-
class Generator
{
public:
- static Void
+ static void
usage ();
struct Failed {};
- static UnsignedLong
+ static size_t
generate (options const&,
XSDFrontend::SemanticGraph::Schema&,
XSDFrontend::SemanticGraph::Path const& file,
- Boolean file_per_type,
+ bool file_per_type,
StringLiteralMap const&,
const WarningSet& disabled_warnings,
FileList& file_list,