📄 datebookiterator.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/libraries/qtopiapim/datebookaccess.cpp:151 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DateBookIterator Class</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font> <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="137"> <tr> <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td> <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td> </tr> </table></td></tr></table><h1 align=center>DateBookIterator Class Reference<br><small>[<a href="qpepim.html">qpepim module</a>]</small></h1><p>The DateBookIterator class provides iterators of DateBookAccess.<a href="#details">More...</a><p><tt>#include <<a href="datebookaccess-h.html">datebookaccess.h</a>></tt><p><a href="datebookiterator-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn><a href="#DateBookIterator-3"><b>DateBookIterator</b></a> ( const DateBookAccess & aba )</div></li><li><div class=fn><a href="#DateBookIterator-4"><b>DateBookIterator</b></a> ( const DateBookIterator & it )</div></li><li><div class=fn>DateBookIterator & <a href="#operator-eq"><b>operator=</b></a> ( const DateBookIterator & other )</div></li><li><div class=fn><a href="#~DateBookIterator"><b>~DateBookIterator</b></a> ()</div></li><li><div class=fn>bool <a href="#atFirst"><b>atFirst</b></a> () const</div></li><li><div class=fn>bool <a href="#atLast"><b>atLast</b></a> () const</div></li><li><div class=fn>const PimEvent * <a href="#toFirst"><b>toFirst</b></a> ()</div></li><li><div class=fn>const PimEvent * <a href="#toLast"><b>toLast</b></a> ()</div></li><li><div class=fn>const PimEvent * <a href="#operator++"><b>operator++</b></a> ()</div></li><li><div class=fn>const PimEvent * <a href="#operator*"><b>operator*</b></a> () const</div></li><li><div class=fn>const PimEvent * <a href="#current"><b>current</b></a> () const</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2> The DateBookIterator class provides iterators of <a href="datebookaccess.html">DateBookAccess</a>.<p> The only way to traverse the data of an DateBookAccess is with anDateBookIterator.<p>See also <a href="qpepim.html">Qtopia PIM Library</a>.<hr><h2>Member Function Documentation</h2><h3 class=fn><a name="DateBookIterator-3"></a>DateBookIterator::DateBookIterator ( const <a href="datebookaccess.html">DateBookAccess</a> & aba )</h3>Constructs a new DateBookIterator pointing to the start of the data in <em>aba</em>.<h3 class=fn><a name="DateBookIterator-4"></a>DateBookIterator::DateBookIterator ( const <a href="datebookiterator.html">DateBookIterator</a> & it )</h3>Constructs a copy of the iterator <em>it</em>.<h3 class=fn><a name="~DateBookIterator"></a>DateBookIterator::~DateBookIterator ()</h3>Destroys the iterator<h3 class=fn>bool <a name="atFirst"></a>DateBookIterator::atFirst () const</h3>Returns TRUE if the iterator is at the first item of the data.Otherwise returns FALSE.<h3 class=fn>bool <a name="atLast"></a>DateBookIterator::atLast () const</h3>Returns TRUE if the iterator is at the last item of the data.Otherwise returns FALSE.<h3 class=fn>const <a href="pimevent.html">PimEvent</a> * <a name="current"></a>DateBookIterator::current () const</h3>If the iterator is at a valid <a href="pimevent.html">PimEvent</a> returns a const pointer tothe current PimEvent. Otherwise returns 0.<h3 class=fn>const <a href="pimevent.html">PimEvent</a> * <a name="operator*"></a>DateBookIterator::operator* () const</h3>If the iterator is at a valid <a href="pimevent.html">PimEvent</a> returns a const pointer tothe current PimEvent. Otherwise returns 0.<h3 class=fn>const <a href="pimevent.html">PimEvent</a> * <a name="operator++"></a>DateBookIterator::operator++ ()</h3>Sets the iterator to the next item of the data.If the iterator is moved pass the end of the list returns 0.Otherwise returns a const pointer to the current <a href="pimevent.html">PimEvent</a>.<h3 class=fn><a href="datebookiterator.html">DateBookIterator</a> & <a name="operator-eq"></a>DateBookIterator::operator= ( const <a href="datebookiterator.html">DateBookIterator</a> & other )</h3>Sets the iterator to be a copy of <em>other</em>.<h3 class=fn>const <a href="pimevent.html">PimEvent</a> * <a name="toFirst"></a>DateBookIterator::toFirst ()</h3>Sets the iterator to the first item of the data.If a <a href="pimevent.html">PimEvent</a> exists in the data will return a const pointer to thePimEvent. Otherwise returns 0.<h3 class=fn>const <a href="pimevent.html">PimEvent</a> * <a name="toLast"></a>DateBookIterator::toLast ()</h3>Sets the iterator to the last item of the data.If a <a href="pimevent.html">PimEvent</a> exists in the data will return a const pointer to thePimEvent. Otherwise returns 0.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright © 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright © 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -