diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-14 11:08:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-14 11:08:13 +0200 |
commit | dac3640ed08cf18eaa6eb26605a27e6c7387b2c2 (patch) | |
tree | c22798e70696a99e24c603ffff05473937efe4bf /cutl/xml/parser.ixx | |
parent | ce298ad2e8dbc3601d180c178bee9d606b8edab2 (diff) |
Add next_expect() functions to XML parser
Diffstat (limited to 'cutl/xml/parser.ixx')
-rw-r--r-- | cutl/xml/parser.ixx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cutl/xml/parser.ixx b/cutl/xml/parser.ixx new file mode 100644 index 0000000..61bb05b --- /dev/null +++ b/cutl/xml/parser.ixx @@ -0,0 +1,21 @@ +// file : cutl/xml/parser.ixx +// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +namespace cutl +{ + namespace xml + { + 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); + } + } +} |