From bd6f1415823a473da4518769fc292c10330d821d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Sep 2009 18:14:00 +0200 Subject: Start tracking libxsd-frontend with git --- xsd-frontend/semantic-graph/union.cxx | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 xsd-frontend/semantic-graph/union.cxx (limited to 'xsd-frontend/semantic-graph/union.cxx') diff --git a/xsd-frontend/semantic-graph/union.cxx b/xsd-frontend/semantic-graph/union.cxx new file mode 100644 index 0000000..cb2201d --- /dev/null +++ b/xsd-frontend/semantic-graph/union.cxx @@ -0,0 +1,37 @@ +// file : xsd-frontend/semantic-graph/union.cxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#include + +namespace XSDFrontend +{ + namespace SemanticGraph + { + namespace RTTI = Cult::RTTI; + + using RTTI::Access; + using RTTI::TypeInfo; + + namespace + { + struct UnionInit + { + UnionInit () + { + TypeInfo ti (typeid (Union)); + ti.add_base (Access::public_, true, typeid (Type)); + RTTI::insert (ti); + } + + } union_init_; + } + + Union:: + Union (Path const& file, UnsignedLong line, UnsignedLong column) + : Node (file, line, column) + { + } + } +} -- cgit v1.1