Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class DstArrayT, class Src1ArrayT, class Src2ArrayT>
void Impala::Core::Array::Trait::TalkBpoPtrE1< DstArrayT, Src1ArrayT, Src2ArrayT >::DoIt ( DstStorType dPtr,
Src1StorType s1Ptr,
Src2StorType s2Ptr 
) [inline]

Actual operation (besides talking) : x * y (or x + y).

Definition at line 44 of file TalkBpo.h.

References Impala::Core::Array::Trait::TalkBpoPtrE1< DstArrayT, Src1ArrayT, Src2ArrayT >::mDoAdd, and Impala::Core::Array::Trait::TalkBpoPtrE1< DstArrayT, Src1ArrayT, Src2ArrayT >::mVerbose.

00045     {
00046         DstStorType res;
00047         res = (mDoAdd) ? *s1Ptr + *s2Ptr : *s1Ptr * *s2Ptr;
00048         if (mVerbose)
00049         {
00050             std::cout << "  TalkBpo::doIt(" << *s1Ptr << "," << *s2Ptr
00051                       << ") = " << res << std::endl;
00052         }
00053         *dPtr = res;
00054     }


Generated on Fri Mar 19 11:05:08 2010 for ImpalaSrc by  doxygen 1.5.1