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

template<class DstArrayT, class Src1ArrayT, class Src2ArrayT>
DstArithType Impala::Core::Array::Trait::TalkBpoVal< DstArrayT, Src1ArrayT, Src2ArrayT >::DoIt ( Src1ArithType  x,
Src2ArithType  y 
) [inline]

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

Definition at line 138 of file TalkBpo.h.

References Impala::Core::Array::Element::E1Cast(), Impala::Core::Array::Trait::TalkBpoVal< DstArrayT, Src1ArrayT, Src2ArrayT >::mDoAdd, and Impala::Core::Array::Trait::TalkBpoVal< DstArrayT, Src1ArrayT, Src2ArrayT >::mVerbose.

00139     {
00140         DstArithType res;
00141         res = Element::E1Cast((mDoAdd) ? (x+y) : x*y, DstArithType());
00142         if (mVerbose)
00143         {
00144             std::cout << "  TalkBpo::doIt(" << x<< "," << y
00145                       << ") = " << res << std::endl;
00146         }
00147         return res;
00148     }

Here is the call graph for this function:


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