template<class BackInsertIterator>
Definition at line 18 of file DatabaseReadIxRectangle.h. References Impala::Util::IOBuffer::Available(), Impala::Util::Database::GetIOBuffer(), Impala::Core::Geometry::IxRectangle::mAnno, Impala::Core::Geometry::IxRectangle::mDir, Impala::Core::Geometry::IxRectangle::mExtra, Impala::Core::Geometry::IxRectangle::mImageName, Impala::Core::Geometry::IxRectangle::mRect, Impala::Core::Geometry::IxRectangle::mSection, and Impala::Util::IOBuffer::ReadLine(). 00020 { 00021 Util::IOBuffer* buf = db->GetIOBuffer(fileName, true, true, ""); 00022 if (! buf) 00023 return; 00024 00025 while (buf->Available()) 00026 { 00027 String line = buf->ReadLine(); 00028 if (! line[0]) 00029 continue; 00030 Util::StringParser p(line); 00031 if (p.At("#")) 00032 continue; 00033 IxRectangle vr; 00034 vr.mImageName = p.GetString(); 00035 vr.mAnno = p.GetString(); 00036 vr.mRect = p.GetRectangle(); 00037 vr.mSection = p.GetString(); 00038 vr.mDir = p.GetString(); 00039 if (! p.TheEnd()) 00040 vr.mExtra = p.GetString(); 00041 *bi++ = vr; 00042 } 00043 }
Here is the call graph for this function:
|