Commit f2ce04d0 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED duplicate override

parent 8f692608
......@@ -49,7 +49,7 @@ public:
RegionGrowingWidget(camitk::Action* action);
/// destructor
~RegionGrowingWidget() override override;
~RegionGrowingWidget() override;
/// Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points)
void updateComponent(camitk::ImageComponent* image);
......
......@@ -50,7 +50,7 @@ public:
/**Default Constructor*/
DicomDialog(QList<DicomDialogEntry*>);
/**Destructor*/
~DicomDialog() override override;
~DicomDialog() override;
/// Get the list of DicomDialogEntry selected for opening
QList<DicomDialogEntry*> getSelectedDicomDialogEntries();
......
......@@ -38,7 +38,7 @@ class CamiTKPropertyList : public QObject {
public:
// destructor
~CamiTKPropertyList() override override;
~CamiTKPropertyList() override;
/** Get a Property given its name
* @param name the property name
......
......@@ -71,7 +71,7 @@ public:
PMLExplorerWidget ( PMLComponent* comp );
/// Destructor
~PMLExplorerWidget() override override; //{ if (this->ui) delete ui; }
~PMLExplorerWidget() override; //{ if (this->ui) delete ui; }
/// Update the widget content as the input selected component changed.
void updateTarget ( PMLComponent* comp );
......
......@@ -49,7 +49,7 @@ class MMLCOMPONENT_API MMLDisplay : QObject {
public:
MMLDisplay(MMLComponent* mmlManager);
~MMLDisplay() override override override override;
~MMLDisplay() override;
public slots:
/// slot called when display have to be updated
......
......@@ -50,7 +50,7 @@ public:
/// constructor
MMLMonitorDisplay(Monitor* monitor, MMLComponent* manager);
/// destructor
~MMLMonitorDisplay() override override override override override override;
~MMLMonitorDisplay() override;
/// update display
virtual void update() = 0;
......
......@@ -43,7 +43,7 @@ public:
/** Redefinition of ansysPrint to print in ansys format
* \warning not everything is implemented (yet!)
*/
void ansysPrint(std::ostream&) const override override;
void ansysPrint(std::ostream&) const override;
};
......
......@@ -43,7 +43,7 @@ public:
/** Redefinition of ansysPrint to print in ansys format
* \warning not everything is implemented (yet!)
*/
void ansysPrint(std::ostream&) const override override override;
void ansysPrint(std::ostream&) const override;
};
......
......@@ -49,13 +49,13 @@ public:
*/
AndMultipleCriterion(mml::MultipleCriteria* m, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~AndMultipleCriterion() override override override override;
~AndMultipleCriterion() override;
/// return true if every single Criterion is reached
bool checkCriterion() override override override override;
bool checkCriterion() override;
/// get stopping criterion name
std::string getName() override override override override;
std::string getName() override;
};
#endif // STOPPINGCRITERION_STOPPINGCRITERIA_MULTIPLECRITERIA_ANDMULTIPLECRITERIA_H
......@@ -52,19 +52,19 @@ public:
*/
Criterion(mml::Criteria* c, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~Criterion() override override override override override override override override override override;
~Criterion() override;
/// return true if the criterion is reach
bool checkCriterion() override override override override override override override override override override;
bool checkCriterion() override;
/// get number of childre; return -1 for non multiple criteria
int getNumberOfChildren() override override override override override override override override override override;
int getNumberOfChildren() override;
/// get the child repered by index, return null if no child
StoppingCriterion* getChild(const unsigned int i) override override override override override override override override override override;
StoppingCriterion* getChild(const unsigned int i) override;
/// get stopping criterion name
std::string getName() override override override override override override override override override override = 0;
std::string getName() = 0;
/// get Method Name
std::string getMethodString();
......
......@@ -47,14 +47,14 @@ public:
*/
ForceCriterion(mml::Force* c, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~ForceCriterion() override override override override;
~ForceCriterion() override;
/// get stopping criterion name
std::string getName() override override override override;
std::string getName() override;
private:
/// calculate stopping criteria data and store it into values vector
void calculate() override override override override;
void calculate() override;
};
#endif // STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_FORCE_H
......@@ -58,16 +58,16 @@ public:
InteractiveMonitoringManager(const char* mml);
/// destructor
~InteractiveMonitoringManager() override override;
~InteractiveMonitoringManager() override;
/// Initialize manager
bool init() override override;
bool init() override;
/// End manager
void end() override override;
void end() override;
/// make a simulation move (one step)
void doMove() override override;
void doMove() override;
/// check if the stopping criterion is reached
bool checkStop() override override;
bool checkStop() override;
/// get Stopping Criterion
StoppingCriterion* getStoppingCriterion();
......
......@@ -42,14 +42,14 @@ public:
/// constructor
InteractiveSimulator(MonitoringManager* monitoringManager, const char* file);
/// destructor
~InteractiveSimulator() override override override;
~InteractiveSimulator() override;
/// initialize the simulator
void init() override override override = 0;
void init() = 0;
/// end simultor
void end() override override override = 0;
void end() = 0;
/// get current position for one atom
void getPosition(int index, double position[3]) override override override = 0;
void getPosition(int index, double position[3]) = 0;
/**
* ask the simulator do to one step of the simulation
......@@ -58,7 +58,7 @@ public:
virtual void doMove(double dt) = 0;
/// Create a pml file from an imput file
void createPml(const char* inputFile, const char* pmlFile) override override override = 0;
void createPml(const char* inputFile, const char* pmlFile) = 0;
};
#endif // SIMULATOR_INTERACTIVESIMULATOR_H
......@@ -46,14 +46,14 @@ public:
*/
kineticEnergy(mml::KineticEnergy* c, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~kineticEnergy() override override override override;
~kineticEnergy() override;
/// get stopping criterion name
std::string getName() override override override override;
std::string getName() override;
private:
/// calculate stopping criteria data and store it into values vector
void calculate() override override override override;
void calculate() override;
};
#endif // STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_KINETICENGERGY_H
......@@ -45,10 +45,10 @@ public:
*/
MinThreshold(mml::MinThreshold* m);
/// destructor
~MinThreshold() override override override;
~MinThreshold() override;
/// return true if tested >= value
bool individualTest(double tested) override override override;
bool individualTest(double tested) override;
/// get Method name
std::string toString() override;
......
......@@ -44,13 +44,13 @@ public:
*/
MonitorComputingTime(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorComputingTime() override override override override;
~MonitorComputingTime() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORCOMPUTINGTIME_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorDisplacement(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorDisplacement() override override override override;
~MonitorDisplacement() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORDISPLACEMENT_H
......@@ -45,13 +45,13 @@ public:
*/
MonitorDistanceX(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorDistanceX() override override override override;
~MonitorDistanceX() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORDISTANCEX_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorDistanceY(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorDistanceY() override override override override;
~MonitorDistanceY() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORDISTANCEY_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorDistanceZ(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorDistanceZ() override override override override;
~MonitorDistanceZ() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORDISTANCEZ_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorForce(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorForce() override override override override;
~MonitorForce() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_FORCE_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorGeometricDeviation(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorGeometricDeviation() override override override override;
~MonitorGeometricDeviation() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORGEOMETRICDEVIATION_H
......@@ -43,13 +43,13 @@ public:
*/
MonitorNormDisplacement(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorNormDisplacement() override override override override;
~MonitorNormDisplacement() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORNORMDISPLACEMENT_H
......@@ -46,13 +46,13 @@ public:
*/
MonitorPointFinalSetDistance(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorPointFinalSetDistance() override override override override;
~MonitorPointFinalSetDistance() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORPOINTFINALSETDISTANCE_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorPointSetDistance(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorPointSetDistance() override override override override;
~MonitorPointSetDistance() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORPOINTSETDISTANCE_H
......@@ -45,13 +45,13 @@ public:
*/
MonitorPointToTriangleMeshDistanceFinal(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorPointToTriangleMeshDistanceFinal() override override override override;
~MonitorPointToTriangleMeshDistanceFinal() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
......
......@@ -44,13 +44,13 @@ public:
*/
MonitorPosition(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorPosition() override override override override;
~MonitorPosition() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORPOSITION_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorRen(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorRen() override override override override;
~MonitorRen() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORREN_H
......@@ -44,13 +44,13 @@ public:
*/
MonitorSurface(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorSurface() override override override override;
~MonitorSurface() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
};
#endif // MONITOR_MONITORS_MONITORSURFACE_H
......@@ -44,15 +44,15 @@ public:
*/
MonitorVolume(mml::Monitor* m, MonitoringManager* monitoringManager);
/// destructor
~MonitorVolume() override override override override;
~MonitorVolume() override;
/// calculate current followed data and store them in values vector
void calculate() override override override override;
void calculate() override;
/// return a string relative to monitor type
std::string getTypeName() override override override override;
std::string getTypeName() override;
void write() override override override override;
void write() override;
};
#endif // MONITOR_MONITORS_MONITORVOLUME_H
......@@ -50,19 +50,19 @@ public:
*/
MultipleCriterion(mml::MultipleCriteria* m, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~MultipleCriterion() override override override override override override override;
~MultipleCriterion() override;
/// return true if the MultipleCriterion is reach
bool checkCriterion() override override override override override override override = 0;
bool checkCriterion() = 0;
/// get number of childre; return -1 for non multiple criteria
int getNumberOfChildren() override override override override override override override;
int getNumberOfChildren() override;
/// get the child repered by index, return null if no child
StoppingCriterion* getChild(const unsigned int i) override override override override override override override;
StoppingCriterion* getChild(const unsigned int i) override;
/// get stopping criterion name
std::string getName() override override override override override override override = 0;
std::string getName() = 0;
/// add child
void addChild(StoppingCriterion* sc);
......
......@@ -54,20 +54,20 @@ public:
NonInteractiveMonitoringManager(const char* mml);
/// destructor
~NonInteractiveMonitoringManager() override override;
~NonInteractiveMonitoringManager() override;
/** make computation of all steps with the simulator
* @return false if calculation failed
*/
bool doCalc();
/// Initialize manager
bool init() override override;
bool init() override;
/// End manager
void end() override override;
void end() override;
/// postprocess a simulation step, doCalc must have been done before
void doMove() override override;
void doMove() override;
/// Check if simulation is finished
bool checkStop() override override;
bool checkStop() override;
private:
/// the number of step unsed for simulation
......
......@@ -42,14 +42,14 @@ public:
/// constructor
NonInteractiveSimulator(MonitoringManager* monitoringManager, const char* file);
/// destructor
~NonInteractiveSimulator() override override override;
~NonInteractiveSimulator() override;
/// initialize simulator
void init() override override override = 0;
void init() = 0;
/// end simultor
void end() override override override = 0;
void end() = 0;
/// get current position for one atom (use parameters)
void getPosition(int index, double position[3]) override override override = 0;
void getPosition(int index, double position[3]) = 0;
/** make entire simulation ans store results of all step
* @return true if calculation succeded
......@@ -61,7 +61,7 @@ public:
virtual int getMaxStep() = 0;
/// Create a pml file from an imput file
void createPml(const char* inputFile, const char* pmlFile) override override override = 0;
void createPml(const char* inputFile, const char* pmlFile) = 0;
......
......@@ -47,13 +47,13 @@ public:
*/
OrMultipleCriterion(mml::MultipleCriteria* m, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~OrMultipleCriterion() override override override override;
~OrMultipleCriterion() override;
/// return true if at least one of the Criterion is reached
bool checkCriterion() override override override override;
bool checkCriterion() override;
/// get stopping criterion name
std::string getName() override override override override;
std::string getName() override;
};
#endif // STOPPINGCRITERION_STOPPINGCRITERIA_MULTIPLECRITERIA_ORMULTIPLECRITERIA_H
......@@ -45,14 +45,14 @@ public:
*/
Position(mml::Position* c, MonitoringManager* monitoringManager, MultipleCriterion* parent = NULL);
/// destructor
~Position() override override override override;
~Position() override;
/// get stopping criterion name
std::string getName() override override override override;
std::string getName() override;
private:
/// calculate stopping criteria data and store it into values vector
void calculate() override override override override;
void calculate() override;
/// the monitor targets describe as an LML TargetList string (e.g. "1-4,5"), @see TargetList
std::string target;
......