template<class Iterator>
Definition at line 15 of file DatabaseWriteString.h. References Impala::Util::IOBuffer::Puts(), and Impala::Util::IOBuffer::Valid(). Referenced by DatabaseWriteString(), and Impala::Application::Util::DoConcepts2TrecResult(). 00016 { 00017 if (! (buf && buf->Valid())) 00018 { 00019 return false; 00020 } 00021 int c=0; 00022 for (Iterator it=begin ; it!=end ; it++) 00023 { 00024 String s = *it; 00025 buf->Puts(s); 00026 if (++c == count) 00027 break; 00028 } 00029 return true; 00030 }
Here is the call graph for this function:
|