Definition at line 38 of file FeatureTableRepositoryInFile.h. References GetDir(), Impala::Persistency::FeatureLocator::GetFeatureDef(), Impala::Persistency::FeatureLocator::GetFeatureString(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Core::Table::Read(), RepFS(), and Impala::Persistency::File::Valid(). 00039 { 00040 FeatureTable* res = new FeatureTable(loc.GetFeatureDef()); 00041 String dir = GetDir(loc); 00042 String ext = ".tab"; 00043 // todo : kill the .tab for after data is renamed on file system 00044 //if (FileNameExt(loc.GetFeatureString()) == "txt") 00045 // ext = ""; 00046 File file = RepFS().GetFile(loc, dir, loc.GetFeatureString() + ext, 00047 false, false); 00048 if (!file.Valid()) 00049 return 0; 00050 Read(res, file); 00051 return res; 00052 }
Here is the call graph for this function:
|