]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdSetElementVector.h
#3474 bug profile_creatools in Linux/Win32
[bbtk.git] / packages / std / src / bbstdSetElementVector.h
index 5f3286e48b228864b03864c8880716bb43deefdd..48c215c4d9519288cff59bbed6a90cd96f44177b 100644 (file)
@@ -66,7 +66,7 @@ namespace bbstd
   BBTK_DESCRIPTION("Sets the value of the i-element ("+bbtk::TypeName<std::vector<T> >());
   typedef std::vector<T>* pTvector;
   BBTK_TEMPLATE_INPUT(SetElementVector, PVec,"Pointer to Vector",pTvector);
-  BBTK_TEMPLATE_INPUT(SetElementVector, I, "id-element",int);  
+  BBTK_TEMPLATE_INPUT(SetElementVector, I, "id-element (default 0)",int);  
   BBTK_TEMPLATE_INPUT(SetElementVector, Value, "Input Value",T);  
   BBTK_TEMPLATE_OUTPUT(SetElementVector,Vec,"Output Vector",std::vector<T>);
   BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(SetElementVector);
@@ -81,7 +81,7 @@ namespace bbstd
                (*( bbGetInputPVec() ))[ bbGetInputI() ] = bbGetInputValue();
        }
        bbSetOutputVec( *( bbGetInputPVec() ) );
-       bbSignalOutputModification(std::string("Vec")); 
+//     bbSignalOutputModification(std::string("Vec")); 
   }
   //=================================================================
 
@@ -89,7 +89,7 @@ namespace bbstd
   template <class T>
   void SetElementVector<T>::bbUserSetDefaultValues()
   {
-
+       bbSetInputI(0);
   }
   //=================================================================
   //=================================================================