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

A partial implementation of Moveable. More...

#include "default_moveable.hpp"

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

Public Member Functions

virtual ~DefaultMoveable ()=0
 
virtual std::auto_ptr< MoveableMove ()
 
- Public Member Functions inherited from Om::Moveable
virtual ~Moveable ()=0
 

Private Member Functions

DefaultMoveableoperator= (DefaultMoveable const &)
 

Friends

template<typename TheMoveable >
std::auto_ptr< TheMoveable > Move (TheMoveable &)
 

Detailed Description

template<typename ThisImplementation, typename ThisInterface = Moveable>
class Om::DefaultMoveable< ThisImplementation, ThisInterface >

Definition at line 34 of file default_moveable.hpp.

Constructor & Destructor Documentation

◆ ~DefaultMoveable()

template<typename ThisImplementation , typename ThisInterface = Moveable>
virtual Om::DefaultMoveable< ThisImplementation, ThisInterface >::~DefaultMoveable ( )
pure virtual

Member Function Documentation

◆ Move()

template<typename ThisImplementation , typename ThisInterface = Moveable>
virtual std::auto_ptr<Moveable> Om::DefaultMoveable< ThisImplementation, ThisInterface >::Move ( )
virtual
Returns
An owner pointer to a moved object.

Implements Om::Moveable.

◆ operator=()

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

Friends And Related Function Documentation

◆ Move

template<typename ThisImplementation , typename ThisInterface = Moveable>
template<typename TheMoveable >
std::auto_ptr<TheMoveable> Move ( TheMoveable &  )
friend
Returns
A polymorphic move of the object.

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