Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXRefPtr< EType > Class Template Reference

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 * get () const
 Return pointer value.
 
EType & operator* () const
 Dereference operator.
 
EType * operator-> () const
 Follow pointer operator.
 
void clear ()
 Clear pointer.
 
 ~FXRefPtr ()
 Destructor.
 

Detailed Description

template<typename EType>
class FX::FXRefPtr< EType >

Pointer to shared object.


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

Copyright © 1997-2018 Jeroen van der Zijp