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

template<class ArrayT>
void Impala::Core::Array::ReadFile ( ArrayT *&  dst,
String  fileName,
Util::Database *  db 
) [inline]

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:


Generated on Fri Mar 19 10:58:01 2010 for ImpalaSrc by  doxygen 1.5.1