aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/parser.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-09 17:23:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-09 17:23:47 +0200
commit90801c5afeb37e4297076bdd5354ba41a7009a3f (patch)
tree98960b76e80c46814f38d345c63d9fb6edcc5f22 /xsd-frontend/parser.hxx
parentcf2783f792ee634ffbbb36311c9f69956b1d107e (diff)
Use standard types instead of ones from libcult
Diffstat (limited to 'xsd-frontend/parser.hxx')
-rw-r--r--xsd-frontend/parser.hxx21
1 files changed, 11 insertions, 10 deletions
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 <set>
+#include <memory> // std::auto_ptr
#include <cult/types.hxx>
@@ -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<SemanticGraph::Schema>
+ std::auto_ptr<SemanticGraph::Schema>
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<SemanticGraph::Schema>
+ std::auto_ptr<SemanticGraph::Schema>
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<SemanticGraph::Schema>
+ std::auto_ptr<SemanticGraph::Schema>
xml_schema (SemanticGraph::Path const&);
private:
class Impl;
- Evptr<Impl> impl_;
+ std::auto_ptr<Impl> impl_;
};
}