copasi API
0.1
|
#include <CSort.h>
Public Member Functions | |
FSwapClass (ClassType *pType, ReturnType(ClassType::*swap)(IndexType, IndexType)) | |
virtual | ~FSwapClass () |
virtual void | operator() (IndexType to, IndexType from) |
Protected Member Functions | |
FSwapClass () |
A derived functor providing means to use a class member as the swap method to be used in the applyPivot methods.
FSwapClass< ClassType, IndexType, ReturnType >::FSwapClass | ( | ) | [inline, protected] |
Default constructor
FSwapClass< ClassType, IndexType, ReturnType >::FSwapClass | ( | ClassType * | pType, |
ReturnType(ClassType::*)(IndexType, IndexType) | swap | ||
) | [inline] |
Specific constructor
ClassType | * pType |
ReturnType | (ClassType::*swap) (IndexType, IndexType) |
virtual FSwapClass< ClassType, IndexType, ReturnType >::~FSwapClass | ( | ) | [inline, virtual] |
Virtual destructor
virtual void FSwapClass< ClassType, IndexType, ReturnType >::operator() | ( | IndexType | to, |
IndexType | from | ||
) | [inline, virtual] |
Operator wrapping the provided class member swap method
IndexType | to |
IndexType | from |
Reimplemented from FSwapBase< IndexType, ReturnType >.