diff options
Diffstat (limited to 'libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx')
-rw-r--r-- | libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx b/libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx new file mode 100644 index 0000000..8433a0e --- /dev/null +++ b/libxsd-frontend/xsd-frontend/semantic-graph/complex.cxx @@ -0,0 +1,42 @@ +// file : xsd-frontend/semantic-graph/complex.cxx +// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#include <cutl/compiler/type-info.hxx> + +#include <xsd-frontend/semantic-graph/complex.hxx> + +namespace XSDFrontend +{ + namespace SemanticGraph + { + Complex:: + Complex () + : mixed_ (false), contains_compositor_ (0) + { + } + + Complex:: + Complex (Path const& file, unsigned long line, unsigned long column) + : Node (file, line, column), + mixed_ (false), contains_compositor_ (0) + { + } + + namespace + { + using compiler::type_info; + + struct ComplexInit + { + ComplexInit () + { + type_info ti (typeid (Complex)); + ti.add_base (typeid (Type)); + ti.add_base (typeid (Scope)); + insert (ti); + } + } complex_init_; + } + } +} |