Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit f2ce04d0 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment