YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::UI::GValueEventArgs< _type > 模板结构体 参考

简单事件参数类。 更多...

#include <ywgtevt.h>

类 YSLib::UI::GValueEventArgs< _type > 继承关系图:
YSLib::UI::GValueEventArgs< _type > 的协作图:

Public 类型

typedef _type ValueType
 值类型。
 

Public 成员函数

template<typename... _tParams>
yconstfn GValueEventArgs (IWidget &wgt, _tParams &&...args)
 构造:使用部件引用和值。
 
 operator ValueType () const ynothrow
 
- Public 成员函数 继承自 YSLib::UI::UIEventArgs
 UIEventArgs (IWidget &wgt)
 
 UIEventArgs (const UIEventArgs &)=default
 复制构造:默认实现。
 
UIEventArgsoperator= (const UIEventArgs &)=default
 复制赋值:默认实现。
 
IWidgetGetSender () const ynothrow
 
void SetSender (IWidget &wgt)
 

Public 属性

ValueType Value
 

详细描述

template<typename _type>
struct YSLib::UI::GValueEventArgs< _type >

简单事件参数类。

警告
非虚析构。
自从
build 268

保存部件引用和指定类型值的事件参数。

在文件 ywgtevt.h195 行定义.

成员类型定义说明

template<typename _type >
typedef _type YSLib::UI::GValueEventArgs< _type >::ValueType

值类型。

在文件 ywgtevt.h198 行定义.

构造及析构函数说明

template<typename _type >
template<typename... _tParams>
yconstfn YSLib::UI::GValueEventArgs< _type >::GValueEventArgs ( IWidget wgt,
_tParams &&...  args 
)
inline

构造:使用部件引用和值。

在文件 ywgtevt.h207 行定义.

成员函数说明

template<typename _type >
YSLib::UI::GValueEventArgs< _type >::operator ValueType ( ) const
inline

在文件 ywgtevt.h211 行定义.

类成员变量说明

template<typename _type >
ValueType YSLib::UI::GValueEventArgs< _type >::Value

在文件 ywgtevt.h200 行定义.


该结构体的文档由以下文件生成: