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

template<class BackInsertIterator>
void Impala::Persistency::File::ReadStrings ( BackInsertIterator  bi,
bool  skipEmptyAndComment = true 
) [inline]

Definition at line 61 of file File.h.

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

Referenced by Impala::Application::Util::DoExportAnnoMpeg7(), Impala::Persistency::SimilarityTableSetRepositoryInFile::Get(), Impala::Persistency::KeywordListRepositoryInFile::Get(), Impala::Persistency::FeatureListRepositoryInFile::Get(), Impala::Core::Trec::Collection::ReadKeyframesClips(), and ReadStrings().

00062     {
00063         IOBuffer* buf = GetReadBuffer();
00064         if (! (buf && buf->Valid()))
00065         {
00066             return;
00067         }
00068 
00069         while (buf->Available())
00070         {
00071             String line = buf->ReadLine();
00072             if (line[0] || !skipEmptyAndComment)
00073             {
00074                 if ((line[0] != '#') || !skipEmptyAndComment)
00075                     *bi++ = line;
00076             }
00077         }
00078     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:35:01 2010 for ImpalaSrc by  doxygen 1.5.1