X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdConfiguration.cxx;h=e6032a382f2b598a28999aa2b6c73db438b6022e;hb=1d5111d5487f38d1cde7dcff7f1474189548acaf;hp=e5d8844e189551eab4c5f2849ad1845172fa0f6d;hpb=cd48d6c543f0238a07dade3387b3c363096d9179;p=bbtk.git diff --git a/packages/std/src/bbstdConfiguration.cxx b/packages/std/src/bbstdConfiguration.cxx index e5d8844..e6032a3 100644 --- a/packages/std/src/bbstdConfiguration.cxx +++ b/packages/std/src/bbstdConfiguration.cxx @@ -4,28 +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() ); - bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() ); - bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); - + BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration); + BBTK_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