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

template<class BackInsertIterator>
void Impala::Util::IOBuffer::ReadStrings ( BackInsertIterator  bi,
bool  skipComments,
int  count 
) [inline]

Definition at line 162 of file IOBuffer.h.

References Available(), ReadLine(), and Valid().

Referenced by Impala::Core::Feature::Read().

00163     {
00164         if (! Valid())
00165             return;
00166 
00167         int c=0;
00168         while (Available())
00169         {
00170             String line = ReadLine();
00171             if (line[0] || !skipComments)
00172             {
00173                 if ((line[0] != '#') || !skipComments)
00174                     *bi++ = line;
00175             }
00176             if (++c==count)
00177                 break;
00178         }
00179     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:14 2011 for ImpalaSrc by  doxygen 1.5.1