const_iterator cbegin() const
link * next_
Pointer to next entry in list.
void operator=(const SLListBase &)
Disallow default bitwise assignment.
link * first()
Return first entry.
void transfer(SLListBase &)
Transfer the contents of the argument into this List.
link * curElmt_
Current element.
link * last_
last_ points to last element
void append(link *)
Add at tail of list.
SLListBase()
Null construct.
void clear()
Clear the list.
bool operator!=(const const_iterator &) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
link * last()
Return last entry.
const link * curElmt_
Current element.
link * removeHead()
Remove and return head.
bool operator==(const iterator &) const
void operator=(const const_iterator &)
bool operator!=(const iterator &) const
const_iterator(const SLListBase &, const link *)
Construct for a given SLListBase and link.
An STL-conforming iterator.
static iterator endIter_
Iterator returned by end()
An STL-conforming const_iterator.
void operator=(const iterator &)
label nElmts_
Number of elements in in list.
void insert(link *)
Add at head of list.
bool operator==(const const_iterator &) const
label size() const
Return number of elements in list.
const SLListBase & curList_
Reference to the list this is an iterator for.
link curLink_
Copy of the link.
bool empty() const
Return true if the list is empty.
SLListBase & curList_
Reference to the list this is an iterator for.
iterator(SLListBase &)
Construct for a given SLListBase with NULL element and link.
const const_iterator & cend() const
static const_iterator endConstIter_
const_iterator returned by end()
const_iterator & operator++()