|
| PDefH (bool, Contains, const _tKey &key) const ImplRet(registered_map.count(key)!=0) DeclSEntry(template< _type |
|
_fHandler _fHandler | GetRegister () const ) template< typename..._tParams > auto Call(const _tKey &key |
|
template<class _type > |
void | Register (const _tKey &key) |
|
template<typename _tIn , class _type , class _tTuple > |
void | Register (_tIn first, _tIn last) |
|
template<class _type , class... _types> |
void | Register (std::initializer_list< string > il) |
|
template<class _tDerived, typename _tKey, typename _fHandler>
struct YSLib::GHandlerRegisterBase< _tDerived, _tKey, _fHandler >
注册处理器抽象模板:供派生类加载一个或多个键和指定类型关联的例程。
- 注解
- 加载的键的数量和类型的数量需要保持一致。
- 警告
- 非虚析构。
- 自从
- build 494
在文件 yfunc.hpp 第 328 行定义.