X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdSplitFilePathVector.h;fp=packages%2Fstd%2Fsrc%2FbbstdSplitFilePathVector.h;h=8e71238bc76e16faffb8af2b708ac6659875ed97;hb=427d8c0ac838ab789a57b28f62a7f9ff243e7b60;hp=0000000000000000000000000000000000000000;hpb=c2d2ccbc4bac635e5d0b802d9830efd94b060dab;p=bbtk.git diff --git a/packages/std/src/bbstdSplitFilePathVector.h b/packages/std/src/bbstdSplitFilePathVector.h new file mode 100644 index 0000000..8e71238 --- /dev/null +++ b/packages/std/src/bbstdSplitFilePathVector.h @@ -0,0 +1,56 @@ +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +#ifndef __bbstdSplitFilePathVector_h_INCLUDED__ +#define __bbstdSplitFilePathVector_h_INCLUDED__ +#include "bbstd_EXPORT.h" +#include "bbtkAtomicBlackBox.h" +#include "iostream" + +namespace bbstd +{ + +class bbstd_EXPORT SplitFilePathVector + : + public bbtk::AtomicBlackBox +{ + BBTK_BLACK_BOX_INTERFACE(SplitFilePathVector,bbtk::AtomicBlackBox); +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== + BBTK_DECLARE_INPUT(In,std::vector); + BBTK_DECLARE_OUTPUT(Path,std::vector); + BBTK_DECLARE_OUTPUT(BaseName,std::vector); + BBTK_DECLARE_OUTPUT(Ext,std::vector); + BBTK_DECLARE_OUTPUT(FileName,std::vector); + BBTK_DECLARE_OUTPUT(Slash,std::string); + BBTK_PROCESS(Process); + void Process(); +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +}; + +BBTK_BEGIN_DESCRIBE_BLACK_BOX(SplitFilePathVector,bbtk::AtomicBlackBox); + BBTK_NAME("SplitFilePathVector"); + BBTK_AUTHOR("Info-Dev"); + BBTK_DESCRIPTION("No Description."); + BBTK_CATEGORY("empty"); + + BBTK_INPUT(SplitFilePathVector,In,"PathFileName",std::vector,""); + + BBTK_OUTPUT(SplitFilePathVector,Path,"Path",std::vector,""); + BBTK_OUTPUT(SplitFilePathVector,BaseName,"Base Name",std::vector,""); + BBTK_OUTPUT(SplitFilePathVector,Ext,"Extention",std::vector,""); + BBTK_OUTPUT(SplitFilePathVector,FileName,"File Name",std::vector,""); + BBTK_OUTPUT(SplitFilePathVector,Slash,"Slash Linux or Back slash Windows",std::string,""); + +BBTK_END_DESCRIBE_BLACK_BOX(SplitFilePathVector); +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +} +// EO namespace bbstd + +#endif // __bbstdSplitFilePathVector_h_INCLUDED__ +