载入中...
搜索中...
未找到
eve::ref< T > 模板类 参考
ref is a smart pointer that automatically calls ref() and unref() on the object. Type T must be a subclass of Object. 更多...
#include <Object.h>
Public 成员函数 | |
| ref () | |
| ref (T *ptr) | |
| ref (const ref &other) | |
| ~ref () | |
| ref & | operator= (const ref &other) |
| ref & | operator= (T *other) |
| operator T* () | |
| T * | operator-> () |
| T & | operator* () |
| T * | get () |
Protected 成员函数 | |
| void | checkDirty () |
Protected 属性 | |
| T * | ptr |
详细描述
template<typename T>
class eve::ref< T >
class eve::ref< T >
ref is a smart pointer that automatically calls ref() and unref() on the object. Type T must be a subclass of Object.
构造及析构函数说明
◆ ref() [1/3]
template<typename T >
|
inline |
被这些函数引用 eve::ref< T >::operator=().
◆ ref() [2/3]
template<typename T >
|
inline |
引用了 eve::ref< T >::ptr.
◆ ref() [3/3]
引用了 eve::ref< T >::ptr.
◆ ~ref()
引用了 eve::ref< T >::ptr.
成员函数说明
◆ checkDirty()
template<typename T >
|
inlineprotected |
◆ get()
template<typename T >
|
inline |
◆ operator T*()
template<typename T >
|
inline |
◆ operator*()
template<typename T >
|
inline |
◆ operator->()
template<typename T >
|
inline |
◆ operator=() [1/2]
引用了 eve::ref< T >::ptr.
◆ operator=() [2/2]
引用了 eve::ref< T >::ptr , 以及 eve::ref< T >::ref().
类成员变量说明
◆ ptr
template<typename T >
|
protected |
该类的文档由以下文件生成:
- src/engine/common/Object.h