]> Creatis software - bbtk.git/blob - packages/std/src/bbstdMakeFileName.h
=== MAJOR RELEASE ====
[bbtk.git] / packages / std / src / bbstdMakeFileName.h
1 #ifndef __bbstdMakeFileName_h_INCLUDED__
2 #define __bbstdMakeFileName_h_INCLUDED__
3
4 #include "bbtkAtomicBlackBox.h"
5
6 namespace bbstd
7 {
8   class MakeFileName
9     :
10   public bbtk::AtomicBlackBox
11   {
12     BBTK_BLACK_BOX_INTERFACE(MakeFileName,bbtk::AtomicBlackBox);
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::AtomicBlackBox);
26   BBTK_NAME("MakeFileName");
27   BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
28   BBTK_CATEGORY("misc");
29   BBTK_DESCRIPTION("Makes a kosher file name");
30   BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string,"directory name");
31   BBTK_INPUT(MakeFileName,File,"File Name",std::string,"file name");
32   BBTK_INPUT(MakeFileName,Extent,"Extention",std::string,"file extension");
33   
34   BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string,"file name");
35   BBTK_END_DESCRIBE_BLACK_BOX(MakeFileName);
36
37 }
38 // EO namespace bbstd
39
40 #endif //  __bbstdMakeFileName_h_INCLUDED__