]> Creatis software - bbtk.git/commitdiff
Package descr
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 5 Feb 2008 17:01:08 +0000 (17:01 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 5 Feb 2008 17:01:08 +0000 (17:01 +0000)
13 files changed:
packages/std/src/bbstdAdd.xml
packages/std/src/bbstdConcatStrings.cxx
packages/std/src/bbstdConcatStrings.h
packages/std/src/bbstdConfiguration.cxx
packages/std/src/bbstdConfiguration.h
packages/std/src/bbstdMagicBox.h
packages/std/src/bbstdMakeFileName.h
packages/std/src/bbstdRelay.h
packages/std/src/bbstdStringSelect.h
packages/std/src/bbstdStringTo.h
packages/std/src/bbstdStringToVector.h
packages/std/src/bbstdToString.h
packages/std/src/bbstdVectorToString.h

index e865a8c3b3da927869e9727ddc138ba36a793905..db3b9a106c7e4f8c4ef49f3b18a08932ba707e56 100644 (file)
@@ -4,6 +4,7 @@
 
   <author>laurent.guigues@creatis.insa-lyon.fr</author>
   <description>Adds its inputs</description>
+  <category>math</category>
 
   <parentblackbox>bbtk::UserBlackBox</parentblackbox>
   <package>std</package>
index 5ca9c5f97f1be41c60540566dcbf5bf791222d0a..99936455fe13b39603c23ce14bbe295d4f7208c0 100644 (file)
@@ -3,7 +3,6 @@
 
 namespace bbstd
 {
-
        BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,ConcatStrings)
        BBTK_USER_BLACK_BOX_IMPLEMENTATION(ConcatStrings,bbtk::UserBlackBox);
 
index 9c2ea9b16fb4966af7400d2266a78b0a8ef61fbb..deb62cd94efebcaaed1f305d80c4b304ceb1987c 100644 (file)
@@ -5,7 +5,6 @@
 
 namespace bbstd
 {
-
   class ConcatStrings
     : 
     public bbtk::UserBlackBox
@@ -27,12 +26,12 @@ namespace bbstd
 
   protected:
     virtual void bbUserConstructor();
-
   };
 
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ConcatStrings,bbtk::UserBlackBox);
   BBTK_NAME("ConcatStrings");
-  BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
+  BBTK_AUTHOR("jean-pierre.roux@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("misc");
   BBTK_DESCRIPTION("String concatenation");
     BBTK_INPUT(ConcatStrings,In1, "String 1", std::string);
     BBTK_INPUT(ConcatStrings,In2, "String 2", std::string);  
index 8fab8fe47f525b5a4b01ca15900163758529ab54..89029b9c45462ae73a61b9886433d336f0e39dcd 100644 (file)
@@ -4,7 +4,6 @@
 #include "bbtkConfigurationFile.h"
 namespace bbstd
 {
-
        BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration)
        BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::UserBlackBox);
 
@@ -13,7 +12,6 @@ namespace bbstd
 
    }
 
-
        void Configuration::DoProcess()
        {
       bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() );
@@ -30,5 +28,3 @@ namespace bbstd
        }
 }
 // EO namespace bbstd
-
-
index 6d8834415973ec201d06f0eb31bd03ecfaf5a2bc..f0b048d5c1600c5929d5a359627e04b61a850b7d 100644 (file)
@@ -5,7 +5,6 @@
 
 namespace bbstd
 {
-
   class Configuration
     : 
     public bbtk::UserBlackBox
@@ -25,15 +24,13 @@ namespace bbstd
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(Configuration,bbtk::UserBlackBox);
   BBTK_NAME("Configuration");
   BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("misc");
   BBTK_DESCRIPTION("Gets configuration informations");
     BBTK_OUTPUT(Configuration,DataPath,"Sample Data Path",std::string);
     BBTK_OUTPUT(Configuration,FileSeparator,"/ or \\",std::string);  
     BBTK_OUTPUT(Configuration,SystemType,"0=Linux 1=Windows",int);  
   BBTK_END_DESCRIBE_BLACK_BOX(Configuration);
-
 }
 // EO namespace bbstd
 
 #endif //  __bbstdConfiguration_h_INCLUDED__
