]> Creatis software - bbtk.git/blob - packages/std/src/bbstdConcatStrings.h
=== MAJOR RELEASE ====
[bbtk.git] / packages / std / src / bbstdConcatStrings.h
1 #ifndef __bbstdConcatStrings_h_INCLUDED__
2 #define __bbstdConcatStrings_h_INCLUDED__
3
4 #include "bbtkAtomicBlackBox.h"
5
6 namespace bbstd
7 {
8   class ConcatStrings
9     : 
10     public bbtk::AtomicBlackBox
11   {
12     BBTK_BLACK_BOX_INTERFACE(ConcatStrings,bbtk::AtomicBlackBox);
13     BBTK_DECLARE_INPUT(In1, std::string);
14     BBTK_DECLARE_INPUT(In2, std::string);
15     BBTK_DECLARE_INPUT(In3, std::string);
16     BBTK_DECLARE_INPUT(In4, std::string);
17     BBTK_DECLARE_INPUT(In5, std::string);
18     BBTK_DECLARE_INPUT(In6, std::string);
19     BBTK_DECLARE_INPUT(In7, std::string);
20     BBTK_DECLARE_INPUT(In8, std::string);
21     BBTK_DECLARE_INPUT(In9, std::string);
22     BBTK_DECLARE_INPUT(In10,std::string);
23     BBTK_DECLARE_OUTPUT(Out,std::string);
24     BBTK_PROCESS(DoProcess);
25     void DoProcess();
26
27   protected:
28     virtual void bbUserConstructor();
29   };
30
31   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ConcatStrings,bbtk::AtomicBlackBox);
32   BBTK_NAME("ConcatStrings");
33   BBTK_AUTHOR("jean-pierre.roux@creatis.insa-lyon.fr");
34   BBTK_CATEGORY("misc");
35   BBTK_DESCRIPTION("String concatenation");
36   BBTK_INPUT(ConcatStrings,In1, "String 1", std::string,"");
37   BBTK_INPUT(ConcatStrings,In2, "String 2", std::string,"");  
38   BBTK_INPUT(ConcatStrings,In3, "String 3", std::string,"");  
39   BBTK_INPUT(ConcatStrings,In4, "String 4", std::string,"");  
40   BBTK_INPUT(ConcatStrings,In5, "String 5", std::string,"");  
41   BBTK_INPUT(ConcatStrings,In6, "String 6", std::string,"");  
42   BBTK_INPUT(ConcatStrings,In7, "String 7", std::string,"");  
43   BBTK_INPUT(ConcatStrings,In8, "String 8", std::string,"");  
44   BBTK_INPUT(ConcatStrings,In9, "String 9", std::string,"");  
45   BBTK_INPUT(ConcatStrings,In10,"String 10",std::string,"");  
46   BBTK_OUTPUT(ConcatStrings,Out,"Concatenated string",std::string,"");
47   BBTK_END_DESCRIBE_BLACK_BOX(ConcatStrings);
48
49 }
50 // EO namespace bbstd
51
52 #endif //  __bbstdConcatStrings_h_INCLUDED__
53
54