listPos
Section: OATH Reference Manual (3O)
Updated: 26 August 1991
Index
Return to Main Contents
NAME
listPos (listPosA, listPosG) - a position in a list
SYNOPSIS
#include <oath/list.h>
DESCRIPTION
The listPos, a companion class to list, is a pos
which can be moved both forward and backward in the list.
DERIVATION
listPos : pos : obj
listPos is an abstract type.
STATIC OPERATIONS
- listPosA listPosA:: isa (objA)
-
listPosA::isa(O) returns O if it is truly a listPos; otherwise it
returns Nil.
MEMBER OPERATIONS
- listPosA listPosA:: operator -- ()
-
--P moves the listPos P to the previous position and returns P.
If P was at the front, then it will remain at the front.
- listPosA listPosA:: operator -= (int)
-
P -= I moves the listPos P back I positions and returns P. P -= 1 is the
same as --P. If P is less than I positions from the front,
then it will be moved to the front.
INTERNAL OPERATIONS
- virtual void listPosG:: decrement ()
-
- virtual void listPosG:: decrement (int)
-
SEE ALSO
OATH(3O), pos(3O), list(3O)
AUTHOR
Brian M. Kennedy (Computer Science Center, Texas Instruments Incorporated)
BUGS
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- DERIVATION
-
- STATIC OPERATIONS
-
- MEMBER OPERATIONS
-
- INTERNAL OPERATIONS
-
- SEE ALSO
-
- AUTHOR
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 20:37:44 GMT, July 24, 2024