<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Glib::Markup::AttributeKeyLess class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Glib::Markup::AttributeKeyLess Class Reference<br> <small> [<a class="el" href="group__Markup.html">Simple XML Subset Parser</a>]</small> </h1>Binary predicate used by <a class="el" href="classGlib_1_1Markup_1_1Parser.html#s0">Markup::Parser::AttributeMap</a>. <a href="#_details">More...</a> <p> <a href="classGlib_1_1Markup_1_1AttributeKeyLess-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td nowrap align=right valign=top>typedef <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td valign=bottom><a class="el" href="classGlib_1_1Markup_1_1AttributeKeyLess.html#s0">first_argument_type</a></td></tr> <tr><td nowrap align=right valign=top>typedef <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td valign=bottom><a class="el" href="classGlib_1_1Markup_1_1AttributeKeyLess.html#s1">second_argument_type</a></td></tr> <tr><td nowrap align=right valign=top>typedef bool </td><td valign=bottom><a class="el" href="classGlib_1_1Markup_1_1AttributeKeyLess.html#s2">result_type</a></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classGlib_1_1Markup_1_1AttributeKeyLess.html#a0">operator()</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& lhs, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& rhs) const</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Binary predicate used by <a class="el" href="classGlib_1_1Markup_1_1Parser.html#s0">Markup::Parser::AttributeMap</a>. <p> Unlike <code>operator<(const ustring& lhs, const ustring& rhs)</code> which would be used by the default <code>std::less<></code> predicate, the <a class="el" href="classGlib_1_1Markup_1_1AttributeKeyLess.html">AttributeKeyLess</a> predicate is locale-independent. This is both more correct and much more efficient. <p> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="Glib::Markup::AttributeKeyLess::first_argument_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Glib::Markup::AttributeKeyLess::first_argument_type </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s2" doxytag="Glib::Markup::AttributeKeyLess::result_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef bool Glib::Markup::AttributeKeyLess::result_type </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s1" doxytag="Glib::Markup::AttributeKeyLess::second_argument_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Glib::Markup::AttributeKeyLess::second_argument_type </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a0" doxytag="Glib::Markup::AttributeKeyLess::operator()"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Glib::Markup::AttributeKeyLess::operator() </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>lhs</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& </td> <td class="mdname" nowrap> <em>rhs</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="markup_8h.html">markup.h</a></ul> <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>