RejectNull< P > Struct Template Reference

#include <smart_ptr.h>

List of all members.

Public Member Functions

 RejectNull ()
template<class P1 >
 RejectNull (const RejectNull< P1 > &)
void OnDereference (P val)
void Swap (RejectNull &)

Static Public Member Functions

static void OnInit (P val)
static void OnDefault (P val)


Detailed Description

template<class P>
struct RejectNull< P >

Definition at line 379 of file smart_ptr.h.


Constructor & Destructor Documentation

template<class P >
RejectNull< P >::RejectNull (  )  [inline]

Definition at line 381 of file smart_ptr.h.

00382         {}

template<class P >
template<class P1 >
RejectNull< P >::RejectNull ( const RejectNull< P1 > &   )  [inline]

Definition at line 385 of file smart_ptr.h.

00386         {}


Member Function Documentation

template<class P >
static void RejectNull< P >::OnInit ( val  )  [inline, static]

Definition at line 388 of file smart_ptr.h.

00389         { if (!val) throw NullPointerException(); }

template<class P >
static void RejectNull< P >::OnDefault ( val  )  [inline, static]

Definition at line 391 of file smart_ptr.h.

00392         { OnInit(val); }

template<class P >
void RejectNull< P >::OnDereference ( val  )  [inline]

Definition at line 394 of file smart_ptr.h.

00395         { OnInit(val); }

template<class P >
void RejectNull< P >::Swap ( RejectNull< P > &   )  [inline]

Definition at line 397 of file smart_ptr.h.

00398         {}        


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

Generated on Tue Aug 30 02:37:00 2011 for Smacky by  doxygen 1.5.8