]> Creatis software - bbtk.git/blob - packages/std/src/bbstdStringWriter.h
1043d6860a5598ecf3a6d034384a5ac9daaa18aa
[bbtk.git] / packages / std / src / bbstdStringWriter.h
1 //===== 
2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
3 //===== 
4 #ifndef __bbstdStringWriter_h_INCLUDED__
5 #define __bbstdStringWriter_h_INCLUDED__
6 #include "bbstd_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbstd
11 {
12
13 class bbstd_EXPORT StringWriter
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(StringWriter,bbtk::AtomicBlackBox);
18 //===== 
19 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
20 //===== 
21         BBTK_DECLARE_INPUT(In0,std::string);
22         BBTK_DECLARE_INPUT(In1,std::string);
23         BBTK_DECLARE_INPUT(In2,std::string);
24         BBTK_DECLARE_INPUT(In3,std::string);
25         BBTK_DECLARE_INPUT(In4,std::string);
26         BBTK_DECLARE_INPUT(In5,std::string);
27         BBTK_DECLARE_INPUT(In6,std::string);
28         BBTK_DECLARE_INPUT(In7,std::string);
29         BBTK_DECLARE_INPUT(In8,std::string);
30         BBTK_DECLARE_INPUT(In9,std::string);
31         BBTK_DECLARE_INPUT(FileName,std::string);
32 //  BBTK_DECLARE_OUTPUT(Out,double);
33   BBTK_PROCESS(Process);
34   void Process();
35 //===== 
36 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StringWriter,bbtk::AtomicBlackBox);
41         BBTK_NAME("StringWriter");  
42         BBTK_AUTHOR("Info-Dev Creatis");
43         BBTK_DESCRIPTION("Write a string in a file"); 
44         BBTK_CATEGORY("read/write");
45         BBTK_INPUT(StringWriter,In0,"String to be write",std::string,"");
46         BBTK_INPUT(StringWriter,In1,"String to be write",std::string,"");
47         BBTK_INPUT(StringWriter,In2,"String to be write",std::string,"");
48         BBTK_INPUT(StringWriter,In3,"String to be write",std::string,"");
49         BBTK_INPUT(StringWriter,In4,"String to be write",std::string,"");
50         BBTK_INPUT(StringWriter,In5,"String to be write",std::string,"");
51         BBTK_INPUT(StringWriter,In6,"String to be write",std::string,"");
52         BBTK_INPUT(StringWriter,In7,"String to be write",std::string,"");
53         BBTK_INPUT(StringWriter,In8,"String to be write",std::string,"");
54         BBTK_INPUT(StringWriter,In9,"String to be write",std::string,"");
55         BBTK_INPUT(StringWriter,FileName,"Output file name",std::string,"");
56 //  BBTK_OUTPUT(StringWriter,Out,"First output",double,"");
57 BBTK_END_DESCRIBE_BLACK_BOX(StringWriter);
58 //===== 
59 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
60 //===== 
61 }
62 // EO namespace bbstd
63
64 #endif // __bbstdStringWriter_h_INCLUDED__
65