summaryrefslogtreecommitdiff
path: root/xsd/cxx/parser/validator.hxx
blob: 3f10073a44943e7f828828d9bf420ce98ca0e830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// file      : xsd/cxx/parser/validator.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef CXX_PARSER_VALIDATOR_HXX
#define CXX_PARSER_VALIDATOR_HXX

#include <cxx/parser/elements.hxx>
#include <cxx/parser/cli.hxx>

#include <xsd.hxx>

namespace CXX
{
  namespace Parser
  {
    using namespace Cult::Types;

    class Validator
    {
    public:
      Validator (); // Dummy ctor, helps with long symbols on HP-UX.

      Boolean
      validate (CLI::Options const& options,
                SemanticGraph::Schema&,
                SemanticGraph::Path const& tu,
                Boolean gen_driver,
                const WarningSet& disabled_warnings);
    };
  }
}

#endif  // CXX_PARSER_VALIDATOR_HXX