]>
Commit | Line | Data |
---|---|---|
fd1e1726 BK |
1 | |
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
3 | ||
4 | ||
5 | <html> | |
6 | <head> | |
7 | <title>sample_ranged_hash_fn Interface | |
8 | </title> | |
9 | ||
10 | </head> | |
11 | ||
12 | <body> | |
13 | <h1> | |
14 | <tt>sample_ranged_hash_fn | |
15 | </tt> | |
16 | ||
17 | Interface | |
18 | ||
19 | ||
20 | </h1> | |
21 | ||
22 | <p>A sample ranged-hash functor. | |
23 | </p> | |
24 | ||
25 | <p>This class serves to show the interface a ranged-hash functor needs to support. | |
26 | </p> | |
27 | ||
28 | <ol> | |
29 | <li> | |
55e35fb7 | 30 | <a href = "../pb_assoc/sample_ranged_hash_fn.hpp"><tt>sample_ranged_hash_fn.hpp</tt> |
fd1e1726 BK |
31 | </a> |
32 | ||
33 | </li> | |
34 | ||
35 | <li> | |
36 | Public Methods: | |
37 | ||
38 | ||
39 | <ol> | |
40 | <li> | |
41 | <a href = "#link1">Constructors, destructor, and related. | |
42 | </a> | |
43 | ||
44 | </li> | |
45 | ||
46 | </ol> | |
47 | ||
48 | </li> | |
49 | ||
50 | </ol> | |
51 | ||
52 | ||
53 | <h2> | |
54 | <a name = "link1">Constructors, destructor, and related. | |
55 | </a> | |
56 | ||
57 | </h2> | |
58 | ||
59 | <table WIDTH = "100%" BORDER = "1"> | |
60 | <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR> | |
61 | ||
62 | ||
63 | <tr> | |
64 | <td> | |
65 | <pre> sample_ranged_hash_fn | |
66 | ()</pre> | |
67 | ||
68 | ||
69 | </td> | |
70 | ||
71 | <td> | |
72 | <p>Default constructor.</p> | |
73 | ||
74 | ||
75 | <p>Must be default constructible.</p> | |
76 | ||
77 | ||
78 | </td> | |
79 | ||
80 | </tr> | |
81 | ||
82 | <tr> | |
83 | <td> | |
84 | <pre> sample_ranged_hash_fn | |
85 | (<b>const</b> sample_ranged_hash_fn &r_other)</pre> | |
86 | ||
87 | ||
88 | </td> | |
89 | ||
90 | <td> | |
91 | <p>Copy constructor.</p> | |
92 | ||
93 | ||
94 | <p>Must be copy constructible.</p> | |
95 | ||
96 | ||
97 | </td> | |
98 | ||
99 | </tr> | |
100 | ||
101 | <tr> | |
102 | <td> | |
103 | <pre><b>inline</b> <b>void</b> | |
104 | swap | |
105 | (sample_ranged_hash_fn &r_other)</pre> | |
106 | ||
107 | ||
108 | </td> | |
109 | ||
110 | <td> | |
111 | <p>Swaps content.</p> | |
112 | ||
113 | ||
114 | <p>Must be swappable (if there is such a word).</p> | |
115 | ||
116 | ||
117 | </td> | |
118 | ||
119 | </tr> | |
120 | ||
121 | </table> | |
122 | ||
123 | ||
124 | ||
125 | </body> | |
126 | ||
127 | </html> | |
128 | ||
129 |