aboutsummaryrefslogtreecommitdiff
path: root/libxsd-frontend/generators/dependencies.hxx
blob: 08be464f2aec4042c5bd7df2de75fa077af21bc3 (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
// file      : libxsd-frontend/generators/dependencies.hxx
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef LIBXSD_FRONTEND_GENERATORS_DEPENDENCIES_HXX
#define LIBXSD_FRONTEND_GENERATORS_DEPENDENCIES_HXX

#include <vector>

#include <libxsd-frontend/types.hxx>

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

#include <libxsd-frontend/export.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 LIBXSD_FRONTEND_SYMEXPORT Dependencies
    {
    public:
      std::vector<SemanticGraph::Path>
      generate (SemanticGraph::Schema&, SemanticGraph::Path const&);
    };
  }
}

#endif // LIBXSD_FRONTEND_GENERATORS_DEPENDENCIES_HXX