]> Creatis software - bbtk.git/blob - packages/std/src/bbstdMakeFileName.h
780ff1c797adbbbaeb2063024b854a793b7c5aab
[bbtk.git] / packages / std / src / bbstdMakeFileName.h
1 #ifndef __bbstdMakeFileName_h_INCLUDED__
2 #define __bbstdMakeFileName_h_INCLUDED__
3
4 #include "bbtkUserBlackBox.h"
5
6 namespace bbstd
7 {
8   class MakeFileName
9     :
10   public bbtk::UserBlackBox
11   {
12     BBTK_USER_BLACK_BOX_INTERFACE(MakeFileName,bbtk::UserBlackBox);
13     BBTK_DECLARE_INPUT(Directory,std::string);
14     BBTK_DECLARE_INPUT(File,std::string);
15     BBTK_DECLARE_INPUT(Extent,std::string);
16     BBTK_DECLARE_OUTPUT(Out,std::string);
17     BBTK_PROCESS(DoProcess);
18     void DoProcess();
19
20   protected:
21     virtual void bbUserConstructor();
22
23   };
24
25   BBTK_BEGIN_DESCRIBE_BLACK_BOX(MakeFileName,bbtk::UserBlackBox);
26   BBTK_NAME("MakeFileName");
27   BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
28   BBTK_DESCRIPTION("Makes a kosher file name");
29   BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string);
30   BBTK_INPUT(MakeFileName,File,"File Name",std::string);
31   BBTK_INPUT(MakeFileName,Extent,"Extention",std::string);
32
33   BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string);
34   BBTK_END_DESCRIBE_BLACK_BOX(MakeFileName);
35
36 }
37 // EO namespace bbstd
38
39 #endif //  __bbstdMakeFileName_h_INCLUDED__