From 4d04498d0f572bc1d83594fdeb8e5d1dd9e9fd02 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 20 Mar 2019 14:32:56 +0100 Subject: [PATCH] #3240 BBTK Feature New Normal - ReplaceCleanString box --- packages/std/src/bbstdReplaceCleanString.cxx | 86 ++++++++++++++++++++ packages/std/src/bbstdReplaceCleanString.h | 50 ++++++++++++ packages/std/src/bbstdReplaceString.cxx | 13 +-- 3 files changed, 144 insertions(+), 5 deletions(-) create mode 100644 packages/std/src/bbstdReplaceCleanString.cxx create mode 100644 packages/std/src/bbstdReplaceCleanString.h diff --git a/packages/std/src/bbstdReplaceCleanString.cxx b/packages/std/src/bbstdReplaceCleanString.cxx new file mode 100644 index 0000000..e778035 --- /dev/null +++ b/packages/std/src/bbstdReplaceCleanString.cxx @@ -0,0 +1,86 @@ +//===== +// 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 "bbstdReplaceCleanString.h" +#include "bbstdPackage.h" +namespace bbstd +{ + +BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,ReplaceCleanString) +BBTK_BLACK_BOX_IMPLEMENTATION(ReplaceCleanString,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 ReplaceCleanString::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 = " <