Definition at line 80 of file LabelSet.h. References Impala::Util::Database::GetIOBuffer(), mMap, Impala::Util::IOBuffer::NativeTypeWrite(), and Impala::Util::IOBuffer::Puts(). Referenced by Impala::Core::Feature::Computor::WriteProtoFeatureTableSet(). 00081 { 00082 Util::IOBuffer* buf = db->GetIOBuffer(fileName, false, false, "tmp"); 00083 if (buf) 00084 { 00085 std::vector<Quid> quids = mMap.GetAllIdx(); 00086 std::vector<String> labels = mMap.GetAll(); 00087 for (int i=0 ; i<quids.size() ; i++) 00088 { 00089 buf->NativeTypeWrite(quids[i]); 00090 buf->Puts(labels[i]); 00091 } 00092 } 00093 delete buf; 00094 }
Here is the call graph for this function:
|