Foxit PDF Conversion SDK

Public Member Functions | List of all members
CFX_SmartPointer< T > Class Template Reference
FXCRT

## Public Member Functions
| CFX_SmartPointer (T *pObj)
| The constructor. More...
| ~CFX_SmartPointer ()
| The destructor.
T * | Get (void)
| Get the object pointer. More...
T & | operator * (void)
| Get the object reference operator. More...
T * | operator -> (void)
| Get the object pointer operator. More...

## Detailed Description

### template<class T>
class CFX_SmartPointer< T >

The class represents the smart pointer.

## Constructor & Destructor Documentation

## ◆ CFX_SmartPointer()

template<class T >

CFX_SmartPointer< T >::CFX_SmartPointer | ( | T * | pObj | ) |
| inline

The constructor.

Parameters

  [in] | pObj | The kernel object.

## Member Function Documentation

## ◆ Get()

template<class T >

T* CFX_SmartPointer< T >::Get | ( | void |  | ) |
| inline

Get the object pointer.

Returns
  The object pointer.

## ◆ operator *()

template<class T >

T& CFX_SmartPointer< T >::operator * | ( | void |  | ) |
| inline

Get the object reference operator.

Returns
  The object reference.

## ◆ operator ->()

template<class T >

T* CFX_SmartPointer< T >::operator -> | ( | void |  | ) |
| inline

Get the object pointer operator.

Returns
  The object pointer.