Chombo + EB + MF  3.2
Public Member Functions | Private Attributes | List of all members
Sort::Move2Array< T1, T2 > Class Template Reference

Mover for use with 'rearrangeToIndex'. More...

#include <InsertionSort.H>

Public Member Functions

 Move2Array (T1 *const array0, T2 *const array1)
 
void copy (const int i, const int j)
 
void save (const int i)
 
void restore (const int i)
 

Private Attributes

T1 m_tmp0
 
T2 m_tmp1
 
T1 *const m_array0
 
T2 *const m_array1
 

Detailed Description

template<typename T1, typename T2>
class Sort::Move2Array< T1, T2 >

Mover for use with 'rearrangeToIndex'.

Moves elements for 2 arrays

Constructor & Destructor Documentation

template<typename T1 , typename T2 >
Sort::Move2Array< T1, T2 >::Move2Array ( T1 *const  array0,
T2 *const  array1 
)
inline

Member Function Documentation

template<typename T1 , typename T2 >
void Sort::Move2Array< T1, T2 >::copy ( const int  i,
const int  j 
)
inline
template<typename T1 , typename T2 >
void Sort::Move2Array< T1, T2 >::save ( const int  i)
inline
template<typename T1 , typename T2 >
void Sort::Move2Array< T1, T2 >::restore ( const int  i)
inline

Member Data Documentation

template<typename T1 , typename T2 >
T1 Sort::Move2Array< T1, T2 >::m_tmp0
private
template<typename T1 , typename T2 >
T2 Sort::Move2Array< T1, T2 >::m_tmp1
private
template<typename T1 , typename T2 >
T1* const Sort::Move2Array< T1, T2 >::m_array0
private
template<typename T1 , typename T2 >
T2* const Sort::Move2Array< T1, T2 >::m_array1
private

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