dl
Public 成员函数 | 所有成员列表
dl::Components类 参考

组件容器还需表示对象自己(比如UI::Text) 更多...

#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 更多...
 
void PushBack (AnyType any)
 添加一个任意对象 更多...
 
void Clear ()
 
VectorAny & GetVectorAny ()
 

详细描述

组件容器还需表示对象自己(比如UI::Text)

在文件 dl_component.h 第 190 行定义.

构造及析构函数说明

◆ Components()

template<typename T >
dl::Components::Components ( T *  p)
inline

在文件 dl_component.h 第 194 行定义.

成员函数说明

◆ Cast()

template<typename T >
T * dl::Components::Cast ( )
inline

试图转到指定类型

注解
失败返回nullptr

在文件 dl_component.h 第 204 行定义.

◆ Clear()

void dl::Components::Clear ( )
inline

在文件 dl_component.h 第 221 行定义.

◆ Get()

template<typename T >
T * dl::Components::Get ( size_t  index = 0)
inline

返回第n个类型对象,失败返回nullptr

在文件 dl_component.h 第 210 行定义.

◆ GetVectorAny()

VectorAny & dl::Components::GetVectorAny ( )
inline

在文件 dl_component.h 第 226 行定义.

◆ operator!=()

bool dl::Components::operator!= ( const Components &  b)
inline

在文件 dl_component.h 第 197 行定义.

◆ operator==()

bool dl::Components::operator== ( const Components &  b)
inline

在文件 dl_component.h 第 196 行定义.

◆ PushBack()

void dl::Components::PushBack ( AnyType  any)
inline

添加一个任意对象

参数
[in]any

在文件 dl_component.h 第 216 行定义.


该类的文档由以下文件生成: