template<class Iterator>
Definition at line 88 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::Persistency::SimilarityTableSetRepositoryInFile::SaveNames(), and WriteStrings(). 00089 { 00090 IOBuffer* buf = GetWriteBuffer(); 00091 if (! (buf && buf->Valid())) 00092 { 00093 return false; 00094 } 00095 for (Iterator it=begin ; it!=end ; it++) 00096 { 00097 String s = *it; 00098 buf->Puts(s); 00099 } 00100 return true; 00101 }
Here is the call graph for this function:
|