[sword-svn] r3744 - trunk/include

scribe at crosswire.org scribe at crosswire.org
Sun May 17 03:27:26 MST 2020


Author: scribe
Date: 2020-05-17 03:27:26 -0700 (Sun, 17 May 2020)
New Revision: 3744

Modified:
   trunk/include/listkey.h
Log:
Add new method to increment by list element


Modified: trunk/include/listkey.h
===================================================================
--- trunk/include/listkey.h	2020-05-17 10:24:58 UTC (rev 3743)
+++ trunk/include/listkey.h	2020-05-17 10:27:26 UTC (rev 3744)
@@ -133,6 +133,8 @@
 	 */
 	virtual void increment(int step = 1);
 
+	virtual void nextElement() { setToElement(arraypos + 1); }
+
 	virtual bool isTraversable() const { return true; }
 	virtual long getIndex() const { return arraypos; }
 	virtual const char *getRangeText() const;




More information about the sword-cvs mailing list