aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03636.html
blob: 9dc3bba3cb29db966de9e54efff3831ff3752085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>NeL: CUnsensitiveSStringLessPred struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex">  <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a>  | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>CUnsensitiveSStringLessPred Struct Reference</h1><code>#include &lt;<a class="el" href="a06431.html">sstring.h</a>&gt;</code>
<p>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Instead of overriding std::less, please use the following predicate. For example, declare your map as: std::map&lt;NLMISC::CSString, CMyDataClass, NLMISC::CUnsensitiveSStringLessPred&gt; MyMap; Caution: a map declared without CUnsensitiveSStringLessPred will behave as a standard string map.<p>
<dl compact><dt><b>See also:</b></dt><dd>also CUnsensitiveStrLessPred <a class="el" href="a04223.html#a647">in</a> misc/string_conversion.h for a similar predicate with std::string. </dd></dl>

<p>

<p>
Definition at line <a class="el" href="a06431.html#l00696">696</a> of file <a class="el" href="a06431.html">sstring.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03636.html#CUnsensitiveSStringLessPreda0">operator()</a> (const <a class="el" href="a03435.html">NLMISC::CSString</a> &amp;<a class="el" href="a04223.html#a572">x</a>, const <a class="el" href="a03435.html">NLMISC::CSString</a> &amp;<a class="el" href="a04223.html#a573">y</a>) const </td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="CUnsensitiveSStringLessPreda0" doxytag="CUnsensitiveSStringLessPred::operator()" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool CUnsensitiveSStringLessPred::operator() </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="a03435.html">NLMISC::CSString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="a03435.html">NLMISC::CSString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06431.html#l00698">698</a> of file <a class="el" href="a06431.html">sstring.h</a>.
<p>
References <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
<p>
<div class="fragment"><pre>00698 { <span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>.icompare(y); }
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="a06431.html">sstring.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:43:54 2004 for NeL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.6 </small></address>
</body>
</html>