00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __bbstdMakeFileName_h_INCLUDED__
00033 #define __bbstdMakeFileName_h_INCLUDED__
00034
00035 #include "bbtkAtomicBlackBox.h"
00036
00037 namespace bbstd
00038 {
00039 class MakeFileName
00040 :
00041 public bbtk::AtomicBlackBox
00042 {
00043 BBTK_BLACK_BOX_INTERFACE(MakeFileName,bbtk::AtomicBlackBox);
00044 BBTK_DECLARE_INPUT(Directory, std::string);
00045 BBTK_DECLARE_INPUT(File, std::string);
00046 BBTK_DECLARE_INPUT(Extent, std::string);
00047 BBTK_DECLARE_OUTPUT(Out, std::string);
00048 BBTK_PROCESS(DoProcess);
00049 void DoProcess();
00050
00051 protected:
00052 virtual void bbUserConstructor();
00053
00054 };
00055
00056 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MakeFileName,bbtk::AtomicBlackBox);
00057 BBTK_NAME("MakeFileName");
00058 BBTK_AUTHOR("jpr@creatis.insa-lyon.fr");
00059 BBTK_CATEGORY("misc");
00060 BBTK_DESCRIPTION("Makes a kosher file name");
00061 BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string,"directory name");
00062 BBTK_INPUT(MakeFileName,File, "File Name", std::string,"file name");
00063 BBTK_INPUT(MakeFileName,Extent, "Extention", std::string,"file extension");
00064
00065 BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string,"file name");
00066 BBTK_END_DESCRIBE_BLACK_BOX(MakeFileName);
00067
00068 }
00069
00070
00071 #endif // __bbstdMakeFileName_h_INCLUDED__