Om
Public Member Functions | Private Member Functions | Friends | List of all members
Om::DefaultCopyable< ThisImplementation, ThisInterface > Class Template Referenceabstract

A partial implementation of Copyable. More...

#include "default_copyable.hpp"

+ Inheritance diagram for Om::DefaultCopyable< ThisImplementation, ThisInterface >:
+ Collaboration diagram for Om::DefaultCopyable< ThisImplementation, ThisInterface >:

Public Member Functions

virtual ~DefaultCopyable ()=0
 
virtual std::auto_ptr< CopyableCopy () const
 
- Public Member Functions inherited from Om::Copyable
virtual ~Copyable ()=0
 

Private Member Functions

DefaultCopyableoperator= (DefaultCopyable const &)
 

Friends

template<typename TheCopyable >
std::auto_ptr< TheCopyable > Copy (TheCopyable const &)
 

Detailed Description

template<typename ThisImplementation, typename ThisInterface = Copyable>
class Om::DefaultCopyable< ThisImplementation, ThisInterface >

Definition at line 34 of file default_copyable.hpp.

Constructor & Destructor Documentation

◆ ~DefaultCopyable()

template<typename ThisImplementation , typename ThisInterface = Copyable>
virtual Om::DefaultCopyable< ThisImplementation, ThisInterface >::~DefaultCopyable ( )
pure virtual

Member Function Documentation

◆ Copy()

template<typename ThisImplementation , typename ThisInterface = Copyable>
virtual std::auto_ptr<Copyable> Om::DefaultCopyable< ThisImplementation, ThisInterface >::Copy ( ) const
virtual
Returns
An owner pointer to a copy.

Implements Om::Copyable.

◆ operator=()

template<typename ThisImplementation , typename ThisInterface = Copyable>
DefaultCopyable& Om::DefaultCopyable< ThisImplementation, ThisInterface >::operator= ( DefaultCopyable< ThisImplementation, ThisInterface > const &  )
private

Friends And Related Function Documentation

◆ Copy

template<typename ThisImplementation , typename ThisInterface = Copyable>
template<typename TheCopyable >
std::auto_ptr<TheCopyable> Copy ( TheCopyable const &  )
friend
Returns
A polymorphic copy of the object.

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