]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdFilesFromDirectory.h
#2912 BBTK Feature New Normal - FilesFromDirectory box package std
[bbtk.git] / packages / std / src / bbstdFilesFromDirectory.h
index 7d67556986c869538d1c584ec27d0978c9269345..852e83b529ac9c603daa477c6d5eb9e4d9c51b07 100644 (file)
@@ -42,6 +42,7 @@ namespace bbstd
     BBTK_DECLARE_INPUT(In,std::string);
     BBTK_DECLARE_INPUT(Recursive,bool);  
     BBTK_DECLARE_INPUT(Type,int);  
+    BBTK_DECLARE_INPUT(FileEnd,std::vector<std::string>);  
     BBTK_DECLARE_OUTPUT(Out,std::vector<std::string>);
     BBTK_DECLARE_OUTPUT(OutSimple,std::vector<std::string>);
     BBTK_PROCESS(Process);
@@ -70,6 +71,7 @@ namespace bbstd
    BBTK_INPUT(FilesFromDirectory,In,"Directory Name",std::string,"");
    BBTK_INPUT(FilesFromDirectory,Recursive,"Recursive directory exploration",bool,"");
    BBTK_INPUT(FilesFromDirectory,Type,"0=files 1=All_directories 2=last_directories  (0 default)",int,"");
+   BBTK_INPUT(FilesFromDirectory,FileEnd,"Select just the files with this end file name",std::vector<std::string>,"");
   
    BBTK_OUTPUT(FilesFromDirectory,Out,"FullPathNames of the files",std::vector<std::string>,"");
    BBTK_OUTPUT(FilesFromDirectory,OutSimple,"Simple Full PathNames of the files",std::vector<std::string>,"");