Handle< Type > Class Template Reference

A pointer that always has a well-defined value. If no value is specified, the appropriate null value is used. More...

#include <signalfwd.h>

Public Member Functions

 Handle ()
 Handle (Type *p)
Type * get () const
bool isNull () const

Private Attributes

Type * p

Detailed Description

template<typename Type>
class Handle< Type >

A pointer that always has a well-defined value. If no value is specified, the appropriate null value is used.

Definition at line 19 of file signalfwd.h.


Constructor & Destructor Documentation

template<typename Type >
Handle< Type >::Handle (  )  [inline]

Definition at line 22 of file signalfwd.h.

template<typename Type >
Handle< Type >::Handle ( Type *  p  )  [inline, explicit]

Definition at line 24 of file signalfwd.h.


Member Function Documentation

template<typename Type >
Type* Handle< Type >::get (  )  const [inline]

Definition at line 26 of file signalfwd.h.

References Handle< Type >::p.

template<typename Type >
bool Handle< Type >::isNull (  )  const [inline]

Definition at line 29 of file signalfwd.h.

References Handle< Type >::p.


Field Documentation

template<typename Type >
Type* Handle< Type >::p [private]

Definition at line 20 of file signalfwd.h.

Referenced by Handle< Type >::get(), and Handle< Type >::isNull().


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

Generated by  doxygen 1.6.2