aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/serializer/generator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/serializer/generator.hxx')
-rw-r--r--xsde/cxx/serializer/generator.hxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/xsde/cxx/serializer/generator.hxx b/xsde/cxx/serializer/generator.hxx
index e9601be..4df1540 100644
--- a/xsde/cxx/serializer/generator.hxx
+++ b/xsde/cxx/serializer/generator.hxx
@@ -6,14 +6,12 @@
#ifndef CXX_SERIALIZER_GENERATOR_HXX
#define CXX_SERIALIZER_GENERATOR_HXX
-#include <cult/types.hxx>
-
-#include <cult/containers/vector.hxx>
#include <xsd-frontend/semantic-graph/elements.hxx> // Path
#include <xsd-frontend/semantic-graph/schema.hxx>
#include <xsde.hxx>
+#include <types.hxx>
#include <type-map/type-map.hxx>
@@ -23,17 +21,15 @@ namespace CXX
{
namespace Serializer
{
- using namespace Cult::Types;
-
class Generator
{
public:
- static Void
+ static void
usage ();
// Assign names to global declarations.
//
- static Void
+ static void
process_names (options const&,
XSDFrontend::SemanticGraph::Schema&,
XSDFrontend::SemanticGraph::Path const&);
@@ -42,13 +38,13 @@ namespace CXX
//
struct Failed {};
- static UnsignedLong
+ static size_t
generate (options const&,
XSDFrontend::SemanticGraph::Schema&,
XSDFrontend::SemanticGraph::Path const&,
- Boolean file_per_type,
+ bool file_per_type,
TypeMap::Namespaces& type_map,
- Boolean gen_driver,
+ bool gen_driver,
const WarningSet& disabled_warnings,
FileList&,
AutoUnlinks&);