|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
全局局部静态单态存储器。 更多...
#include <ystorage.hpp>
Public 类型 | |
| typedef _tPointer | PointerType |
静态 Public 成员函数 | |
| static PointerType | GetPointerRaw () ynothrow |
| static PointerType | GetPointer () |
| 取指针。 | |
| static _type & | GetInstance () |
| 取实例引用。 | |
| static void | Release () ynothrow |
| 删除对象并置指针为空值。 | |
Private 成员函数 | |
| GLocalStaticCache () | |
静态 Private 成员函数 | |
| static PointerType & | GetStaticPtrRef () ynothrow |
| 取静态指针引用。 | |
| static void | Check () |
| 检查是否已经初始化,否则构造新对象。 | |
静态 Private 属性 | |
| static PointerType | _ptr |
全局局部静态单态存储器。
std::is_nothrow_constructible<_tPointer>::value 。 在文件 ystorage.hpp 第 150 行定义.
| typedef _tPointer YSLib::GLocalStaticCache< _type, _tPointer >::PointerType |
在文件 ystorage.hpp 第 153 行定义.
|
private |
|
inlinestaticprivate |
检查是否已经初始化,否则构造新对象。
在文件 ystorage.hpp 第 179 行定义.
|
inlinestatic |
取实例引用。
在文件 ystorage.hpp 第 202 行定义.
|
inlinestatic |
取指针。
在文件 ystorage.hpp 第 193 行定义.
|
inlinestatic |
在文件 ystorage.hpp 第 188 行定义.
|
inlinestaticprivate |
|
inlinestatic |
|
staticprivate |
在文件 ystorage.hpp 第 159 行定义.