#include <kern_types.h>
Public Types | |
typedef _Ty * | Raw_type |
typedef Address | Unsigned_type |
Public Member Functions | |
P_ptr< _Ty > & | operator++ () |
P_ptr< _Ty > & | operator-- () |
P_ptr< _Ty > | operator++ (int) |
P_ptr< _Ty > | operator-- (int) |
P_ptr< _Ty > | operator+ (Smword pd) const |
P_ptr< _Ty > | operator- (Smword pd) const |
P_ptr< _Ty > & | operator+= (Smword pd) |
P_ptr< _Ty > & | operator-= (Smword pd) |
P_ptr< _Ty > | operator & (Mword o) |
bool | operator== (P_ptr const &o) const |
bool | operator!= (P_ptr const &o) const |
bool | is_null () const |
bool | is_invalid () const |
_Ty * | get_raw () const |
Unsigned_type | get_unsigned () const |
P_ptr< void > | to_void () const |
P_ptr< _Ty > | operator= (_Ty *o) |
P_ptr< _Ty > | operator= (P_ptr< _Ty > const &o) |
P_ptr (Mword addr) | |
P_ptr (_Ty *p=(_Ty *)(-1)) | |
template<typename _To> | |
P_ptr (P_ptr< _To > const &o) | |
Static Public Member Functions | |
template<typename _To> | |
static P_ptr | cast (P_ptr< _To > const &o) |
Private Attributes | |
_Ty * | __ptr |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|