|
Apollo 11.0
自动驾驶开放平台
|
#include <indexed_list.h>
Public 成员函数 | |
| T * | Add (const I id, const T &object) |
| copy object into the container. | |
| T * | Find (const I id) |
| Find object by id in the container | |
| const T * | Find (const I id) const |
| Find object by id in the container | |
| const std::vector< const T * > & | Items () const |
| List all the items in the container. | |
| const std::unordered_map< I, T > & | Dict () const |
| List all the items in the container. | |
| IndexedList & | operator= (const IndexedList &other) |
| Copy the container with objects. | |
在文件 indexed_list.h 第 35 行定义.
|
inline |
copy object into the container.
If the id is already exist, overwrite the object in the container.
| id | the id of the object |
| object | the const reference of the objected to be copied to the container. |
在文件 indexed_list.h 第 45 行定义.
|
inline |
List all the items in the container.
在文件 indexed_list.h 第 89 行定义.
|
inline |
Find object by id in the container
| id | the id of the object |
在文件 indexed_list.h 第 65 行定义.
|
inline |
Find object by id in the container
| id | the id of the object |
在文件 indexed_list.h 第 75 行定义.
|
inline |
List all the items in the container.
在文件 indexed_list.h 第 83 行定义.
|
inline |
Copy the container with objects.
在文件 indexed_list.h 第 94 行定义.