~ubuntu-branches/ubuntu/quantal/kyotocabinet/quantal

« back to all changes in this revision

Viewing changes to doc/api/classkyotocabinet_1_1DecimalComparator.html

  • Committer: Package Import Robot
  • Author(s): Shawn Landden
  • Date: 2012-06-07 16:12:07 UTC
  • Revision ID: package-import@ubuntu.com-20120607161207-prbj5blqgzzfl8of
Tags: upstream-1.2.76
ImportĀ upstreamĀ versionĀ 1.2.76

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
 
6
<title>Kyoto Cabinet: kyotocabinet::DecimalComparator Class Reference</title>
 
7
 
 
8
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
9
<link href="doxygen.css" rel="stylesheet" type="text/css" />
 
10
 
 
11
 
 
12
 
 
13
</head>
 
14
<body>
 
15
<div id="top"><!-- do not remove this div! -->
 
16
 
 
17
 
 
18
<div id="titlearea">
 
19
<table cellspacing="0" cellpadding="0">
 
20
 <tbody>
 
21
 <tr style="height: 56px;">
 
22
  
 
23
  
 
24
  <td style="padding-left: 0.5em;">
 
25
   <div id="projectname">Kyoto Cabinet
 
26
   
 
27
   </div>
 
28
   
 
29
  </td>
 
30
  
 
31
  
 
32
  
 
33
 </tr>
 
34
 </tbody>
 
35
</table>
 
36
</div>
 
37
 
 
38
<!-- Generated by Doxygen 1.7.6.1 -->
 
39
  <div id="navrow1" class="tabs">
 
40
    <ul class="tablist">
 
41
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
42
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
43
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 
44
      <li><a href="files.html"><span>Files</span></a></li>
 
45
    </ul>
 
46
  </div>
 
47
  <div id="navrow2" class="tabs2">
 
48
    <ul class="tablist">
 
49
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
 
50
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
 
51
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
 
52
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
 
53
    </ul>
 
54
  </div>
 
55
  <div id="nav-path" class="navpath">
 
56
    <ul>
 
57
      <li class="navelem"><a class="el" href="namespacekyotocabinet.html">kyotocabinet</a>      </li>
 
58
      <li class="navelem"><a class="el" href="classkyotocabinet_1_1DecimalComparator.html">DecimalComparator</a>      </li>
 
59
    </ul>
 
60
  </div>
 
61
</div>
 
62
<div class="header">
 
63
  <div class="summary">
 
64
<a href="#pub-methods">Public Member Functions</a>  </div>
 
65
  <div class="headertitle">
 
66
<div class="title">kyotocabinet::DecimalComparator Class Reference</div>  </div>
 
67
</div><!--header-->
 
68
<div class="contents">
 
69
<!-- doxytag: class="kyotocabinet::DecimalComparator" --><!-- doxytag: inherits="kyotocabinet::Comparator" -->
 
70
<p><a class="el" href="classkyotocabinet_1_1Comparator.html" title="Interfrace of comparator of record keys.">Comparator</a> in the decimal order.  
 
71
 <a href="classkyotocabinet_1_1DecimalComparator.html#details">More...</a></p>
 
72
 
 
73
<p><code>#include &lt;kccompare.h&gt;</code></p>
 
74
 
 
75
<p><a href="classkyotocabinet_1_1DecimalComparator-members.html">List of all members.</a></p>
 
76
<table class="memberdecls">
 
77
<tr><td colspan="2"><h2><a name="pub-methods"></a>
 
78
Public Member Functions</h2></td></tr>
 
79
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1DecimalComparator.html#ac58aa9d256898c6be1fc83ac5df89828">compare</a> (const char *akbuf, size_t aksiz, const char *bkbuf, size_t bksiz)</td></tr>
 
80
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare two keys.  <a href="#ac58aa9d256898c6be1fc83ac5df89828"></a><br/></td></tr>
 
81
</table>
 
82
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
 
83
<div class="textblock"><p><a class="el" href="classkyotocabinet_1_1Comparator.html" title="Interfrace of comparator of record keys.">Comparator</a> in the decimal order. </p>
 
84
</div><hr/><h2>Member Function Documentation</h2>
 
85
<a class="anchor" id="ac58aa9d256898c6be1fc83ac5df89828"></a><!-- doxytag: member="kyotocabinet::DecimalComparator::compare" ref="ac58aa9d256898c6be1fc83ac5df89828" args="(const char *akbuf, size_t aksiz, const char *bkbuf, size_t bksiz)" -->
 
86
<div class="memitem">
 
87
<div class="memproto">
 
88
      <table class="memname">
 
89
        <tr>
 
90
          <td class="memname">int32_t <a class="el" href="classkyotocabinet_1_1DecimalComparator.html#ac58aa9d256898c6be1fc83ac5df89828">kyotocabinet::DecimalComparator::compare</a> </td>
 
91
          <td>(</td>
 
92
          <td class="paramtype">const char *&#160;</td>
 
93
          <td class="paramname"><em>akbuf</em>, </td>
 
94
        </tr>
 
95
        <tr>
 
96
          <td class="paramkey"></td>
 
97
          <td></td>
 
98
          <td class="paramtype">size_t&#160;</td>
 
99
          <td class="paramname"><em>aksiz</em>, </td>
 
100
        </tr>
 
101
        <tr>
 
102
          <td class="paramkey"></td>
 
103
          <td></td>
 
104
          <td class="paramtype">const char *&#160;</td>
 
105
          <td class="paramname"><em>bkbuf</em>, </td>
 
106
        </tr>
 
107
        <tr>
 
108
          <td class="paramkey"></td>
 
109
          <td></td>
 
110
          <td class="paramtype">size_t&#160;</td>
 
111
          <td class="paramname"><em>bksiz</em>&#160;</td>
 
112
        </tr>
 
113
        <tr>
 
114
          <td></td>
 
115
          <td>)</td>
 
116
          <td></td><td><code> [virtual]</code></td>
 
117
        </tr>
 
118
      </table>
 
119
</div>
 
120
<div class="memdoc">
 
121
 
 
122
<p>Compare two keys. </p>
 
123
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
124
  <table class="params">
 
125
    <tr><td class="paramname">akbuf</td><td>the pointer to the region of one key. </td></tr>
 
126
    <tr><td class="paramname">aksiz</td><td>the size of the region of one key. </td></tr>
 
127
    <tr><td class="paramname">bkbuf</td><td>the pointer to the region of the other key. </td></tr>
 
128
    <tr><td class="paramname">bksiz</td><td>the size of the region of the other key. </td></tr>
 
129
  </table>
 
130
  </dd>
 
131
</dl>
 
132
<dl class="return"><dt><b>Returns:</b></dt><dd>positive if the former is big, negative if the latter is big, 0 if both are equivalent. </dd></dl>
 
133
 
 
134
<p>Implements <a class="el" href="classkyotocabinet_1_1Comparator.html#ac144cf6a46232fb09b9f712630e879e6">kyotocabinet::Comparator</a>.</p>
 
135
 
 
136
</div>
 
137
</div>
 
138
</div><!-- contents -->
 
139
 
 
140
 
 
141
<hr class="footer"/><address class="footer"><small>
 
142
Generated on Fri May 25 2012 01:21:36 for Kyoto Cabinet by &#160;<a href="http://www.doxygen.org/index.html">
 
143
<img class="footer" src="doxygen.png" alt="doxygen"/>
 
144
</a> 1.7.6.1
 
145
</small></address>
 
146
 
 
147
</body>
 
148
</html>