|
dl
|
任意对象容器(组件) 更多...
#include <dl_component.h>
Public 成员函数 | |
| void | PushBack (AnyType any) |
| 添加一个任意对象 | |
| void | Clear () |
| template<typename T> | |
| std::vector< T * > | GetMulti () |
| 返回所有指定类型的对象 | |
| template<typename T> | |
| T * | Get (size_t index=0) |
| 返回第n个类型对象,失败返回nullptr | |
| auto & | GetVector () |
| 返回所有对象 | |
| std::vector< AnyType >::iterator | begin () |
| std::vector< AnyType >::iterator | end () |
| size_t | GetSize () |
任意对象容器(组件)
在文件 dl_component.h 第 134 行定义.
|
inline |
在文件 dl_component.h 第 196 行定义.
|
inline |
在文件 dl_component.h 第 146 行定义.
|
inline |
在文件 dl_component.h 第 198 行定义.
返回第n个类型对象,失败返回nullptr
在文件 dl_component.h 第 173 行定义.
返回所有指定类型的对象
在文件 dl_component.h 第 155 行定义.
|
inline |
在文件 dl_component.h 第 200 行定义.
|
inline |
返回所有对象
在文件 dl_component.h 第 191 行定义.
|
inline |