diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:50:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:50:03 +0200 |
commit | 54110801525371740298d5cae378bfc778749935 (patch) | |
tree | f0f125135b2a1bcf1eea49a559b49d00ea25d879 /xsd/cxx/parser/generator.hxx | |
parent | 3f4a7a6b2a3b708ea69b980494f6e49eb0c02ebc (diff) |
Get rid of dependency on libcult
Diffstat (limited to 'xsd/cxx/parser/generator.hxx')
-rw-r--r-- | xsd/cxx/parser/generator.hxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/xsd/cxx/parser/generator.hxx b/xsd/cxx/parser/generator.hxx index 8391553..2af6d60 100644 --- a/xsd/cxx/parser/generator.hxx +++ b/xsd/cxx/parser/generator.hxx @@ -6,14 +6,11 @@ #ifndef CXX_PARSER_GENERATOR_HXX #define CXX_PARSER_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 <xsd.hxx> +#include <types.hxx> #include <cxx/literal-map.hxx> #include <cxx/parser/options.hxx> @@ -22,23 +19,21 @@ namespace CXX { namespace Parser { - 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&, - Boolean gen_driver, + bool gen_driver, const WarningSet& disabled_warnings, FileList& file_list, AutoUnlinks& unlinks); |