]> Creatis software - bbtk.git/blob - packages/std/src/bbstdDateTime.h
#3476 DateTime box std
[bbtk.git] / packages / std / src / bbstdDateTime.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 __bbstdDateTime_h_INCLUDED__
5 #define __bbstdDateTime_h_INCLUDED__
6
7 #include "bbstd_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 namespace bbstd
12 {
13
14 class bbstd_EXPORT DateTime
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(DateTime,bbtk::AtomicBlackBox);
19 //===== 
20 // 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)
21 //===== 
22 //  BBTK_DECLARE_INPUT(In,double);
23   BBTK_DECLARE_OUTPUT(Date,std::string);
24   BBTK_DECLARE_OUTPUT(Time,std::string);
25   BBTK_PROCESS(Process);
26   void Process();
27 //===== 
28 // 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)
29 //===== 
30 };
31
32 BBTK_BEGIN_DESCRIBE_BLACK_BOX(DateTime,bbtk::AtomicBlackBox);
33   BBTK_NAME("DateTime");
34   BBTK_AUTHOR("InfoDev");
35   BBTK_DESCRIPTION("No Description.");
36   BBTK_CATEGORY("empty");
37 //  BBTK_INPUT(DateTime,In,"First input",double,"");
38   BBTK_OUTPUT(DateTime,Date,"Date",std::string,"");
39   BBTK_OUTPUT(DateTime,Time,"Time",std::string,"");
40 BBTK_END_DESCRIBE_BLACK_BOX(DateTime);
41 //===== 
42 // 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)
43 //===== 
44 }
45 // EO namespace bbstd
46
47 #endif // __bbstdDateTime_h_INCLUDED__
48