]> AND Private Git Repository - blast.git/blobdiff - FunctionalBlock.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
source connection ok
[blast.git] / FunctionalBlock.cpp
index cb8ceba679d5da8c5f835cbc673483280cbc7f9d..51bebe8928f963787f19a892579507c0ddb6894d 100644 (file)
@@ -41,6 +41,11 @@ bool FunctionalBlock::isFunctionalBlock() {
   return true;\r
 }\r
 \r
   return true;\r
 }\r
 \r
+bool FunctionalBlock::isSourceBlock() {\r
+  if (parent == NULL) return true;\r
+  return false;\r
+}\r
+\r
 void FunctionalBlock::populate() {\r
   int i;\r
   BlockParameter* p;\r
 void FunctionalBlock::populate() {\r
   int i;\r
   BlockParameter* p;\r