dl
dl::AnyType类 参考

任意类型包装 更多...

#include <dl_component.h>

Public 成员函数

bool operator== (const AnyType &b)
 
bool operator!= (const AnyType &b)
 
 AnyType ()
 
template<typename T>
 AnyType (T *p)
 
template<typename T>
TCast ()
 试图转到指定类型
 
std::type_index GetId ()
 返回类型id
 
bool IsNull ()
 是否为空
 
std::string GetNameDebug ()
 

友元

class VectorAny
 

详细描述

任意类型包装

在文件 dl_component.h62 行定义.

构造及析构函数说明

◆ AnyType() [1/2]

dl::AnyType::AnyType ( )
inline

在文件 dl_component.h70 行定义.

◆ AnyType() [2/2]

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

在文件 dl_component.h76 行定义.

成员函数说明

◆ Cast()

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

试图转到指定类型

注解
失败返回nullptr

在文件 dl_component.h90 行定义.

◆ GetId()

std::type_index dl::AnyType::GetId ( )
inline

返回类型id

在文件 dl_component.h103 行定义.

◆ GetNameDebug()

std::string dl::AnyType::GetNameDebug ( )
inline

在文件 dl_component.h116 行定义.

◆ IsNull()

bool dl::AnyType::IsNull ( )
inline

是否为空

在文件 dl_component.h111 行定义.

◆ operator!=()

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

在文件 dl_component.h67 行定义.

◆ operator==()

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

在文件 dl_component.h66 行定义.

友元及相关符号说明

◆ VectorAny

friend class VectorAny
friend

在文件 dl_component.h64 行定义.


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