X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=packages%2Fstd%2Fsrc%2FbbstdConfiguration.h;h=9f3aced1acec41991955e65a4adf07598264b06c;hb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;hp=71408b6214567a24624c4fd7266185d4547bdd10;hpb=cd48d6c543f0238a07dade3387b3c363096d9179;p=bbtk.git diff --git a/packages/std/src/bbstdConfiguration.h b/packages/std/src/bbstdConfiguration.h index 71408b6..9f3aced 100644 --- a/packages/std/src/bbstdConfiguration.h +++ b/packages/std/src/bbstdConfiguration.h @@ -9,11 +9,12 @@ namespace bbstd : public bbtk::AtomicBlackBox { - BBTK_USER_BLACK_BOX_INTERFACE(Configuration,bbtk::AtomicBlackBox); - BBTK_DECLARE_OUTPUT(DataPath,std::string); - BBTK_DECLARE_OUTPUT(DocPath,std::string); - BBTK_DECLARE_OUTPUT(FileSeparator,std::string); - BBTK_DECLARE_OUTPUT(SystemType,int); + BBTK_BLACK_BOX_INTERFACE(Configuration,bbtk::AtomicBlackBox); + BBTK_DECLARE_OUTPUT(BinPath,std::string); + BBTK_DECLARE_OUTPUT(DataPath,std::string); + BBTK_DECLARE_OUTPUT(DocPath,std::string); + BBTK_DECLARE_OUTPUT(FileSeparator,std::string); + BBTK_DECLARE_OUTPUT(SystemType,int); BBTK_PROCESS(DoProcess); void DoProcess(); @@ -27,10 +28,11 @@ namespace bbstd BBTK_AUTHOR("jpr@creatis.insa-lyon.fr"); BBTK_CATEGORY("misc"); BBTK_DESCRIPTION("Gets configuration informations"); - BBTK_OUTPUT(Configuration,DataPath,"Data Path",std::string); - BBTK_OUTPUT(Configuration,DocPath,"Documentation Path",std::string); - BBTK_OUTPUT(Configuration,FileSeparator,"/ or \\",std::string); - BBTK_OUTPUT(Configuration,SystemType,"0=Linux 1=Windows",int); + BBTK_OUTPUT(Configuration,BinPath,"Binaries path",std::string,"directory name"); + BBTK_OUTPUT(Configuration,DataPath,"Data path",std::string,"directory name"); + BBTK_OUTPUT(Configuration,DocPath,"Documentation path",std::string,"directory name"); + BBTK_OUTPUT(Configuration,FileSeparator,"/ or \\",std::string,""); + BBTK_OUTPUT(Configuration,SystemType,"0=Linux 1=Windows",int,""); BBTK_END_DESCRIBE_BLACK_BOX(Configuration); } // EO namespace bbstd