![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
参照カウンタ用のポインタ.自動的に参照カウンタを増減, カウンタが0になったら,オブジェクトをdeleteする.
#include <BaseUtility.h>

Public メソッド | |
| UTRef (T *t=NULL) | |
| template<class E > | |
| UTRef (const UTRef< E > &r) | |
| UTRef (const UTRef< T > &r) | |
| template<class E > | |
| UTRef & | operator= (const UTRef< E > &r) |
| UTRef & | operator= (const UTRef< T > &r) |
| operator T * () const | |
| T * | operator-> () const |
| bool | operator< (const UTRef &r) const |