X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdConfiguration.cxx;h=8981782aa6af169b5c3b43c78db9190acbd085be;hb=6d2f79e0ff9b1c0b2db0d7f3d164f4f62434f08d;hp=ec4fcc9a1cadfa3b41bc60e1da22cedfb7c72643;hpb=f5db17702a2c51a5933f6c556d070167e4db9cfd;p=bbtk.git diff --git a/packages/std/src/bbstdConfiguration.cxx b/packages/std/src/bbstdConfiguration.cxx index ec4fcc9..8981782 100644 --- a/packages/std/src/bbstdConfiguration.cxx +++ b/packages/std/src/bbstdConfiguration.cxx @@ -4,27 +4,29 @@ #include "bbtkConfigurationFile.h" namespace bbstd { - BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration) - BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::AtomicBlackBox); - - void Configuration::bbUserConstructor() - { - - } - - void Configuration::DoProcess() - { - bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); - bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); - + BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration) + BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::AtomicBlackBox); + + void Configuration::bbUserConstructor() + { + + } + + void Configuration::DoProcess() + { + bbSetOutputBinPath( bbtk::ConfigurationFile::GetInstance().Get_bin_path() ); + bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); + bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() ); + bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); + #if defined(__GNUC__) - bbSetOutputSystemType( 0 ); + bbSetOutputSystemType( 0 ); #elif defined(_WIN32) - bbSetOutputSystemType( 1 ); + bbSetOutputSystemType( 1 ); #else - bbSetOutputSystemType( -1 ); + bbSetOutputSystemType( -1 ); #endif - - } + + } } // EO namespace bbstd