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

template<class Iterator>
bool Impala::Util::DatabaseWriteString ( IOBuffer *  buf,
Iterator  begin,
Iterator  end,
int  count = -1 
)

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:


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