|
dl
|
#include <dl_component.h>
Public 成员函数 | |
| template<typename T> | |
| Components (T *p) | |
| bool | operator== (const Components &b) |
| bool | operator!= (const Components &b) |
| template<typename T> | |
| T * | Cast () |
| 试图转到指定类型 | |
| template<typename T> | |
| T * | Get (size_t index=0) |
| 返回第n个类型对象,失败返回nullptr | |
| AnyType | GetSelf () |
| 返回自身 | |
| void | PushBack (AnyType any) |
| 添加一个任意对象 | |
| void | Clear () |
| VectorAny & | GetVectorAny () |
| std::string | GetName () |
| void | SetName (std::string_view name) |
| 设置自定义名字 | |
| bool | IsPure () |
| 单纯的Componets,any为空 | |
any表示实际的对象(比如UI::Text) any为空则为Components
在文件 dl_component.h 第 209 行定义.
在文件 dl_component.h 第 213 行定义.
|
inline |
在文件 dl_component.h 第 251 行定义.
返回第n个类型对象,失败返回nullptr
在文件 dl_component.h 第 234 行定义.
|
inline |
在文件 dl_component.h 第 258 行定义.
|
inline |
返回自身
在文件 dl_component.h 第 237 行定义.
|
inline |
在文件 dl_component.h 第 256 行定义.
|
inline |
单纯的Componets,any为空
在文件 dl_component.h 第 270 行定义.
|
inline |
在文件 dl_component.h 第 221 行定义.
|
inline |
在文件 dl_component.h 第 220 行定义.
|
inline |
|
inline |
设置自定义名字
在文件 dl_component.h 第 264 行定义.