00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __bbstdConcatStrings_h_INCLUDED__
00033 #define __bbstdConcatStrings_h_INCLUDED__
00034
00035 #include "bbtkAtomicBlackBox.h"
00036
00037 namespace bbstd
00038 {
00039 class ConcatStrings
00040 :
00041 public bbtk::AtomicBlackBox
00042 {
00043 BBTK_BLACK_BOX_INTERFACE(ConcatStrings,bbtk::AtomicBlackBox);
00044 BBTK_DECLARE_INPUT(In1, std::string);
00045 BBTK_DECLARE_INPUT(In2, std::string);
00046 BBTK_DECLARE_INPUT(In3, std::string);
00047 BBTK_DECLARE_INPUT(In4, std::string);
00048 BBTK_DECLARE_INPUT(In5, std::string);
00049 BBTK_DECLARE_INPUT(In6, std::string);
00050 BBTK_DECLARE_INPUT(In7, std::string);
00051 BBTK_DECLARE_INPUT(In8, std::string);
00052 BBTK_DECLARE_INPUT(In9, std::string);
00053 BBTK_DECLARE_INPUT(In10,std::string);
00054 BBTK_DECLARE_OUTPUT(Out,std::string);
00055 BBTK_PROCESS(DoProcess);
00056 void DoProcess();
00057
00058 protected:
00059 virtual void bbUserConstructor();
00060 };
00061
00062 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ConcatStrings,bbtk::AtomicBlackBox);
00063 BBTK_NAME("ConcatStrings");
00064 BBTK_AUTHOR("jean-pierre.roux@creatis.insa-lyon.fr");
00065 BBTK_CATEGORY("misc");
00066 BBTK_DESCRIPTION("String concatenation");
00067 BBTK_INPUT(ConcatStrings,In1, "String 1", std::string,"");
00068 BBTK_INPUT(ConcatStrings,In2, "String 2", std::string,"");
00069 BBTK_INPUT(ConcatStrings,In3, "String 3", std::string,"");
00070 BBTK_INPUT(ConcatStrings,In4, "String 4", std::string,"");
00071 BBTK_INPUT(ConcatStrings,In5, "String 5", std::string,"");
00072 BBTK_INPUT(ConcatStrings,In6, "String 6", std::string,"");
00073 BBTK_INPUT(ConcatStrings,In7, "String 7", std::string,"");
00074 BBTK_INPUT(ConcatStrings,In8, "String 8", std::string,"");
00075 BBTK_INPUT(ConcatStrings,In9, "String 9", std::string,"");
00076 BBTK_INPUT(ConcatStrings,In10,"String 10",std::string,"");
00077 BBTK_OUTPUT(ConcatStrings,Out,"Concatenated string",std::string,"");
00078 BBTK_END_DESCRIBE_BLACK_BOX(ConcatStrings);
00079
00080 }
00081
00082
00083 #endif // __bbstdConcatStrings_h_INCLUDED__
00084
00085