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

#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 第 117 行定义.

成员函数说明

◆ begin()

std::vector< AnyType >::iterator dl::VectorAny::begin ( )
inline

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

◆ Clear()

void dl::VectorAny::Clear ( )
inline

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

◆ end()

std::vector< AnyType >::iterator dl::VectorAny::end ( )
inline

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

◆ Get()

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

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

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

◆ GetMulti()

template<typename T >
std::vector< T * > dl::VectorAny::GetMulti ( )
inline

返回所有指定类型的对象

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

◆ GetSize()

size_t dl::VectorAny::GetSize ( )
inline

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

◆ GetVector()

auto & dl::VectorAny::GetVector ( )
inline

返回所有对象

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

◆ PushBack()

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

添加一个任意对象

参数
[in]any

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


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