From 90801c5afeb37e4297076bdd5354ba41a7009a3f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 May 2012 17:23:47 +0200 Subject: Use standard types instead of ones from libcult --- xsd-frontend/parser.hxx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'xsd-frontend/parser.hxx') diff --git a/xsd-frontend/parser.hxx b/xsd-frontend/parser.hxx index 3e76285..2efb75f 100644 --- a/xsd-frontend/parser.hxx +++ b/xsd-frontend/parser.hxx @@ -7,6 +7,7 @@ #define XSD_FRONTEND_PARSER_HXX #include +#include // std::auto_ptr #include @@ -38,39 +39,39 @@ namespace XSDFrontend public: ~Parser (); - Parser (Boolean proper_restriction, - Boolean multiple_imports, - Boolean full_schema_check); + Parser (bool proper_restriction, + bool multiple_imports, + bool full_schema_check); - Parser (Boolean proper_restriction, - Boolean multiple_imports, - Boolean full_schema_check, + Parser (bool proper_restriction, + bool multiple_imports, + bool full_schema_check, LocationTranslator&, const WarningSet& disabled); public: // Parse a schema file. Throws InvalidSchema in case of a failure. // - Evptr + std::auto_ptr parse (SemanticGraph::Path const&); // Parse a number of schema files all into one semantic graph. // Each schema file is imported from an unnamed root translation // unit. Throws InvalidSchema in case of a failure. // - Evptr + std::auto_ptr parse (SemanticGraph::Paths const&); // Returns a schema graph that corresponds to the XML Schema // namespace with built-in type definitions. The path is fake // and is only used as a lable. // - Evptr + std::auto_ptr xml_schema (SemanticGraph::Path const&); private: class Impl; - Evptr impl_; + std::auto_ptr impl_; }; } -- cgit v1.1