User Manual, Developers Guide and API Documentation

wns::CloneNotSupported Class Reference

Last resort: Throw this if your class is not cloneable. More...

#include <Cloneable.hpp>

Inheritance diagram for wns::CloneNotSupported:

Inheritance graph
[legend]
Collaboration diagram for wns::CloneNotSupported:

Collaboration graph
[legend]

List of all members.

Public Member Functions

template<typename T>
 CloneNotSupported (T *t)
 CloneNotSupported ()
 ~CloneNotSupported () throw ()


Detailed Description

If a class is forced to derive from CloneableInterface but can't be cloned, you can throw this Exceptio in "Class::clone()", to indicate the class can't be cloned.

Warning:
This is really the last resort and should be avoided under any circumstances.

Definition at line 101 of file Cloneable.hpp.


Constructor & Destructor Documentation

wns::CloneNotSupported::CloneNotSupported (  )  [inline]

Definition at line 105 of file Cloneable.hpp.

template<typename T>
wns::CloneNotSupported::CloneNotSupported ( T *  t  )  [inline]

Definition at line 110 of file Cloneable.hpp.

wns::CloneNotSupported::~CloneNotSupported (  )  throw () [inline]

Definition at line 116 of file Cloneable.hpp.


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

Generated on Sat May 26 03:32:50 2012 for openWNS by  doxygen 1.5.5