]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdSplitFilePathVector.h
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / packages / std / src / bbstdSplitFilePathVector.h
diff --git a/packages/std/src/bbstdSplitFilePathVector.h b/packages/std/src/bbstdSplitFilePathVector.h
new file mode 100644 (file)
index 0000000..8e71238
--- /dev/null
@@ -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<std::string>);
+  BBTK_DECLARE_OUTPUT(Path,std::vector<std::string>);
+  BBTK_DECLARE_OUTPUT(BaseName,std::vector<std::string>);
+  BBTK_DECLARE_OUTPUT(Ext,std::vector<std::string>);
+  BBTK_DECLARE_OUTPUT(FileName,std::vector<std::string>);
+  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<std::string>,"");
+
+  BBTK_OUTPUT(SplitFilePathVector,Path,"Path",std::vector<std::string>,"");
+  BBTK_OUTPUT(SplitFilePathVector,BaseName,"Base Name",std::vector<std::string>,"");
+  BBTK_OUTPUT(SplitFilePathVector,Ext,"Extention",std::vector<std::string>,"");
+  BBTK_OUTPUT(SplitFilePathVector,FileName,"File Name",std::vector<std::string>,"");
+  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__
+