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">
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>
8
<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
<link href="doxygen.css" rel="stylesheet" type="text/css" />
15
<div id="top"><!-- do not remove this div! -->
19
<table cellspacing="0" cellpadding="0">
21
<tr style="height: 56px;">
24
<td style="padding-left: 0.5em;">
25
<div id="projectname">Kyoto Cabinet
38
<!-- Generated by Doxygen 1.7.6.1 -->
39
<div id="navrow1" class="tabs">
41
<li><a href="index.html"><span>Main 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>
47
<div id="navrow2" class="tabs2">
49
<li><a href="annotated.html"><span>Class List</span></a></li>
50
<li><a href="classes.html"><span>Class Index</span></a></li>
51
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
52
<li><a href="functions.html"><span>Class Members</span></a></li>
55
<div id="nav-path" class="navpath">
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>
64
<a href="#pub-methods">Public Member Functions</a> </div>
65
<div class="headertitle">
66
<div class="title">kyotocabinet::DecimalComparator Class Reference</div> </div>
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>
73
<p><code>#include <kccompare.h></code></p>
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 </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"> </td><td class="mdescRight">Compare two keys. <a href="#ac58aa9d256898c6be1fc83ac5df89828"></a><br/></td></tr>
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)" -->
87
<div class="memproto">
88
<table class="memname">
90
<td class="memname">int32_t <a class="el" href="classkyotocabinet_1_1DecimalComparator.html#ac58aa9d256898c6be1fc83ac5df89828">kyotocabinet::DecimalComparator::compare</a> </td>
92
<td class="paramtype">const char * </td>
93
<td class="paramname"><em>akbuf</em>, </td>
96
<td class="paramkey"></td>
98
<td class="paramtype">size_t </td>
99
<td class="paramname"><em>aksiz</em>, </td>
102
<td class="paramkey"></td>
104
<td class="paramtype">const char * </td>
105
<td class="paramname"><em>bkbuf</em>, </td>
108
<td class="paramkey"></td>
110
<td class="paramtype">size_t </td>
111
<td class="paramname"><em>bksiz</em> </td>
116
<td></td><td><code> [virtual]</code></td>
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>
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>
134
<p>Implements <a class="el" href="classkyotocabinet_1_1Comparator.html#ac144cf6a46232fb09b9f712630e879e6">kyotocabinet::Comparator</a>.</p>
138
</div><!-- contents -->
141
<hr class="footer"/><address class="footer"><small>
142
Generated on Fri May 25 2012 01:21:36 for Kyoto Cabinet by  <a href="http://www.doxygen.org/index.html">
143
<img class="footer" src="doxygen.png" alt="doxygen"/>