-
-
index 5c70c64e896dbbcaac34c8e4b76b30e6f451637d..c4226c9b8fdacd839b39f6ab7c895d3877a6b253 100644 (file)
@@ -5,15 +5,14 @@
 
 namespace bbstd
 {
-  
   //==================================================================
-  class /*BBTK_EXPORT*/ MagicBox
+  class MagicBox
     : 
     public bbtk::UserBlackBox
   {
     BBTK_USER_BLACK_BOX_INTERFACE(MagicBox,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(In,bbtk::Data);
-    BBTK_DECLARE_OUTPUT(Out,bbtk::Data);
+       BBTK_DECLARE_INPUT(In,bbtk::Data);
+       BBTK_DECLARE_OUTPUT(Out,bbtk::Data);
     BBTK_PROCESS(DoProcess);
     void DoProcess() { bbSetOutputOut( bbGetInputIn() ); }
     
@@ -63,17 +62,17 @@ namespace bbstd
   //===========================================================================
 
 
-
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(MagicBox,bbtk::UserBlackBox);
   BBTK_NAME("MagicBox");
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("adaptor");
   BBTK_DESCRIPTION("MagicBox");
-  AddInputDescriptor(new bbtk::UserBlackBoxInputDescriptor             
+     AddInputDescriptor(new bbtk::UserBlackBoxInputDescriptor
                     ("In","Input data",
                      new bbtk::UserBlackBoxTGetFunctor<MagicBox,bbtk::Data,bbtk::Data>
                      (&MagicBox::bbGetInputIn),
                      new MagicBoxSetFunctor (&MagicBox::bbSetInputIn) ) );
-  AddOutputDescriptor(new bbtk::UserBlackBoxOutputDescriptor           
+     AddOutputDescriptor(new bbtk::UserBlackBoxOutputDescriptor
                      ("Out","Output data",
                       new bbtk::UserBlackBoxTGetFunctor<MagicBox,bbtk::Data,bbtk::Data>
                       (&MagicBox::bbGetOutputOut),
index 780ff1c797adbbbaeb2063024b854a793b7c5aab..bf61184264e6ee9c7d2e75c92e2cd614f4bc4d7b 100644 (file)
@@ -10,10 +10,10 @@ namespace bbstd
   public bbtk::UserBlackBox
   {
     BBTK_USER_BLACK_BOX_INTERFACE(MakeFileName,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(Directory,std::string);
-    BBTK_DECLARE_INPUT(File,std::string);
-    BBTK_DECLARE_INPUT(Extent,std::string);
-    BBTK_DECLARE_OUTPUT(Out,std::string);
+       BBTK_DECLARE_INPUT(Directory,std::string);
+       BBTK_DECLARE_INPUT(File,std::string);
+       BBTK_DECLARE_INPUT(Extent,std::string);
+       BBTK_DECLARE_OUTPUT(Out,std::string);
     BBTK_PROCESS(DoProcess);
     void DoProcess();
 
@@ -25,12 +25,13 @@ namespace bbstd
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(MakeFileName,bbtk::UserBlackBox);
   BBTK_NAME("MakeFileName");
   BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("misc");
   BBTK_DESCRIPTION("Makes a kosher file name");
-  BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string);
-  BBTK_INPUT(MakeFileName,File,"File Name",std::string);
-  BBTK_INPUT(MakeFileName,Extent,"Extention",std::string);
+     BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string);
+     BBTK_INPUT(MakeFileName,File,"File Name",std::string);
+     BBTK_INPUT(MakeFileName,Extent,"Extention",std::string);
 
-  BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string);
+     BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string);
   BBTK_END_DESCRIBE_BLACK_BOX(MakeFileName);
 
 }
index b41c9f4c3c74747cc20f03ab8b6d34af136a43be..b44cb25a0846c8ab1a2ee8c4a15a028c23f6d5e0 100644 (file)
@@ -5,29 +5,27 @@
 
 namespace bbstd
 {
-  
   template <class T>
-  class /*BBTK_EXPORT*/ Relay
-    : 
+  class Relay
+    :
     public bbtk::UserBlackBox
   {
     BBTK_USER_BLACK_BOX_INTERFACE(Relay,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(In,T);
-    BBTK_DECLARE_OUTPUT(Out,T);
+       BBTK_DECLARE_INPUT(In,T);
+       BBTK_DECLARE_OUTPUT(Out,T);
     BBTK_PROCESS(Process);
   protected:
     void Process() { bbSetOutputOut ( bbGetInputIn() ); }
   };
-  
 
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(Relay);
   BBTK_NAME(bbtk::HumanTypeName<T>()+"Relay");
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("misc");
   BBTK_DESCRIPTION("Relays a "+bbtk::TypeName<T>());
-  BBTK_TEMPLATE_INPUT(Relay,In,"Input",T);
-  BBTK_TEMPLATE_OUTPUT(Relay,Out,"Output",T);
+     BBTK_TEMPLATE_INPUT(Relay,In,"Input",T);
+     BBTK_TEMPLATE_OUTPUT(Relay,Out,"Output",T);
   BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(Relay);
-
 }
 // namespace bbstd
 
index 18c5d21bfa22e0384d25c51b107d1ddebcad24ad..fe3ebaf58fc391a2817e418814991ca64b3cc307 100644 (file)
@@ -5,24 +5,23 @@
 
 namespace bbstd
 {
-
   class /*BBTK_EXPORT*/ StringSelect
     : 
     public bbtk::UserBlackBox
   {
     BBTK_USER_BLACK_BOX_INTERFACE(StringSelect,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(In,int);
-    BBTK_DECLARE_INPUT(In0,std::string);
-    BBTK_DECLARE_INPUT(In1,std::string);
-    BBTK_DECLARE_INPUT(In2,std::string);
-    BBTK_DECLARE_INPUT(In3,std::string);
-    BBTK_DECLARE_INPUT(In4,std::string);
-    BBTK_DECLARE_INPUT(In5,std::string);
-    BBTK_DECLARE_INPUT(In6,std::string);
-    BBTK_DECLARE_INPUT(In7,std::string);
-    BBTK_DECLARE_INPUT(In8,std::string);
-    BBTK_DECLARE_INPUT(In9,std::string);
-    BBTK_DECLARE_OUTPUT(Out,std::string);
+      BBTK_DECLARE_INPUT(In,int);
+      BBTK_DECLARE_INPUT(In0,std::string);
+      BBTK_DECLARE_INPUT(In1,std::string);
+      BBTK_DECLARE_INPUT(In2,std::string);
+      BBTK_DECLARE_INPUT(In3,std::string);
+      BBTK_DECLARE_INPUT(In4,std::string);
+      BBTK_DECLARE_INPUT(In5,std::string);
+      BBTK_DECLARE_INPUT(In6,std::string);
+      BBTK_DECLARE_INPUT(In7,std::string);
+      BBTK_DECLARE_INPUT(In8,std::string);
+      BBTK_DECLARE_INPUT(In9,std::string);
+      BBTK_DECLARE_OUTPUT(Out,std::string);
     BBTK_PROCESS(DoProcess);
     void DoProcess();
 
@@ -34,21 +33,21 @@ namespace bbstd
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(StringSelect,bbtk::UserBlackBox);
   BBTK_NAME("StringSelect");
   BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("misc");
   BBTK_DESCRIPTION("String selection with 0-9 entries");
-  BBTK_INPUT(StringSelect,In,"Index of the string to select",int);
-  BBTK_INPUT(StringSelect,In0,"String of index 0",std::string);
-  BBTK_INPUT(StringSelect,In1,"String of index 1",std::string);
-  BBTK_INPUT(StringSelect,In2,"String of index 2",std::string);
-  BBTK_INPUT(StringSelect,In3,"String of index 3",std::string);
-  BBTK_INPUT(StringSelect,In4,"String of index 4",std::string);
-  BBTK_INPUT(StringSelect,In5,"String of index 4",std::string);
-  BBTK_INPUT(StringSelect,In6,"String of index 6",std::string);
-  BBTK_INPUT(StringSelect,In7,"String of index 7",std::string);
-  BBTK_INPUT(StringSelect,In8,"String of index 8",std::string);
-  BBTK_INPUT(StringSelect,In9,"String of index 9",std::string);
-  BBTK_OUTPUT(StringSelect,Out,"Selected string",std::string);
+    BBTK_INPUT(StringSelect,In,"Index of the string to select",int);
+    BBTK_INPUT(StringSelect,In0,"String of index 0",std::string);
+    BBTK_INPUT(StringSelect,In1,"String of index 1",std::string);
+    BBTK_INPUT(StringSelect,In2,"String of index 2",std::string);
+    BBTK_INPUT(StringSelect,In3,"String of index 3",std::string);
+    BBTK_INPUT(StringSelect,In4,"String of index 4",std::string);
+    BBTK_INPUT(StringSelect,In5,"String of index 4",std::string);
+    BBTK_INPUT(StringSelect,In6,"String of index 6",std::string);
+    BBTK_INPUT(StringSelect,In7,"String of index 7",std::string);
+    BBTK_INPUT(StringSelect,In8,"String of index 8",std::string);
+    BBTK_INPUT(StringSelect,In9,"String of index 9",std::string);
+    BBTK_OUTPUT(StringSelect,Out,"Selected string",std::string);
   BBTK_END_DESCRIBE_BLACK_BOX(StringSelect);
-
 }
 // EO namespace bbstd
 
index 13ec026e2cad6601b0683353f7bb410f444bbd7d..748a4391de8f20f12a10345abedc4184c30a4601 100644 (file)
@@ -3,43 +3,34 @@
 
 #include "bbtkUserBlackBox.h"
 
-
 namespace bbstd 
-{
-
+{ 
   //=================================================================
   // UserBlackBox declaration
   template <class T>
   class StringTo : public bbtk::UserBlackBox
   {  
     BBTK_USER_BLACK_BOX_INTERFACE(StringTo,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(In,std::string);
-    BBTK_DECLARE_OUTPUT(Out,T);
+       BBTK_DECLARE_INPUT(In,std::string);
+       BBTK_DECLARE_OUTPUT(Out,T);
     BBTK_PROCESS(DoIt);
     void DoIt(); 
   };
+    
   //=================================================================
   
-  
-  
-  
-  //=================================================================
   // UserBlackBox description
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(StringTo);
   BBTK_NAME("StringTo"+bbtk::HumanTypeName<T>());
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("adaptor");
   BBTK_DEFAULT_ADAPTOR();
   BBTK_DESCRIPTION("Converts the content of the input string to a "+bbtk::TypeName<T>());
-  BBTK_TEMPLATE_INPUT(StringTo, In,"Input",std::string);
-  BBTK_TEMPLATE_OUTPUT(StringTo, Out,"Output",T);
+     BBTK_TEMPLATE_INPUT(StringTo, In,"Input",std::string);
+     BBTK_TEMPLATE_OUTPUT(StringTo, Out,"Output",T);
   BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(StringTo);
   //=================================================================
   
 } // namespace bbstd
 
 #endif // __bbstdStringTo_h_INCLUDED__
-
-
-
-
index cd39769bf02bb28ca0165b5b7f1807dccaca84ee..bbb6de1b015338642ad7bff91060355b7dca1dfb 100644 (file)
@@ -5,39 +5,35 @@
 
 namespace bbstd
 {
-
 //=================================================================
 // UserBlackBox declaration
 template <class T>
 class StringToVector : public bbtk::UserBlackBox
 {  
   BBTK_USER_BLACK_BOX_INTERFACE(StringToVector,bbtk::UserBlackBox);
-  BBTK_DECLARE_INPUT(In,std::string);
-  BBTK_DECLARE_OUTPUT(Out,std::vector<T>);
+    BBTK_DECLARE_INPUT(In,std::string);
+    BBTK_DECLARE_OUTPUT(Out,std::vector<T>);
   BBTK_PROCESS(DoIt);
   void DoIt(); 
   T decode_item(const std::string&);
 };
-//=================================================================
-
 
 //=================================================================
 // UserBlackBox description
-BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(StringToVector);
-BBTK_NAME("StringTo"+bbtk::TypeName<std::vector<T> >());
-BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
-BBTK_DEFAULT_ADAPTOR();
-BBTK_DESCRIPTION("Converts the content of the input string to a "+bbtk::TypeName<std::vector<T> >());
-BBTK_TEMPLATE_INPUT(StringToVector, In,"Input",std::string);
-typedef std::vector<T> Tvector;
-BBTK_TEMPLATE_OUTPUT(StringToVector, Out,"Output",Tvector);
-BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(StringToVector);
-//=================================================================
-
-
+  BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(StringToVector);
+  BBTK_NAME("StringTo"+bbtk::TypeName<std::vector<T> >());
+  BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("adaptor");
+  BBTK_DEFAULT_ADAPTOR();
+  BBTK_DESCRIPTION("Converts the content of the input string to a "+bbtk::TypeName<std::vector<T> >());
+    BBTK_TEMPLATE_INPUT(StringToVector, In,"Input",std::string);
+    typedef std::vector<T> Tvector;
+    BBTK_TEMPLATE_OUTPUT(StringToVector, Out,"Output",Tvector);
+  BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(StringToVector);
 
 //=================================================================
+
 template <class T>
 void StringToVector<T>::DoIt()
 {
@@ -71,4 +67,3 @@ void StringToVector<T>::DoIt()
 } // namespace bbstd
 
 #endif //__bbstdStringToVector_INCLUDED_h__
-
index 31c330d743cb14defd3dc45efe5ed5d7d14acbd3..8b887d2fa29bbff373cee724aa58c695bccba279 100644 (file)
@@ -4,33 +4,30 @@
 #include "bbtkUserBlackBox.h"
 
 namespace bbstd 
-{
-  
+{  
   //=================================================================
   // UserBlackBox declaration
   template <class T>
   class ToString : public bbtk::UserBlackBox
   {  
     BBTK_USER_BLACK_BOX_INTERFACE(ToString,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(In,T);
-    BBTK_DECLARE_OUTPUT(Out,std::string);
+      BBTK_DECLARE_INPUT(In,T);
+      BBTK_DECLARE_OUTPUT(Out,std::string);
     BBTK_PROCESS(DoIt);
     void DoIt(); 
   };
-  //=================================================================
-  
-  
-  
   
   //=================================================================
+
   // UserBlackBox description
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(ToString);
   BBTK_NAME(bbtk::TypeName<T>()+"ToString");
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("adaptor");
   BBTK_DEFAULT_ADAPTOR();
   BBTK_DESCRIPTION("Converts a "+bbtk::TypeName<T>()+" into a string");
-  BBTK_TEMPLATE_INPUT(ToString, In,"Input",T);
-  BBTK_TEMPLATE_OUTPUT(ToString, Out,"Output",std::string);
+    BBTK_TEMPLATE_INPUT(ToString, In,"Input",T);
+    BBTK_TEMPLATE_OUTPUT(ToString, Out,"Output",std::string);
   BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(ToString);
   //=================================================================
   
index 3c28ff1583e05cce812b7a8e4653e4127484a697..f5fc510daa1040896c8e241d0e38202cc2ad3e97 100644 (file)
@@ -5,58 +5,55 @@
 
 namespace bbstd
 {
-
   //=================================================================
   // UserBlackBox declaration
   template <class T>
   class VectorToString : public bbtk::UserBlackBox
   {  
     BBTK_USER_BLACK_BOX_INTERFACE(VectorToString,bbtk::UserBlackBox);
-    BBTK_DECLARE_INPUT(In,std::vector<T>);
-    BBTK_DECLARE_INPUT(Separator,std::string);
-    BBTK_DECLARE_OUTPUT(Out,std::string);
+      BBTK_DECLARE_INPUT(In,std::vector<T>);
+      BBTK_DECLARE_INPUT(Separator,std::string);
+      BBTK_DECLARE_OUTPUT(Out,std::string);
     BBTK_PROCESS(DoIt);
     void DoIt(); 
     virtual void bbUserConstructor();
   };
+
   //=================================================================
-  
-  
-  
-  //=================================================================
+
   // UserBlackBox description
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(VectorToString);
   BBTK_NAME(bbtk::TypeName<std::vector<T> >()+"ToString");
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+  BBTK_CATEGORY("adaptor");
   BBTK_DEFAULT_ADAPTOR();
   BBTK_DESCRIPTION("Converts the content of the input vector ("+bbtk::TypeName<std::vector<T> >()+") to a string in which each item is separated by the value of the input 'Separator'");
-  typedef std::vector<T> Tvector;
-  BBTK_TEMPLATE_INPUT(VectorToString, In,"Input",Tvector);
-  BBTK_TEMPLATE_INPUT(VectorToString, Separator,"Separator of item in the output string. Default is whitespace.",std::string);
-  BBTK_TEMPLATE_OUTPUT(VectorToString, Out,"Output",std::string);
+    typedef std::vector<T> Tvector;
+    BBTK_TEMPLATE_INPUT(VectorToString, In,"Input",Tvector);
+    BBTK_TEMPLATE_INPUT(VectorToString, Separator,"Separator of item in the output string. Default is whitespace.",std::string);
+    BBTK_TEMPLATE_OUTPUT(VectorToString, Out,"Output",std::string);
   BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(VectorToString);
-  //=================================================================
-  
-
   
   //=================================================================
+
   template <class T>
   void VectorToString<T>::DoIt()
   {
     std::string out;
     typename std::vector<T>::const_iterator i;
     for (i=bbmInputIn.begin();i!=bbmInputIn.end();++i)
-      {
-       if (i!=bbmInputIn.begin()) out += bbGetInputSeparator();
-       std::ostringstream s;                           
-       s <<  *i;
-       out += s.str();
-      }
+    {
+      if (i!=bbmInputIn.begin())
+         out += bbGetInputSeparator();
+      std::ostringstream s;
+      s <<  *i;
+      out += s.str();
+    }
     bbSetOutputOut(out);
   }
-  //=================================================================
   
   //=================================================================
+  
   template <class T>
   void VectorToString<T>::bbUserConstructor()
   {