RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Object< R > Class Template Reference

表示封装对象基类 More...

Inheritance diagram for System::Object< R >:
System::ManagedMemoryBlock< R > System::ManagedObject< R > System::Threading::SafeObject< R, LOCKER >

Public Member Functions

 Object (R *ptr)
 
 operator R * ()
 获取实例对象托管的指针 More...
 
R * operator-> () const
 访问实例对象托管的指针 More...
 
R & GetInstance ()
 获取实例对象引用 More...
 
R * SuppressFinalize ()
 Requests that the system not call the finalizer for the specified object More...
 
bool IsNull ()
 判断关联的指针是否为 nullptr More...
 
bool IsNotNull ()
 判断关联的指针是否不为 nullptr More...
 

Public Attributes

R * ObjectPtr
 

Detailed Description

template<class R>
class System::Object< R >

表示封装对象基类

Member Function Documentation

template<class R >
R& System::Object< R >::GetInstance ( )
inline

获取实例对象引用

template<class R >
bool System::Object< R >::IsNotNull ( )
inline

判断关联的指针是否不为 nullptr

template<class R >
bool System::Object< R >::IsNull ( )
inline

判断关联的指针是否为 nullptr

template<class R >
System::Object< R >::operator R * ( )
inline

获取实例对象托管的指针

template<class R >
R* System::Object< R >::operator-> ( ) const
inline

访问实例对象托管的指针

template<class R >
R* System::Object< R >::SuppressFinalize ( )
inline

Requests that the system not call the finalizer for the specified object


The documentation for this class was generated from the following file: