aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/generators/dependencies.hxx
blob: 221841df8b74197205a4ee50515818a8661f16bb (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
// file      : xsd-frontend/generators/dependencies.hxx
// copyright : Copyright (c) 2006-2011 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSD_FRONTEND_GENERATORS_DEPENDENCIES_HXX
#define XSD_FRONTEND_GENERATORS_DEPENDENCIES_HXX

#include <vector>

#include <xsd-frontend/types.hxx>

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

namespace XSDFrontend
{
  namespace Generators
  {
    // Return the list of included/imported schema paths (transitively and
    // including the main schema file) which can then be used to produce
    // make dependencies, etc.
    //
    class Dependencies
    {
    public:
      std::vector<SemanticGraph::Path>
      generate (SemanticGraph::Schema&, SemanticGraph::Path const&);
    };
  }
}

#endif // XSD_FRONTEND_GENERATORS_DEPENDENCIES_HXX