template<class Iterator>
Definition at line 132 of file File.h. References Impala::EndianSwap(), GetWriteBuffer(), and Impala::Util::IOBuffer::Write(). 00133 { 00134 typedef typename Iterator::value_type elem_type; 00135 00136 IOBuffer* buf = GetWriteBuffer(); 00137 for (Iterator it=begin ; it!=end ; it++) 00138 { 00139 elem_type d = *it; 00140 EndianSwap(&d); 00141 buf->Write(&d, sizeof(d)); 00142 } 00143 delete buf; 00144 }
Here is the call graph for this function:
|