template<class ArrayT>
Definition at line 20 of file ReadFile.h. References Impala::FileNameExt(), ILOG_ERROR, ILOG_VAR, ReadJpg(), ReadPng(), and ReadRaw(). 00021 { 00022 ILOG_VAR(Impala.Core.Array.ReadFile); 00023 String nameExt = FileNameExt(fileName, true); 00024 if (nameExt == "raw") 00025 return ReadRaw(dst, fileName, db); 00026 if (nameExt == "jpg") 00027 return ReadJpg(dst, fileName, db); 00028 if (nameExt == "png") 00029 return ReadPng(dst, fileName, db); 00030 ILOG_ERROR("Don't know how to read " << fileName); 00031 }
Here is the call graph for this function:
|