IntrusiveForwardListNode class is the node that is needed for the object to be linked in IntrusiveForwardList.
More...
#include "estd/IntrusiveForwardList.hpp"
|
void | reset () |
| Resets the node to the same state as right after construction. More...
|
|
IntrusiveForwardListNode class is the node that is needed for the object to be linked in IntrusiveForwardList.
To some extent, this class can be considered to be a limited (raw) iterator.
The object that wants to be linked in IntrusiveForwardList must contain a variable of this type - one for each intrusive forward list that will be used with object.
◆ IntrusiveForwardListNode() [1/2]
constexpr estd::IntrusiveForwardListNode::IntrusiveForwardListNode |
( |
| ) |
|
|
inline |
◆ IntrusiveForwardListNode() [2/2]
◆ getNextNode()
- Returns
- pointer to next node on the list
◆ isLinked()
bool estd::IntrusiveForwardListNode::isLinked |
( |
| ) |
const |
|
inline |
- Returns
- true if the node is linked in some list, false otherwise
◆ linkAfter()
Links the node in the list after position.
- Note
- Access to this function is restricted only to functions from internal::IntrusiveForwardListBase class
- Parameters
-
[in] | position | is a pointer to node after which this node will be linked |
[in] | accessKey | is used to limit access to this function |
◆ reset()
void estd::IntrusiveForwardListNode::reset |
( |
| ) |
|
|
inlineprivate |
Resets the node to the same state as right after construction.
◆ swap()
Swaps contents with another node.
- Parameters
-
◆ unlinkNext()
void estd::IntrusiveForwardListNode::unlinkNext |
( |
AccessKey |
| ) |
|
|
inline |
Unlinks the node following this one from the list.
- Note
- Access to this function is restricted only to functions from internal::IntrusiveForwardListBase class
- Parameters
-
[in] | accessKey | is used to limit access to this function |
◆ nextNode_
pointer to next node on the list
The documentation for this class was generated from the following file: