|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
模板类实例计数器。 更多...
#include <ycounter.hpp>

Public 成员函数 | |
| GMCounter () ynothrow | |
| 构造。 | |
| GMCounter (const GMCounter &) ynothrow | |
| 复制构造。 | |
| GMCounter (GMCounter &&)=default | |
| 转移构造。 | |
| yconstfn count_t | GetObjectID () const ynothrow |
静态 Public 成员函数 | |
| static count_t | GetCount () ynothrow |
| static count_t | GetTotal () ynothrow |
Protected 成员函数 | |
| ~GMCounter () ynothrow | |
| 析构。 | |
| void | ResetID () ynothrow |
| 复位实例标识序列号。 | |
静态 Protected 成员函数 | |
| static void | ResetCount () ynothrow |
| 复位实例生成计数。 | |
| static void | ResetTotal () ynothrow |
| 复位实例计数。 | |
Private 属性 | |
| count_t | nID |
| 实例标识序列号。 | |
静态 Private 属性 | |
| static count_t | nCount |
| static count_t | nTotal |
| 实例生成计数和实例计数。 | |
模板类实例计数器。
在文件 ycounter.hpp 第 40 行定义.
|
inline |
|
inline |
|
inlinedefault |
转移构造。
转移构造:默认实现。
|
inlineprotected |
|
inlinestatic |
在文件 ycounter.hpp 第 88 行定义.
|
inline |
在文件 ycounter.hpp 第 91 行定义.
|
inlinestatic |
在文件 ycounter.hpp 第 89 行定义.
|
inlinestaticprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
staticprivate |
在文件 ycounter.hpp 第 43 行定义.
|
private |
实例标识序列号。
在文件 ycounter.hpp 第 44 行定义.
|
staticprivate |
实例生成计数和实例计数。
在文件 ycounter.hpp 第 43 行定义.