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

void Impala::Core::Feature::LabelSet::Load ( String  fileName,
Util::Database db 
) [inline]

Definition at line 60 of file LabelSet.h.

References Impala::Util::IOBuffer::Available(), Impala::Util::Database::GetIOBuffer(), mId, mMap, Impala::Util::IOBuffer::NativeTypeRead(), and Impala::Util::IOBuffer::ReadLine().

Referenced by Impala::Core::Feature::Computor::ReadProtoFeatureTableSet().

00061     {
00062         Util::IOBuffer* buf = db->GetIOBuffer(fileName, true, true, "");
00063         if (buf)
00064         {
00065             int nr = 0;
00066             while (buf->Available())
00067             {
00068                 Quid q;
00069                 buf->NativeTypeRead(&q);
00070                 String label = buf->ReadLine();
00071                 mMap.Add(q, label);
00072                 nr++;
00073             }
00074             mId += nr;
00075         }
00076         delete buf;
00077     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:19:27 2011 for ImpalaSrc by  doxygen 1.5.1