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

template<class ArrayT>
std::ostream& Impala::Core::Array::ArrayPrintElem ( std::ostream &  os,
ArrayT *  array,
typename ArrayT::StorType *  ptr 
) [inline]

Definition at line 334 of file Array2dTem.h.

Referenced by PrintData().

00335 {
00336     for (int i=0 ; i<array->ElemSize() ; i++)
00337     {
00338         if ((i == 0) && (array->ElemSize() > 1))
00339             os << "(";
00340         os << *ptr++;
00341         if (i+1 < array->ElemSize())
00342             os << ",";
00343         if ((i+1 == array->ElemSize()) && (array->ElemSize() > 1))
00344             os << ")";
00345     }
00346     return os;
00347 }


Generated on Fri Mar 19 10:56:06 2010 for ImpalaSrc by  doxygen 1.5.1