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

std::string Impala::Application::SDash::AlertWindow::MakeCsv ( const std::string &  stringWithNewLines  )  [inline, private]

Definition at line 449 of file AlertWindow.h.

References Impala::Util::StringParser::GetString(), and Impala::Util::StringParser::TheEnd().

Referenced by ButtonSelectionEvent().

00450     {
00451         Util::StringParser parser(stringWithNewLines);
00452         std::string asCsv;
00453         std::string sub = parser.GetString('\n', false);
00454         asCsv += sub;
00455         while (!parser.TheEnd())
00456         {
00457             sub = parser.GetString('\n', false);
00458             if (!sub.empty())
00459             {
00460                 asCsv += ",";;
00461                 asCsv += sub;
00462             }
00463         }
00464         return asCsv;
00465     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:58 2011 for ImpalaSrc by  doxygen 1.5.1