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

template<class BackInsertIterator>
void Impala::Util::DatabaseReadString ( BackInsertIterator  bi,
IOBuffer *  buf,
bool  skipEC,
int  count 
) [inline]

Definition at line 17 of file DatabaseReadString.h.

References Impala::Util::IOBuffer::Available(), Impala::Util::IOBuffer::ReadLine(), and Impala::Util::IOBuffer::Valid().

Referenced by DatabaseReadString(), DatabaseReadStrings(), Impala::Core::Feature::Computor::ReadFeatureTableSet(), and Impala::Core::Feature::Computor::WriteProtoFeatureTableSet().

00018 {
00019     if (! (buf && buf->Valid()))
00020     {
00021         return;
00022     }
00023     int c=0;
00024     while (buf->Available())
00025     {
00026         String line = buf->ReadLine();
00027         if (line[0] || !skipEC)
00028         {
00029             if ((line[0] != '#') || !skipEC)
00030                 *bi++ = line;
00031         }
00032         if (++c==count)
00033             break;
00034     }
00035 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:39:00 2010 for ImpalaSrc by  doxygen 1.5.1