Definition at line 63 of file Mpeg7DocRepositoryInFile.h. References Impala::FileNameConcat(), Impala::Persistency::Mpeg7DocLocator::GetContainer(), Impala::Persistency::Mpeg7DocLocator::GetDocType(), ILOG_ERROR, Impala::Persistency::Mpeg7DocLocator::MPEG7_ANNOTATION, Impala::Persistency::Mpeg7DocLocator::MPEG7_CONCEPT, Impala::Persistency::Mpeg7DocLocator::MPEG7_FEATURE, Impala::Persistency::Mpeg7DocLocator::MPEG7_PLAIN, and Impala::Persistency::Mpeg7DocLocator::MPEG7_SHOT. Referenced by Add(), Exists(), and Get(). 00064 { 00065 String dir("unknown"); 00066 if (loc.GetDocType() == Mpeg7DocLocator::MPEG7_PLAIN) 00067 dir = ""; 00068 else if (loc.GetDocType() == Mpeg7DocLocator::MPEG7_SHOT) 00069 dir = "MetaData/shots/"; 00070 else if (loc.GetDocType() == Mpeg7DocLocator::MPEG7_CONCEPT) 00071 dir = "MetaData/shots/"; 00072 else if (loc.GetDocType() == Mpeg7DocLocator::MPEG7_ANNOTATION) 00073 dir = "MetaData/annotations/"; 00074 else if (loc.GetDocType() == Mpeg7DocLocator::MPEG7_FEATURE) 00075 dir = "MetaData/features/"; 00076 else 00077 ILOG_ERROR("GetDir: unknown type in locator"); 00078 dir = FileNameConcat(dir, loc.GetContainer()); 00079 return dir; 00080 }
Here is the call graph for this function:
|