// file : cutl/xml/parser.ixx // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC // 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 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); } } }