|
template<typename _fHandler , typename _fCallable > |
expanded_caller< _fHandler,
decay_t< _fCallable > > | ystdex::make_expanded (_fCallable &&f) |
| 构造接受冗余参数的可调用对象。 更多...
|
|
template<bool _bIsPositive, typename _tScalar > |
_tScalar & | ystdex::xcrease (_tScalar &_x) |
| 编译期选择自增/自减运算。 更多...
|
|
template<bool _bIsPositive, typename _tScalar1 , typename _tScalar2 > |
_tScalar1 & | ystdex::delta_assign (_tScalar1 &_x, _tScalar2 &_y) |
| 编译期选择加法/减法复合赋值运算。 更多...
|
|
template<typename _tIterator1 , typename _tIterator2 > |
auto | ystdex::make_move_iterator_pair (_tIterator1 it1, _tIterator2 it2) -> decltype(std::make_pair(std::make_move_iterator(it1), std::make_move_iterator(it2))) |
| 取转移迭代器对。 更多...
|
|
template<typename _tRange > |
auto | ystdex::make_move_iterator_pair (_tRange &c) -> decltype(ystdex::make_move_iterator_pair(begin(c), end(c))) |
| 取指定序列范围(包含序列容器及内建数组等)的转移迭代器对。 更多...
|
|
template<typename _type , typename... _tParams> |
std::shared_ptr< _type > | ystdex::make_shared (_tParams &&...args) |
| 使用 new 和指定参数构造指定类型的 std::shared_ptr 实例。 更多...
|
|
template<typename _type > |
decay_t< _type > | ystdex::decay_copy (_type &&arg) |
| 退化复制。 更多...
|
|
template<typename _type > |
qualified_decay< _type >::type | ystdex::decay_forward (_type &&arg) |
| 退化传递。 更多...
|
|
shared_ptr< Shell > | YSLib::FetchShellHandle () ynothrow |
| 取当前应用程序线程空间中活动的 Shell 句柄。 更多...
|
|
bool | YSLib::Activate (const shared_ptr< Shell > &hShl) |
| 激活 Shell 对象:控制权转移给此对象以维持单线程运行。 更多...
|
|
template<VisualEvent _vID> |
| YSLib::UI::EventT (typename EventTypeMapping< _vID >::HandlerType)&FetchEvent(IWidget &wgt) |
| 取部件事件。 更多...
|
|
| YSLib::UI::PDefH (void, RequestFocus, IWidget &wgt) ImplExpr(RequestFocusFrom(wgt |
| 向部件容器释放获得焦点,成功后向自身发送 GotFocus 事件。 更多...
|
|
wgt | YSLib::UI::PDefH (void, ReleaseFocus, IWidget &wgt) ImplExpr(ReleaseFocusFrom(wgt |
| 释放焦点,成功后向自身发送 LostFocus 事件。 更多...
|
|
pt pt Y | YSLib::UI::PDefH (IWidget *, FetchContainerPtr, const IWidget &wgt) ImplRet(wgt.GetView().ContainerPtr) inline PDefH(IWidget * |
| 取部件的容器指针。 更多...
|
|
pt pt Y const IWidget &wgt | YSLib::UI::ImplRet (wgt.GetView().FocusingPtr) inline PDefH(const Point & |
| 取部件位置。 更多...
|
|
pt pt Y const IWidget &wgt
const IWidget &wgt | YSLib::UI::ImplRet (wgt.GetView().GetLocation()) inline PDefH(const Size & |
| 取部件大小。 更多...
|
|
template<typename _tIterator , typename _fTransformer > |
transformed_iterator< typename
array_ref_decay< _tIterator >
::type, _fTransformer > | make_transform (_tIterator &&i, _fTransformer f) |
| 创建转换迭代器。 更多...
|
|
template<typename _type > |
size_t | ystdex::hash_combine_seq (size_t seed, const _type &val) |
| 重复计算序列散列。 更多...
|
|
template<typename _type , typename... _tParams> |
size_t | ystdex::hash_combine_seq (size_t seed, const _type &x, const _tParams &...args) |
|
template<typename _type , typename... _tParams> |
enable_if_t<!is_array< _type >
::value, std::unique_ptr
< _type > > | ystdex::make_unique (_tParams &&...args) |
| 使用 new 和指定参数构造指定类型的 std::unique_ptr 实例。 更多...
|
|
template<typename _type , typename... _tParams> |
enable_if_t< is_array< _type >
::value &&extent< _type >
::value==0, std::unique_ptr
< _type > > | ystdex::make_unique (size_t size) |
|
template<typename _type , typename... _tParams> |
enable_if_t< extent< _type >
::value!=0, void > | ystdex::make_unique (_tParams &&...)=delete |
|
template<typename _type , size_t _vN> |
size_t | ystdex::arrlen (_type(&)[_vN]) |
| 计算指定数组类型对象的长度。 更多...
|
|
template<typename _type , size_t _vN> |
size_t | ystdex::arrlen (_type(&&)[_vN]) |
|
template<class _type , class _tHandle > |
_type & | YSLib::HandleToReference (_tHandle h) ythrow(std |
| 句柄转换:对象引用。 更多...
|
|
template<class _tShell > |
_tShell & | YSLib::FetchShell () |
| 取指定 Shell 句柄对应的 Shell 引用 。 更多...
|
|
template<class _tShl > |
shared_ptr< Shell > | YSLib::FetchStored () |
| 取全局 Shell 句柄。 更多...
|
|
template<class _tShl > |
void | YSLib::ReleaseStored () |
| 释放全局 Shell 。 更多...
|
|
bool | YSLib::IsNowShell (const shared_ptr< Shell > &hShl) |
| 判断句柄指定的 Shell 是否为当前线程空间中运行的 Shell 。 更多...
|
|
errno_t | YSLib::NowShellTo (const shared_ptr< Shell > &hShl) |
| 向句柄指定的 Shell 对象转移线程控制权。 更多...
|
|
template<class _tShl > |
errno_t | YSLib::NowShellToNew () |
| 向新建 Shell 对象转移控制权。 更多...
|
|
template<class _tShl > |
errno_t | YSLib::NowShellToStored () |
| 向全局 Shell 管理器的对象转移控制权。 更多...
|
|
void | YSLib::SetShellTo (const shared_ptr< Shell > &hShl, Messaging::Priority prior=Messaging::NormalPriority) |
| 通过主消息队列向指定 Shell 对象转移控制权。 更多...
|
|
template<class _tShl > |
void | YSLib::SetShellToNew () |
| 通过主消息队列向新建 Shell 对象转移控制权。 更多...
|
|
template<class _tShl > |
void | YSLib::SetShellToStored () |
| 通过主消息队列向全局 Shell 管理器内的对象转移控制权。 更多...
|
|
template<class _tShl > |
void | YSLib::CallStoredAtOnce () |
| 封装向全局 Shell 管理器内的对象转移控制权。 更多...
|
|
template<class _tShl > |
void | YSLib::CallStored () |
| 封装通过消息队列向全局 Shell 管理器内的对象转移控制权。 更多...
|
|
void | YSLib::ResetDesktop (Desktop &dsk, Devices::Screen &scr) |
| 复位桌面。 更多...
|
|
YF_API void | YSLib::RemoveGlobalTasks () |
| 从全局消息队列中移除所有后台消息。 更多...
|
|
yconstexpr const char * | YSLib::DefaultTimeFormat ("%04u-%02u-%02u %02u:%02u:%02u") |
| 默认时间格式字符串。 更多...
|
|
YF_API const char * | YSLib::TranslateTime (const std::tm &, const char *=DefaultTimeFormat) |
| 格式化时间字符串。 更多...
|
|
YF_API const char * | YSLib::TranslateTime (const std::time_t &, const char *=DefaultTimeFormat) ythrow(GeneralEvent) |
|
template<typename _tIn > |
void | YSLib::UI::Styles::AddHandlers (HandlerTable &table, std::type_index idx, _tIn first, _tIn last) |
| 向样式处理器表添加指定类型的处理器。 更多...
|
|