nw::ut::LinkList Class

Syntax

template <typename T, PtrDiff TNOffset>
class LinkList : private nw::ut::internal::LinkListImpl

Template Arguments

Name Description
T Class type serving as items in the list.
TNOffset Offset to LinkListNode among element T types.

Description

Link list class.

Classes

nw::ut::LinkList::const_iterator The link list constructor.
nw::ut::LinkList::iterator The link list iterator.

Member Functions

Constructors/Destructors
LinkList Constructor.
Querying Status and Getting Iterators
begin Gets an iterator to the first element.
end Gets the end of the iterator.
rbegin Gets a reverse iterator to the last element.
rend Gets the end of the reverse iterator.
front Gets a reference to the first element.
back Gets a reference to the last element.
Insert/Delete
insert Inserts an item in the list.
push_front Adds an element to the start of the list.
push_back Adds an element to the end of the list.
erase Deletes the specified member.
GetPrev Gets the previous element.
GetNext Gets the next element.
Converting Items and Nodes
S GetIteratorFromPointer Gets the iterator from the node pointer.
S GetNodeFromPointer Gets a node pointer from an element pointer.
S GetPointerFromNode Gets an element pointer from a node pointer.

Class Hierarchy

nw::ut::internal::LinkListImpl
  nw::ut::LinkList


CONFIDENTIAL