]> Creatis software - bbtkGEditor.git/commitdiff
v1.1.0
authordavila <>
Fri, 1 Jun 2012 07:58:06 +0000 (07:58 +0000)
committerdavila <>
Fri, 1 Jun 2012 07:58:06 +0000 (07:58 +0000)
 - Doxygen Documentation
 - Add/Remove Colons
 - Add/Remove DoubleQoutes

cmake/UserBuildDoxygenDoc.cmake
doc/UserDoxygen/CMakeLists.txt
lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx
lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBoxModel.cxx
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx

index 2446671..bf461ae 100644 (file)
@@ -9,7 +9,7 @@ MACRO(USER_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED)
   SET(DOXYGEN_PROJECT_NAME "${NAME}")
 
   # Inputs
-  #STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT "${INPUT}")
+  STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT "${INPUT}")
 
   # Output dirs
   SET(DOXYGEN_HTML_OUTPUT ".")
index 9fab474..19da900 100644 (file)
@@ -19,6 +19,11 @@ SET(INPUT
   ${PROJECT_SOURCE_DIR}/appli
   )
 
+message( "EED --->>>>>${PROJECT_NAME} ")
+message( "EED --->>>>>${INPUT} ")
+message( "EED --->>>>>${PROJECT_NAME} ")
+message( "EED --->>>>>${DOXYGEN_DOC_PREDEFINED} ")
+
 INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake)
 USER_BUILD_DOXYGEN_DOC(
   "${PROJECT_NAME}" 
index a806ea8..704ca1e 100644 (file)
@@ -177,7 +177,9 @@ namespace bbtk
 
        std::string GBlackBoxModel::getValueInputPort(int pos)
        {
-               return _inputs[pos]->getValue();
+               std::string text = _inputs[pos]->getValue();
+               addColons(text);
+               return text;
        }
 
        //=========================================================================
index c7b2c0c..46deada 100644 (file)
@@ -199,8 +199,12 @@ namespace bbtk
                }
        }
 
+       
+       //=========================================================================
+       //JPR
        void GBoxModel::addColons(std::string &text)
        {
+               printf("EED JPR >>>>>>>>>>>>>>> %s\n",text.c_str() );
                std::string character("&&2P&&");                                
                size_t pos;
                pos = text.find(character);
@@ -212,6 +216,8 @@ namespace bbtk
                }
        }
 
+       //=========================================================================
+       //JPR
        void GBoxModel::removeColons(std::string &text)
        {
                std::string character(":");                             
index 646ee5b..8ee617b 100644 (file)
@@ -192,6 +192,11 @@ namespace bbtk
                        //TOFIX Search a better alternative
                        if(text!="--No editable--" && text!="--Port Connected--")
                        {
+                               //JPRG: When executing, add double quotes if necessary
+                               if(text.length()>0)
+                               {
+                                       addDoubleQuotes(text);
+                               }
                                _model->setValueToInputPort(i,text);
                        }
                }