Apollo 10.0
自动驾驶开放平台
apollo::common::util::Node< K, V > 模板结构体 参考

#include <lru_cache.h>

apollo::common::util::Node< K, V > 的协作图:

Public 成员函数

 Node ()
 
template<typename VV >
 Node (const K &key, VV &&val)
 

Public 属性

key
 
val
 
Nodeprev
 
Nodenext
 

详细描述

template<class K, class V>
struct apollo::common::util::Node< K, V >

在文件 lru_cache.h30 行定义.

构造及析构函数说明

◆ Node() [1/2]

template<class K , class V >
apollo::common::util::Node< K, V >::Node ( )
inline

在文件 lru_cache.h35 行定义.

35: prev(nullptr), next(nullptr) {}

◆ Node() [2/2]

template<class K , class V >
template<typename VV >
apollo::common::util::Node< K, V >::Node ( const K &  key,
VV &&  val 
)
inline

在文件 lru_cache.h38 行定义.

39 : key(key), val(std::forward<VV>(val)), prev(nullptr), next(nullptr) {}

类成员变量说明

◆ key

template<class K , class V >
K apollo::common::util::Node< K, V >::key

在文件 lru_cache.h31 行定义.

◆ next

template<class K , class V >
Node* apollo::common::util::Node< K, V >::next

在文件 lru_cache.h34 行定义.

◆ prev

template<class K , class V >
Node* apollo::common::util::Node< K, V >::prev

在文件 lru_cache.h33 行定义.

◆ val

template<class K , class V >
V apollo::common::util::Node< K, V >::val

在文件 lru_cache.h32 行定义.


该结构体的文档由以下文件生成: