using namespace std;\r
using namespace Qt;\r
\r
+/*!\r
+ * \brief The Parameters class\r
+ *\r
+ * Parameters class represents the Model part of blast in MVC paradigm.\r
+ * It contains all data necessary to create a design: the graph of blocks,\r
+ * the scenes, ...\r
+ */\r
class Parameters {\r
\r
public :\r
\r
Graph* createGraph();\r
void destroyGraph();\r
- inline Graph* getGraph() { return graph; }\r
- GroupBlock* addGroupBlock(); // adding an empty GroupBlock to the current group\r
- FunctionalBlock* addFunctionalBlock(int idCategory, int idBlock); // adding a functional block to current group\r
+ inline Graph* getGraph() { return graph; } \r
+ ReferenceBlock* getReferenceBlock(int idCategory, int idBlock); // get the reference block from its category and index\r
FunctionalBlock* duplicateFunctionalBlock(FunctionalBlock* block); // adding a copy of a functional block to current group\r
\r
\r