summaryrefslogtreecommitdiff
path: root/libxsd-frontend/xsd-frontend/semantic-graph/enumeration.hxx
blob: a21e8f3186994be0d164241f57f0414ce54bb5f4 (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-frontend/semantic-graph/enumeration.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSD_FRONTEND_SEMANTIC_GRAPH_ENUMERATION_HXX
#define XSD_FRONTEND_SEMANTIC_GRAPH_ENUMERATION_HXX

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

namespace XSDFrontend
{
  namespace SemanticGraph
  {
    class Enumeration: public virtual Complex
    {
    protected:
      friend class Bits::Graph<Node, Edge>;

      Enumeration (Path const& file, UnsignedLong line, UnsignedLong column);
    };


    class Enumerator: public virtual Instance
    {
    protected:
      friend class Bits::Graph<Node, Edge>;

      Enumerator (Path const& file, UnsignedLong line, UnsignedLong column);
    };
  }
}

#endif  // XSD_FRONTEND_SEMANTIC_GRAPH_ENUMERATION_HXX