|
COPASI API
4.40.278
|
#include <CSort.h>
Public Member Functions | |
| FSwapClass (ClassType *pType, ReturnType(ClassType::*swap)(IndexType, IndexType)) | |
| virtual void | operator() (IndexType to, IndexType from) |
| virtual | ~FSwapClass () |
Public Member Functions inherited from FSwapBase< IndexType, ReturnType > | |
| FSwapBase (ReturnType(*swap)(IndexType, IndexType)) | |
| virtual | ~FSwapBase () |
Protected Member Functions | |
| FSwapClass () | |
Protected Member Functions inherited from FSwapBase< IndexType, ReturnType > | |
| FSwapBase () | |
Private Attributes | |
| ReturnType(ClassType::* | mpSwap )(IndexType, IndexType) |
| ClassType * | mpType |
A derived functor providing means to use a class member as the swap method to be used in the applyPivot methods.
|
inlineprotected |
Default constructor
|
inline |
Specific constructor
| ClassType | * pType |
| ReturnType | (ClassType::*swap) (IndexType, IndexType) |
|
inlinevirtual |
Virtual destructor
|
inlinevirtual |
Operator wrapping the provided class member swap method
| IndexType | to |
| IndexType | from |
Reimplemented from FSwapBase< IndexType, ReturnType >.
References FSwapClass< ClassType, IndexType, ReturnType >::mpSwap, and FSwapClass< ClassType, IndexType, ReturnType >::mpType.
|
private |
A pointer to the class member swap method.
Referenced by FSwapClass< ClassType, IndexType, ReturnType >::operator()().
|
private |
A pointer to the class.
Referenced by FSwapClass< ClassType, IndexType, ReturnType >::operator()().