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

MakeIxsDocument.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_ImageSet_MakeIxsDocument_h
00002 #define Impala_Core_ImageSet_MakeIxsDocument_h
00003 
00004 #include "Core/ImageSet/MakeImageSet.h"
00005 #include "Core/ImageSet/IxsDocument.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace ImageSet
00012 {
00013 
00014 
00015 inline IxsDocument*
00016 MakeIxsDocument(std::string fileName)
00017 {
00018     ImageSet* imSet = MakeImageSet(fileName);
00019     IxsDocument* ixsDoc = new IxsDocument(imSet);
00020     if (FileNameExt(fileName) == "ixs")
00021         ixsDoc->LoadBookmarked(fileName);
00022     return ixsDoc;
00023 }
00024 
00025 } // namespace ImageSet
00026 } // namespace Core
00027 } // namespace Impala
00028 
00029 #endif

Generated on Fri Mar 19 09:31:14 2010 for ImpalaSrc by  doxygen 1.5.1