Inheritance diagram for w_list_const_i< T, LOCK >:
A const version of w_list_i. The pointers it returns are const pointers to list members.
Definition at line 511 of file w_list.h.
Public Member Functions | |
NORET | w_list_const_i () |
NORET | w_list_const_i (const w_list_t< T, LOCK > &l) |
NORET | ~w_list_const_i () |
void | reset (const w_list_t< T, LOCK > &l) |
const T * | next () |
const T * | curr () const |
Return the current item in the list. |
const T* w_list_const_i< T, LOCK >::next | ( | ) | [inline] |
Adjust the iterator to point to the next item in the list and return a pointer to that next item. Returns NULL if there is no next item. Note that this depends on the results of the previous next() call, but what we do with curr() from the prior call is immaterial.
Reimplemented from w_list_i< T, LOCK >.
Definition at line 522 of file w_list.h.
References w_list_i< T, LOCK >::next().
Here is the call graph for this function:
const T* w_list_const_i< T, LOCK >::curr | ( | ) | const [inline] |
Return the current item in the list.
Returns NULL if there is no current item. There is no current item until next() is called at least once, thus, one must call next() to get the first item.
Reimplemented from w_list_i< T, LOCK >.
Definition at line 523 of file w_list.h.
References w_list_i< T, LOCK >::curr().
Here is the call graph for this function: