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

String Impala::Core::Stream::RgbDataSrcInfo::ReplaceWhite ( String  result  )  [inline, protected]

Definition at line 169 of file RgbDataSrcInfo.h.

References ILOG_DEBUG.

Referenced by WriteInfo().

00170     {
00171         String replaceWhat=" ";
00172         String replaceWithWhat="_";
00173         while(1)
00174         {
00175             const int pos = result.find(replaceWhat);
00176             if (pos==-1)
00177                 break;
00178             result.replace(pos,replaceWhat.size(),replaceWithWhat);
00179         }
00180         if(result=="")
00181         {
00182             ILOG_DEBUG("String was empty, resetting to _");
00183             result="_";
00184         }
00185         return result;
00186 
00187     }


Generated on Fri Mar 19 11:17:24 2010 for ImpalaSrc by  doxygen 1.5.1