User Manual, Developers Guide and API Documentation

Cloneable.hpp File Reference

#include <WNS/Assure.hpp>
#include <WNS/TypeInfo.hpp>
#include <WNS/Exception.hpp>
#include <ostream>
#include <memory>

Include dependency graph for Cloneable.hpp:

Go to the source code of this file.

Namespaces

namespace  wns

Classes

class  wns::Cloneable< T >
 Default implementation of CloneableInterface. More...
class  wns::CloneableInterface
 Support to (polymorphically) clone objects. More...
class  wns::CloneNotSupported
 Last resort: Throw this if your class is not cloneable. More...
class  wns::NotCloneable
 Default implementation of a not cloneable class. More...

Functions

template<typename T>
std::auto_ptr< T > wns::clone (const std::auto_ptr< T > &t)
 Type safe cloning of clonable auto_ptr.
template<typename T>
T * wns::clone (T *t)
 Type safe cloning.


Generated on Tue May 22 03:32:16 2012 for openWNS by  doxygen 1.5.5