1 #ifndef __bbstdConfiguration_h_INCLUDED__
2 #define __bbstdConfiguration_h_INCLUDED__
4 #include "bbtkAtomicBlackBox.h"
10 public bbtk::AtomicBlackBox
12 BBTK_USER_BLACK_BOX_INTERFACE(Configuration,bbtk::AtomicBlackBox);
13 BBTK_DECLARE_OUTPUT(BinPath,std::string);
14 BBTK_DECLARE_OUTPUT(DataPath,std::string);
15 BBTK_DECLARE_OUTPUT(DocPath,std::string);
16 BBTK_DECLARE_OUTPUT(FileSeparator,std::string);
17 BBTK_DECLARE_OUTPUT(SystemType,int);
18 BBTK_PROCESS(DoProcess);
22 virtual void bbUserConstructor();
26 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Configuration,bbtk::AtomicBlackBox);
27 BBTK_NAME("Configuration");
28 BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
29 BBTK_CATEGORY("misc");
30 BBTK_DESCRIPTION("Gets configuration informations");
31 BBTK_OUTPUT(Configuration,BinPath,"Binaries path",std::string);
32 BBTK_OUTPUT(Configuration,DataPath,"Data path",std::string);
33 BBTK_OUTPUT(Configuration,DocPath,"Documentation path",std::string);
34 BBTK_OUTPUT(Configuration,FileSeparator,"/ or \\",std::string);
35 BBTK_OUTPUT(Configuration,SystemType,"0=Linux 1=Windows",int);
36 BBTK_END_DESCRIBE_BLACK_BOX(Configuration);
40 #endif // __bbstdConfiguration_h_INCLUDED__