#include <vctStoreBackUnaryOperations.h>
Class vctStoreBackUnaryOperations is an envelope that wraps unary store back operations on an object as classes. vctStoreBackUnaryOperations defines internal classes such as MakeAbs, MakeNegation, etc., and each of the internal classes has one static function named Operate(), which wraps the corresponding operation. The signature of a typical Operate() is
static inline InputOutputType Operate(const InputOutputType & inputOutput)
Where InputOutputType is the type of the result and the operand.
By abstracting very simple operations as inline functions, we can plug the vctUnaryOperations internal classes into templated vector operation engines. See an example of such engine in vctFixedSizeVectorRecursiveEngines.h , and an example of plugging an operation into the engine in vctFixedSizeVectorOperations.h .
| inputOutputElementType | the type of the operand |
Definition at line 57 of file vctStoreBackUnaryOperations.h.