#include <registerer.h>
|
| | Any () |
| |
| template<typename ValueType > |
| | Any (const ValueType &value) |
| |
| | Any (const Any &other) |
| |
| | ~Any () |
| |
| template<typename ValueType > |
| ValueType * | AnyCast () |
| |
◆ Any() [1/3]
| apollo::perception::lib::Any::Any |
( |
| ) |
|
|
inline |
◆ Any() [2/3]
template<typename ValueType >
| apollo::perception::lib::Any::Any |
( |
const ValueType & |
value | ) |
|
|
inlineexplicit |
在文件 registerer.h 第 35 行定义.
36 : content_(new Holder<ValueType>(value)) {}
◆ Any() [3/3]
| apollo::perception::lib::Any::Any |
( |
const Any & |
other | ) |
|
|
inline |
在文件 registerer.h 第 38 行定义.
39 : content_(other.content_ ? other.content_->Clone() : nullptr) {}
◆ ~Any()
| apollo::perception::lib::Any::~Any |
( |
| ) |
|
|
inline |
◆ AnyCast()
template<typename ValueType >
| ValueType * apollo::perception::lib::Any::AnyCast |
( |
| ) |
|
|
inline |
在文件 registerer.h 第 44 行定义.
44 {
45 return content_ ? &(static_cast<Holder<ValueType> *>(content_)->held_)
46 : nullptr;
47 }
该类的文档由以下文件生成: