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 成员函数 | |
GStaticCache () | |
静态 Private 成员函数 | |
static void | Check () |
检查是否已经初始化,否则构造新对象。 | |
静态 Private 属性 | |
static PointerType | _ptr |
全局静态单态存储器。
std::is_nothrow_constructible<_tPointer>::value
。 在文件 ystorage.hpp 第 83 行定义.
typedef _tPointer YSLib::GStaticCache< _type, _tPointer >::PointerType |
在文件 ystorage.hpp 第 86 行定义.
|
private |
|
inlinestaticprivate |
检查是否已经初始化,否则构造新对象。
在文件 ystorage.hpp 第 100 行定义.
|
inlinestatic |
取实例引用。
在文件 ystorage.hpp 第 121 行定义.
|
inlinestatic |
取指针。
在文件 ystorage.hpp 第 112 行定义.
|
inlinestatic |
在文件 ystorage.hpp 第 107 行定义.
|
inlinestatic |
|
staticprivate |
在文件 ystorage.hpp 第 92 行定义.