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

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

Definition at line 170 of file RgbDataSrcInfo.h.

References ILOG_DEBUG.

Referenced by WriteInfo().

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


Generated on Thu Jan 13 09:20:31 2011 for ImpalaSrc by  doxygen 1.5.1