📄 indexeddbview.htm
字号:
<tr>
<td valign="top"><tt>const_iterator end() const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">Returns a <tt>const_iterator</tt>
pointing to the end of the<font size="2"
face="Courier New"> IndexedDBView.</font> </td>
</tr>
<tr>
<td valign="top"><tt>reverse_iterator rbegin()</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/ReversibleContainer.html">Reversible
Container</a> </td>
<td valign="top">Returns a <tt>reverse_iterator</tt>
pointing to the beginning of the reversed <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>const_reverse_iterator rbegin()
const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/ReversibleContainer.html">Reversible
Container</a> </td>
<td valign="top">Returns a <tt>const_reverse_iterator</tt>
pointing to the beginning of the reversed <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>reverse_iterator rend()</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/ReversibleContainer.html">Reversible
Container</a> </td>
<td valign="top">Returns a <tt>reverse_iterator</tt>
pointing to the end of the reversed <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>const_reverse_iterator rend() const</tt>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/ReversibleContainer.html">Reversible
Container</a> </td>
<td valign="top">Returns a <tt>const_reverse_iterator</tt>
pointing to the end of the reversed <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>size_type size() const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">Returns the size of the <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>size_type max_size() const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">Returns the largest possible size of the
<font size="2" face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>bool empty() const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top"><tt>true</tt> if the <font size="2"
face="Courier New">IndexedDBView's</font> size is <tt>0</tt>.
</td>
</tr>
<tr>
<td valign="top"><pre><tt>X a(
DBView<...> &view,
const string &IndexNamesAndFields,
BoundMode bm = UNBOUND,
KeyMode km = USE_ALL_FIELDS,
SetParamsFn IndexedDBViewParam = DefaultSetParams<ParamObj>())
</tt></pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">Creates an empty <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>IndexedDBView(const
IndexedDBView&)</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">The copy constructor. </td>
</tr>
<tr>
<td valign="top"><tt>IndexedDBView& operator=(const
IndexedDBView&)</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">The assignment operator </td>
</tr>
<tr>
<td valign="top"><tt>void swap(IndexedDBView&)</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/Container.html">Container</a>
</td>
<td valign="top">Swaps the contents of two <font size="2"
face="Courier New">IndexedDBView's</font>. </td>
</tr>
<tr>
<td valign="top"><pre>
pair<iterator, bool>
insert(const value_type& x)
</pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
Associative Container</a> </td>
<td valign="top">Inserts <tt>x</tt> into the <font
size="2" face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><pre>
iterator insert(iterator pos,
const value_type& x)
</pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/UniqueSortedAssociativeContainer.html">Unique
Sorted Associative Container</a> </td>
<td valign="top">Inserts <tt>x</tt> into the <font
size="2" face="Courier New">IndexedDBView</font>, using <tt>pos</tt>
as a hint to where it will be inserted. </td>
</tr>
<tr>
<td valign="top"><pre>
template <class <a
href="http://www.sgi.com/tech/stl/InputIterator.html">InputIterator</a>>
void insert(InputIterator,
InputIterator)
</pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/UniqueSortedAssociativeContainer.html">Unique
Sorted Associative Container</a> </td>
<td valign="top">Inserts a range into the <font size="2"
face="Courier New">IndexedDBView</font>. </td>
</tr>
<tr>
<td valign="top"><tt>void erase(iterator pos)</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/AssociativeContainer.html">Associative
Container</a> </td>
<td valign="top">Erases the element pointed to by <tt>pos</tt>.
</td>
</tr>
<tr>
<td valign="top"><tt>size_type erase(const key_type&
k)</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/AssociativeContainer.html">Associative
Container</a> </td>
<td valign="top">Erases the element whose key is <tt>k</tt>.
</td>
</tr>
<tr>
<td valign="top"><tt>void erase(iterator first, iterator
last)</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/AssociativeContainer.html">Associative
Container</a> </td>
<td valign="top">Erases all elements in a range. </td>
</tr>
<tr>
<td valign="top"><tt>void clear()</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/AssociativeContainer.html">Associative
Container</a> </td>
<td valign="top">Erases all of the elements. </td>
</tr>
<tr>
<td valign="top"><tt>iterator find(const key_type& k)
const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/AssociativeContainer.html">Associative
Container</a> </td>
<td valign="top">Finds an element whose key is <tt>k</tt>.
</td>
</tr>
<tr>
<td valign="top"><tt>iterator find(f1, f2, ..., fn) const</tt>
</td>
<td valign="top"><font size="2" face="Courier New">IndexedDBView
</font></td>
<td valign="top">Finds an element whose key fields match
f1,...fn. </td>
</tr>
<tr>
<td valign="top"><tt>iterator find_AK(const string
&s, const key_type& k) const</tt> </td>
<td valign="top"><font size="2" face="Courier New">IndexedDBView
</font></td>
<td valign="top">Finds an element whose alternate key as
specified in the index name s, is <tt>k</tt>. </td>
</tr>
<tr>
<td valign="top"><tt>iterator find_AK(s, f1, f2, ..., fn)
const</tt> </td>
<td valign="top"><font size="2" face="Courier New">IndexedDBView
</font></td>
<td valign="top">Finds an element whose key fields match
f1,...fn as specified in the index name s.</td>
</tr>
<tr>
<td valign="top"><tt>size_type count(const key_type&
k) const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
Associative Container</a> </td>
<td valign="top">Counts the number of elements whose key
is <tt>k</tt>. </td>
</tr>
<tr>
<td valign="top"><tt>size_type count_AK(const string
&s, const key_type& k) const</tt> </td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
Associative Container</a> </td>
<td valign="top">Counts the number of elements whose key
is <tt>k</tt> for the key named s. </td>
</tr>
<tr>
<td valign="top"><pre>
pair<iterator, iterator>
equal_range(const key_type& k) const
</pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/SortedAssociativeContainer.html">Sorted
Associative Container</a> </td>
<td valign="top">Finds a range containing all elements
whose key is <tt>k</tt>. </td>
</tr>
<tr>
<td valign="top"><pre>
pair<iterator, iterator>
equal_range(f1, ..., fn) const
</pre>
</td>
<td valign="top"><font size="2" face="Courier New">IndexedDBView
</font></td>
<td valign="top">Finds a range containing all elements
whose key fields match<font size="2" face="Courier New">
f1, ..., fn.</font> </td>
</tr>
<tr>
<td valign="top"><pre>
pair<iterator, iterator>
equal_range_AK(const string &s,
const key_type& k) const
</pre>
</td>
<td valign="top"><font size="2" face="Courier New">IndexedDBView
</font></td>
<td valign="top">Finds a range containing all elements
whose key is <tt>k</tt>, using the alternate index
specified in s. </td>
</tr>
<tr>
<td valign="top"><pre>
pair<iterator, iterator>
equal_range_AK(s, f1, ..., fn) const
</pre>
</td>
<td valign="top"><font size="2" face="Courier New">IndexedDBView</font></td>
<td valign="top">Finds a range containing all elements
whose key fields match f1, ..., fn using the alternate
index specified in s.</td>
</tr>
<tr>
<td valign="top"><font size="2" face="Courier New">template<class
UserHandler> const UserHandler & get_io_handler(UserHandler
*dummy) const</font></td>
<td valign="top"><font size="2" face="Courier New">DBView</font></td>
<td valign="top">Returns the current<font size="2"
face="Courier New"> IOHandler</font> for the underlying <font size="2"
face="Courier New">DBView</font> cast
to the actual type of the handler based on the dummy
pointer passed in. If the dynamic cast of the <font
size="2" face="Courier New">IOHandler</font> object
fails, an exception will be thrown.</td>
</tr>
<tr>
<td valign="top"><font size="2" face="Courier New">IOHandler<DataObj,
ParamObj> &get_io_handler() const</font></td>
<td valign="top"><font size="2" face="Courier New">DBView</font></td>
<td valign="top">Returns the current<font size="2"
face="Courier New"> IOHandler</font> for the underlying <font size="2"
face="Courier New">DBView</font> as a
raw <font size="2" face="Courier New">IOHandler</font>
object. You must cast to the actual type of the handler
to be able to access any of your handler's public members.</td>
</tr>
<tr>
<td valign="top"><pre>
bool operator==(const IndexedDBView&,
const IndexedDBView&)
</pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/ForwardContainer.html">Forward
Container</a> </td>
<td valign="top">Tests two <font size="2"
face="Courier New">IndexedDBView's</font> for equality.
This is a global function, not a member function. </td>
</tr>
<tr>
<td valign="top"><pre>
bool operator<(const IndexedDBView&,
const IndexedDBView&)
</pre>
</td>
<td valign="top"><a
href="http://www.sgi.com/tech/stl/ForwardContainer.html">Forward
Container</a> </td>
<td valign="top">Lexicographical comparison. This is a
global function, not a member function. </td>
</tr>
</table>
<h3>See also</h3>
<p><a
href="http://www.sgi.com/tech/stl/AssociativeContainer.html">Associative
Container</a>, <a
href="http://www.sgi.com/tech/stl/MultipleAssociativeContainer.html">Multiple
Associative Container</a>, <a
href="http://www.sgi.com/tech/stl/UniqueSortedAssociativeContainer.html">Unique
Sorted Associative Container</a>, <a
href="http://www.sgi.com/tech/stl/MultipleSortedAssociativeContainer.html">Multiple
Sorted Associative Container</a> <!--start footer--> </p>
<hr>
<p><a href="index.htm"><img src="dtl_home.gif" alt="[DTL Home]"
width="54" height="54"></a> <br>
</p>
<p>Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -