Mod: Use override etc 2

This commit is contained in:
berniev
2022-08-09 11:53:46 +10:00
committed by wwmayer
parent 75fa455c5d
commit 71dc5ead2f
697 changed files with 4956 additions and 4956 deletions

View File

@@ -144,10 +144,10 @@ public:
initialize("This module is the MeshPart module."); // register with Python
}
virtual ~Module() {}
~Module() override {}
private:
virtual Py::Object invoke_method_varargs(void *method_def, const Py::Tuple &args)
Py::Object invoke_method_varargs(void *method_def, const Py::Tuple &args) override
{
try {
return Py::ExtensionModule<Module>::invoke_method_varargs(method_def, args);

View File

@@ -91,7 +91,7 @@ class MeshPartExport CurveProjectorShape: public CurveProjector
{
public:
CurveProjectorShape(const TopoDS_Shape &aShape, const MeshKernel &pMesh);
virtual ~CurveProjectorShape() {}
~CurveProjectorShape() override {}
void projectCurve(const TopoDS_Edge& aEdge,
std::vector<FaceSplitEdge> &vSplitEdges);
@@ -101,7 +101,7 @@ public:
protected:
virtual void Do();
void Do() override;
};
@@ -112,7 +112,7 @@ class MeshPartExport CurveProjectorSimple: public CurveProjector
{
public:
CurveProjectorSimple(const TopoDS_Shape &aShape, const MeshKernel &pMesh);
virtual ~CurveProjectorSimple() {}
~CurveProjectorSimple() override {}
/// helper to discredicice a Edge...
void GetSampledCurves( const TopoDS_Edge& aEdge, std::vector<Base::Vector3f>& rclPoints, unsigned long ulNbOfPoints = 30);
@@ -127,7 +127,7 @@ public:
protected:
virtual void Do();
void Do() override;
};
/** Project by projecting a sampled curve to the mesh
@@ -141,7 +141,7 @@ public:
};
CurveProjectorWithToolMesh(const TopoDS_Shape &aShape, const MeshKernel &pMesh,MeshKernel &rToolMesh);
virtual ~CurveProjectorWithToolMesh() {}
~CurveProjectorWithToolMesh() override {}
void makeToolMesh(const TopoDS_Edge& aEdge,std::vector<MeshGeomFacet> &cVAry );
@@ -150,7 +150,7 @@ public:
MeshKernel &ToolMesh;
protected:
virtual void Do();
void Do() override;
};
/**

View File

@@ -170,8 +170,8 @@ public:
MeshingOutput();
protected:
int overflow(int c = EOF);
int sync();
int overflow(int c = EOF) override;
int sync() override;
private:
std::string buffer;