]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdStringVectorToNumericalVector.h
*** empty log message ***
[bbtk.git] / packages / std / src / bbstdStringVectorToNumericalVector.h
index 01b25a2239f8fa8ec50cbb67c61422232d5c1a62..a335c698fb26f6d4de791a8bebc2bf7b3241fa82 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbstdStringVectorToNumericalVector.h,v $
   Language:  C++
-  Date:      $Date: 2011/02/28 14:07:09 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2011/04/28 09:27:00 $
+  Version:   $Revision: 1.3 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -54,7 +54,7 @@ namespace bbstd
   //=================================================================
   // BlackBox description
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(StringVectorToNumericalVector,bbtk::AtomicBlackBox);
-  BBTK_NAME("StringVectorTo"+bbtk::HumanTypeName<std::vector<T> >());
+  BBTK_NAME("VectorStringTo"+bbtk::HumanTypeName<std::vector<T> >());
   BBTK_AUTHOR("jpr@creatis.univ-lyon1.fr");
   BBTK_DEFAULT_ADAPTOR();
   BBTK_DESCRIPTION("Converts the content of the input string vector to a "
@@ -74,7 +74,7 @@ namespace bbstd
   template <class T>
   void StringVectorToNumericalVector<T>::DoIt()
   {
-    //  std::cout << "StringVectorToNumericalVector<"<<bbtk::TypeName<T>()<<">::DoIt()"<<std::endl;
+      std::cout << "StringVectorToNumericalVector<"<<bbtk::TypeName<T>()<<">::DoIt()  start "<<std::endl;
     
     typedef T type; 
 
@@ -90,12 +90,15 @@ namespace bbstd
     // bbmOutputOut.clear();   // ? JPR
  
     // just to see // JPR      
-    int lgrOut=this->bbGetOutputOut().size();  
-    for (int j=0; j<lgrOut; j++)
-    {
-       std::cout << this->bbGetOutputOut()[j] << std::endl;    
-    }
+//EED    int lgrOut=this->bbGetOutputOut().size();  
+//EED    for (int j=0; j<lgrOut; j++)
+//EED    {
+//EED       std::cout << this->bbGetOutputOut()[j] << std::endl;    
+//EED    }
     // end just to see // JPR  
+         
+      std::cout << "StringVectorToNumericalVector<"<<bbtk::TypeName<T>()<<">::DoIt()  end "<<std::endl;
+         
   }
   //=================================================================