From 2615896faa646e5830abf2c269150e1165c66515 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Dec 2020 18:48:46 +0300 Subject: Switch to build2 --- libxsd/xsd/cxx/tree/serialization/element-map.txx | 38 ----------------------- 1 file changed, 38 deletions(-) delete mode 100644 libxsd/xsd/cxx/tree/serialization/element-map.txx (limited to 'libxsd/xsd/cxx/tree/serialization/element-map.txx') diff --git a/libxsd/xsd/cxx/tree/serialization/element-map.txx b/libxsd/xsd/cxx/tree/serialization/element-map.txx deleted file mode 100644 index a4c199e..0000000 --- a/libxsd/xsd/cxx/tree/serialization/element-map.txx +++ /dev/null @@ -1,38 +0,0 @@ -// file : xsd/cxx/tree/serialization/element-map.txx -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#ifndef XSD_CXX_TREE_SERIALIZATION_ELEMENT_MAP_TXX -#define XSD_CXX_TREE_SERIALIZATION_ELEMENT_MAP_TXX - -#include - -namespace xsd -{ - namespace cxx - { - namespace tree - { - template - void element_map:: - serialize (xercesc::DOMElement& e, const element_type& x) - { - const qualified_name n (x._name (), x._namespace ()); - typename map::const_iterator i (map_->find (n)); - - if (i != map_->end () && i->second.serializer_ != 0) - return (i->second.serializer_) (e, x); - else - throw no_element_info (n.name (), n.namespace_ ()); - } - - template - void - serializer_impl (xercesc::DOMElement& e, const element_type& x) - { - e << static_cast (x); - } - } - } -} - -#endif // XSD_CXX_TREE_SERIALIZATION_ELEMENT_MAP_TXX -- cgit v1.1