]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkFactory.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkFactory.cxx
index 4991eccd505802ec5ac513ed348e21521009d0fe..d2d893c289472a00759da2b5dff0d0a90e1c34e2 100644 (file)
@@ -4,8 +4,8 @@ Program:   bbtk
 Module:    $RCSfile: bbtkFactory.cxx,v $
 Language:  C++
 
-Date:      $Date: 2008/01/29 10:56:03 $
-Version:   $Revision: 1.5 $
+Date:      $Date: 2008/01/30 12:14:43 $
+Version:   $Revision: 1.8 $
                                                                                 
 
 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
@@ -237,7 +237,8 @@ namespace bbtk
            <<pack.mPackage->GetVersion()
            <<" (bbtk "
            <<pack.mPackage->GetBBTKVersion()<<") "
-           <<pack.mPackage->GetAuthor()
+           <<pack.mPackage->GetAuthor() << " Keyword(s) :"
+           <<pack.mPackage->GetKeyword()
            <<std::endl);
         bbtkMessage("Output",2,pack.mPackage->GetDescription()<<std::endl);
     //===================================================================
@@ -298,7 +299,6 @@ namespace bbtk
       return;
     }
 
-
 // =================================================
 // The following structure was checked to work
 // with any type of relative/absolute path.
@@ -320,12 +320,10 @@ namespace bbtk
           bbtkError("Use absolute or relative path name! ["<<name<<"] is an illegal name");
           return;
        }
-       
+
       // std::string path = Utilities::ExpandLibName(upath, verbose);
-       std::string path;
-       if (name[1]!= ':')  // Absolute name, under Windows
-          path = Utilities::ExpandLibName(name, verbose); // keep last item, here.
-          
+       std::string path = Utilities::ExpandLibName(name, verbose); // keep last item, here.
+         
        if (path != "")
        {
           std::string p2;
@@ -548,10 +546,16 @@ namespace bbtk
     if ( i != mPackageMap.end() ) 
       {
       bbtkMessage("Help",1, "Package "<<i->first<<" ");
+      
       if (i->second.mPackage->GetVersion().length()>0)
         bbtkMessageCont("Help",1,"v" <<i->second.mPackage->GetVersion());
+        
       if (i->second.mPackage->GetAuthor().length()>0)
         bbtkMessageCont("Help",1,"- "<<i->second.mPackage->GetAuthor());
+        
+      if (i->second.mPackage->GetKeyword().length()>0)
+        bbtkMessageCont("Help",1,"- "<<i->second.mPackage->GetKeyword());        
+        
       bbtkMessageCont("Help",1,std::endl);
       bbtkIncTab("Help",1);
       bbtkMessage("Help",1,i->second.mPackage->GetDescription()<<std::endl);