Definition at line 25 of file LabelSetRepositoryInFile.h. References GetDir(), Impala::Persistency::FeatureLocator::GetFeatureString(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Persistency::File::GetReadBuffer(), Impala::Core::Feature::LabelSet::Read(), RepFS(), and Impala::Persistency::File::Valid(). 00026 { 00027 String dir = GetDir(loc); 00028 File file = RepFS().GetFile(loc, dir, loc.GetFeatureString(), 00029 false, false); 00030 if (!file.Valid()) 00031 return 0; 00032 Util::IOBuffer* buf = file.GetReadBuffer(); 00033 LabelSet* res = new LabelSet(); 00034 res->Read(buf); 00035 delete buf; 00036 return res; 00037 }
Here is the call graph for this function:
|