From f0510d2f90467de8e8f260b47d79a9baaf9bef17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2009 07:15:29 +0200 Subject: Start tracking XSD with git --- libxsd/xsd/cxx/parser/map.ixx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 libxsd/xsd/cxx/parser/map.ixx (limited to 'libxsd/xsd/cxx/parser/map.ixx') diff --git a/libxsd/xsd/cxx/parser/map.ixx b/libxsd/xsd/cxx/parser/map.ixx new file mode 100644 index 0000000..17ac4e4 --- /dev/null +++ b/libxsd/xsd/cxx/parser/map.ixx @@ -0,0 +1,27 @@ +// file : xsd/cxx/parser/map.ixx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +namespace xsd +{ + namespace cxx + { + namespace parser + { + // parser_map_impl + // + template + inline parser_map_impl::parser_map_impl () + { + } + + template + inline void parser_map_impl:: + insert (parser_base& parser) + { + map_[parser._dynamic_type ()] = &parser; + } + } + } +} -- cgit v1.1