|
ACF $AcfVersion:0$
|
Implementation of pointer wrapper. More...
#include <TPointerBase.h>
Public Member Functions | |
| TPointerBase (Type *ptr=NULL) | |
| Construct and assign internal pointer. | |
| void | SetPtr (Type *ptr) |
| Set value of internal stored pointer. | |
| void | Reset () |
| Set internal pointer value to NULL. | |
| Type * | GetPtr () const |
| Return access to internal stored pointer. | |
| bool | IsValid () const |
| Check if internal pointer not NULL. | |
| void | Swap (TPointerBase &ptr) |
| Swap two pointers. | |
| Type & | operator* () const |
| Get an access to object pointed at. | |
| template<class CastedType > | |
| CastedType | Cast () const |
| Type * | operator-> () const |
| bool | operator== (const TPointerBase< Type > &ptr) const |
| bool | operator!= (const TPointerBase< Type > &ptr) const |
| bool | operator< (const TPointerBase< Type > &ptr) const |
| bool | operator> (const TPointerBase< Type > &ptr) const |
| bool | operator<= (const TPointerBase< Type > &ptr) const |
| bool | operator>= (const TPointerBase< Type > &ptr) const |
| bool | operator== (const Type *ptr) const |
| bool | operator!= (const Type *ptr) const |
| bool | operator< (const Type *ptr) const |
| bool | operator> (const Type *ptr) const |
| bool | operator<= (const Type *ptr) const |
| bool | operator>= (const Type *ptr) const |
Protected Member Functions | |
| TPointerBase< Type > & | operator= (const TPointerBase< Type > ptr) |
| Type *& | GetPtrRef () |
Implementation of pointer wrapper.
Definition at line 49 of file TPointerBase.h.
|
inline |
Construct and assign internal pointer.
Definition at line 252 of file TPointerBase.h.
|
inline |
Definition at line 88 of file TPointerBase.h.
References istd::TPointerBase< Type >::GetPtr().
|
inline |
Return access to internal stored pointer.
Definition at line 129 of file TPointerBase.h.
Referenced by istd::TPointerBase< Type >::Cast(), iimg::CGeneralBitmap::GetLinePtr(), iimg::CGeneralBitmap::GetLinePtr(), icomp::CSimComponentContextBase::InsertMultiAttr(), and istd::TOptDelPtr< Type, DelArray >::TOptDelPtr().
|
inlineprotected |
Definition at line 275 of file TPointerBase.h.
|
inline |
Check if internal pointer not NULL.
Definition at line 136 of file TPointerBase.h.
References NULL.
Referenced by iview::CDrawBuffer::GetDrawContext(), and icomp::CSimComponentContextBase::InsertMultiAttr().
|
inline |
Definition at line 173 of file TPointerBase.h.
|
inline |
Definition at line 215 of file TPointerBase.h.
|
inline |
|
inline |
Definition at line 159 of file TPointerBase.h.
|
inline |
Definition at line 180 of file TPointerBase.h.
| bool istd::TPointerBase< Type >::operator< | ( | const Type * | ptr | ) | const |
Definition at line 222 of file TPointerBase.h.
|
inline |
Definition at line 194 of file TPointerBase.h.
| bool istd::TPointerBase< Type >::operator<= | ( | const Type * | ptr | ) | const |
Definition at line 236 of file TPointerBase.h.
|
inlineprotected |
Definition at line 266 of file TPointerBase.h.
|
inline |
Definition at line 166 of file TPointerBase.h.
|
inline |
Definition at line 208 of file TPointerBase.h.
|
inline |
Definition at line 187 of file TPointerBase.h.
| bool istd::TPointerBase< Type >::operator> | ( | const Type * | ptr | ) | const |
Definition at line 229 of file TPointerBase.h.
|
inline |
Definition at line 201 of file TPointerBase.h.
| bool istd::TPointerBase< Type >::operator>= | ( | const Type * | ptr | ) | const |
Definition at line 243 of file TPointerBase.h.
|
inline |
|
inline |
Set value of internal stored pointer.
Definition at line 259 of file TPointerBase.h.
| void istd::TPointerBase< Type >::Swap | ( | TPointerBase< Type > & | ptr | ) |
Swap two pointers.
Definition at line 143 of file TPointerBase.h.