1 #ifndef __bbstdStringSelect_h_INCLUDED__
2 #define __bbstdStringSelect_h_INCLUDED__
4 #include "bbtkUserBlackBox.h"
8 class /*BBTK_EXPORT*/ StringSelect
10 public bbtk::UserBlackBox
12 BBTK_USER_BLACK_BOX_INTERFACE(StringSelect,bbtk::UserBlackBox);
13 BBTK_DECLARE_INPUT(In,int);
14 BBTK_DECLARE_INPUT(In0,std::string);
15 BBTK_DECLARE_INPUT(In1,std::string);
16 BBTK_DECLARE_INPUT(In2,std::string);
17 BBTK_DECLARE_INPUT(In3,std::string);
18 BBTK_DECLARE_INPUT(In4,std::string);
19 BBTK_DECLARE_INPUT(In5,std::string);
20 BBTK_DECLARE_INPUT(In6,std::string);
21 BBTK_DECLARE_INPUT(In7,std::string);
22 BBTK_DECLARE_INPUT(In8,std::string);
23 BBTK_DECLARE_INPUT(In9,std::string);
24 BBTK_DECLARE_OUTPUT(Out,std::string);
25 BBTK_PROCESS(DoProcess);
29 virtual void bbUserConstructor();
33 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StringSelect,bbtk::UserBlackBox);
34 BBTK_NAME("StringSelect");
35 BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
36 BBTK_CATEGORY("misc");
37 BBTK_DESCRIPTION("String selection with 0-9 entries");
38 BBTK_INPUT(StringSelect,In,"Index of the string to select",int);
39 BBTK_INPUT(StringSelect,In0,"String of index 0",std::string);
40 BBTK_INPUT(StringSelect,In1,"String of index 1",std::string);
41 BBTK_INPUT(StringSelect,In2,"String of index 2",std::string);
42 BBTK_INPUT(StringSelect,In3,"String of index 3",std::string);
43 BBTK_INPUT(StringSelect,In4,"String of index 4",std::string);
44 BBTK_INPUT(StringSelect,In5,"String of index 4",std::string);
45 BBTK_INPUT(StringSelect,In6,"String of index 6",std::string);
46 BBTK_INPUT(StringSelect,In7,"String of index 7",std::string);
47 BBTK_INPUT(StringSelect,In8,"String of index 8",std::string);
48 BBTK_INPUT(StringSelect,In9,"String of index 9",std::string);
49 BBTK_OUTPUT(StringSelect,Out,"Selected string",std::string);
50 BBTK_END_DESCRIBE_BLACK_BOX(StringSelect);
54 #endif // __bbstdStringSelect_h_INCLUDED__