summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/polymorphism-processor.hxx
blob: 3fbeca8ac514912517acec7b88ef02f18f6ac667 (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      : xsde/cxx/tree/polymorphism-processor.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2006-2010 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef CXX_TREE_POLYMORPHISM_PROCESSOR_HXX
#define CXX_TREE_POLYMORPHISM_PROCESSOR_HXX

#include <cult/types.hxx>

#include <xsd-frontend/semantic-graph.hxx>

#include <cxx/tree/cli.hxx>

#include <xsd.hxx>

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

    class PolymorphismProcessor
    {
    public:
      Boolean
      process (CLI::Options const& options,
               XSDFrontend::SemanticGraph::Schema&,
               XSDFrontend::SemanticGraph::Path const& file,
               const WarningSet& disabled_warnings);
    };
  }
}

#endif // CXX_TREE_POLYMORPHISM_PROCESSOR_HXX