]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdAdd.xml
#2951 BBTK Feature New Normal - Replace String box with vector functionality
[bbtk.git] / packages / std / src / bbstdAdd.xml
index 0d388701edb1418dce76ae1bf65a92cd8f874090..a085e87ff6df3e49c22dd81914cd4a0e449f4293 100644 (file)
@@ -2,23 +2,24 @@
 
 <blackbox name="Add">
 
-  <author>laurent.guigues@creatis.insa-lyon.fr</author>
-  <description>Adds its inputs</description>
-  <category>math</category>
+  <author>laurent.guigues@creatis.insa-lyon.fr </author>
+  <description>Adds its inputs                 </description>
+  <category>math                               </category>
 
-  <input name="In1" type="double">First number to add</input>
-  <input name="In2" type="double">Second number to add</input>
-  <output name="Out" type="double">Result</output>
+  <input name="In1"  type="double" description="First number to add"/>
+  <input name="In2"  type="double" description="Second number to add"/>
+  <output name="Out" type="double" description="Result"/>
 
   <process><PRE>
     bbSetOutputOut( bbGetInputIn1() + bbGetInputIn2() );
   </PRE></process>
   
-  <constructor><PRE>
+  <defaultValues><PRE>
     bbSetInputIn1(0);
     bbSetInputIn2(0);
-    bbSetOutputOut(0);
-  </PRE></constructor>    
+    bbSetOutputOut(0);    
+  </PRE></defaultValues> 
 
 </blackbox>
 
+