Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Pointer to shared object. More...
#include <FXRefPtr.h>
Public Member Functions | |
FXRefPtr () | |
Default constructor. | |
FXRefPtr (EType *p) | |
Construct and init. | |
FXRefPtr (const FXRefPtr< EType > &org) | |
Copy constructor. | |
template<typename T > | |
FXRefPtr (FXRefPtr< T > &org) | |
Copy constructor from shared pointer of compatible type. | |
FXRefPtr< EType > & | swap (FXRefPtr< EType > &other) |
Swap this and other, pain-free. | |
FXRefPtr< EType > & | operator= (EType *src) |
Assignment. | |
FXRefPtr< EType > & | operator= (const FXRefPtr< EType > &src) |
Assignment. | |
template<typename T > | |
FXRefPtr< EType > & | operator= (FXRefPtr< T > &src) |
Assignment from shared pointer of compatible type. | |
operator EType * () const | |
Conversion operators. | |
EType & | operator* () const |
Dereference operator. | |
EType * | operator-> () const |
Follow pointer operator. | |
operator FXbool () const | |
Test for non-null. | |
FXbool | operator! () const |
Test for NULL. | |
FXbool | operator== (EType *p) const |
Comparison operator. | |
FXbool | operator!= (EType *p) const |
Comparison operator. | |
EType * | get () const |
Return pointer value. | |
void | clear () |
Clear pointer. | |
~FXRefPtr () | |
Destructor. | |
Pointer to shared object.
Copyright © 1997-2022 Jeroen van der Zijp |