libxr 1.0
Want to be the best embedded framework
|
链表基础节点,所有节点都继承自该类。 Base node for the linked list, serving as a parent for all nodes. More...
#include <list.hpp>
Public Member Functions | |
BaseNode (size_t size) | |
构造 BaseNode 并设置节点大小。 Constructs a BaseNode and sets its size. | |
~BaseNode () | |
析构函数,确保节点不会在列表中残留。 Destructor ensuring the node does not remain in the list. | |
Data Fields | |
BaseNode * | next_ = nullptr |
指向下一个节点的指针。 Pointer to the next node. | |
size_t | size_ |
当前节点的数据大小(字节)。 Size of the current node (in bytes). | |
链表基础节点,所有节点都继承自该类。 Base node for the linked list, serving as a parent for all nodes.
|
inline |
|
inline |
析构函数,确保节点不会在列表中残留。 Destructor ensuring the node does not remain in the list.
Definition at line 45 of file list.hpp.
size_t LibXR::List::BaseNode::size_ |