aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/aggregate-elements.hxx
blob: d0c3538161708207dbb375d1fed3e9a235aab009 (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
// file      : xsde/cxx/hybrid/aggregate-elements.hxx
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef CXX_HYBRID_AGGREGATE_ELEMENTS_HXX
#define CXX_HYBRID_AGGREGATE_ELEMENTS_HXX

#include <map>

#include <cxx/hybrid/elements.hxx>

namespace CXX
{
  namespace Hybrid
  {
    typedef std::map<SemanticGraph::Type*, String> TypeInstanceMap;

    struct InstanceInfo
    {
      SemanticGraph::Type* type;
      String name;
    };

    typedef std::map<String, InstanceInfo> TypeIdInstanceMap;
  }
}

#endif // CXX_HYBRID_AGGREGATE_ELEMENTS_HXX