YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
全局静态单态存储器。 更多...
#include <ystorage.hpp>
Public 类型 | |
using | PointerType = _tPointer |
静态 Public 成员函数 | |
static | DefGetter (ynothrow, PointerType, PointerRaw, _ptr) static PointerType GetPointer() |
取指针。 更多... | |
static _type & | GetInstance () |
取实例引用。 更多... | |
static void | Release () ynothrow |
删除对象并置指针为空值。 更多... | |
Private 成员函数 | |
GStaticCache () | |
静态 Private 成员函数 | |
static void | Check () |
检查是否已经初始化,否则构造新对象。 更多... | |
静态 Private 属性 | |
static PointerType | _ptr |
全局静态单态存储器。
std::is_nothrow_constructible<_tPointer>::value
。 在文件 ystorage.hpp 第 84 行定义.
using YSLib::GStaticCache< _type, _tPointer >::PointerType = _tPointer |
在文件 ystorage.hpp 第 90 行定义.
|
private |
|
inlinestaticprivate |
检查是否已经初始化,否则构造新对象。
在文件 ystorage.hpp 第 101 行定义.
参考 YSLib::GStaticCache< _type, _tPointer >::_ptr.
参考自 YSLib::GStaticCache< _type, _tPointer >::DefGetter() , 以及 YSLib::GStaticCache< _type, _tPointer >::GetInstance().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticprivate |