From a15cf65c44d5c224169c32ef5495b68c758134b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 18 May 2014 16:08:14 +0200 Subject: Imported Upstream version 3.3.0.2 --- xsd/libxsd/xsd/cxx/parser/map.txx | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 xsd/libxsd/xsd/cxx/parser/map.txx (limited to 'xsd/libxsd/xsd/cxx/parser/map.txx') diff --git a/xsd/libxsd/xsd/cxx/parser/map.txx b/xsd/libxsd/xsd/cxx/parser/map.txx new file mode 100644 index 0000000..aa7099d --- /dev/null +++ b/xsd/libxsd/xsd/cxx/parser/map.txx @@ -0,0 +1,31 @@ +// file : xsd/cxx/parser/map.txx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +namespace xsd +{ + namespace cxx + { + namespace parser + { + // parser_map + // + template + parser_map:: + ~parser_map () + { + } + + // parser_map_impl + // + template + parser_base* parser_map_impl:: + find (const ro_string& type) const + { + typename map::const_iterator i (map_.find (type.data ())); + return i != map_.end () ? i->second : 0; + } + } + } +} -- cgit v1.2.3