Common Lisp Package: COM.CLEARLY-USEFUL.ITERATOR-PROTOCOL

README:

FUNCTION

Public

ITERATOR-P (OBJECT)

test if object implements ITERATOR

Private

%INDEXABLE-ITERATOR-IDX (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%INDEXABLE-ITERATOR-POS (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%INDEXABLE-ITERATOR-SIZE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%SEQ-ITERATOR-SEQ (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%VECTOR-ITERATOR-POS (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%VECTOR-ITERATOR-SIZE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%VECTOR-ITERATOR-VEC (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

%ADVANCE (O)

%HAS-VALUE (O)

SETF%INDEXABLE-ITERATOR-IDX (NEW-VALUE INSTANCE)

%INDEXABLE-ITERATOR-P (OBJECT)

SETF%INDEXABLE-ITERATOR-POS (NEW-VALUE INSTANCE)

SETF%INDEXABLE-ITERATOR-SIZE (NEW-VALUE INSTANCE)

%SEQ-ITERATOR-P (OBJECT)

SETF%SEQ-ITERATOR-SEQ (NEW-VALUE INSTANCE)

%VALUE (O)

%VECTOR-ITERATOR-P (OBJECT)

SETF%VECTOR-ITERATOR-POS (NEW-VALUE INSTANCE)

SETF%VECTOR-ITERATOR-SIZE (NEW-VALUE INSTANCE)

SETF%VECTOR-ITERATOR-VEC (NEW-VALUE INSTANCE)

COPY-%INDEXABLE-ITERATOR (INSTANCE)

COPY-%SEQ-ITERATOR (INSTANCE)

COPY-%VECTOR-ITERATOR (INSTANCE)

MAKE-%INDEXABLE-ITERATOR (&KEY ((SIZE DUM101) NIL) ((IDX DUM102) NIL) ((POS DUM103) NIL))

MAKE-%SEQ-ITERATOR (&KEY ((SEQ DUM25) NIL))

MAKE-%VECTOR-ITERATOR (&KEY ((SIZE DUM61) NIL) ((VEC DUM62) NIL) ((POS DUM63) NIL))

MACRO

Public

Undocumented

DO-ITERATOR ((VAR FORM &OPTIONAL RETURN-FORM) &BODY BODY)

GENERIC-FUNCTION

Public

ITERATOR (OBJECT)

convert an object to ITERATOR protocol, or error.

ITERATOR-FINISH! (IT)

performs 'clean up' operations specific to the iterator. e.g. closing a file.

ITERATOR-NEXT! (IT)

returns two values: 1. the next value of the iterator or nil, 2. t or nil depending depending whether a value was found. then advances the iterator.

CLASS

Private

Undocumented

%INDEXABLE-ITERATOR

%SEQ-ITERATOR

%VECTOR-ITERATOR