list.h

Overview

Related Modules:

Graphic

Description:

Defines a linked list template class, which implements the data structure of bidirectional linked list and provides basic functions such as adding, deleting, inserting, clearing, popping up, and obtaining the size of the linked list.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

OHOS::ListNode< T >

Stores linked list data and contains pointers to the previous node and the next node.

OHOS::List< T >

Defines a linked list template class, which implements the data structure of bidirectional linked list and provides basic functions such as adding, deleting, inserting, clearing, popping up, and obtaining the size of the linked list.