- Doxygen Documentation
- Add/Remove Colons
- Add/Remove DoubleQoutes
SET(DOXYGEN_PROJECT_NAME "${NAME}")
# Inputs
SET(DOXYGEN_PROJECT_NAME "${NAME}")
# Inputs
- #STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT "${INPUT}")
+ STRING(REGEX REPLACE ";" " " DOXYGEN_INPUT "${INPUT}")
# Output dirs
SET(DOXYGEN_HTML_OUTPUT ".")
# Output dirs
SET(DOXYGEN_HTML_OUTPUT ".")
${PROJECT_SOURCE_DIR}/appli
)
${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}"
INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake)
USER_BUILD_DOXYGEN_DOC(
"${PROJECT_NAME}"
std::string GBlackBoxModel::getValueInputPort(int pos)
{
std::string GBlackBoxModel::getValueInputPort(int pos)
{
- return _inputs[pos]->getValue();
+ std::string text = _inputs[pos]->getValue();
+ addColons(text);
+ return text;
}
//=========================================================================
}
//=========================================================================
+
+ //=========================================================================
+ //JPR
void GBoxModel::addColons(std::string &text)
{
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);
std::string character("&&2P&&");
size_t pos;
pos = text.find(character);
+ //=========================================================================
+ //JPR
void GBoxModel::removeColons(std::string &text)
{
std::string character(":");
void GBoxModel::removeColons(std::string &text)
{
std::string character(":");
//TOFIX Search a better alternative
if(text!="--No editable--" && text!="--Port Connected--")
{
//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);
}
}
_model->setValueToInputPort(i,text);
}
}