Om
Public Member Functions | Private Member Functions | List of all members
Om::Taker< ThisImplementation > Class Template Referenceabstract

An object that can take (copy or swap) another of the same type. More...

#include "taker.hpp"

+ Inheritance diagram for Om::Taker< ThisImplementation >:

Public Member Functions

virtual ~Taker ()=0
 
void Take (ThisImplementation &)
 Swaps. More...
 
void Take (ThisImplementation const &)
 Assigns. More...
 

Private Member Functions

Takeroperator= (Taker const &)
 

Detailed Description

template<typename ThisImplementation>
class Om::Taker< ThisImplementation >

Definition at line 29 of file taker.hpp.

Constructor & Destructor Documentation

◆ ~Taker()

template<typename ThisImplementation >
virtual Om::Taker< ThisImplementation >::~Taker ( )
pure virtual

Member Function Documentation

◆ Take() [1/2]

template<typename ThisImplementation >
void Om::Taker< ThisImplementation >::Take ( ThisImplementation &  )

◆ Take() [2/2]

template<typename ThisImplementation >
void Om::Taker< ThisImplementation >::Take ( ThisImplementation const &  )

◆ operator=()

template<typename ThisImplementation >
Taker& Om::Taker< ThisImplementation >::operator= ( Taker< ThisImplementation > const &  )
private

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