From: Eduardo DAVILA Date: Mon, 29 Nov 2021 15:00:41 +0000 (+0100) Subject: #3476 DateTime box std X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0345dcb3faf8bb412c0996a5443cb9b9046423b3;p=bbtk.git #3476 DateTime box std --- diff --git a/packages/std/src/bbstdDateTime.cxx b/packages/std/src/bbstdDateTime.cxx new file mode 100644 index 0000000..b381279 --- /dev/null +++ b/packages/std/src/bbstdDateTime.cxx @@ -0,0 +1,84 @@ +//===== +// 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) +//===== +#include "bbstdDateTime.h" +#include "bbstdPackage.h" +#include +namespace bbstd +{ + +BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,DateTime) +BBTK_BLACK_BOX_IMPLEMENTATION(DateTime,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) +//===== +void DateTime::Process() +{ + +// THE MAIN PROCESSING METHOD BODY +// Here we simply set the input 'In' value to the output 'Out' +// And print out the output value +// INPUT/OUTPUT ACCESSORS ARE OF THE FORM : +// void bbSet{Input|Output}NAME(const TYPE&) +// const TYPE& bbGet{Input|Output}NAME() const +// Where : +// * NAME is the name of the input/output +// (the one provided in the attribute 'name' of the tag 'input') +// * TYPE is the C++ type of the input/output +// (the one provided in the attribute 'type' of the tag 'input') +// bbSetOutputOut( bbGetInputIn() ); +// std::cout << "Output value = " <=0) && ( iSelectionVerifyDeselect(iSelection);