|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
依赖项类模板。 更多...
#include <yobject.h>

Public 类型 | |
| typedef _type | DependentType |
| typedef _tOwnerPointer | PointerType |
| typedef std::remove_const < typename std::remove_reference < ConstReferenceType >::type > ::type | ReferentType |
| typedef ReferentType & | ReferenceType |
Public 成员函数 | |
| GDependency (PointerType p=PointerType()) | |
| GDependency & | operator= (const GDependency &)=default |
| GDependency & | operator= (GDependency &&)=default |
| operator ConstReferenceType () const ynothrow | |
| operator ReferenceType () ynothrow | |
| operator bool () const ynothrow | |
| ConstReferenceType | GetRef () const ynothrow |
| ReferenceType | GetRef () ynothrow |
| ReferenceType | GetNewRef () ynothrow |
| PointerType | GetCopyOnWritePtr () |
| void | Reset () |
Public 属性 | |
| decltype(*PointerType()) typede | ConstReferenceType ) |
Private 属性 | |
| PointerType | ptr |
依赖项类模板。
基于被依赖的默认对象,可通过写时复制策略创建新对象;可能为空。
| _type | 被依赖的对象类型,需能被无参数构造。 |
| _tOwnerPointer | 依赖所有者指针类型。 |
| typedef _type YSLib::GDependency< _type, _tOwnerPointer >::DependentType |
| typedef _tOwnerPointer YSLib::GDependency< _type, _tOwnerPointer >::PointerType |
| typedef ReferentType& YSLib::GDependency< _type, _tOwnerPointer >::ReferenceType |
| typedef std::remove_const<typename std::remove_reference< ConstReferenceType>::type>::type YSLib::GDependency< _type, _tOwnerPointer >::ReferentType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
| decltype(*PointerType()) typede YSLib::GDependency< _type, _tOwnerPointer >::ConstReferenceType) |
|
private |