X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdMakeFileName.h;h=c370742af215a51292253b2c76716317fcf7b539;hb=f5db17702a2c51a5933f6c556d070167e4db9cfd;hp=bf61184264e6ee9c7d2e75c92e2cd614f4bc4d7b;hpb=0500d9322df28ddf952e0082d5da47b7a8b69a07;p=bbtk.git diff --git a/packages/std/src/bbstdMakeFileName.h b/packages/std/src/bbstdMakeFileName.h index bf61184..c370742 100644 --- a/packages/std/src/bbstdMakeFileName.h +++ b/packages/std/src/bbstdMakeFileName.h @@ -1,15 +1,15 @@ #ifndef __bbstdMakeFileName_h_INCLUDED__ #define __bbstdMakeFileName_h_INCLUDED__ -#include "bbtkUserBlackBox.h" +#include "bbtkAtomicBlackBox.h" namespace bbstd { class MakeFileName : - public bbtk::UserBlackBox + public bbtk::AtomicBlackBox { - BBTK_USER_BLACK_BOX_INTERFACE(MakeFileName,bbtk::UserBlackBox); + BBTK_USER_BLACK_BOX_INTERFACE(MakeFileName,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(Directory,std::string); BBTK_DECLARE_INPUT(File,std::string); BBTK_DECLARE_INPUT(Extent,std::string); @@ -22,16 +22,16 @@ namespace bbstd }; - BBTK_BEGIN_DESCRIBE_BLACK_BOX(MakeFileName,bbtk::UserBlackBox); + BBTK_BEGIN_DESCRIBE_BLACK_BOX(MakeFileName,bbtk::AtomicBlackBox); BBTK_NAME("MakeFileName"); BBTK_AUTHOR("jpr@creatis.insa-lyon.fr"); BBTK_CATEGORY("misc"); BBTK_DESCRIPTION("Makes a kosher file name"); - BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string); - BBTK_INPUT(MakeFileName,File,"File Name",std::string); - BBTK_INPUT(MakeFileName,Extent,"Extention",std::string); - - BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string); + BBTK_INPUT(MakeFileName,Directory,"Directory Name",std::string); + BBTK_INPUT(MakeFileName,File,"File Name",std::string); + BBTK_INPUT(MakeFileName,Extent,"Extention",std::string); + + BBTK_OUTPUT(MakeFileName,Out,"Full File Name",std::string); BBTK_END_DESCRIBE_BLACK_BOX(MakeFileName); }