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

template<class Iterator>
bool Impala::Persistency::File::WriteStrings ( Iterator  begin,
Iterator  end 
) [inline]

Definition at line 131 of file File.h.

References GetWriteBuffer(), Impala::Util::IOBuffer::Puts(), and Impala::Util::IOBuffer::Valid().

Referenced by Impala::Persistency::KeywordListRepositoryInFile::Add(), Impala::Persistency::FeatureListRepositoryInFile::Add(), Impala::Application::Util::DoConcepts2TrecResult(), Impala::Application::Util::DoExportAnnoTruth(), Impala::Persistency::SimilarityTableSetRepositoryInFile::SaveNames(), and WriteStrings().

00132     {
00133         IOBuffer* buf = GetWriteBuffer();
00134         if (! (buf && buf->Valid()))
00135         {
00136             return false;
00137         }
00138         for (Iterator it=begin ; it!=end ; it++)
00139         {
00140             String s = *it;
00141             buf->Puts(s);
00142         }
00143         delete buf;
00144         return true;
00145     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:51 2011 for ImpalaSrc by  doxygen 1.5.1