From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- cutl/xml/parser.ixx | 73 ----------------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 cutl/xml/parser.ixx (limited to 'cutl/xml/parser.ixx') diff --git a/cutl/xml/parser.ixx b/cutl/xml/parser.ixx deleted file mode 100644 index a3dea04..0000000 --- a/cutl/xml/parser.ixx +++ /dev/null @@ -1,73 +0,0 @@ -// file : cutl/xml/parser.ixx -// license : MIT; see accompanying LICENSE file - -#include - -namespace cutl -{ - namespace xml - { - inline const std::string& parser:: - attribute (const std::string& n) const - { - return attribute (qname_type (n)); - } - - template - inline T parser:: - attribute (const std::string& n) const - { - return attribute (qname_type (n)); - } - - inline std::string parser:: - attribute (const std::string& n, const std::string& dv) const - { - return attribute (qname_type (n), dv); - } - - template - inline T parser:: - attribute (const std::string& n, const T& dv) const - { - return attribute (qname_type (n), dv); - } - - template - inline T parser:: - attribute (const qname_type& qn) const - { - return value_traits::parse (attribute (qn), *this); - } - - inline bool parser:: - attribute_present (const std::string& n) const - { - return attribute_present (qname_type (n)); - } - - inline const parser::attribute_map_type& parser:: - attribute_map () const - { - if (const element_entry* e = get_element ()) - { - e->attr_unhandled_ = 0; // Assume all handled. - return e->attr_map_; - } - - return empty_attr_map_; - } - - inline void parser:: - next_expect (event_type e, const qname_type& qn) - { - return next_expect (e, qn.namespace_ (), qn.name ()); - } - - inline void parser:: - next_expect (event_type e, const std::string& n) - { - return next_expect (e, std::string (), n); - } - } -} -- cgit v1.1