diff --git a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.cxx index b6e45ba708..d9ac8f44a2 100644 --- a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.cxx @@ -32,7 +32,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinDrivers_DocumentRetrievalDriver, BinLDrivers_Docum //================================================================================================= -BinDrivers_DocumentRetrievalDriver::BinDrivers_DocumentRetrievalDriver() {} +BinDrivers_DocumentRetrievalDriver::BinDrivers_DocumentRetrievalDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.hxx index f6b2851cc8..7b087c93fe 100644 --- a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentRetrievalDriver.hxx @@ -33,23 +33,23 @@ public: //! Constructor Standard_EXPORT BinDrivers_DocumentRetrievalDriver(); - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; - Standard_EXPORT virtual void ReadShapeSection( + Standard_EXPORT void ReadShapeSection( BinLDrivers_DocumentSection& theSection, Standard_IStream& theIS, const bool isMess = false, const Message_ProgressRange& theRange = Message_ProgressRange()) override; - Standard_EXPORT virtual void CheckShapeSection(const Storage_Position& thePos, - Standard_IStream& theIS) override; + Standard_EXPORT void CheckShapeSection(const Storage_Position& thePos, + Standard_IStream& theIS) override; //! Clears the NamedShape driver - Standard_EXPORT virtual void Clear() override; + Standard_EXPORT void Clear() override; //! Enables reading in the quick part access mode. - Standard_EXPORT virtual void EnableQuickPartReading( + Standard_EXPORT void EnableQuickPartReading( const occ::handle& theMessageDriver, bool theValue) override; diff --git a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.cxx b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.cxx index da1b87614a..dc5102ffa2 100644 --- a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.cxx +++ b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.cxx @@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinDrivers_DocumentStorageDriver, BinLDrivers_Documen //================================================================================================= -BinDrivers_DocumentStorageDriver::BinDrivers_DocumentStorageDriver() {} +BinDrivers_DocumentStorageDriver::BinDrivers_DocumentStorageDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.hxx b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.hxx index dc5340face..2172d74656 100644 --- a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.hxx +++ b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers_DocumentStorageDriver.hxx @@ -32,11 +32,11 @@ public: //! Constructor Standard_EXPORT BinDrivers_DocumentStorageDriver(); - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; //! implements the procedure of writing a shape section to file - Standard_EXPORT virtual void WriteShapeSection( + Standard_EXPORT void WriteShapeSection( BinLDrivers_DocumentSection& theDocSection, Standard_OStream& theOS, const TDocStd_FormatVersion theDocVer, @@ -60,7 +60,7 @@ public: const bool theValue) override; //! Clears the NamedShape driver - Standard_EXPORT virtual void Clear() override; + Standard_EXPORT void Clear() override; DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentStorageDriver, BinLDrivers_DocumentStorageDriver) }; diff --git a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_ConstraintDriver.cxx b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_ConstraintDriver.cxx index de5ca097fa..367c11428d 100644 --- a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_ConstraintDriver.cxx +++ b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_ConstraintDriver.cxx @@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_ConstraintDriver, BinMDF_ADriver) BinMDataXtd_ConstraintDriver::BinMDataXtd_ConstraintDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_GeometryDriver.cxx b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_GeometryDriver.cxx index c04fba1016..8e4c092921 100644 --- a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_GeometryDriver.cxx +++ b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_GeometryDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_GeometryDriver, BinMDF_ADriver) BinMDataXtd_GeometryDriver::BinMDataXtd_GeometryDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_PatternStdDriver.cxx b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_PatternStdDriver.cxx index 603dc686a1..bdc451b06d 100644 --- a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_PatternStdDriver.cxx +++ b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_PatternStdDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataXtd_PatternStdDriver, BinMDF_ADriver) BinMDataXtd_PatternStdDriver::BinMDataXtd_PatternStdDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_TriangulationDriver.hxx b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_TriangulationDriver.hxx index df239346f5..c510c9624e 100644 --- a/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_TriangulationDriver.hxx +++ b/src/ApplicationFramework/TKBin/BinMDataXtd/BinMDataXtd_TriangulationDriver.hxx @@ -34,13 +34,13 @@ public: Standard_EXPORT BinMDataXtd_TriangulationDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBin/BinMNaming/BinMNaming_NamedShapeDriver.cxx b/src/ApplicationFramework/TKBin/BinMNaming/BinMNaming_NamedShapeDriver.cxx index fad6c15ea2..ead98c67af 100644 --- a/src/ApplicationFramework/TKBin/BinMNaming/BinMNaming_NamedShapeDriver.cxx +++ b/src/ApplicationFramework/TKBin/BinMNaming/BinMNaming_NamedShapeDriver.cxx @@ -172,7 +172,7 @@ static int TranslateFrom(const BinObjMgt_Persistent& theSource, BinMNaming_NamedShapeDriver::BinMNaming_NamedShapeDriver( const occ::handle& theMsgDriver) : BinMDF_ADriver(theMsgDriver, STANDARD_TYPE(TNaming_NamedShape)->Name()), - myShapeSet(NULL), + myShapeSet(nullptr), myWithTriangles(false), myWithNormals(false), myIsQuickPart(false) @@ -213,7 +213,7 @@ bool BinMNaming_NamedShapeDriver::Paste(const BinObjMgt_Persistent& theSou aTAtt->SetVersion(anEvol); BinTools_ShapeSetBase* aShapeSet = const_cast(this)->ShapeSet(true); - Standard_IStream* aDirectStream = NULL; + Standard_IStream* aDirectStream = nullptr; if (myIsQuickPart) // enables direct reading of shapes from the stream aDirectStream = const_cast(&theSource)->GetIStream(); @@ -302,7 +302,7 @@ void BinMNaming_NamedShapeDriver::Paste( theTarget << aSAtt->Version(); theTarget << EvolutionToChar(anEvol); - Standard_OStream* aDirectStream = NULL; + Standard_OStream* aDirectStream = nullptr; if (myIsQuickPart) // enables direct writing of shapes to the stream aDirectStream = theTarget.GetOStream(); @@ -357,7 +357,7 @@ void BinMNaming_NamedShapeDriver::Clear() { myShapeSet->Clear(); delete myShapeSet; - myShapeSet = NULL; + myShapeSet = nullptr; } } diff --git a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx index 7d1fa572a6..ffb0f984e0 100644 --- a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx @@ -73,7 +73,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read(const TCollection_ExtendedString& std::shared_ptr aFileStream = aFileSystem->OpenIStream(theFileName, std::ios::in | std::ios::binary); - if (aFileStream.get() != NULL && aFileStream->good()) + if (aFileStream.get() != nullptr && aFileStream->good()) { occ::handle dData; TCollection_ExtendedString aFormat = PCDM_ReadWriter::FileFormat(*aFileStream, dData); diff --git a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.hxx index 1e355fee7d..d9da118917 100644 --- a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.hxx @@ -45,14 +45,14 @@ public: Standard_EXPORT BinLDrivers_DocumentRetrievalDriver(); //! retrieves the content of the file into a new Document. - Standard_EXPORT virtual void Read( + Standard_EXPORT void Read( const TCollection_ExtendedString& theFileName, const occ::handle& theNewDocument, const occ::handle& theApplication, const occ::handle& theFilter = occ::handle(), const Message_ProgressRange& theProgress = Message_ProgressRange()) override; - Standard_EXPORT virtual void Read( + Standard_EXPORT void Read( Standard_IStream& theIStream, const occ::handle& theStorageData, const occ::handle& theDoc, diff --git a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx index 31aa2be8dc..f6d79354fe 100644 --- a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx @@ -44,7 +44,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinLDrivers_DocumentStorageDriver, PCDM_StorageDriver //================================================================================================= -BinLDrivers_DocumentStorageDriver::BinLDrivers_DocumentStorageDriver() {} +BinLDrivers_DocumentStorageDriver::BinLDrivers_DocumentStorageDriver() = default; //================================================================================================= @@ -61,7 +61,7 @@ void BinLDrivers_DocumentStorageDriver::Write(const occ::handle& std::shared_ptr aFileStream = aFileSystem->OpenOStream(theFileName, std::ios::out | std::ios::binary); - if (aFileStream.get() != NULL && aFileStream->good()) + if (aFileStream.get() != nullptr && aFileStream->good()) { Write(theDocument, *aFileStream, theRange); } @@ -115,7 +115,7 @@ void BinLDrivers_DocumentStorageDriver::Write(const occ::handle& t anIterS.ChangeValue().WriteTOC(theOStream, aDocVer); EnableQuickPartWriting(myMsgDriver, IsQuickPart(aDocVer)); - BinLDrivers_DocumentSection* aShapesSection = 0; + BinLDrivers_DocumentSection* aShapesSection = nullptr; bool aQuickPart = IsQuickPart(aDocVer); if (!aQuickPart) { diff --git a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.hxx b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.hxx index aa9e046057..658af9e832 100644 --- a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentStorageDriver.hxx @@ -47,13 +47,13 @@ public: Standard_EXPORT BinLDrivers_DocumentStorageDriver(); //! Write to the binary file - Standard_EXPORT virtual void Write( + Standard_EXPORT void Write( const occ::handle& theDocument, const TCollection_ExtendedString& theFileName, const Message_ProgressRange& theRange = Message_ProgressRange()) override; //! Write to theOStream - Standard_EXPORT virtual void Write( + Standard_EXPORT void Write( const occ::handle& theDocument, Standard_OStream& theOStream, const Message_ProgressRange& theRange = Message_ProgressRange()) override; diff --git a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriver.hxx b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriver.hxx index 87cf0634e8..5587138f81 100644 --- a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriver.hxx @@ -62,7 +62,7 @@ public: protected: Standard_EXPORT BinMDF_ADriver(const occ::handle& theMsgDriver, - const char* theName = NULL); + const char* theName = nullptr); TCollection_AsciiString myTypeName; diff --git a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriverTable.cxx b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriverTable.cxx index 260de06392..e0abeabf54 100644 --- a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriverTable.cxx +++ b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriverTable.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDF_ADriverTable, Standard_Transient) //================================================================================================= -BinMDF_ADriverTable::BinMDF_ADriverTable() {} +BinMDF_ADriverTable::BinMDF_ADriverTable() = default; //======================================================================= // function : AddDriver diff --git a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_DerivedDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_DerivedDriver.hxx index 3248761e06..38308ff212 100644 --- a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_DerivedDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_DerivedDriver.hxx @@ -35,12 +35,12 @@ public: } //! Creates a new instance of the derivative attribute - virtual occ::handle NewEmpty() const override { return myDerivative->NewEmpty(); } + occ::handle NewEmpty() const override { return myDerivative->NewEmpty(); } //! Reuses the base driver to read the base fields - virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override + bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override { bool aResult = myBaseDirver->Paste(theSource, theTarget, theRelocTable); // clang-format off @@ -50,10 +50,9 @@ public: } //! Reuses the base driver to store the base fields - virtual void Paste( - const occ::handle& theSource, - BinObjMgt_Persistent& theTarget, - NCollection_IndexedMap>& theRelocTable) const override + void Paste(const occ::handle& theSource, + BinObjMgt_Persistent& theTarget, + NCollection_IndexedMap>& theRelocTable) const override { myBaseDirver->Paste(theSource, theTarget, theRelocTable); } diff --git a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ReferenceDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ReferenceDriver.hxx index 6c5aa042c3..643090a208 100644 --- a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ReferenceDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ReferenceDriver.hxx @@ -33,13 +33,13 @@ class BinMDF_ReferenceDriver : public BinMDF_ADriver public: Standard_EXPORT BinMDF_ReferenceDriver(const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_TagSourceDriver.cxx b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_TagSourceDriver.cxx index 78102e3954..84ac3aafa1 100644 --- a/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_TagSourceDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinMDF/BinMDF_TagSourceDriver.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDF_TagSourceDriver, BinMDF_ADriver) //================================================================================================= BinMDF_TagSourceDriver::BinMDF_TagSourceDriver(const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanArrayDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanArrayDriver.hxx index e32beaf28b..384c9ad97d 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanArrayDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanArrayDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_BooleanArrayDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanListDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanListDriver.hxx index efd4f1dd31..f862a065c3 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanListDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_BooleanListDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_BooleanListDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ByteArrayDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ByteArrayDriver.hxx index bf4e0f3f32..25122ea317 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ByteArrayDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ByteArrayDriver.hxx @@ -34,13 +34,13 @@ public: Standard_EXPORT BinMDataStd_ByteArrayDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExpressionDriver.cxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExpressionDriver.cxx index 4789aa9e28..3a6024837e 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExpressionDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExpressionDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_ExpressionDriver, BinMDF_ADriver) BinMDataStd_ExpressionDriver::BinMDataStd_ExpressionDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringArrayDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringArrayDriver.hxx index c4d8ec9752..e316c9c537 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringArrayDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringArrayDriver.hxx @@ -35,13 +35,13 @@ public: Standard_EXPORT BinMDataStd_ExtStringArrayDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringListDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringListDriver.hxx index c4a280514a..9d0afb130c 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringListDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ExtStringListDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_ExtStringListDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericEmptyDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericEmptyDriver.hxx index d163992bcd..dabeab9fa2 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericEmptyDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericEmptyDriver.hxx @@ -32,15 +32,15 @@ public: Standard_EXPORT BinMDataStd_GenericEmptyDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual const occ::handle& SourceType() const override; + Standard_EXPORT const occ::handle& SourceType() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericExtStringDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericExtStringDriver.hxx index 354577e117..2decea1472 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericExtStringDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_GenericExtStringDriver.hxx @@ -34,7 +34,7 @@ public: Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual const occ::handle& SourceType() const override; + Standard_EXPORT const occ::handle& SourceType() const override; //! persistent -> transient (retrieve) Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerArrayDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerArrayDriver.hxx index a00dd75714..8f2c3ee905 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerArrayDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerArrayDriver.hxx @@ -35,13 +35,13 @@ public: Standard_EXPORT BinMDataStd_IntegerArrayDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerDriver.hxx index 3d28d5d2f2..7f6fa25be1 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerDriver.hxx @@ -33,13 +33,13 @@ class BinMDataStd_IntegerDriver : public BinMDF_ADriver public: Standard_EXPORT BinMDataStd_IntegerDriver(const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerListDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerListDriver.hxx index 99fdc672d0..d25c34d7b6 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerListDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_IntegerListDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_IntegerListDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_NamedDataDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_NamedDataDriver.hxx index ce2b734d42..551180c79a 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_NamedDataDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_NamedDataDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_NamedDataDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealArrayDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealArrayDriver.hxx index 9ee7561ed9..644e50bae6 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealArrayDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealArrayDriver.hxx @@ -35,13 +35,13 @@ public: Standard_EXPORT BinMDataStd_RealArrayDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealDriver.hxx index 6808594597..cdd67e6343 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealDriver.hxx @@ -33,13 +33,13 @@ class BinMDataStd_RealDriver : public BinMDF_ADriver public: Standard_EXPORT BinMDataStd_RealDriver(const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealListDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealListDriver.hxx index 1a3dd84a00..ae1f704214 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealListDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_RealListDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_RealListDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceArrayDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceArrayDriver.hxx index 9429453d90..869ea6208d 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceArrayDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceArrayDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_ReferenceArrayDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceListDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceListDriver.hxx index 043b95f17b..5303571775 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceListDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_ReferenceListDriver.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT BinMDataStd_ReferenceListDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_TreeNodeDriver.cxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_TreeNodeDriver.cxx index 5522af8eb7..485a3db568 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_TreeNodeDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_TreeNodeDriver.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_TreeNodeDriver, BinMDF_ADriver) BinMDataStd_TreeNodeDriver::BinMDataStd_TreeNodeDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_UAttributeDriver.cxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_UAttributeDriver.cxx index 869b729843..372893b839 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_UAttributeDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_UAttributeDriver.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_UAttributeDriver, BinMDF_ADriver) BinMDataStd_UAttributeDriver::BinMDataStd_UAttributeDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_VariableDriver.cxx b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_VariableDriver.cxx index e76d3c484c..1b1fd8de32 100644 --- a/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_VariableDriver.cxx +++ b/src/ApplicationFramework/TKBinL/BinMDataStd/BinMDataStd_VariableDriver.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDataStd_VariableDriver, BinMDF_ADriver) BinMDataStd_VariableDriver::BinMDataStd_VariableDriver( const occ::handle& theMsgDriver) - : BinMDF_ADriver(theMsgDriver, NULL) + : BinMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinL/BinMDocStd/BinMDocStd_XLinkDriver.hxx b/src/ApplicationFramework/TKBinL/BinMDocStd/BinMDocStd_XLinkDriver.hxx index 8e067d0be9..947020e809 100644 --- a/src/ApplicationFramework/TKBinL/BinMDocStd/BinMDocStd_XLinkDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMDocStd/BinMDocStd_XLinkDriver.hxx @@ -34,13 +34,13 @@ class BinMDocStd_XLinkDriver : public BinMDF_ADriver public: Standard_EXPORT BinMDocStd_XLinkDriver(const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_FunctionDriver.hxx b/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_FunctionDriver.hxx index 62618e9732..5979e742ba 100644 --- a/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_FunctionDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_FunctionDriver.hxx @@ -35,13 +35,13 @@ public: Standard_EXPORT BinMFunction_FunctionDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_GraphNodeDriver.hxx b/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_GraphNodeDriver.hxx index 3c601523bc..c3e95a474d 100644 --- a/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_GraphNodeDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_GraphNodeDriver.hxx @@ -35,13 +35,13 @@ public: Standard_EXPORT BinMFunction_GraphNodeDriver( const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_ScopeDriver.hxx b/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_ScopeDriver.hxx index 772d7c6d34..6709649120 100644 --- a/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_ScopeDriver.hxx +++ b/src/ApplicationFramework/TKBinL/BinMFunction/BinMFunction_ScopeDriver.hxx @@ -34,13 +34,13 @@ class BinMFunction_ScopeDriver : public BinMDF_ADriver public: Standard_EXPORT BinMFunction_ScopeDriver(const occ::handle& theMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& Source, - const occ::handle& Target, - BinObjMgt_RRelocationTable& RelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& Source, + const occ::handle& Target, + BinObjMgt_RRelocationTable& RelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& Source, BinObjMgt_Persistent& Target, NCollection_IndexedMap>& RelocTable) const override; diff --git a/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx b/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx index f03608b916..4150687310 100644 --- a/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx +++ b/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx @@ -46,8 +46,8 @@ BinObjMgt_Persistent::BinObjMgt_Persistent() myOffset(BP_HEADSIZE), mySize(BP_HEADSIZE), myIsError(false), - myOStream(NULL), - myIStream(NULL), + myOStream(nullptr), + myIStream(nullptr), myDirectWritingIsEnabled(false) { Init(); @@ -1074,7 +1074,7 @@ void BinObjMgt_Persistent::inverseRealData(const int theIndex, int* aIntData; } aWrapUnion; - void* aPrevPtr = 0; + void* aPrevPtr = nullptr; while (aLen > 0) { int aLenInPiece = std::min(aLen, BP_PIECESIZE - anOffset); @@ -1088,7 +1088,7 @@ void BinObjMgt_Persistent::inverseRealData(const int theIndex, *(int*)aPrevPtr = FSD_BinaryFile::InverseInt(*aWrapUnion.aIntData); *aWrapUnion.aIntData = aTmp; aWrapUnion.aIntData++; - aPrevPtr = 0; + aPrevPtr = nullptr; } for (int i = 0; i < aLenInPiece / BP_REALSIZE; i++) aWrapUnion.aRealData[i] = FSD_BinaryFile::InverseReal(aWrapUnion.aRealData[i]); diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.cxx index 56bba27e39..f39df68651 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.cxx @@ -25,9 +25,8 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_DocumentRetrievalDriver, //================================================================================================= BinTObjDrivers_DocumentRetrievalDriver::BinTObjDrivers_DocumentRetrievalDriver() - : BinLDrivers_DocumentRetrievalDriver() -{ -} + + = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.hxx index bbf5ca221a..6798e398b3 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentRetrievalDriver.hxx @@ -32,7 +32,7 @@ public: Standard_EXPORT BinTObjDrivers_DocumentRetrievalDriver(); // Constructor - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; public: diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.cxx index df3b15d0f6..e56324a6e1 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.cxx @@ -24,9 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_DocumentStorageDriver, BinLDrivers_Doc //================================================================================================= BinTObjDrivers_DocumentStorageDriver::BinTObjDrivers_DocumentStorageDriver() - : BinLDrivers_DocumentStorageDriver() -{ -} + + = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.hxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.hxx index db14e07cc2..f660f040a7 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.hxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_DocumentStorageDriver.hxx @@ -32,7 +32,7 @@ public: Standard_EXPORT BinTObjDrivers_DocumentStorageDriver(); // Constructor - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; public: diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_IntSparseArrayDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_IntSparseArrayDriver.cxx index 17ab677b8d..c8026401e9 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_IntSparseArrayDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_IntSparseArrayDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_IntSparseArrayDriver, BinMDF_ADriver) BinTObjDrivers_IntSparseArrayDriver::BinTObjDrivers_IntSparseArrayDriver( const occ::handle& theMessageDriver) - : BinMDF_ADriver(theMessageDriver, NULL) + : BinMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ModelDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ModelDriver.cxx index 69509c68ed..12905d3503 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ModelDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ModelDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_ModelDriver, BinMDF_ADriver) BinTObjDrivers_ModelDriver::BinTObjDrivers_ModelDriver( const occ::handle& theMessageDriver) - : BinMDF_ADriver(theMessageDriver, NULL) + : BinMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ObjectDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ObjectDriver.cxx index 3cd1ebd0dc..a525b38d81 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ObjectDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ObjectDriver.cxx @@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_ObjectDriver, BinMDF_ADriver) BinTObjDrivers_ObjectDriver::BinTObjDrivers_ObjectDriver( const occ::handle& theMessageDriver) - : BinMDF_ADriver(theMessageDriver, NULL) + : BinMDF_ADriver(theMessageDriver, nullptr) { } @@ -78,7 +78,7 @@ bool BinTObjDrivers_ObjectDriver::Paste(const BinObjMgt_Persistent& theSou TCollection_ExtendedString("TObj_TObject retrieval: wrong object type name ") + aName + ", entry " + anEntry, Message_Fail); - TObj_Assistant::BindType(0); + TObj_Assistant::BindType(nullptr); return false; } // register the type diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ReferenceDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ReferenceDriver.cxx index 6b53714c21..cbe1572805 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ReferenceDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_ReferenceDriver.cxx @@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_ReferenceDriver, BinMDF_ADriver) BinTObjDrivers_ReferenceDriver::BinTObjDrivers_ReferenceDriver( const occ::handle& theMessageDriver) - : BinMDF_ADriver(theMessageDriver, NULL) + : BinMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_XYZDriver.cxx b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_XYZDriver.cxx index df760bb8d3..149f5ae5bb 100644 --- a/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_XYZDriver.cxx +++ b/src/ApplicationFramework/TKBinTObj/BinTObjDrivers/BinTObjDrivers_XYZDriver.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinTObjDrivers_XYZDriver, BinMDF_ADriver) BinTObjDrivers_XYZDriver::BinTObjDrivers_XYZDriver( const occ::handle& theMessageDriver) - : BinMDF_ADriver(theMessageDriver, NULL) + : BinMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.cxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.cxx index 08dfdeb5dd..3a8e40e869 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.cxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.cxx @@ -85,7 +85,7 @@ occ::handle TDataXtd_Axis::Set(const TDF_Label& L, const gp_Lin& //================================================================================================= -TDataXtd_Axis::TDataXtd_Axis() {} +TDataXtd_Axis::TDataXtd_Axis() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.hxx index 732f112680..f739fe75c8 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Axis.hxx @@ -52,7 +52,7 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataXtd_Axis, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Constraint.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Constraint.hxx index d77678899b..4fcc70a228 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Constraint.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Constraint.hxx @@ -183,9 +183,9 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; DEFINE_STANDARD_RTTIEXT(TDataXtd_Constraint, TDF_Attribute) diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Geometry.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Geometry.hxx index 3161c6dc81..84c4275cb3 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Geometry.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Geometry.hxx @@ -131,7 +131,7 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_STANDARD_RTTIEXT(TDataXtd_Geometry, TDF_Attribute) diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_PatternStd.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_PatternStd.hxx index 4940cd3b07..693697795b 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_PatternStd.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_PatternStd.hxx @@ -100,9 +100,9 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_STANDARD_RTTIEXT(TDataXtd_PatternStd, TDataXtd_Pattern) diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.cxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.cxx index 4313206c63..76695107c6 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.cxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.cxx @@ -45,7 +45,7 @@ occ::handle TDataXtd_Placement::Set(const TDF_Label& L) //================================================================================================= -TDataXtd_Placement::TDataXtd_Placement() {} +TDataXtd_Placement::TDataXtd_Placement() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.hxx index e3ef885269..f60d113f12 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Placement.hxx @@ -37,7 +37,7 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataXtd_Placement, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.cxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.cxx index f1b62c2bfa..1b7de6c1b8 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.cxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.cxx @@ -90,7 +90,7 @@ occ::handle TDataXtd_Plane::Set(const TDF_Label& L, const gp_Pln //================================================================================================= -TDataXtd_Plane::TDataXtd_Plane() {} +TDataXtd_Plane::TDataXtd_Plane() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.hxx index 55cf0c0f92..81b3376b0f 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Plane.hxx @@ -50,7 +50,7 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataXtd_Plane, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.cxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.cxx index 6c0d1c3ecb..9672f66b72 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.cxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.cxx @@ -76,7 +76,7 @@ occ::handle TDataXtd_Point::Set(const TDF_Label& L, const gp_Pnt //================================================================================================= -TDataXtd_Point::TDataXtd_Point() {} +TDataXtd_Point::TDataXtd_Point() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.hxx index 4ea837ee08..ebd1e5a21c 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Point.hxx @@ -50,7 +50,7 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataXtd_Point, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Position.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Position.hxx index df78505e5a..7c7c5502ec 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Position.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Position.hxx @@ -51,11 +51,11 @@ public: //! Restores the contents from into this //! one. It is used when aborting a transaction. - Standard_EXPORT virtual void Restore(const occ::handle& anAttribute) override; + Standard_EXPORT void Restore(const occ::handle& anAttribute) override; //! Returns an new empty attribute from the good end //! type. It is used by the copy algorithm. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! This method is different from the "Copy" one, //! because it is used when copying an attribute from @@ -64,7 +64,7 @@ public: //! corresponding to the insertor. The pasted //! attribute may be a brand new one or a new version //! of the previous one. - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& intoAttribute, const occ::handle& aRelocTationable) const override; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Presentation.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Presentation.hxx index b3d3837806..eb1c96167c 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Presentation.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Presentation.hxx @@ -54,11 +54,11 @@ public: //! Restores the contents from into this //! one. It is used when aborting a transaction. - Standard_EXPORT virtual void Restore(const occ::handle& anAttribute) override; + Standard_EXPORT void Restore(const occ::handle& anAttribute) override; //! Returns an new empty attribute from the good end //! type. It is used by the copy algorithm. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! This method is different from the "Copy" one, //! because it is used when copying an attribute from @@ -67,7 +67,7 @@ public: //! corresponding to the insertor. The pasted //! attribute may be a brand new one or a new version //! of the previous one. - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& intoAttribute, const occ::handle& aRelocTationable) const override; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.cxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.cxx index 0fe3bafa51..8650e688a8 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.cxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.cxx @@ -115,7 +115,7 @@ const Standard_GUID& TDataXtd_Shape::GetID() //================================================================================================= -TDataXtd_Shape::TDataXtd_Shape() {} +TDataXtd_Shape::TDataXtd_Shape() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.hxx index 4b8a42f270..be3f386685 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Shape.hxx @@ -54,9 +54,9 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataXtd_Shape, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.cxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.cxx index 409f523305..422a319327 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.cxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.cxx @@ -65,7 +65,7 @@ occ::handle TDataXtd_Triangulation::Set( // use please the static method Set(), // which returns the attribute attached to a label. //======================================================================= -TDataXtd_Triangulation::TDataXtd_Triangulation() {} +TDataXtd_Triangulation::TDataXtd_Triangulation() = default; //======================================================================= // function : TDataXtd_Triangulation diff --git a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.hxx b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.hxx index d7d8684530..30a5bc5a5e 100644 --- a/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.hxx +++ b/src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Triangulation.hxx @@ -140,7 +140,7 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_STANDARD_RTTI_INLINE(TDataXtd_Triangulation, TDF_Attribute) diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnModification.hxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnModification.hxx index d56e830572..92039c8e85 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnModification.hxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnModification.hxx @@ -39,7 +39,7 @@ public: Standard_EXPORT TNaming_DeltaOnModification(const occ::handle& NS); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TNaming_DeltaOnModification, TDF_DeltaOnModification) diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnRemoval.hxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnRemoval.hxx index 3f2d46535b..56fb4ebadd 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnRemoval.hxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_DeltaOnRemoval.hxx @@ -32,7 +32,7 @@ public: Standard_EXPORT TNaming_DeltaOnRemoval(const occ::handle& NS); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TNaming_DeltaOnRemoval, TDF_DeltaOnRemoval) diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Identifier.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Identifier.cxx index 172bf07b2b..ce82989537 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Identifier.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Identifier.cxx @@ -229,21 +229,21 @@ void TNaming_Identifier::AncestorIdentification(TNaming_Localizer& Localizer, if (Context.IsNull()) { myType = TNaming_UNKNOWN; - myDone = 0; + myDone = false; return; } Localizer.FindFeaturesInAncestors(myShape, Context, AncInFeature); if (AncInFeature.IsEmpty()) { - myDone = 0; + myDone = false; return; } myType = TNaming_INTERSECTION; NCollection_Map::Iterator itS(AncInFeature); for (; itS.More(); itS.Next()) myShapeArgs.Append(itS.Key()); - myDone = 1; + myDone = true; } //================================================================================================= @@ -255,20 +255,20 @@ bool IsImported(const occ::handle& NS) for (TDF_ChildIterator cit(Father); cit.More(); cit.Next()) { if (cit.Value() != Lab) - return 0; + return false; } TNaming_Iterator it(NS); if (!it.More()) - return 0; + return false; it.Next(); if (!it.More()) - return 0; + return false; // plus d un shape. #ifdef OCCT_DEBUG std::cout << "WARNING IMPORTED" << std::endl; #endif - return 1; + return true; } //================================================================================================= @@ -285,7 +285,7 @@ void TNaming_Identifier::PrimitiveIdentification(TNaming_Localizer& /*L*/, myType = TNaming_CONSTSHAPE; myIsFeature = false; } - myDone = 1; + myDone = true; } //======================================================================= @@ -303,7 +303,7 @@ void TNaming_Identifier::GeneratedIdentification(TNaming_Localizer& /*Localizer* myShapeArgs.Append(aListOfGenerators); myNSContext = NS; myType = TNaming_GENERATION; - myDone = 1; + myDone = true; } //================================================================================================= @@ -319,7 +319,7 @@ void TNaming_Identifier::Identification(TNaming_Localizer& L if (Primitives.IsEmpty() && Shapes.IsEmpty()) { - myDone = 0; + myDone = false; return; } myType = TNaming_INTERSECTION; @@ -341,5 +341,5 @@ void TNaming_Identifier::Identification(TNaming_Localizer& L myIsFeature = false; } } - myDone = 1; + myDone = true; } diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Iterator.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Iterator.lxx index 0c0e573e93..cbb03c1f4b 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Iterator.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Iterator.lxx @@ -16,5 +16,5 @@ inline bool TNaming_Iterator::More() const { - return (myNode != 0L); + return (myNode != nullptr); } diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_IteratorOnShapesSet.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_IteratorOnShapesSet.lxx index 908094ffbb..5b2b0fff18 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_IteratorOnShapesSet.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_IteratorOnShapesSet.lxx @@ -18,7 +18,7 @@ //================================================================================================= -inline TNaming_IteratorOnShapesSet::TNaming_IteratorOnShapesSet() {} +inline TNaming_IteratorOnShapesSet::TNaming_IteratorOnShapesSet() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Localizer.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Localizer.cxx index 5bf822e9b8..1471d59360 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Localizer.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Localizer.cxx @@ -608,7 +608,7 @@ void TNaming_Localizer::FindNeighbourg( //================================================================================================= -TNaming_Localizer::TNaming_Localizer() {} +TNaming_Localizer::TNaming_Localizer() = default; //================================================================================================= @@ -761,7 +761,7 @@ void TNaming_Localizer::FindShapeContext(const occ::handle& } // szy NCollection_List::Iterator it(aList); - bool found = 0; + bool found = false; for (; it.More(); it.Next()) { SC = it.Value(); @@ -778,7 +778,7 @@ void TNaming_Localizer::FindShapeContext(const occ::handle& { if (exp.Current().IsSame(S)) { - found = 1; + found = true; #ifdef OCCT_DEBUG_SC std::cout << "Find Context shape = " << SC.TShape() << "ShapeType = " << SC.ShapeType() << std::endl; diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Name.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Name.cxx index ed8ffae8aa..630907065d 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Name.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Name.cxx @@ -1545,7 +1545,7 @@ static bool FilterByNeighbourgs(const TDF_Label& NCollection_List>::Iterator it(Args); it.Next(); - bool Keep = 1; + bool Keep = true; #ifdef OCCT_DEBUG_FNB std::cout << "Args number = " << Args.Extent() << std::endl; i = 1; @@ -1593,7 +1593,7 @@ static bool FilterByNeighbourgs(const TDF_Label& } // 6 if (!Connected) { - Keep = 0; + Keep = false; break; } } // 2 @@ -2280,7 +2280,7 @@ static const char* NameTypeToString(const TNaming_NameType Type) bool TNaming_Name::Solve(const TDF_Label& aLab, const NCollection_Map& Valid) const { - bool Done = 0; + bool Done = false; #ifdef OCCT_DEBUG_WIN PrintEntry(aLab); #endif diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.cxx index ce8a62481c..6dc883a25c 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.cxx @@ -65,10 +65,10 @@ public: TNaming_Node(TNaming_PtrRefShape Old, TNaming_PtrRefShape New) : myOld(Old), myNew(New), - myAtt(0L), - nextSameAttribute(0L), - nextSameOld(0L), - nextSameNew(0L) + myAtt(nullptr), + nextSameAttribute(nullptr), + nextSameOld(nullptr), + nextSameNew(nullptr) { } @@ -121,9 +121,9 @@ bool TNaming_Node::IsValidInTrans(int Trans) { if (myAtt->Transaction() <= Trans && Trans <= myAtt->UntilTransaction()) { - return 1; + return true; } - return 0; + return false; } //================================================================================================= @@ -147,7 +147,7 @@ void TNaming_Node::DumpJson(Standard_OStream& theOStream, int theDepth) const { TNaming_NamedShape::TNaming_NamedShape() { - myNode = 0L; + myNode = nullptr; myVersion = 0; myEvolution = TNaming_PRIMITIVE; } @@ -175,30 +175,30 @@ static void RemoveNode( TNaming_Node*& N) { TNaming_RefShape* pos = N->myOld; - if (pos != 0L) + if (pos != nullptr) { if (pos->FirstUse() == N) { TNaming_Node* nextOld = N->nextSameOld; - if (nextOld != 0L) + if (nextOld != nullptr) pos->FirstUse(nextOld); else { // le shape disparait if (MapExist) M.UnBind(pos->Shape()); - N->myOld = 0L; + N->myOld = nullptr; if (pos != N->myNew) { delete pos; - pos = 0L; + pos = nullptr; } } } else { TNaming_Node* pdn = pos->FirstUse(); - while (pdn != 0L) + while (pdn != nullptr) { if (pdn->NextSameShape(pos) == N) @@ -215,12 +215,12 @@ static void RemoveNode( } TNaming_RefShape* pns = N->myNew; - if (pns != 0L) + if (pns != nullptr) { if (pns->FirstUse() == N) { TNaming_Node* nextNew = N->nextSameNew; - if (nextNew != 0L) + if (nextNew != nullptr) pns->FirstUse(nextNew); else { @@ -228,17 +228,17 @@ static void RemoveNode( if (MapExist) M.UnBind(pns->Shape()); - pns->FirstUse(0L); + pns->FirstUse(nullptr); delete pns; - pns = 0L; + pns = nullptr; - N->myNew = 0L; + N->myNew = nullptr; } } else { TNaming_Node* pdn = pns->FirstUse(); - while (pdn != 0L) + while (pdn != nullptr) { if (pdn->NextSameShape(pns) == N) { @@ -268,7 +268,7 @@ void TNaming_NamedShape::Clear() occ::handle US; - NCollection_DataMap* M = NULL; + NCollection_DataMap* M = nullptr; // Recuperation de la map si celle-ci n est pas deja detruite. // bool MapExist = Ins.FindInRoot(TNaming_UsedShapes::GetID(),US); @@ -278,7 +278,7 @@ void TNaming_NamedShape::Clear() M = &(US->Map()); TNaming_Node* p = myNode; - while (p != 0L) + while (p != nullptr) { RemoveNode(MapExist, *M, p); p = p->nextSameAttribute; @@ -286,18 +286,18 @@ void TNaming_NamedShape::Clear() p = myNode; TNaming_Node* q; - while (p != 0L) + while (p != nullptr) { q = p; p = p->nextSameAttribute; - if (q != 0L) + if (q != nullptr) { delete q; - q = 0L; + q = nullptr; } } - myNode = 0L; + myNode = nullptr; } //================================================================================================= @@ -333,7 +333,7 @@ bool TNaming_NamedShape::AfterUndo(const occ::handle& anAttD { occ::handle US; - NCollection_DataMap* M = NULL; + NCollection_DataMap* M = nullptr; // Recuperation de la map si celle-ci n est pas deja detruite. // bool MapExist = Ins.FindInRoot(TNaming_UsedShapes::GetID(),US); @@ -344,7 +344,7 @@ bool TNaming_NamedShape::AfterUndo(const occ::handle& anAttD M = &(US->Map()); TNaming_Node* p = myNode; - while (p != 0L) + while (p != nullptr) { RemoveNode(MapExist, *M, p); p = p->nextSameAttribute; @@ -352,18 +352,18 @@ bool TNaming_NamedShape::AfterUndo(const occ::handle& anAttD p = myNode; TNaming_Node* q; - while (p != 0L) + while (p != nullptr) { q = p; p = p->nextSameAttribute; - if (q != 0L) + if (q != nullptr) { delete q; - q = 0L; + q = nullptr; } } - myNode = 0L; + myNode = nullptr; } return true; } @@ -384,9 +384,9 @@ occ::handle TNaming_NamedShape::BackupCopy() const TNaming_Node* CN = Cop->myNode; occ::handle A = this; - A->myNode = 0L; + A->myNode = nullptr; - while (CN != 0L) + while (CN != nullptr) { CN->myAtt = Cop.operator->(); CN = CN->nextSameAttribute; @@ -407,12 +407,12 @@ void TNaming_NamedShape::Restore(const occ::handle& anAttribute) // Mise a jour de myAtt sur les noeuds dans l attribut. TNaming_Node* CN = myNode; - while (CN != 0L) + while (CN != nullptr) { CN->myAtt = this; CN = CN->nextSameAttribute; } - PAtt->myNode = 0L; // un noeud est dans un seul attribut. + PAtt->myNode = nullptr; // un noeud est dans un seul attribut. } //================================================================================================= @@ -511,14 +511,14 @@ void TNaming_NamedShape::References(const occ::handle& aDataSet) co // Recherche des dependances. // Pour chaque OldShape de l attribut on ajoute au dataSet son label d origine. TNaming_Node* Current = myNode; - while (Current != NULL) + while (Current != nullptr) { - if (Current->myOld != NULL) + if (Current->myOld != nullptr) { TNaming_RefShape* prs = Current->myOld; TNaming_Node* pdn = prs->FirstUse(); - while (pdn != NULL) + while (pdn != nullptr) { if (pdn->myNew == prs && pdn->myAtt->Evolution() != TNaming_SELECTED) { @@ -536,7 +536,7 @@ void TNaming_NamedShape::References(const occ::handle& aDataSet) co void TNaming_NamedShape::Add(TNaming_Node*& pdn) { pdn->myAtt = this; - if (myNode != 0L) + if (myNode != nullptr) { pdn->nextSameAttribute = myNode; } @@ -596,14 +596,14 @@ occ::handle TNaming_Builder::NamedShape() const static void UpdateFirstUseOrNextSameShape(TNaming_RefShape*& prs, TNaming_Node*& pdn) { TNaming_Node* ldn = prs->FirstUse(); - if (ldn == 0L) + if (ldn == nullptr) { prs->FirstUse(pdn); } else { TNaming_Node* cdn = ldn; - while (cdn != 0L) + while (cdn != nullptr) { ldn = cdn; cdn = cdn->NextSameShape(prs); @@ -628,7 +628,7 @@ static void UpdateFirstUseOrNextSameShape(TNaming_RefShape*& prs, TNaming_Node*& void TNaming_Builder::Generated(const TopoDS_Shape& newShape) { - if (myAtt->myNode == 0L) + if (myAtt->myNode == nullptr) myAtt->myEvolution = TNaming_PRIMITIVE; else { @@ -636,7 +636,7 @@ void TNaming_Builder::Generated(const TopoDS_Shape& newShape) throw Standard_ConstructionError("TNaming_Builder : not same evolution"); } - TNaming_RefShape* pos = 0L; + TNaming_RefShape* pos = nullptr; TNaming_RefShape* pns; if (myShapes->myMap.IsBound(newShape)) @@ -667,7 +667,7 @@ void TNaming_Builder::Generated(const TopoDS_Shape& newShape) void TNaming_Builder::Delete(const TopoDS_Shape& oldShape) { - if (myAtt->myNode == 0L) + if (myAtt->myNode == nullptr) myAtt->myEvolution = TNaming_DELETE; else { @@ -703,7 +703,7 @@ void TNaming_Builder::Delete(const TopoDS_Shape& oldShape) void TNaming_Builder::Generated(const TopoDS_Shape& oldShape, const TopoDS_Shape& newShape) { - if (myAtt->myNode == 0L) + if (myAtt->myNode == nullptr) myAtt->myEvolution = TNaming_GENERATED; else { @@ -746,7 +746,7 @@ void TNaming_Builder::Generated(const TopoDS_Shape& oldShape, const TopoDS_Shape void TNaming_Builder::Modify(const TopoDS_Shape& oldShape, const TopoDS_Shape& newShape) { - if (myAtt->myNode == 0L) + if (myAtt->myNode == nullptr) myAtt->myEvolution = TNaming_MODIFY; else { @@ -789,7 +789,7 @@ void TNaming_Builder::Modify(const TopoDS_Shape& oldShape, const TopoDS_Shape& n void TNaming_Builder::Select(const TopoDS_Shape& S, const TopoDS_Shape& InS) { - if (myAtt->myNode == 0L) + if (myAtt->myNode == nullptr) myAtt->myEvolution = TNaming_SELECTED; else { @@ -845,7 +845,7 @@ TNaming_Iterator::TNaming_Iterator(const TDF_Label& Lab) } else { - myNode = 0L; + myNode = nullptr; } } @@ -861,7 +861,7 @@ TNaming_Iterator::TNaming_Iterator(const TDF_Label& Lab, const int Trans) } else { - myNode = 0L; + myNode = nullptr; #ifdef OCCT_DEBUG std::cout << "TNaming_Iterator : No Shape for this label" << std::endl; #endif @@ -872,7 +872,7 @@ TNaming_Iterator::TNaming_Iterator(const TDF_Label& Lab, const int Trans) void TNaming_Iterator::Next() { - Standard_NoMoreObject_Raise_if(myNode == 0L, "TNaming_Iterator::Next"); + Standard_NoMoreObject_Raise_if(myNode == nullptr, "TNaming_Iterator::Next"); myNode = myNode->nextSameAttribute; } @@ -880,8 +880,8 @@ void TNaming_Iterator::Next() const TopoDS_Shape& TNaming_Iterator::OldShape() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_Iterator::OldShape"); - if (myNode->myOld == 0L) + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_Iterator::OldShape"); + if (myNode->myOld == nullptr) { static TopoDS_Shape NullShape; return NullShape; @@ -893,8 +893,8 @@ const TopoDS_Shape& TNaming_Iterator::OldShape() const const TopoDS_Shape& TNaming_Iterator::NewShape() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_Iterator::NewShape"); - if (myNode->myNew == 0L) + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_Iterator::NewShape"); + if (myNode->myNew == nullptr) { static TopoDS_Shape NullShape; return NullShape; @@ -906,7 +906,7 @@ const TopoDS_Shape& TNaming_Iterator::NewShape() const bool TNaming_Iterator::IsModification() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_Iterator::IsModification"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_Iterator::IsModification"); return (myNode->myAtt->myEvolution == TNaming_MODIFY || myNode->myAtt->myEvolution == TNaming_DELETE); } @@ -915,7 +915,7 @@ bool TNaming_Iterator::IsModification() const TNaming_Evolution TNaming_Iterator::Evolution() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_Iterator::IsModification"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_Iterator::IsModification"); return myNode->myAtt->myEvolution; } @@ -938,7 +938,7 @@ static void SelectSameShape(TNaming_Node*& myNode, { TNaming_Node* pdn = myNode; - while (pdn != 0L) + while (pdn != nullptr) { bool Valid; if (Trans < 0) @@ -950,14 +950,14 @@ static void SelectSameShape(TNaming_Node*& myNode, { if (Old) { - if (pdn->myOld == RS && pdn->myNew != 0L && pdn->myNew != RS) + if (pdn->myOld == RS && pdn->myNew != nullptr && pdn->myNew != RS) { break; } } else { - if (pdn->myNew == RS && pdn->myOld != 0L && pdn->myOld != RS) + if (pdn->myNew == RS && pdn->myOld != nullptr && pdn->myOld != RS) { break; } @@ -1007,12 +1007,12 @@ TNaming_NewShapeIterator::TNaming_NewShapeIterator(const TopoDS_Shape& aShape, TNaming_NewShapeIterator::TNaming_NewShapeIterator(const TNaming_Iterator& anIterator) : myTrans(anIterator.myTrans) { - Standard_NoSuchObject_Raise_if(anIterator.myNode == 0L, + Standard_NoSuchObject_Raise_if(anIterator.myNode == nullptr, "TNaming_NewShapeIterator::TNaming_NewShapeIterator"); myNode = anIterator.myNode; TNaming_RefShape* RS = myNode->myNew; - if (RS == 0L) - myNode = 0L; // No descendant + if (RS == nullptr) + myNode = nullptr; // No descendant else { // il faut repartir de la premiere utilisation. @@ -1059,12 +1059,12 @@ TNaming_NewShapeIterator::TNaming_NewShapeIterator(const TopoDS_Shape& aShape, TNaming_NewShapeIterator::TNaming_NewShapeIterator(const TNaming_NewShapeIterator& anIterator) : myTrans(anIterator.myTrans) { - Standard_NoSuchObject_Raise_if(anIterator.myNode == 0L, + Standard_NoSuchObject_Raise_if(anIterator.myNode == nullptr, "TNaming_NewShapeIterator::TNaming_NewShapeIterator"); myNode = anIterator.myNode; TNaming_RefShape* RS = myNode->myNew; - if (RS == 0L) - myNode = 0L; // No descendant + if (RS == nullptr) + myNode = nullptr; // No descendant else { // il faut repartir de la premiere utilisation. @@ -1088,7 +1088,7 @@ void TNaming_NewShapeIterator::Next() TDF_Label TNaming_NewShapeIterator::Label() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_NewShapeIterator::Label"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_NewShapeIterator::Label"); return myNode->Label(); } @@ -1096,7 +1096,7 @@ TDF_Label TNaming_NewShapeIterator::Label() const occ::handle TNaming_NewShapeIterator::NamedShape() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_NewShapeIterator::Label"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_NewShapeIterator::Label"); return myNode->myAtt; } @@ -1104,7 +1104,7 @@ occ::handle TNaming_NewShapeIterator::NamedShape() const const TopoDS_Shape& TNaming_NewShapeIterator::Shape() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_NewShapeIterator::Shape"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_NewShapeIterator::Shape"); return myNode->myNew->Shape(); } @@ -1112,7 +1112,7 @@ const TopoDS_Shape& TNaming_NewShapeIterator::Shape() const bool TNaming_NewShapeIterator::IsModification() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_NewShapeIterator::IsModification"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_NewShapeIterator::IsModification"); return (myNode->myAtt->myEvolution == TNaming_MODIFY || myNode->myAtt->myEvolution == TNaming_DELETE); @@ -1192,12 +1192,12 @@ TNaming_OldShapeIterator::TNaming_OldShapeIterator(const TopoDS_Shape& aShape, TNaming_OldShapeIterator::TNaming_OldShapeIterator(const TNaming_Iterator& anIterator) : myTrans(anIterator.myTrans) { - Standard_NoSuchObject_Raise_if(anIterator.myNode == 0L, + Standard_NoSuchObject_Raise_if(anIterator.myNode == nullptr, "TNaming_OldShapeIterator::TNaming_OldShapeIterator"); myNode = anIterator.myNode; TNaming_RefShape* RS = myNode->myNew; - if (RS == 0L) - myNode = 0L; // No descendant + if (RS == nullptr) + myNode = nullptr; // No descendant else { // il faut repartir de la premiere utilisation. @@ -1212,12 +1212,12 @@ TNaming_OldShapeIterator::TNaming_OldShapeIterator(const TNaming_Iterator& anIte TNaming_OldShapeIterator::TNaming_OldShapeIterator(const TNaming_OldShapeIterator& anIterator) : myTrans(anIterator.myTrans) { - Standard_NoSuchObject_Raise_if(anIterator.myNode == 0L, + Standard_NoSuchObject_Raise_if(anIterator.myNode == nullptr, "TNaming_OldShapeIterator::TNaming_OldShapeIterator"); myNode = anIterator.myNode; TNaming_RefShape* RS = myNode->myOld; - if (RS == 0L) - myNode = 0L; // No descendant + if (RS == nullptr) + myNode = nullptr; // No descendant else { // il faut repartir de la premiere utilisation. @@ -1241,7 +1241,7 @@ void TNaming_OldShapeIterator::Next() TDF_Label TNaming_OldShapeIterator::Label() const { - if (myNode == 0L) + if (myNode == nullptr) throw Standard_NoSuchObject("TNaming_OldShapeIterator::Label"); return myNode->Label(); } @@ -1250,7 +1250,7 @@ TDF_Label TNaming_OldShapeIterator::Label() const occ::handle TNaming_OldShapeIterator::NamedShape() const { - if (myNode == 0L) + if (myNode == nullptr) throw Standard_NoSuchObject("TNaming_OldShapeIterator::Label"); return myNode->myAtt; } @@ -1259,7 +1259,7 @@ occ::handle TNaming_OldShapeIterator::NamedShape() const const TopoDS_Shape& TNaming_OldShapeIterator::Shape() const { - if (myNode == 0L) + if (myNode == nullptr) throw Standard_NoSuchObject("TNaming_OldShapeIterator::Shape"); return myNode->myOld->Shape(); } @@ -1268,7 +1268,7 @@ const TopoDS_Shape& TNaming_OldShapeIterator::Shape() const bool TNaming_OldShapeIterator::IsModification() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_OldShapeIterator::IsModification"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_OldShapeIterator::IsModification"); return (myNode->myAtt->myEvolution == TNaming_MODIFY || myNode->myAtt->myEvolution == TNaming_DELETE); } @@ -1312,7 +1312,7 @@ void TNaming_SameShapeIterator::Next() prs = myNode->myOld; myNode = myNode->NextSameShape(prs); - if (myNode != 0L) + if (myNode != nullptr) myIsNew = (myNode->myNew == prs); } @@ -1320,7 +1320,7 @@ void TNaming_SameShapeIterator::Next() TDF_Label TNaming_SameShapeIterator::Label() const { - Standard_NoSuchObject_Raise_if(myNode == 0L, "TNaming_SameShapeIterator::Label"); + Standard_NoSuchObject_Raise_if(myNode == nullptr, "TNaming_SameShapeIterator::Label"); return myNode->Label(); } @@ -1410,11 +1410,11 @@ TDF_Label TNaming_Tool::Label(const occ::handle& Shapes, TNaming_RefShape* prs = Shapes->Map().Find(S); TNaming_Node* pdn = prs->FirstUse(); - while (pdn != 0L && !(pdn->myNew == prs && pdn->myAtt->Evolution() != TNaming_SELECTED)) + while (pdn != nullptr && !(pdn->myNew == prs && pdn->myAtt->Evolution() != TNaming_SELECTED)) { pdn = pdn->NextSameShape(prs); } - if (pdn == 0L) + if (pdn == nullptr) pdn = prs->FirstUse(); TDF_Label L = pdn->Label(); @@ -1441,9 +1441,9 @@ occ::handle TNaming_Tool::NamedShape(const TopoDS_Shape& S, TNaming_RefShape* prs = US->Map().Find(S); TNaming_Node* pdn = prs->FirstUse(); - TNaming_Node* res = 0L; + TNaming_Node* res = nullptr; - while (pdn != 0L) + while (pdn != nullptr) { if (pdn->myNew == prs && pdn->myAtt->Evolution() != TNaming_SELECTED) { @@ -1459,7 +1459,7 @@ occ::handle TNaming_Tool::NamedShape(const TopoDS_Shape& S, pdn = pdn->NextSameShape(prs); } - if (res == 0L) + if (res == nullptr) return NS; // VERUE EN ATTENDANT DE REVOIR ABORT 03/11/98 @@ -1484,9 +1484,9 @@ int TNaming_Tool::ValidUntil(const TopoDS_Shape& S, const occ::handleFirstUse(); - while (Node != 0L) + while (Node != nullptr) { - if (Node->myNew != 0L && Node->myNew == RS) + if (Node->myNew != nullptr && Node->myNew == RS) { Cur = Node->myAtt->UntilTransaction(); if (Cur > Until) @@ -1506,7 +1506,7 @@ void TNaming_NamedShape::DumpJson(Standard_OStream& theOStream, int theDepth) co OCCT_DUMP_BASE_CLASS(theOStream, theDepth, TDF_Attribute) TNaming_Node* p = myNode; - if (p != 0L) + if (p != nullptr) { TCollection_AsciiString aLabel; TDF_Tool::Entry(myNode->Label(), aLabel); diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.hxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.hxx index 3df475eb20..d4cb596e99 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.hxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.hxx @@ -69,35 +69,35 @@ public: Standard_EXPORT void Clear(); - ~TNaming_NamedShape() { Clear(); } + ~TNaming_NamedShape() override { Clear(); } //! Returns the ID of the attribute. const Standard_GUID& ID() const override; //! Copies the attribute contents into a new other //! attribute. It is used by Backup(). - Standard_EXPORT virtual occ::handle BackupCopy() const override; + Standard_EXPORT occ::handle BackupCopy() const override; //! Restores the contents from into this //! one. It is used when aborting a transaction. - Standard_EXPORT virtual void Restore(const occ::handle& anAttribute) override; + Standard_EXPORT void Restore(const occ::handle& anAttribute) override; //! Makes a DeltaOnModification between and //! DeltaOnModification( + Standard_EXPORT occ::handle DeltaOnModification( const occ::handle& anOldAttribute) const override; //! Applies a DeltaOnModification to . - Standard_EXPORT virtual void DeltaOnModification( + Standard_EXPORT void DeltaOnModification( const occ::handle& aDelta) override; //! Makes a DeltaOnRemoval on because has //! disappeared from the DS. - Standard_EXPORT virtual occ::handle DeltaOnRemoval() const override; + Standard_EXPORT occ::handle DeltaOnRemoval() const override; //! Returns an new empty attribute from the good end //! type. It is used by the copy algorithm. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! This method is different from the "Copy" one, //! because it is used when copying an attribute from @@ -106,31 +106,30 @@ public: //! corresponding to the insertor. The pasted //! attribute may be a brand new one or a new version //! of the previous one. - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& intoAttribute, const occ::handle& aRelocTationable) const override; //! Adds the directly referenced attributes and labels //! to . "Directly" means we have only to //! look at the first level of references. - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; - Standard_EXPORT virtual void BeforeRemoval() override; + Standard_EXPORT void BeforeRemoval() override; //! Something to do before applying - Standard_EXPORT virtual bool BeforeUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool BeforeUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Something to do after applying . - Standard_EXPORT virtual bool AfterUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool AfterUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Dumps the attribute on . - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; friend class TNaming_Builder; friend class TNaming_Iterator; diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx index 5b724a5eb8..a835b75934 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx @@ -243,9 +243,9 @@ static bool CompareInGeneration(const occ::handle& NS, const for (TNaming_Iterator it(NS); it.More(); it.Next()) { if (!it.NewShape().IsSame(S)) - return 0; + return false; } - return 1; + return true; } //======================================================================= @@ -492,7 +492,7 @@ static bool TestSolution(const TNaming_Scope& MDF, aMS.Remove(exp.Current()); } else - return 0; + return false; } return aMS.IsEmpty(); } @@ -517,7 +517,7 @@ static bool TestSolution(const TNaming_Scope& MDF, { MS.Remove(Res); if (MS.IsEmpty()) - return 1; + return true; } if (Res.ShapeType() == TopAbs_SOLID || Res.ShapeType() == TopAbs_COMPSOLID || Res.ShapeType() == TopAbs_COMPOUND) @@ -559,7 +559,7 @@ static bool TestSolution(const TNaming_Scope& MDF, MS.Remove(it.Value()); } else - return 0; + return false; } } return MS.IsEmpty(); @@ -768,7 +768,7 @@ static bool Filter(const TDF_Label& F, #ifdef OCCT_DEBUG std::cout << "FindNeighbourg: impossible" << std::endl; #endif - return 0; + return false; } else { @@ -779,7 +779,7 @@ static bool Filter(const TDF_Label& F, // std::cout <<"Filter: Lev = " << aLev << std::endl; } if (aLev > 3) - return 0; + return false; #ifdef ALLOW_CHILD_NBS occ::handle aFNaming; TopoDS_Shape aFatherCandSh; @@ -861,13 +861,13 @@ static bool Filter(const TDF_Label& F, TNaming_Tool::NamedShape(Context, NS->Label()); occ::handle Stop = NextModif(Until); if (Compare(NS, MDF, Stop, S)) - return 1; + return true; break; } } } } - return 0; + return false; } } #endif @@ -901,7 +901,7 @@ static bool Filter(const TDF_Label& F, { #ifdef ALLOW_CHILD_NBS const TopoDS_Shape& aS = itN.Key(); - occ::handle aNS = BuildName(NF->Label(), MDF, aS, Context, Stop, 1); + occ::handle aNS = BuildName(NF->Label(), MDF, aS, Context, Stop, true); #ifdef OCCT_DEBUG_NBS const TopoDS_Shape& aS2 = aNS->Get(); if (!aS.IsNull()) @@ -964,11 +964,11 @@ static bool Filter(const TDF_Label& F, // Check du filtre. //----------------- if (Compare(NS, MDF, Stop, S)) - return 1; + return true; #ifdef OCCT_DEBUG std::cout << "TNaming_Naming::Name Filter insufficient" << std::endl; #endif - return 0; + return false; } //======================================================================= @@ -1440,7 +1440,7 @@ static occ::handle BuildNameWire(const TDF_Label& F, if (BRep_Tool::Degenerated(TopoDS::Edge(exp.Current()))) continue; theName.Append( - TNaming_Naming::Name(Naming->Label(), exp.Current(), Context, Geom, 1, 0)); + TNaming_Naming::Name(Naming->Label(), exp.Current(), Context, Geom, true, false)); } } } @@ -1462,7 +1462,8 @@ static occ::handle BuildNameWire(const TDF_Label& F, continue; if (BRep_Tool::Degenerated(TopoDS::Edge(exp.Current()))) continue; - theName.Append(TNaming_Naming::Name(Naming->Label(), exp.Current(), Context, Geom, 1, 0)); + theName.Append( + TNaming_Naming::Name(Naming->Label(), exp.Current(), Context, Geom, true, false)); } } } // @@ -1925,7 +1926,7 @@ occ::handle TNaming_Naming::Name(const TDF_Label& F, theName.Orientation(S.Orientation()); if (!TNaming_Selector::IsIdentified(F, S, aNamedShape, Geom)) - aNamedShape = TNaming_Naming::Name(Naming->Label(), S, Context, Geom, 0); + aNamedShape = TNaming_Naming::Name(Naming->Label(), S, Context, Geom, false); theName.Append(aNamedShape); #ifdef MDTV_OR std::cout << " Sel Label ==> "; @@ -1967,13 +1968,13 @@ occ::handle TNaming_Naming::Name(const TDF_Label& F, for (int i = Arr->Lower(); i <= Arr->Upper(); i++) { aNamedShape = - TNaming_Naming::Name(Naming->Label(), Arr->Value(i), Context, Geom, 1, aBNproblem); + TNaming_Naming::Name(Naming->Label(), Arr->Value(i), Context, Geom, true, aBNproblem); theName.Append(aNamedShape); } } else { - aNamedShape = TNaming_Naming::Name(Naming->Label(), UC, Context, Geom, 1, aBNproblem); + aNamedShape = TNaming_Naming::Name(Naming->Label(), UC, Context, Geom, true, aBNproblem); theName.Append(aNamedShape); #ifdef MDTV_OR std::cout << " Cont Label ==> "; @@ -2124,7 +2125,7 @@ occ::handle TNaming_Naming::Name(const TDF_Label& F, //================================================================================================= -TNaming_Naming::TNaming_Naming() {} +TNaming_Naming::TNaming_Naming() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.hxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.hxx index 7a4fde9dce..245e44e1e4 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.hxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.hxx @@ -86,7 +86,7 @@ public: //! Deferred methods from TDF_Attribute //! =================================== - Standard_EXPORT virtual const Standard_GUID& ID() const override; + Standard_EXPORT const Standard_GUID& ID() const override; Standard_EXPORT occ::handle NewEmpty() const override; @@ -95,11 +95,11 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; - Standard_EXPORT virtual void ExtendedDump( + Standard_EXPORT void ExtendedDump( Standard_OStream& anOS, const TDF_IDFilter& aFilter, NCollection_IndexedMap>& aMap) const override; diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_NewShapeIterator.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_NewShapeIterator.lxx index 1cf3c7b8c4..6ecdf5baf0 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_NewShapeIterator.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_NewShapeIterator.lxx @@ -18,5 +18,5 @@ inline bool TNaming_NewShapeIterator::More() const { - return (myNode != 0L); + return (myNode != nullptr); } diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_OldShapeIterator.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_OldShapeIterator.lxx index 73b922ff14..589fda872e 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_OldShapeIterator.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_OldShapeIterator.lxx @@ -18,5 +18,5 @@ inline bool TNaming_OldShapeIterator::More() const { - return (myNode != 0L); + return (myNode != nullptr); } diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_RefShape.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_RefShape.lxx index fb7617cc04..5b77c1798d 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_RefShape.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_RefShape.lxx @@ -17,7 +17,7 @@ //================================================================================================= inline TNaming_RefShape::TNaming_RefShape() - : myFirstUse(0) + : myFirstUse(nullptr) { } @@ -25,7 +25,7 @@ inline TNaming_RefShape::TNaming_RefShape() inline TNaming_RefShape::TNaming_RefShape(const TopoDS_Shape& S) : myShape(S), - myFirstUse(0) + myFirstUse(nullptr) { } diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_SameShapeIterator.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_SameShapeIterator.lxx index dd1e6277a9..eee1d4e4f4 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_SameShapeIterator.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_SameShapeIterator.lxx @@ -18,5 +18,5 @@ inline bool TNaming_SameShapeIterator::More() const { - return (myNode != 0L); + return (myNode != nullptr); } diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_ShapesSet.lxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_ShapesSet.lxx index ec34a394c1..11b06491f7 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_ShapesSet.lxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_ShapesSet.lxx @@ -20,7 +20,7 @@ //================================================================================================= -inline TNaming_ShapesSet::TNaming_ShapesSet() {} +inline TNaming_ShapesSet::TNaming_ShapesSet() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Tool.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Tool.cxx index 52d26e70e1..c5e1165d96 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Tool.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Tool.cxx @@ -457,13 +457,13 @@ void TNaming_Tool::FirstOlds(const occ::handle& NCollection_List& Labels) { int TransDef; - bool YaModif = 0; + bool YaModif = false; for (; it.More(); it.Next()) { if (it.IsModification()) { - YaModif = 1; + YaModif = true; TNaming_OldShapeIterator it2(it); if (!it2.More()) { diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.cxx index a059bfbbe3..79cb5a93ce 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.cxx @@ -42,7 +42,7 @@ const Standard_GUID& TNaming_UsedShapes::GetID() //================================================================================================= -TNaming_UsedShapes::TNaming_UsedShapes() {} +TNaming_UsedShapes::TNaming_UsedShapes() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.hxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.hxx index b011017f56..3ee27c799f 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.hxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.hxx @@ -44,7 +44,7 @@ class TNaming_UsedShapes : public TDF_Attribute public: Standard_EXPORT void Destroy(); - ~TNaming_UsedShapes() { Destroy(); } + ~TNaming_UsedShapes() override { Destroy(); } NCollection_DataMap& Map(); @@ -56,28 +56,28 @@ public: //! Copies the attribute contents into a new other //! attribute. It is used by Backup(). - Standard_EXPORT virtual occ::handle BackupCopy() const override; + Standard_EXPORT occ::handle BackupCopy() const override; //! Restores the contents from into this //! one. It is used when aborting a transaction. - Standard_EXPORT virtual void Restore(const occ::handle& anAttribute) override; + Standard_EXPORT void Restore(const occ::handle& anAttribute) override; //! Clears the table. - Standard_EXPORT virtual void BeforeRemoval() override; + Standard_EXPORT void BeforeRemoval() override; //! Something to do after applying . - Standard_EXPORT virtual bool AfterUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool AfterUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! this method returns a null handle (no delta). - Standard_EXPORT virtual occ::handle DeltaOnAddition() const override; + Standard_EXPORT occ::handle DeltaOnAddition() const override; //! this method returns a null handle (no delta). - Standard_EXPORT virtual occ::handle DeltaOnRemoval() const override; + Standard_EXPORT occ::handle DeltaOnRemoval() const override; //! Returns an new empty attribute from the good end //! type. It is used by the copy algorithm. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! This method is different from the "Copy" one, //! because it is used when copying an attribute from @@ -86,7 +86,7 @@ public: //! corresponding to the insertor. The pasted //! attribute may be a brand new one or a new version //! of the previous one. - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& intoAttribute, const occ::handle& aRelocTationable) const override; @@ -97,10 +97,10 @@ public: //! For this, use only the AddLabel() & AddAttribute() //! from DataSet and do not try to modify information //! previously stored in . - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; //! Dumps the attribute on . - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; diff --git a/src/ApplicationFramework/TKCDF/CDF/CDF_Directory.cxx b/src/ApplicationFramework/TKCDF/CDF/CDF_Directory.cxx index 70d5d57082..6ab8739639 100644 --- a/src/ApplicationFramework/TKCDF/CDF/CDF_Directory.cxx +++ b/src/ApplicationFramework/TKCDF/CDF/CDF_Directory.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(CDF_Directory, Standard_Transient) -CDF_Directory::CDF_Directory() {} +CDF_Directory::CDF_Directory() = default; void CDF_Directory::Add(const occ::handle& aDocument) { diff --git a/src/ApplicationFramework/TKCDF/CDF/CDF_FWOSDriver.hxx b/src/ApplicationFramework/TKCDF/CDF/CDF_FWOSDriver.hxx index aa025e64ab..338ef33adf 100644 --- a/src/ApplicationFramework/TKCDF/CDF/CDF_FWOSDriver.hxx +++ b/src/ApplicationFramework/TKCDF/CDF/CDF_FWOSDriver.hxx @@ -52,9 +52,9 @@ public: Standard_EXPORT TCollection_ExtendedString BuildFileName(const occ::handle& aDocument) override; - Standard_EXPORT virtual TCollection_ExtendedString SetName( - const occ::handle& aDocument, - const TCollection_ExtendedString& aName) override; + Standard_EXPORT TCollection_ExtendedString + SetName(const occ::handle& aDocument, + const TCollection_ExtendedString& aName) override; DEFINE_STANDARD_RTTIEXT(CDF_FWOSDriver, CDF_MetaDataDriver) diff --git a/src/ApplicationFramework/TKCDF/CDF/CDF_MetaDataDriver.cxx b/src/ApplicationFramework/TKCDF/CDF/CDF_MetaDataDriver.cxx index 5f66199651..15e7d68840 100644 --- a/src/ApplicationFramework/TKCDF/CDF/CDF_MetaDataDriver.cxx +++ b/src/ApplicationFramework/TKCDF/CDF/CDF_MetaDataDriver.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(CDF_MetaDataDriver, Standard_Transient) //================================================================================================= -CDF_MetaDataDriver::CDF_MetaDataDriver() {} +CDF_MetaDataDriver::CDF_MetaDataDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCDF/CDM/CDM_Document.cxx b/src/ApplicationFramework/TKCDF/CDM/CDM_Document.cxx index 05fb90cc69..537636dbd6 100644 --- a/src/ApplicationFramework/TKCDF/CDM/CDM_Document.cxx +++ b/src/ApplicationFramework/TKCDF/CDM/CDM_Document.cxx @@ -416,7 +416,7 @@ void CDM_Document::Comments(NCollection_Sequence& aC const char16_t* CDM_Document::Comment() const { if (myComments.Length() < 1) - return 0; + return nullptr; return myComments(1).ToExtString(); } diff --git a/src/ApplicationFramework/TKCDF/CDM/CDM_Document.hxx b/src/ApplicationFramework/TKCDF/CDM/CDM_Document.hxx index 940f04c29e..b2f7c47da0 100644 --- a/src/ApplicationFramework/TKCDF/CDM/CDM_Document.hxx +++ b/src/ApplicationFramework/TKCDF/CDM/CDM_Document.hxx @@ -347,7 +347,7 @@ public: protected: Standard_EXPORT CDM_Document(); - Standard_EXPORT ~CDM_Document(); + Standard_EXPORT ~CDM_Document() override; bool myResourcesAreLoaded; diff --git a/src/ApplicationFramework/TKCDF/CDM/CDM_MetaData.cxx b/src/ApplicationFramework/TKCDF/CDM/CDM_MetaData.cxx index 4e35e7cdbb..be00688d3c 100644 --- a/src/ApplicationFramework/TKCDF/CDM/CDM_MetaData.cxx +++ b/src/ApplicationFramework/TKCDF/CDM/CDM_MetaData.cxx @@ -33,7 +33,7 @@ CDM_MetaData::CDM_MetaData(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aFileName, const bool ReadOnly) : myIsRetrieved(false), - myDocument(NULL), + myDocument(nullptr), myFolder(aFolder), myName(aName), myHasVersion(false), @@ -51,7 +51,7 @@ CDM_MetaData::CDM_MetaData(const TCollection_ExtendedString& aFolder, const TCollection_ExtendedString& aFileName, const bool ReadOnly) : myIsRetrieved(false), - myDocument(NULL), + myDocument(nullptr), myFolder(aFolder), myName(aName), myVersion(aVersion), diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx index ebe32834ac..1a5d88e3ca 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx @@ -17,7 +17,7 @@ #include #include #include -#include +#include //======================================================================= // function : LDOMString @@ -26,10 +26,10 @@ LDOMBasicString::LDOMBasicString(const char* aValue) { - if (aValue == NULL /*|| aValue[0] == '\0'*/) + if (aValue == nullptr /*|| aValue[0] == '\0'*/) { myType = LDOM_NULL; - myVal.ptr = NULL; + myVal.ptr = nullptr; } else { @@ -47,10 +47,10 @@ LDOMBasicString::LDOMBasicString(const char* aValue) LDOMBasicString::LDOMBasicString(const char* aValue, const occ::handle& aDoc) { - if (aValue == NULL /*|| aValue[0] == '\0'*/) + if (aValue == nullptr /*|| aValue[0] == '\0'*/) { myType = LDOM_NULL; - myVal.ptr = NULL; + myVal.ptr = nullptr; } else { @@ -70,10 +70,10 @@ LDOMBasicString::LDOMBasicString(const char* aValue, const int aLen, const occ::handle& aDoc) { - if (aValue == NULL || aLen == 0) + if (aValue == nullptr || aLen == 0) { myType = LDOM_NULL; - myVal.ptr = NULL; + myVal.ptr = nullptr; } else { @@ -133,7 +133,7 @@ LDOMBasicString& LDOMBasicString::operator=(const LDOM_NullPtr*) if (myType == LDOM_AsciiFree && myVal.ptr) delete[] (char*)myVal.ptr; myType = LDOM_NULL; - myVal.ptr = NULL; + myVal.ptr = nullptr; return *this; } @@ -187,7 +187,7 @@ bool LDOMBasicString::equals(const LDOMBasicString& anOther) const switch (myType) { case LDOM_NULL: - return (anOther == NULL); + return (anOther == nullptr); case LDOM_Integer: switch (anOther.Type()) { @@ -198,7 +198,7 @@ bool LDOMBasicString::equals(const LDOMBasicString& anOther) const case LDOM_AsciiDocClear: case LDOM_AsciiHashed: { errno = 0; - long aLongOther = strtol((const char*)anOther.myVal.ptr, NULL, 10); + long aLongOther = strtol((const char*)anOther.myVal.ptr, nullptr, 10); return (errno == 0 && aLongOther == long(myVal.i)); } case LDOM_NULL: @@ -210,7 +210,7 @@ bool LDOMBasicString::equals(const LDOMBasicString& anOther) const { case LDOM_Integer: { errno = 0; - long aLong = strtol((const char*)myVal.ptr, NULL, 10); + long aLong = strtol((const char*)myVal.ptr, nullptr, 10); return (errno == 0 && aLong == long(anOther.myVal.i)); } case LDOM_AsciiFree: @@ -266,7 +266,7 @@ LDOMBasicString::operator TCollection_ExtendedString() const buf[1] = ptr[3]; buf[2] = ptr[4]; buf[3] = ptr[5]; - if (strtol(&buf[0], NULL, 16) != aUnicodeHeader) + if (strtol(&buf[0], nullptr, 16) != aUnicodeHeader) return TCollection_ExtendedString(ptr); // convert Unicode to Extended String @@ -281,7 +281,7 @@ LDOMBasicString::operator TCollection_ExtendedString() const buf[2] = ptr[2]; buf[3] = ptr[3]; errno = 0; - aResult[j++] = char16_t(strtol(&buf[0], NULL, 16)); + aResult[j++] = char16_t(strtol(&buf[0], nullptr, 16)); if (errno) { delete[] aResult; diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.hxx index 4fe30c9fd1..0fff8da1f4 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.hxx @@ -89,7 +89,7 @@ public: LDOMBasicString() : myType(LDOM_NULL) { - myVal.ptr = NULL; + myVal.ptr = nullptr; } // Empty constructor diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.cxx index 83f5e01ee2..da3c4ccdc7 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.cxx @@ -160,7 +160,7 @@ bool LDOMParser::parse(const char* const aFileName) const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aFileStream = aFileSystem->OpenIStream(aFileName, std::ios::in); - if (aFileStream.get() != NULL && aFileStream->good()) + if (aFileStream.get() != nullptr && aFileStream->good()) { return parse(*aFileStream); } @@ -295,7 +295,7 @@ bool LDOMParser::ParseElement(Standard_IStream& theIStream, bool& theDocStart) { bool isError = false; const LDOM_BasicElement* aParent = &myReader->GetElement(); - const LDOM_BasicNode* aLastChild = NULL; + const LDOM_BasicNode* aLastChild = nullptr; for (;;) { LDOM_Node::NodeType aLocType; diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.hxx index c9206c2425..1a5a25eddd 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOMParser.hxx @@ -34,7 +34,7 @@ public: // ---------- PUBLIC METHODS ---------- LDOMParser() - : myReader(NULL), + : myReader(nullptr), myCurrentData(16384) { } @@ -89,10 +89,10 @@ private: // ---------- PRIVATE (PROHIBITED) METHODS ---------- - LDOMParser(const LDOMParser& theOther); + LDOMParser(const LDOMParser& theOther) = delete; // Copy constructor - LDOMParser& operator=(const LDOMParser& theOther); + LDOMParser& operator=(const LDOMParser& theOther) = delete; // Assignment private: diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOMString.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOMString.hxx index abce0aaac4..7759304c4f 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOMString.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOMString.hxx @@ -33,23 +33,21 @@ public: // ---------- PUBLIC METHODS ---------- LDOMString() - : myPtrDoc(NULL) + : myPtrDoc(nullptr) { } // Empty constructor LDOMString(const LDOMString& anOther) - : LDOMBasicString(anOther), - myPtrDoc(anOther.myPtrDoc) - { - } + + = default; // Copy constructor LDOMString(const int aValue) : LDOMBasicString(aValue), - myPtrDoc(NULL) + myPtrDoc(nullptr) { } @@ -59,7 +57,7 @@ public: LDOMString(const char* aValue) : LDOMBasicString(aValue), - myPtrDoc(NULL) + myPtrDoc(nullptr) { } @@ -73,12 +71,7 @@ public: return *this; } - LDOMString& operator=(const LDOMString& anOther) - { - myPtrDoc = anOther.myPtrDoc; - LDOMBasicString::operator=(anOther); - return *this; - } + LDOMString& operator=(const LDOMString& anOther) = default; private: friend class LDOM_Document; diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Attr.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Attr.hxx index 204c1fd861..027a147fc8 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Attr.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Attr.hxx @@ -28,14 +28,13 @@ class LDOM_Attr : public LDOM_Node public: // ---------- PUBLIC METHODS ---------- - LDOM_Attr() {} + LDOM_Attr() = default; // Empty constructor LDOM_Attr(const LDOM_Attr& anOther) - : LDOM_Node(anOther) - { - } + + = default; // Copy constructor diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.cxx index da49854502..49a53aac5c 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.cxx @@ -52,7 +52,7 @@ LDOM_BasicAttribute& LDOM_BasicAttribute::Create(const LDOMBasicString& LDOM_BasicAttribute& LDOM_BasicAttribute::operator=(const LDOM_NullPtr* aNull) { - myName = NULL; + myName = nullptr; myValue = aNull; LDOM_BasicNode::operator=(aNull); return *this; diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.hxx index 4c50021890..bc0b806fae 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicAttribute.hxx @@ -31,7 +31,7 @@ public: LDOM_BasicAttribute() : LDOM_BasicNode(LDOM_Node::UNKNOWN), - myName(NULL) + myName(nullptr) { } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx index 36f26804a3..a4115d9ed0 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx @@ -30,7 +30,7 @@ LDOM_BasicElement& LDOM_BasicElement::Create(const char* const int aLen, const occ::handle& aDoc) { - if (aName == NULL) + if (aName == nullptr) { static LDOM_BasicElement aVoidElement; aVoidElement = LDOM_BasicElement(); @@ -59,19 +59,19 @@ void LDOM_BasicElement::RemoveNodes() { case LDOM_Node::ELEMENT_NODE: { LDOM_BasicElement& anElement = *(LDOM_BasicElement*)aNode; - anElement = NULL; + anElement = nullptr; break; } case LDOM_Node::ATTRIBUTE_NODE: { LDOM_BasicAttribute& anAttr = *(LDOM_BasicAttribute*)aNode; - anAttr = NULL; + anAttr = nullptr; break; } case LDOM_Node::TEXT_NODE: case LDOM_Node::COMMENT_NODE: case LDOM_Node::CDATA_SECTION_NODE: { LDOM_BasicText& aTxt = *(LDOM_BasicText*)aNode; - aTxt = NULL; + aTxt = nullptr; break; } default: @@ -79,7 +79,7 @@ void LDOM_BasicElement::RemoveNodes() } aNode = aNext; } - myFirstChild = NULL; + myFirstChild = nullptr; } //======================================================================= @@ -89,7 +89,7 @@ void LDOM_BasicElement::RemoveNodes() LDOM_BasicElement& LDOM_BasicElement::operator=(const LDOM_NullPtr* aNull) { - myTagName = NULL; + myTagName = nullptr; RemoveNodes(); LDOM_BasicNode::operator=(aNull); return *this; @@ -114,7 +114,7 @@ LDOM_BasicElement::LDOM_BasicElement (const LDOM_Element& anElement) LDOM_BasicElement::~LDOM_BasicElement() { - myTagName = NULL; + myTagName = nullptr; RemoveNodes(); } @@ -126,7 +126,7 @@ const LDOM_BasicNode* LDOM_BasicElement::GetLastChild() const if (aNode) { if (aNode->getNodeType() == LDOM_Node::ATTRIBUTE_NODE) - aNode = NULL; + aNode = nullptr; else while (aNode->mySibling) { @@ -249,7 +249,7 @@ const LDOM_BasicNode* LDOM_BasicElement::AddAttribute(const LDOMBasicString& anA } aCurrentAttr = (LDOM_BasicAttribute*)aCurrentAttr->mySibling; } - if (aCurrentAttr == NULL) + if (aCurrentAttr == nullptr) { // this is new attribute, OK *aPrNode = &anAttr; @@ -288,7 +288,7 @@ const LDOM_BasicNode* LDOM_BasicElement::RemoveAttribute(const LDOMBasicString& if (anAttr->getNodeType() == LDOM_Node::ATTRIBUTE_NODE) if (LDOM_MemManager::CompareStrings(aNameStr, aHash, anAttr->GetName())) { - anAttr = NULL; + anAttr = nullptr; break; } anAttr = (const LDOM_BasicAttribute*)anAttr->mySibling; @@ -310,7 +310,7 @@ void LDOM_BasicElement::RemoveChild(const LDOM_BasicNode* aChild) const if (aNode == aChild) { *aPrevNode = aNode->GetSibling(); - *(LDOM_BasicNode*)aChild = NULL; + *(LDOM_BasicNode*)aChild = nullptr; break; } aPrevNode = (const LDOM_BasicNode**)&(aNode->mySibling); @@ -402,12 +402,12 @@ void LDOM_BasicElement::ReplaceElement(const LDOM_BasicElement& anOth { myTagName = anOtherElem.GetTagName(); myAttributeMask = anOtherElem.myAttributeMask; - myFirstChild = NULL; + myFirstChild = nullptr; const LDOM_BasicNode* aBNode = anOtherElem.GetFirstChild(); - const LDOM_BasicNode* aLastChild = NULL; + const LDOM_BasicNode* aLastChild = nullptr; // Loop on children (non-attributes) - for (; aBNode != NULL; aBNode = aBNode->GetSibling()) + for (; aBNode != nullptr; aBNode = aBNode->GetSibling()) { if (aBNode->isNull()) continue; @@ -448,7 +448,7 @@ void LDOM_BasicElement::ReplaceElement(const LDOM_BasicElement& anOth // Loop on attributes (in the end of the list of children) loop_attr: LDOM_BasicNode* aLastAttr = (LDOM_BasicNode*)aLastChild; - for (; aBNode != NULL; aBNode = aBNode->GetSibling()) + for (; aBNode != nullptr; aBNode = aBNode->GetSibling()) { int aHash; if (aBNode->isNull()) diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.hxx index bf2a50ab7e..d4bfe57443 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.hxx @@ -35,9 +35,9 @@ public: LDOM_BasicElement() : LDOM_BasicNode(LDOM_Node::UNKNOWN), - myTagName(NULL), + myTagName(nullptr), myAttributeMask(0), - myFirstChild(NULL) + myFirstChild(nullptr) { } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicNode.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicNode.hxx index 98b367c3ad..c16bc8bbfb 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicNode.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicNode.hxx @@ -40,7 +40,7 @@ protected: LDOM_BasicNode() : myNodeType(LDOM_Node::UNKNOWN), - mySibling(NULL) + mySibling(nullptr) { } @@ -48,7 +48,7 @@ protected: LDOM_BasicNode(LDOM_Node::NodeType aType) : myNodeType(aType), - mySibling(NULL) + mySibling(nullptr) { } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CDATASection.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CDATASection.hxx index ff2d054d37..6ddefa4b35 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CDATASection.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CDATASection.hxx @@ -25,14 +25,13 @@ class LDOM_CDATASection : public LDOM_Text public: // ---------- PUBLIC METHODS ---------- - LDOM_CDATASection() {} + LDOM_CDATASection() = default; // Empty constructor LDOM_CDATASection(const LDOM_CDATASection& theOther) - : LDOM_Text(theOther) - { - } + + = default; // Copy constructor diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharReference.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharReference.cxx index ff2bed5bb8..a00b8dc0aa 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharReference.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharReference.cxx @@ -17,9 +17,9 @@ #include -#include -#include -#include +#include +#include +#include // Uncomment this line if you want that your XML files contain codes 0xc0-0xff // as defined in Latin-1 code set. Otherwise these codes are written @@ -63,7 +63,7 @@ char* LDOM_CharReference::Decode(char* theSrc, int& theLen) for (;;) { char* aPtr = strchr(aSrcPtr, '&'); - if (aPtr == NULL) + if (aPtr == nullptr) { // End of the loop aPtr = strchr(aSrcPtr, '\0'); @@ -92,7 +92,7 @@ char* LDOM_CharReference::Decode(char* theSrc, int& theLen) aChar = strtoul(&aSrcPtr[2], &aNewPtr, 10); // decimal encoding if (aNewPtr[0] != ';' || aChar == 0 || aChar > 255UL) // Error reading an XML string - return NULL; + return nullptr; aDstPtr[-1] = (char)aChar; anIncrCount += (int)(aNewPtr - aSrcPtr); aSrcPtr = &aNewPtr[1]; @@ -154,7 +154,7 @@ char* LDOM_CharReference::Decode(char* theSrc, int& theLen) char* LDOM_CharReference::Encode(const char* theSrc, int& theLen, const bool isAttribute) { // Initialising the constants - static const struct entityRef entity_ref[6] = {entityRef(NULL, 0), + static const struct entityRef entity_ref[6] = {entityRef(nullptr, 0), entityRef("&", 5), entityRef("<", 4), entityRef(">", 4), diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx index 51af303eba..7e3962765e 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx @@ -42,12 +42,7 @@ LDOM_CharacterData& LDOM_CharacterData::operator=(const LDOM_NullPtr* theNull) // purpose : Assignment //======================================================================= -LDOM_CharacterData& LDOM_CharacterData::operator=(const LDOM_CharacterData& theOther) -{ - LDOM_Node::operator=(theOther); - myLength = theOther.myLength; - return *this; -} +LDOM_CharacterData& LDOM_CharacterData::operator=(const LDOM_CharacterData& theOther) = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Comment.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Comment.hxx index 770fb746e5..1f3d26375d 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Comment.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Comment.hxx @@ -25,14 +25,13 @@ class LDOM_Comment : public LDOM_CharacterData public: // ---------- PUBLIC METHODS ---------- - LDOM_Comment() {} + LDOM_Comment() = default; // Empty constructor LDOM_Comment(const LDOM_Comment& theOther) - : LDOM_CharacterData(theOther) - { - } + + = default; // Copy constructor diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Document.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Document.cxx index 21fd00a59a..d4f0d09dc1 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Document.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Document.cxx @@ -39,14 +39,14 @@ LDOM_Document::LDOM_Document(const LDOM_MemManager& aMemManager) //================================================================================================= -LDOM_Document::~LDOM_Document() {} +LDOM_Document::~LDOM_Document() = default; //================================================================================================= bool LDOM_Document::isNull() const { const LDOM_BasicElement* const aRootElement = myMemManager->RootElement(); - if (aRootElement == NULL) + if (aRootElement == nullptr) return true; return aRootElement->isNull(); } @@ -147,7 +147,7 @@ LDOM_Document& LDOM_Document::operator=(const LDOM_NullPtr*) bool LDOM_Document::operator==(const LDOM_NullPtr*) const { - return myMemManager->RootElement() == NULL; + return myMemManager->RootElement() == nullptr; } //======================================================================= @@ -157,5 +157,5 @@ bool LDOM_Document::operator==(const LDOM_NullPtr*) const bool LDOM_Document::operator!=(const LDOM_NullPtr*) const { - return myMemManager->RootElement() != NULL; + return myMemManager->RootElement() != nullptr; } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.cxx index ea34566fd6..dd0a8675b1 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.cxx @@ -19,7 +19,7 @@ #include -#include +#include //================================================================================================= @@ -36,14 +36,14 @@ LDOMString LDOM_Element::getAttribute(const LDOMString& aName) const const LDOM_BasicElement& anElem = (const LDOM_BasicElement&)Origin(); if (anElem.isNull()) return LDOMString(); - if (myLastChild == NULL) + if (myLastChild == nullptr) { const LDOM_BasicNode* aNode = anElem.GetFirstChild(); if (aNode && aNode->getNodeType() != LDOM_Node::ATTRIBUTE_NODE) for (;;) { const LDOM_BasicNode* aSibling = aNode->GetSibling(); - if (aSibling == NULL) + if (aSibling == nullptr) return LDOMString(); if (aSibling->getNodeType() == LDOM_Node::ATTRIBUTE_NODE) { @@ -66,14 +66,14 @@ LDOM_Attr LDOM_Element::getAttributeNode(const LDOMString& aName) const const LDOM_BasicElement& anElem = (const LDOM_BasicElement&)Origin(); if (anElem.isNull()) return LDOM_Attr(); - if (myLastChild == NULL) + if (myLastChild == nullptr) { const LDOM_BasicNode* aNode = anElem.GetFirstChild(); if (aNode && aNode->getNodeType() != LDOM_Node::ATTRIBUTE_NODE) for (;;) { const LDOM_BasicNode* aSibling = aNode->GetSibling(); - if (aSibling == NULL) + if (aSibling == nullptr) return LDOM_Attr(); if (aSibling->getNodeType() == LDOM_Node::ATTRIBUTE_NODE) { @@ -137,12 +137,12 @@ LDOM_Element LDOM_Element::GetChildByTagName(const LDOMString& aTagName) const { // Verify preconditions LDOM_Element aVoidElement; - if (isNull() || aTagName == NULL) + if (isNull() || aTagName == nullptr) return aVoidElement; // Take the first child. If it doesn't match look for other ones in a loop LDOM_Node aChildNode = getFirstChild(); - while (aChildNode != NULL) + while (aChildNode != nullptr) { const LDOM_Node::NodeType aNodeType = aChildNode.getNodeType(); if (aNodeType == LDOM_Node::ATTRIBUTE_NODE) @@ -176,7 +176,7 @@ LDOM_Element LDOM_Element::GetSiblingByTagName() const // Take the first child. If it doesn't match look for other ones in a loop LDOM_Node aNextNode = getNextSibling(); - while (aNextNode != NULL) + while (aNextNode != nullptr) { const LDOM_Node::NodeType aNodeType = aNextNode.getNodeType(); if (aNodeType == LDOM_Node::ATTRIBUTE_NODE) @@ -214,7 +214,7 @@ void LDOM_Element::ReplaceElement(const LDOM_Element& anOther) else { anElem.ReplaceElement(anOtherElem, myDocument); - (const LDOM_BasicNode*&)myLastChild = NULL; + (const LDOM_BasicNode*&)myLastChild = nullptr; } } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.hxx index 09c735f180..5cdd5ec940 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Element.hxx @@ -29,14 +29,13 @@ class LDOM_Element : public LDOM_Node public: // ---------- PUBLIC METHODS ---------- - LDOM_Element() {} + LDOM_Element() = default; // Empty constructor LDOM_Element(const LDOM_Element& anOther) - : LDOM_Node(anOther) - { - } + + = default; // Copy constructor diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.cxx index 86765ab98e..660aab6536 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.cxx @@ -42,8 +42,7 @@ inline bool compareStrings(char* const str, const char* theString, const int the //================================================================================================= inline LDOM_MemManager::MemBlock::MemBlock(const int aSize, LDOM_MemManager::MemBlock* aFirst) - : mySize(aSize), - myNext(aFirst) + : myNext(aFirst) { myFreeSpace = myBlock = new int[aSize]; myEndBlock = myBlock + aSize; @@ -53,7 +52,7 @@ inline LDOM_MemManager::MemBlock::MemBlock(const int aSize, LDOM_MemManager::Mem inline void* LDOM_MemManager::MemBlock::Allocate(const int aSize) { - void* aResult = NULL; + void* aResult = nullptr; if (aSize <= myEndBlock - myFreeSpace) { aResult = myFreeSpace; @@ -68,7 +67,7 @@ void* LDOM_MemManager::MemBlock::AllocateAndCheck( const int aSize, const LDOM_MemManager::MemBlock*& aFirstWithoutRoom) { - void* aResult = NULL; + void* aResult = nullptr; int aRoom = (int)(myEndBlock - myFreeSpace); if (aSize <= aRoom) { @@ -77,11 +76,11 @@ void* LDOM_MemManager::MemBlock::AllocateAndCheck( } if (aRoom < MINIMAL_ROOM) { - if (aFirstWithoutRoom == NULL) + if (aFirstWithoutRoom == nullptr) aFirstWithoutRoom = this; } else - aFirstWithoutRoom = NULL; + aFirstWithoutRoom = nullptr; return aResult; } @@ -94,7 +93,7 @@ LDOM_MemManager::MemBlock::~MemBlock() while (aNext) { MemBlock* aNextNext = aNext->myNext; - aNext->myNext = 0; + aNext->myNext = nullptr; delete aNext; aNext = aNextNext; } @@ -119,10 +118,10 @@ LDOM_MemManager::HashTable::HashTable(/* const int aMask, */ myTable = (TableItem*)myManager.Allocate(sizeof(TableItem) * nKeys); for (m = 0; m < nKeys; m += 2) { - myTable[m].str = NULL; - myTable[m].next = NULL; - myTable[m + 1].str = NULL; - myTable[m + 1].next = NULL; + myTable[m].str = nullptr; + myTable[m].next = nullptr; + myTable[m + 1].str = nullptr; + myTable[m + 1].next = nullptr; } } @@ -190,12 +189,12 @@ const char* LDOM_MemManager::HashTable::AddString(const char* theString, const int theLen, int& theHashIndex) { - const char* aResult = NULL; - if (theString == NULL) - return NULL; + const char* aResult = nullptr; + if (theString == nullptr) + return nullptr; int aHashIndex = Hash(theString, theLen); TableItem* aNode = &myTable[aHashIndex]; - if (aNode->str == NULL) + if (aNode->str == nullptr) { LDOM_HashValue* anAlloc = (LDOM_HashValue*)myManager.Allocate(theLen + 1 + sizeof(LDOM_HashValue)); @@ -219,7 +218,7 @@ const char* LDOM_MemManager::HashTable::AddString(const char* theString, break; } } - if (aResult == NULL) + if (aResult == nullptr) { // Attention!!! We can make this allocation in a separate pool // improving performance @@ -232,7 +231,7 @@ const char* LDOM_MemManager::HashTable::AddString(const char* theString, memcpy(aNode->str, theString, theLen); aNode->str[theLen] = '\0'; aResult = aNode->str; - aNode->next = NULL; + aNode->next = nullptr; } } theHashIndex = aHashIndex; @@ -242,11 +241,11 @@ const char* LDOM_MemManager::HashTable::AddString(const char* theString, //================================================================================================= LDOM_MemManager::LDOM_MemManager(const int aBlockSize) - : myRootElement(NULL), - myFirstBlock(NULL), - myFirstWithoutRoom(NULL), + : myRootElement(nullptr), + myFirstBlock(nullptr), + myFirstWithoutRoom(nullptr), myBlockSize(convertBlockSize(aBlockSize)), - myHashTable(NULL) + myHashTable(nullptr) { } @@ -254,28 +253,6 @@ LDOM_MemManager::LDOM_MemManager(const int aBlockSize) LDOM_MemManager::~LDOM_MemManager() { -#ifdef OCCT_DEBUG - int aSomme = 0, aCount = 0; - MemBlock* aBlock = myFirstBlock; - // FILE * out = fopen ("/tmp/dump","w"); - while (aBlock) - { - aCount++; - aSomme += aBlock->mySize; - // for (const int * aPtr = aBlock -> myBlock; - // aPtr < aBlock -> myEndBlock; ) { - // const char * aStr = (const char *) aPtr; - // int aLen = strlen (aStr) + 1; - // if (aLen > 1) fprintf (out, "%s\n", aStr); - // aPtr += convertBlockSize (aLen); - // } - aBlock = aBlock->Next(); - } - if (aCount > 1) - std::cout << ".. Destroying " << aCount << " LDOM memory allocations: " << aSomme / 256 << " kB" - << std::endl; -// fclose (out); -#endif delete myFirstBlock; if (myHashTable) delete myHashTable; @@ -285,7 +262,7 @@ LDOM_MemManager::~LDOM_MemManager() void* LDOM_MemManager::Allocate(const int theSize) { - void* aResult = NULL; + void* aResult = nullptr; int aSize = convertBlockSize(theSize); if (aSize >= myBlockSize) @@ -296,7 +273,7 @@ void* LDOM_MemManager::Allocate(const int theSize) else { MemBlock* aBlock = myFirstBlock; - if (aBlock == NULL) + if (aBlock == nullptr) { myFirstBlock = new MemBlock(myBlockSize, myFirstBlock); return myFirstBlock->Allocate(aSize); @@ -305,7 +282,7 @@ void* LDOM_MemManager::Allocate(const int theSize) if (aResult) return aResult; aBlock = aBlock->Next(); - const MemBlock* aFirstWithoutRoom = NULL; + const MemBlock* aFirstWithoutRoom = nullptr; while (aBlock != myFirstWithoutRoom) { aResult = aBlock->AllocateAndCheck(aSize, aFirstWithoutRoom); @@ -314,7 +291,7 @@ void* LDOM_MemManager::Allocate(const int theSize) aBlock = aBlock->Next(); } myFirstWithoutRoom = (MemBlock*&)aFirstWithoutRoom; - if (aResult == NULL) + if (aResult == nullptr) { myFirstBlock = new MemBlock(myBlockSize, myFirstBlock); aResult = myFirstBlock->Allocate(aSize); @@ -331,7 +308,7 @@ void* LDOM_MemManager::Allocate(const int theSize) const char* LDOM_MemManager::HashedAllocate(const char* theString, const int theLen, int& theHash) { - if (myHashTable == NULL) + if (myHashTable == nullptr) myHashTable = new HashTable(*this); return myHashTable->AddString(theString, theLen, theHash); } @@ -349,7 +326,7 @@ void LDOM_MemManager::HashedAllocate(const char* aString, theResult.myType = LDOMBasicString::LDOM_AsciiHashed; int aDummy; const char* aHashedString = HashedAllocate(aString, theLen, aDummy); - if (aHashedString != NULL) + if (aHashedString != nullptr) theResult.myVal.ptr = (void*)aHashedString; } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.hxx index 581be595a1..20f415859a 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_MemManager.hxx @@ -35,7 +35,7 @@ public: Standard_EXPORT LDOM_MemManager(const int aBlockSize); // Constructor - Standard_EXPORT ~LDOM_MemManager(); + Standard_EXPORT ~LDOM_MemManager() override; // Destructor Standard_EXPORT void* Allocate(const int aSize); @@ -81,7 +81,6 @@ private: MemBlock* Next() { return myNext; } - int mySize; int* myBlock; int* myEndBlock; int* myFreeSpace; @@ -104,14 +103,14 @@ private: }* myTable; LDOM_MemManager& myManager; - void operator=(const HashTable&); + void operator=(const HashTable&) = delete; }; // ---- PROHIBITED (PRIVATE) METHODS ---- - LDOM_MemManager(const LDOM_MemManager& theOther); + LDOM_MemManager(const LDOM_MemManager& theOther) = delete; // Copy constructor - LDOM_MemManager& operator=(const LDOM_MemManager& theOther); + LDOM_MemManager& operator=(const LDOM_MemManager& theOther) = delete; // Assignment // ---------- PRIVATE FIELDS ---------- diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.cxx index de82b4258a..5a3b09f2a6 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.cxx @@ -21,7 +21,7 @@ const LDOM_BasicNode& LDOM_Node::Origin() const { - if (myOrigin == NULL) + if (myOrigin == nullptr) { static LDOM_BasicNode aNullNode; return aNullNode; @@ -41,13 +41,7 @@ const LDOM_MemManager& LDOM_Node::getOwnerDocument() const // purpose : Assignment //======================================================================= -LDOM_Node& LDOM_Node::operator=(const LDOM_Node& theOther) -{ - myDocument = theOther.myDocument; - myOrigin = theOther.myOrigin; - myLastChild = theOther.myLastChild; - return *this; -} +LDOM_Node& LDOM_Node::operator=(const LDOM_Node& theOther) = default; //======================================================================= // function : operator = @@ -57,8 +51,8 @@ LDOM_Node& LDOM_Node::operator=(const LDOM_Node& theOther) LDOM_Node& LDOM_Node::operator=(const LDOM_NullPtr* /*aNull*/) { myDocument.Nullify(); - myOrigin = NULL; - myLastChild = NULL; + myOrigin = nullptr; + myLastChild = nullptr; return *this; } @@ -66,7 +60,7 @@ LDOM_Node& LDOM_Node::operator=(const LDOM_NullPtr* /*aNull*/) bool LDOM_Node::isNull() const { - return myOrigin == NULL || myOrigin->isNull(); + return myOrigin == nullptr || myOrigin->isNull(); } //======================================================================= @@ -97,7 +91,7 @@ bool LDOM_Node::operator!=(const LDOM_Node& anOther) const LDOM_Node::NodeType LDOM_Node::getNodeType() const { - return myOrigin == NULL ? UNKNOWN : myOrigin->getNodeType(); + return myOrigin == nullptr ? UNKNOWN : myOrigin->getNodeType(); } //================================================================================================= @@ -163,7 +157,7 @@ LDOM_Node LDOM_Node::getLastChild() const const NodeType aType = getNodeType(); if (aType == ELEMENT_NODE) { - if (myLastChild == NULL) + if (myLastChild == nullptr) { const LDOM_BasicElement& anElement = *(const LDOM_BasicElement*)myOrigin; (const LDOM_BasicNode*&)myLastChild = anElement.GetLastChild(); @@ -192,11 +186,11 @@ void LDOM_Node::removeChild(const LDOM_Node& aChild) if (aType == ELEMENT_NODE) { const LDOM_BasicElement& anElement = *(LDOM_BasicElement*)myOrigin; - if (aChild != NULL) + if (aChild != nullptr) anElement.RemoveChild(aChild.myOrigin); if (aChild.myOrigin == myLastChild) // myLastChild = anElement.GetLastChild(); - myLastChild = NULL; + myLastChild = nullptr; } } @@ -205,7 +199,7 @@ void LDOM_Node::removeChild(const LDOM_Node& aChild) void LDOM_Node::appendChild(const LDOM_Node& aChild) { const NodeType aType = getNodeType(); - if (aType == ELEMENT_NODE && aChild != NULL) + if (aType == ELEMENT_NODE && aChild != nullptr) { if (myLastChild) { @@ -240,7 +234,7 @@ bool LDOM_Node::hasChildNodes() const void LDOM_Node::SetValueClear() const { - LDOMBasicString* aValue = NULL; + LDOMBasicString* aValue = nullptr; switch (getNodeType()) { case ATTRIBUTE_NODE: { diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.hxx index ef7e864e47..f30b97af35 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Node.hxx @@ -47,19 +47,16 @@ public: // ---------- PUBLIC METHODS ---------- LDOM_Node() - : myOrigin(NULL), - myLastChild(NULL) + : myOrigin(nullptr), + myLastChild(nullptr) { } // Empty constructor LDOM_Node(const LDOM_Node& anOther) - : myDocument(anOther.myDocument), - myOrigin(anOther.myOrigin), - myLastChild(anOther.myLastChild) - { - } + + = default; // Copy constructor @@ -114,7 +111,7 @@ protected: LDOM_Node(const LDOM_BasicNode& anOrig, const occ::handle& aDoc) : myDocument(aDoc), myOrigin((LDOM_BasicNode*)&anOrig), - myLastChild(NULL) + myLastChild(nullptr) { } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx index bbc6e41fe6..2928752fe4 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx @@ -17,7 +17,7 @@ #include #include -#include +#include //================================================================================================= @@ -26,7 +26,7 @@ LDOM_SBuffer::LDOM_StringElem::LDOM_StringElem( const occ::handle& theAlloc) : buf(reinterpret_cast(theAlloc->Allocate(theLength))), len(0), - next(0) + next(nullptr) { } @@ -155,4 +155,4 @@ LDOM_OSStream::LDOM_OSStream(const int theMaxBuf) // function : ~LDOM_OSStream() // purpose : Destructor - for g++ vtable generation in *this* translation unit //======================================================================= -LDOM_OSStream::~LDOM_OSStream() {} +LDOM_OSStream::~LDOM_OSStream() = default; diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.hxx index 1a35455674..8324f72885 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.hxx @@ -67,15 +67,15 @@ public: // Methods of std::streambuf - Standard_EXPORT virtual int overflow(int c = EOF) override; - Standard_EXPORT virtual int underflow() override; + Standard_EXPORT int overflow(int c = EOF) override; + Standard_EXPORT int underflow() override; // virtual int uflow(); - Standard_EXPORT virtual std::streamsize xsputn(const char* s, std::streamsize n) override; + Standard_EXPORT std::streamsize xsputn(const char* s, std::streamsize n) override; // virtual int xsgetn(char* s, int n); // virtual int sync(); - Standard_EXPORT ~LDOM_SBuffer(); + Standard_EXPORT ~LDOM_SBuffer() override; // Destructor private: @@ -99,7 +99,7 @@ public: //! Constructor Standard_EXPORT LDOM_OSStream(const int theMaxBuf); - Standard_EXPORT virtual ~LDOM_OSStream(); + Standard_EXPORT ~LDOM_OSStream() override; const char* str() const { return myBuffer.str(); } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Text.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Text.hxx index bd614d2a19..2df3227260 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_Text.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_Text.hxx @@ -25,14 +25,13 @@ class LDOM_Text : public LDOM_CharacterData public: // ---------- PUBLIC METHODS ---------- - LDOM_Text() {} + LDOM_Text() = default; // Empty constructor LDOM_Text(const LDOM_Text& anOther) - : LDOM_CharacterData(anOther) - { - } + + = default; // Copy constructor diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.cxx index ac4cadd9c0..831d136f31 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.cxx @@ -26,8 +26,8 @@ #include #include -#include -#include +#include +#include #ifdef _MSC_VER #include #else @@ -69,8 +69,8 @@ LDOM_XmlReader::LDOM_XmlReader(const occ::handle& theDocument, : myEOF(false), myError(theErrorString), myDocument(theDocument), - myElement(NULL), - myLastChild(NULL), + myElement(nullptr), + myLastChild(nullptr), myPtr(&myBuffer[0]), myEndPtr(&myBuffer[0]), myTagPerStep(theTagPerStep), @@ -90,7 +90,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre theData.Clear(); myError.Clear(); ParserState aState = STATE_WAITING; - const char * aStartData = NULL, *aNameEnd = NULL, *aPtr; + const char * aStartData = nullptr, *aNameEnd = nullptr, *aPtr; LDOMBasicString anAttrName, anAttrValue; char anAttDelimiter = '\0'; bool aHasRead = false; @@ -316,9 +316,9 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre { myElement = &LDOM_BasicElement::Create(aStartData, (int)(myPtr - aStartData), myDocument); - myLastChild = NULL; + myLastChild = nullptr; aState = STATE_ATTRIBUTE_NAME; - aStartData = NULL; + aStartData = nullptr; } else aState = STATE_ELEMENT; @@ -421,7 +421,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre for (;;) { aPtr = (const char*)memchr(aPtr, '-', (myEndPtr - 2) - aPtr); - if (aPtr == NULL) + if (aPtr == nullptr) break; if (aPtr[1] != '-') ++aPtr; @@ -463,7 +463,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre for (;;) { aPtr = (const char*)memchr(aPtr, ']', (myEndPtr - 1) - aStartData); - if (aPtr == NULL) + if (aPtr == nullptr) break; if (aPtr[1] != ']') { // ERROR @@ -492,10 +492,10 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre char* aDataString = (char*)theData.str(); myElement = &LDOM_BasicElement::Create(aDataString, theData.Length(), myDocument); theData.Clear(); - myLastChild = NULL; + myLastChild = nullptr; delete[] aDataString; aState = STATE_ATTRIBUTE_NAME; - aStartData = NULL; + aStartData = nullptr; myPtr = aNameEnd; continue; } @@ -561,7 +561,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre anAttrName = LDOMBasicString(aDataString, myDocument); delete[] aDataString; } - aStartData = NULL; + aStartData = nullptr; aState = STATE_ATTRIBUTE_EQUAL; } myPtr = aNameEnd; @@ -591,7 +591,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre case '\t': case '\n': case '\r': - if (aStartData == NULL) + if (aStartData == nullptr) { ++myPtr; continue; @@ -602,7 +602,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre return XML_UNKNOWN; case '\"': case '\'': - if (aStartData == NULL) + if (aStartData == nullptr) { aStartData = &myPtr[1]; anAttDelimiter = myPtr[0]; @@ -646,7 +646,7 @@ LDOM_XmlReader::RecordType LDOM_XmlReader::ReadRecord(Standard_IStream& theIStre myLastChild = myElement->AddAttribute(anAttrName, anAttrValue, myDocument, myLastChild); myPtr = aPtr + 1; - aStartData = NULL; + aStartData = nullptr; aState = STATE_ATTRIBUTE_NAME; } else diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.hxx index 96405fcef3..9361eb411d 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlReader.hxx @@ -73,10 +73,10 @@ public: private: // ---------- PRIVATE (PROHIBITED) METHODS ---------- - LDOM_XmlReader(const LDOM_XmlReader& theOther); + LDOM_XmlReader(const LDOM_XmlReader& theOther) = delete; // Copy constructor - LDOM_XmlReader& operator=(const LDOM_XmlReader& theOther); + LDOM_XmlReader& operator=(const LDOM_XmlReader& theOther) = delete; // Assignment private: diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx index c3e1dc9dd4..9a3029e9ad 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx @@ -144,7 +144,7 @@ static const char gEndComment[] = {chDash, chDash, chCloseAngle, chNull}; static char* getEncodingName(const char* theEncodingName) { const char* anEncoding = theEncodingName; - if (theEncodingName == NULL) + if (theEncodingName == nullptr) { static const char anUTFEncoding[] = {chLatin_U, chLatin_T, chLatin_F, chDash, chEight, chNull}; anEncoding = anUTFEncoding; @@ -166,7 +166,7 @@ LDOM_XmlWriter::LDOM_XmlWriter(const char* theEncoding) : myEncodingName(::getEncodingName(theEncoding)), myIndent(0), myCurIndent(0), - myABuffer(NULL), + myABuffer(nullptr), myABufferLen(0) { ; @@ -178,7 +178,7 @@ LDOM_XmlWriter::~LDOM_XmlWriter() { delete[] myEncodingName; - if (myABuffer != NULL) + if (myABuffer != nullptr) { delete[] myABuffer; } @@ -245,7 +245,7 @@ void LDOM_XmlWriter::Write(Standard_OStream& theOStream, const LDOM_Node& theNod // Test for the presence of children LDOM_Node aChild = theNode.getFirstChild(); - if (aChild != 0) + if (aChild != nullptr) { // There are children. Close start-tag, and output children. Write(theOStream, chCloseAngle); @@ -255,7 +255,7 @@ void LDOM_XmlWriter::Write(Standard_OStream& theOStream, const LDOM_Node& theNod } bool isChildElem = false; - while (aChild != 0) + while (aChild != nullptr) { isChildElem = (aChild.getNodeType() == LDOM_Node::ELEMENT_NODE); if (isChildElem) @@ -417,7 +417,7 @@ void LDOM_XmlWriter::WriteAttribute(Standard_OStream& theOStream, const LDOM_Nod aLength = (int)(20 + strlen(aName)); if (aLength > myABufferLen) { - if (myABuffer != NULL) + if (myABuffer != nullptr) { delete[] myABuffer; } @@ -452,7 +452,7 @@ void LDOM_XmlWriter::WriteAttribute(Standard_OStream& theOStream, const LDOM_Nod if (aLength > myABufferLen) { - if (myABuffer != NULL) + if (myABuffer != nullptr) { delete[] myABuffer; } diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.hxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.hxx index 9f72609957..1f812097fc 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.hxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.hxx @@ -26,7 +26,7 @@ class LDOMBasicString; class LDOM_XmlWriter { public: - Standard_EXPORT LDOM_XmlWriter(const char* theEncoding = NULL); + Standard_EXPORT LDOM_XmlWriter(const char* theEncoding = nullptr); Standard_EXPORT ~LDOM_XmlWriter(); @@ -41,9 +41,9 @@ public: Standard_EXPORT void Write(Standard_OStream& theOStream, const LDOM_Node& theNode); private: - LDOM_XmlWriter(const LDOM_XmlWriter& anOther); + LDOM_XmlWriter(const LDOM_XmlWriter& anOther) = delete; - LDOM_XmlWriter& operator=(const LDOM_XmlWriter& anOther); + LDOM_XmlWriter& operator=(const LDOM_XmlWriter& anOther) = delete; void Write(Standard_OStream& theOStream, const LDOMBasicString& theString); void Write(Standard_OStream& theOStream, const char* theString); diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM.cxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM.cxx index 88a1fac195..46cd924711 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM.cxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM.cxx @@ -47,7 +47,7 @@ PCDM_TypeOfFileDriver PCDM::FileDriverType(const TCollection_AsciiString& aFil } else { - aBaseDriver = NULL; + aBaseDriver = nullptr; return PCDM_TOFD_Unknown; } } @@ -92,6 +92,6 @@ PCDM_TypeOfFileDriver PCDM::FileDriverType(Standard_IStream& theI return PCDM_TOFD_XmlFile; } - theBaseDriver = NULL; + theBaseDriver = nullptr; return PCDM_TOFD_Unknown; } diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.cxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.cxx index 9df8611f4e..8fba4afa44 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.cxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.cxx @@ -39,7 +39,7 @@ void PCDM_DOMHeaderParser::SetEndElementName(const TCollection_AsciiString& anEn bool PCDM_DOMHeaderParser::startElement() { - if (myStartElementName == NULL) + if (myStartElementName == nullptr) return false; myElement = getCurrentElement(); return (myElement.getTagName().equals(myStartElementName)); @@ -49,7 +49,7 @@ bool PCDM_DOMHeaderParser::startElement() bool PCDM_DOMHeaderParser::endElement() { - if (myEndElementName == NULL) + if (myEndElementName == nullptr) return false; myElement = getCurrentElement(); return (myElement.getTagName().equals(myEndElementName)); diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.hxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.hxx index 92e05bfc38..7a7b2ad85f 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.hxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM_DOMHeaderParser.hxx @@ -31,11 +31,11 @@ public: void SetEndElementName(const TCollection_AsciiString& anEndElementName); // set the name of the element which would stop parsing when parsed - bool startElement(); + bool startElement() override; // redefined method from LDOMParser // stops parsing when the attributes of header element have been read - bool endElement(); + bool endElement() override; // redefined method from LDOMParser // stops parsing when the info element with all sub-elements has been read diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReadWriter_1.cxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReadWriter_1.cxx index e2e0681c1f..cdf3ae32f6 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReadWriter_1.cxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReadWriter_1.cxx @@ -44,7 +44,7 @@ IMPLEMENT_STANDARD_RTTIEXT(PCDM_ReadWriter_1, PCDM_ReadWriter) //================================================================================================= -PCDM_ReadWriter_1::PCDM_ReadWriter_1() {} +PCDM_ReadWriter_1::PCDM_ReadWriter_1() = default; static int RemoveExtraSeparator(TCollection_AsciiString& aString) { diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.cxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.cxx index 695c53a336..09cb7638ba 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.cxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.cxx @@ -99,7 +99,7 @@ void PCDM_ReaderFilter::StartIteration() myCurrent = &myTree; myCurrentDepth = 0; ClearTree(); - myTree.Bind(-1, NULL); + myTree.Bind(-1, nullptr); if (mySubTrees.IsEmpty()) return; // create an iteration-tree by the mySubTrees entries @@ -126,7 +126,7 @@ void PCDM_ReaderFilter::StartIteration() aMap = aNewMap; } } - aMap->Bind(-2, NULL); // identifier that this node is in subtrees definition + aMap->Bind(-2, nullptr); // identifier that this node is in subtrees definition } } diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.hxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.hxx index 706db4ac39..2f400e90fa 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.hxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM_ReaderFilter.hxx @@ -54,7 +54,7 @@ public: Standard_EXPORT PCDM_ReaderFilter(const AppendMode theAppend); //! Destructor for the filter content - Standard_EXPORT ~PCDM_ReaderFilter(); + Standard_EXPORT ~PCDM_ReaderFilter() override; //! Adds skipped attribute by type. Standard_EXPORT void AddSkipped(const occ::handle& theSkipped) diff --git a/src/ApplicationFramework/TKCDF/PCDM/PCDM_StorageDriver.hxx b/src/ApplicationFramework/TKCDF/PCDM/PCDM_StorageDriver.hxx index 6a29190577..3977860ed1 100644 --- a/src/ApplicationFramework/TKCDF/PCDM/PCDM_StorageDriver.hxx +++ b/src/ApplicationFramework/TKCDF/PCDM/PCDM_StorageDriver.hxx @@ -61,13 +61,13 @@ public: //! //! by default Write will use Make method to build a persistent //! document and the Schema method to write the persistent document. - Standard_EXPORT virtual void Write( + Standard_EXPORT void Write( const occ::handle& aDocument, const TCollection_ExtendedString& aFileName, const Message_ProgressRange& theRange = Message_ProgressRange()) override; //! Write to theOStream - Standard_EXPORT virtual void Write( + Standard_EXPORT void Write( const occ::handle& theDocument, Standard_OStream& theOStream, const Message_ProgressRange& theRange = Message_ProgressRange()) override; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Attribute.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Attribute.cxx index d94f8ab7c7..d5d3207dba 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Attribute.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Attribute.cxx @@ -47,7 +47,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDF_Attribute, Standard_Transient) //================================================================================================= TDF_Attribute::TDF_Attribute() - : myLabelNode(NULL), + : myLabelNode(nullptr), myTransaction(0), mySavedTransaction(0), myFlags(1) @@ -192,7 +192,7 @@ void TDF_Attribute::BeforeCommitTransaction() {} void TDF_Attribute::Backup() { // The attribute must be valid and attached to a label. - if (IsValid() && (myLabelNode != NULL)) + if (IsValid() && (myLabelNode != nullptr)) { occ::handle aData = myLabelNode->Data(); @@ -246,8 +246,8 @@ void TDF_Attribute::RemoveBackup() throw Standard_DomainError("Impossible to remove a nonexistent backup."); #endif myBackup->BeforeRemoval(); - myBackup->myLabelNode = NULL; // Absolutely necessary! - myBackup->myNext.Nullify(); // Absolutely necessary! + myBackup->myLabelNode = nullptr; // Absolutely necessary! + myBackup->myNext.Nullify(); // Absolutely necessary! myBackup = myBackup->myBackup; if (!myBackup.IsNull()) myBackup->myNext = this; // New back reference. diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.cxx index 7a7795debf..f12915940e 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.cxx @@ -24,7 +24,7 @@ //================================================================================================= TDF_AttributeIterator::TDF_AttributeIterator() - : myValue(0L), + : myValue(nullptr), myWithoutForgotten(true) { } @@ -32,7 +32,7 @@ TDF_AttributeIterator::TDF_AttributeIterator() //================================================================================================= TDF_AttributeIterator::TDF_AttributeIterator(const TDF_Label& aLabel, const bool withoutForgotten) - : myValue(0L), + : myValue(nullptr), myWithoutForgotten(withoutForgotten) { const occ::handle& aFirstAttribute = aLabel.myLabelNode->FirstAttribute(); @@ -44,7 +44,7 @@ TDF_AttributeIterator::TDF_AttributeIterator(const TDF_Label& aLabel, const bool TDF_AttributeIterator::TDF_AttributeIterator(const TDF_LabelNodePtr aLabelNode, const bool withoutForgotten) - : myValue(0L), + : myValue(nullptr), myWithoutForgotten(withoutForgotten) { const occ::handle& aFirstAttribute = aLabelNode->FirstAttribute(); @@ -59,7 +59,7 @@ void TDF_AttributeIterator::Initialize(const TDF_Label& aLabel, const bool witho myWithoutForgotten = withoutForgotten; const occ::handle& aFirstAttribute = aLabel.myLabelNode->FirstAttribute(); if (aFirstAttribute.IsNull()) - myValue = 0L; + myValue = nullptr; else goToNext(aFirstAttribute); } @@ -74,7 +74,7 @@ void TDF_AttributeIterator::Next() { const occ::handle& anAttribute = myValue->myNext; if (anAttribute.IsNull()) - myValue = 0L; + myValue = nullptr; else goToNext(anAttribute); } @@ -95,7 +95,7 @@ void TDF_AttributeIterator::goToNext(const occ::handle& anAttr) const occ::handle& anAttribute = myValue->myNext; if (anAttribute.IsNull()) { - myValue = 0L; + myValue = nullptr; break; } myValue = anAttribute.operator->(); diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.hxx index 7bda7c8397..d9ce43ab9b 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_AttributeIterator.hxx @@ -76,7 +76,7 @@ private: inline bool TDF_AttributeIterator::More() const { - return (myValue != 0L); + return (myValue != nullptr); } inline occ::handle TDF_AttributeIterator::Value() const diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIDIterator.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIDIterator.cxx index 33b0e013af..6f92dc45dd 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIDIterator.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIDIterator.cxx @@ -31,7 +31,7 @@ //================================================================================================= -TDF_ChildIDIterator::TDF_ChildIDIterator() {} +TDF_ChildIDIterator::TDF_ChildIDIterator() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.cxx index 07533491c9..ad0b1115ed 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.cxx @@ -35,7 +35,7 @@ //================================================================================================= TDF_ChildIterator::TDF_ChildIterator() - : myNode(NULL), + : myNode(nullptr), myFirstLevel(0) { } diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.lxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.lxx index a81e23ddfe..faa512244b 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.lxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_ChildIterator.lxx @@ -21,7 +21,7 @@ inline bool TDF_ChildIterator::More() const { - return (myNode != NULL); + return (myNode != nullptr); } inline const TDF_Label TDF_ChildIterator::Value() const diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx index 7a99fd5fc4..d3061afcae 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx @@ -120,7 +120,7 @@ void TDF_Data::Destroy() } myAccessByEntriesTable.Clear(); myRoot->Destroy(myLabelNodeAllocator); - myRoot = NULL; + myRoot = nullptr; } //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.hxx index b46d112aa4..7c9c517ff2 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.hxx @@ -69,7 +69,7 @@ public: Standard_EXPORT void Destroy(); - ~TDF_Data() { Destroy(); } + ~TDF_Data() override { Destroy(); } //! Returns the undo mode status. bool NotUndoMode() const; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx index aa84d16c93..194c0889a7 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx @@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDF_DataSet, Standard_Transient) //================================================================================================= -TDF_DataSet::TDF_DataSet() {} +TDF_DataSet::TDF_DataSet() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnModification.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnModification.hxx index a66d46b950..afa7e70757 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnModification.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnModification.hxx @@ -33,7 +33,7 @@ public: Standard_EXPORT TDF_DefaultDeltaOnModification(const occ::handle& anAttribute); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDF_DefaultDeltaOnModification, TDF_DeltaOnModification) }; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnRemoval.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnRemoval.hxx index 1052b24fad..791072fe2b 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnRemoval.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DefaultDeltaOnRemoval.hxx @@ -31,7 +31,7 @@ public: Standard_EXPORT TDF_DefaultDeltaOnRemoval(const occ::handle& anAttribute); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDF_DefaultDeltaOnRemoval, TDF_DeltaOnRemoval) }; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnModification.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnModification.hxx index a084c7d9b5..76586646a6 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnModification.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnModification.hxx @@ -31,7 +31,7 @@ class TDF_DeltaOnModification : public TDF_AttributeDelta public: //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDF_DeltaOnModification, TDF_AttributeDelta) diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnResume.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnResume.hxx index 10713ee19a..21acdf7398 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnResume.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DeltaOnResume.hxx @@ -37,8 +37,7 @@ public: Standard_EXPORT void Apply() override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDF_DeltaOnResume, TDF_AttributeDelta) }; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.cxx index a11cbd7fdd..06dcd904dc 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.cxx @@ -96,7 +96,7 @@ static void Initialize() const char* aDerivedDynamicType = aDerived->DynamicType()->Name(); TCollection_AsciiString aTypeName; - if (aCreator.Value().myNameSpace != NULL) + if (aCreator.Value().myNameSpace != nullptr) { if (aCreator.Value().myNameSpace[0] != '\0') { @@ -104,7 +104,7 @@ static void Initialize() aTypeName += ':'; } } - if (aCreator.Value().myTypeName == NULL) + if (aCreator.Value().myTypeName == nullptr) { aTypeName += aDerivedDynamicType; } diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.hxx index 79e8badea3..a4af4f2a23 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DerivedAttribute.hxx @@ -68,8 +68,8 @@ public: //! Registers a derived by the pointer to a method that creates a new derived attribute instance Standard_EXPORT static NewDerived Register(NewDerived theNewAttributeFunction, - const char* theNameSpace = NULL, - const char* theTypeName = NULL); + const char* theNameSpace = nullptr, + const char* theTypeName = nullptr); //! Returns the derived registered attribute by its type. Standard_EXPORT static occ::handle Attribute(const char* theType); diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.hxx index 1f8eb9468e..e45f49bdc0 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.hxx @@ -111,8 +111,8 @@ public: private: //! Private, to forbid implicit or hidden accesses to //! the copy constructor. - TDF_IDFilter(const TDF_IDFilter& aFilter); - TDF_IDFilter& operator=(const TDF_IDFilter& theOther); + TDF_IDFilter(const TDF_IDFilter& aFilter) = delete; + TDF_IDFilter& operator=(const TDF_IDFilter& theOther) = delete; private: bool myIgnore; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx index 4620c7d5eb..d2b6087a6b 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx @@ -118,7 +118,7 @@ bool TDF_Label::IsDescendant(const TDF_Label& aLabel) const if ((lp1 == NULL) || (lp2 == NULL)) throw Standard_NullObject("A null label has no ancestor nor descendant."); #endif - if ((lp1 != NULL) && (lp2 != NULL)) + if ((lp1 != nullptr) && (lp2 != nullptr)) { const int d1 = lp1->Depth(); int d2 = lp2->Depth(); @@ -152,7 +152,7 @@ int TDF_Label::NbChildren() const if (IsNull()) throw Standard_NullObject("A null Label has no children."); int n = 0; - if (myLabelNode->FirstChild() != NULL) + if (myLabelNode->FirstChild() != nullptr) for (TDF_ChildIterator itr(*this); itr.More(); itr.Next()) ++n; return n; @@ -285,15 +285,15 @@ void TDF_Label::EntryDump(Standard_OStream& anOS) const TDF_LabelNode* TDF_Label::FindOrAddChild(const int aTag, const bool create) const { TDF_LabelNode* currentLnp = myLabelNode->FirstChild(); - TDF_LabelNode* lastLnp = NULL; + TDF_LabelNode* lastLnp = nullptr; TDF_LabelNode* lastFoundLnp = myLabelNode->myLastFoundChild; // jfa 10.01.2003 - TDF_LabelNode* childLabelNode = NULL; + TDF_LabelNode* childLabelNode = nullptr; // Finds the right place. // jfa 10.01.2003 // 1. Check, if we access to a child, which is after last touched upon - if (lastFoundLnp != NULL) + if (lastFoundLnp != nullptr) { if (lastFoundLnp->Tag() == aTag) { @@ -308,13 +308,13 @@ TDF_LabelNode* TDF_Label::FindOrAddChild(const int aTag, const bool create) cons // jfa 10.01.2003 end // To facilitate many tools, label brethren are stored in increasing order. - while ((currentLnp != NULL) && (currentLnp->Tag() < aTag)) + while ((currentLnp != nullptr) && (currentLnp->Tag() < aTag)) { lastLnp = currentLnp; currentLnp = currentLnp->Brother(); } - if ((currentLnp != NULL) && (currentLnp->Tag() == aTag)) + if ((currentLnp != nullptr) && (currentLnp->Tag() == aTag)) { // The label exists. childLabelNode = currentLnp; @@ -327,7 +327,7 @@ TDF_LabelNode* TDF_Label::FindOrAddChild(const int aTag, const bool create) cons childLabelNode->myBrother = currentLnp; // May be NULL. childLabelNode->Imported(IsImported()); // Inserts the label: - if (lastLnp == NULL) // ... at beginning. + if (lastLnp == nullptr) // ... at beginning. myLabelNode->myFirstChild = childLabelNode; else // ... somewhere. lastLnp->myBrother = childLabelNode; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.lxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.lxx index f670054b8c..69cbdf0c12 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.lxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.lxx @@ -38,7 +38,7 @@ struct hash } // namespace std inline TDF_Label::TDF_Label() - : myLabelNode(NULL) + : myLabelNode(nullptr) { } @@ -49,7 +49,7 @@ inline TDF_Label::TDF_Label(const TDF_LabelNodePtr& aNode) inline void TDF_Label::Nullify() { - myLabelNode = NULL; + myLabelNode = nullptr; } inline bool TDF_Label::IsRoot() const @@ -59,7 +59,7 @@ inline bool TDF_Label::IsRoot() const inline bool TDF_Label::IsNull() const { - return (myLabelNode == NULL); + return (myLabelNode == nullptr); } inline bool TDF_Label::IsImported() const @@ -89,7 +89,7 @@ inline const TDF_Label TDF_Label::Father() const inline bool TDF_Label::HasChild() const { - return (myLabelNode->FirstChild() != NULL); + return (myLabelNode->FirstChild() != nullptr); } inline bool TDF_Label::AttributesModified() const diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.cxx index 3bf257d85d..2e18f7ef43 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.cxx @@ -24,15 +24,15 @@ //======================================================================= TDF_LabelNode::TDF_LabelNode(TDF_Data* aDataPtr) - : myFather(NULL), // The sign it is the root. + : myFather(nullptr), // The sign it is the root. #ifdef KEEP_LOCAL_ROOT - myBrother(NULL), + myBrother(nullptr), #else myBrother((TDF_LabelNode*)aDataPtr), #endif - myFirstChild(NULL), - myLastFoundChild(NULL), // jfa 10.01.2003 - myTag(0), // Always 0 for root. + myFirstChild(nullptr), + myLastFoundChild(nullptr), // jfa 10.01.2003 + myTag(0), // Always 0 for root. myFlags(0), #ifdef KEEP_LOCAL_ROOT myData(aDataPtr) @@ -47,16 +47,16 @@ TDF_LabelNode::TDF_LabelNode(TDF_Data* aDataPtr) TDF_LabelNode::TDF_LabelNode(const int aTag, TDF_LabelNode* aFather) : myFather(aFather), - myBrother(NULL), - myFirstChild(NULL), - myLastFoundChild(NULL), // jfa 10.01.2003 + myBrother(nullptr), + myFirstChild(nullptr), + myLastFoundChild(nullptr), // jfa 10.01.2003 myTag(aTag), myFlags(0), #ifdef KEEP_LOCAL_ROOT - myData(NULL) + myData(nullptr) #endif { - if (aFather != NULL) + if (aFather != nullptr) { Depth(aFather->Depth() + 1); #ifdef KEEP_LOCAL_ROOT @@ -76,14 +76,14 @@ void TDF_LabelNode::Destroy(const TDF_HAllocator& theAllocator) { // MSV 21.03.2003: do not delete brother, rather delete all children in a loop // to avoid stack overflow - while (myFirstChild != NULL) + while (myFirstChild != nullptr) { TDF_LabelNode* aSecondChild = myFirstChild->Brother(); myFirstChild->Destroy(theAllocator); myFirstChild = aSecondChild; } this->~TDF_LabelNode(); - myFather = myBrother = myFirstChild = myLastFoundChild = NULL; + myFather = myBrother = myFirstChild = myLastFoundChild = nullptr; myTag = myFlags = 0; // deallocate memory (does nothing for IncAllocator) @@ -121,7 +121,7 @@ void TDF_LabelNode::RemoveAttribute(const occ::handle& afterAtt, const occ::handle& oldAtt) { oldAtt->myFlags = 0; // Invalid. - oldAtt->myLabelNode = NULL; + oldAtt->myLabelNode = nullptr; if (afterAtt.IsNull()) { // Removes from beginning. myFirstAttribute = oldAtt->myNext; @@ -142,7 +142,7 @@ void TDF_LabelNode::RemoveAttribute(const occ::handle& afterAtt, TDF_LabelNode* TDF_LabelNode::RootNode() { #ifdef KEEP_LOCAL_ROOT - return myData ? myData->myRoot : 0L; + return myData ? myData->myRoot : nullptr; #else TDF_LabelNode* lp = this; while (lp->myFather != NULL) @@ -159,7 +159,7 @@ TDF_LabelNode* TDF_LabelNode::RootNode() const TDF_LabelNode* TDF_LabelNode::RootNode() const { #ifdef KEEP_LOCAL_ROOT - return myData ? myData->myRoot : 0L; + return myData ? myData->myRoot : nullptr; #else const TDF_LabelNode* lp = this; while (lp->myFather != NULL) diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.hxx index 58988123db..1ac6bd57ea 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_LabelNode.hxx @@ -69,7 +69,7 @@ public: inline int Depth() const { return (myFlags & ~TDF_LabelNodeFlagsMsk); } // IsRoot - inline bool IsRoot() const { return myFather == NULL; } + inline bool IsRoot() const { return myFather == nullptr; } // Data Standard_EXPORT TDF_Data* Data() const; diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx index f7b55acf66..ddae043baf 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx @@ -50,7 +50,7 @@ occ::handle TDF_Reference::Set(const TDF_Label& L, const TDF_Labe //================================================================================================= -TDF_Reference::TDF_Reference() {} +TDF_Reference::TDF_Reference() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.hxx index 6551cd2282..8dfd4c9515 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.hxx @@ -49,15 +49,14 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; Standard_EXPORT TDF_Reference(); //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDF_Reference, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_TagSource.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_TagSource.hxx index cdc8a10777..4f00e70f16 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_TagSource.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_TagSource.hxx @@ -68,8 +68,7 @@ public: const occ::handle& RT) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDF_TagSource, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Transaction.hxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Transaction.hxx index eb315e9664..77daf2e127 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Transaction.hxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Transaction.hxx @@ -90,8 +90,8 @@ public: private: //! Private to avoid copy. - TDF_Transaction(const TDF_Transaction& aTrans); - TDF_Transaction& operator=(const TDF_Transaction& theOther); + TDF_Transaction(const TDF_Transaction& aTrans) = delete; + TDF_Transaction& operator=(const TDF_Transaction& theOther) = delete; private: occ::handle myDF; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.hxx index d64912aedd..d76bf3d2b5 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.hxx @@ -74,11 +74,10 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_AsciiString, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx index 0652f519fe..c7b9d5c2ee 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx @@ -165,21 +165,21 @@ bool TDataStd_BooleanArray::Value(const int index) const //================================================================================================= -int TDataStd_BooleanArray::Lower(void) const +int TDataStd_BooleanArray::Lower() const { return myLower; } //================================================================================================= -int TDataStd_BooleanArray::Upper(void) const +int TDataStd_BooleanArray::Upper() const { return myUpper; } //================================================================================================= -int TDataStd_BooleanArray::Length(void) const +int TDataStd_BooleanArray::Length() const { return myUpper - myLower + 1; } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.hxx index c459f01d06..dae25a95c1 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.hxx @@ -91,11 +91,10 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& OS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& OS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_BooleanArray, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.hxx index bdcafc9591..158b916739 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.hxx @@ -90,11 +90,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_BooleanList, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx index 9b351373ac..9cb3043df8 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx @@ -123,7 +123,7 @@ uint8_t TDataStd_ByteArray::Value(const int index) const //================================================================================================= -int TDataStd_ByteArray::Lower(void) const +int TDataStd_ByteArray::Lower() const { if (myValue.IsNull()) return 0; @@ -132,7 +132,7 @@ int TDataStd_ByteArray::Lower(void) const //================================================================================================= -int TDataStd_ByteArray::Upper(void) const +int TDataStd_ByteArray::Upper() const { if (myValue.IsNull()) return -1; @@ -141,7 +141,7 @@ int TDataStd_ByteArray::Upper(void) const //================================================================================================= -int TDataStd_ByteArray::Length(void) const +int TDataStd_ByteArray::Length() const { if (myValue.IsNull()) return 0; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.hxx index 7ca1872cbd..1fb57ecf08 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.hxx @@ -113,16 +113,15 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& OS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& OS) const override; //! Makes a DeltaOnModification between and //! . - Standard_EXPORT virtual occ::handle DeltaOnModification( + Standard_EXPORT occ::handle DeltaOnModification( const occ::handle& anOldAttribute) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; private: void RemoveArray() { myValue.Nullify(); } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ChildNodeIterator.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ChildNodeIterator.cxx index 7197f6ee17..5003737000 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ChildNodeIterator.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ChildNodeIterator.cxx @@ -63,7 +63,7 @@ void TDataStd_ChildNodeIterator::Next() } else { - if (myNode->myFirst != NULL) + if (myNode->myFirst != nullptr) myNode = myNode->myFirst; else ChildNodeIterator_UpToBrother; @@ -74,7 +74,7 @@ void TDataStd_ChildNodeIterator::Next() void TDataStd_ChildNodeIterator::NextBrother() { - if (myNode->myNext != NULL) + if (myNode->myNext != nullptr) myNode = myNode->myNext; else ChildNodeIterator_UpToBrother; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.hxx index 6bbdf30b73..06ebc4e2ab 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.hxx @@ -52,7 +52,7 @@ public: //! Sets default GUID for the attribute. Standard_EXPORT void SetID() override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataStd_Comment, TDataStd_GenericExtString) }; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.cxx index cb009fde94..34b3a33e32 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.cxx @@ -72,7 +72,7 @@ bool TDataStd_Current::Has(const TDF_Label& access) //================================================================================================= -TDataStd_Current::TDataStd_Current() {} +TDataStd_Current::TDataStd_Current() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.hxx index 985d93cabc..024c9b7b9b 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Current.hxx @@ -63,11 +63,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_Current, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfByteArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfByteArray.hxx index 4b29682edc..1dadb590ec 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfByteArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfByteArray.hxx @@ -35,7 +35,7 @@ public: const occ::handle& Arr); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfByteArray, TDF_DeltaOnModification) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfExtStringArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfExtStringArray.hxx index 6c7b7460d8..6e43ddad96 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfExtStringArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfExtStringArray.hxx @@ -36,7 +36,7 @@ public: const occ::handle& Arr); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfExtStringArray, TDF_DeltaOnModification) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntArray.hxx index f513f36996..a196b929da 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntArray.hxx @@ -35,7 +35,7 @@ public: const occ::handle& Arr); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntArray, TDF_DeltaOnModification) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntPackedMap.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntPackedMap.hxx index 558ca67028..c3c70831d8 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntPackedMap.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfIntPackedMap.hxx @@ -33,7 +33,7 @@ public: const occ::handle& Arr); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfIntPackedMap, TDF_DeltaOnModification) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfRealArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfRealArray.hxx index 616741b94a..07400bf0df 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfRealArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_DeltaOnModificationOfRealArray.hxx @@ -35,7 +35,7 @@ public: const occ::handle& Arr); //! Applies the delta to the attribute. - Standard_EXPORT virtual void Apply() override; + Standard_EXPORT void Apply() override; DEFINE_STANDARD_RTTIEXT(TDataStd_DeltaOnModificationOfRealArray, TDF_DeltaOnModification) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Directory.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Directory.cxx index 6638735a31..b75028ae11 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Directory.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Directory.cxx @@ -93,7 +93,7 @@ TDF_Label TDataStd_Directory::MakeObjectLabel(const occ::handle TDataStd_Expression::Set(const TDF_Label& L) //================================================================================================= -TDataStd_Expression::TDataStd_Expression() {} +TDataStd_Expression::TDataStd_Expression() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Expression.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Expression.hxx index 9d7761492c..aabf0bc381 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Expression.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Expression.hxx @@ -69,11 +69,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_Expression, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx index 8d19d4cd06..a97d876bd0 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx @@ -131,7 +131,7 @@ const TCollection_ExtendedString& TDataStd_ExtStringArray::Value(const int index //================================================================================================= -int TDataStd_ExtStringArray::Lower(void) const +int TDataStd_ExtStringArray::Lower() const { if (myValue.IsNull()) return 0; @@ -140,7 +140,7 @@ int TDataStd_ExtStringArray::Lower(void) const //================================================================================================= -int TDataStd_ExtStringArray::Upper(void) const +int TDataStd_ExtStringArray::Upper() const { if (myValue.IsNull()) return 0; @@ -149,7 +149,7 @@ int TDataStd_ExtStringArray::Upper(void) const //================================================================================================= -int TDataStd_ExtStringArray::Length(void) const +int TDataStd_ExtStringArray::Length() const { if (myValue.IsNull()) return 0; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.hxx index 3e2212a040..4d81689798 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.hxx @@ -121,16 +121,15 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Makes a DeltaOnModification between and //! . - Standard_EXPORT virtual occ::handle DeltaOnModification( + Standard_EXPORT occ::handle DeltaOnModification( const occ::handle& anOldAttribute) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; private: void RemoveArray() { myValue.Nullify(); } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.hxx index 2eef6d036b..84026d631e 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.hxx @@ -102,11 +102,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_ExtStringList, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericEmpty.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericEmpty.hxx index 80a7fcfc56..16db86bfe1 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericEmpty.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericEmpty.hxx @@ -35,8 +35,7 @@ public: } //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_GenericEmpty, TDF_Attribute) }; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericExtString.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericExtString.hxx index 0e5f9f8445..bfd6e7bbd7 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericExtString.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_GenericExtString.hxx @@ -46,8 +46,7 @@ public: const occ::handle& RT) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_GenericExtString, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntPackedMap.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntPackedMap.hxx index 7bb3fa900f..cc975c9ed7 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntPackedMap.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntPackedMap.hxx @@ -86,16 +86,15 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Makes a DeltaOnModification between and //! . - Standard_EXPORT virtual occ::handle DeltaOnModification( + Standard_EXPORT occ::handle DeltaOnModification( const occ::handle& anOldAttribute) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; private: void RemoveMap() { myMap.Nullify(); } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.hxx index 60e3704645..3d9e04658b 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.hxx @@ -72,13 +72,12 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; Standard_EXPORT TDataStd_Integer(); //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_Integer, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx index fb1115e517..6d7c09c754 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx @@ -131,7 +131,7 @@ int TDataStd_IntegerArray::Value(const int index) const //================================================================================================= -int TDataStd_IntegerArray::Lower(void) const +int TDataStd_IntegerArray::Lower() const { if (myValue.IsNull()) return 0; @@ -140,7 +140,7 @@ int TDataStd_IntegerArray::Lower(void) const //================================================================================================= -int TDataStd_IntegerArray::Upper(void) const +int TDataStd_IntegerArray::Upper() const { if (myValue.IsNull()) return 0; @@ -149,7 +149,7 @@ int TDataStd_IntegerArray::Upper(void) const //================================================================================================= -int TDataStd_IntegerArray::Length(void) const +int TDataStd_IntegerArray::Length() const { if (myValue.IsNull()) return 0; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.hxx index 3ba9897273..cef08ee4cd 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.hxx @@ -118,16 +118,15 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Makes a DeltaOnModification between and //! . - Standard_EXPORT virtual occ::handle DeltaOnModification( + Standard_EXPORT occ::handle DeltaOnModification( const occ::handle& anOldAttribute) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; private: void RemoveArray() { myValue.Nullify(); } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.hxx index 2d1ca8f550..a17536e440 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.hxx @@ -97,11 +97,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_IntegerList, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.hxx index e0e30d13bc..e2d431f951 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.hxx @@ -75,7 +75,7 @@ public: //! Sets default GUID for the attribute. Standard_EXPORT void SetID() override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataStd_Name, TDataStd_GenericExtString) }; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx index 8a2701e9e0..fd725d7ab1 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx @@ -44,7 +44,7 @@ const Standard_GUID& TDataStd_NamedData::GetID() //================================================================================================= -TDataStd_NamedData::TDataStd_NamedData() {} +TDataStd_NamedData::TDataStd_NamedData() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.hxx index bd58b2a5ec..b3e3180466 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.hxx @@ -288,20 +288,19 @@ public: const occ::handle>& theArrayOfReals); public: //! @name TDF_Attribute interface - Standard_EXPORT virtual const Standard_GUID& ID() const override; + Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual void Restore(const occ::handle& With) override; + Standard_EXPORT void Restore(const occ::handle& With) override; - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual void Paste(const occ::handle& Into, - const occ::handle& RT) const override; + Standard_EXPORT void Paste(const occ::handle& Into, + const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_NamedData, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.cxx index 5ef3ba4f7c..6577fb2be0 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.cxx @@ -76,7 +76,7 @@ const Standard_GUID& TDataStd_NoteBook::GetID() //================================================================================================= -TDataStd_NoteBook::TDataStd_NoteBook() {} +TDataStd_NoteBook::TDataStd_NoteBook() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.hxx index 1f64ab79d6..83dc6253cc 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NoteBook.hxx @@ -66,7 +66,7 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataStd_NoteBook, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.hxx index d1930493e5..4c02d9ca08 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.hxx @@ -91,11 +91,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_Real, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx index 1eec9f0ddb..b03da24572 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx @@ -127,7 +127,7 @@ double TDataStd_RealArray::Value(const int index) const //================================================================================================= -int TDataStd_RealArray::Lower(void) const +int TDataStd_RealArray::Lower() const { if (myValue.IsNull()) return 0; @@ -136,7 +136,7 @@ int TDataStd_RealArray::Lower(void) const //================================================================================================= -int TDataStd_RealArray::Upper(void) const +int TDataStd_RealArray::Upper() const { if (myValue.IsNull()) return 0; @@ -145,7 +145,7 @@ int TDataStd_RealArray::Upper(void) const //================================================================================================= -int TDataStd_RealArray::Length(void) const +int TDataStd_RealArray::Length() const { if (myValue.IsNull()) return 0; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.hxx index 3de14cd8fc..3db80ecabf 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.hxx @@ -119,16 +119,15 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Makes a DeltaOnModification between and //! . - Standard_EXPORT virtual occ::handle DeltaOnModification( + Standard_EXPORT occ::handle DeltaOnModification( const occ::handle& anOldAttribute) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; private: void RemoveArray() { myValue.Nullify(); } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.hxx index 00c5869032..00fe07947a 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.hxx @@ -98,11 +98,10 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_RealList, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.hxx index 4b219880e9..61d695f197 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.hxx @@ -95,13 +95,12 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_ReferenceArray, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.hxx index 113387ddc8..56a7369906 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.hxx @@ -100,13 +100,12 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_ReferenceList, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.cxx index ebe1de563a..6f3f9eacc3 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.cxx @@ -52,7 +52,7 @@ occ::handle TDataStd_Relation::Set(const TDF_Label& L) //================================================================================================= -TDataStd_Relation::TDataStd_Relation() {} +TDataStd_Relation::TDataStd_Relation() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.hxx index b6a1c1ac03..33cdb1e81e 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Relation.hxx @@ -48,11 +48,10 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_DERIVED_ATTRIBUTE(TDataStd_Relation, TDataStd_Expression) }; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.cxx index c8519e7285..31b1a43b2b 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.cxx @@ -43,7 +43,7 @@ occ::handle TDataStd_Tick::Set(const TDF_Label& L) //================================================================================================= -TDataStd_Tick::TDataStd_Tick() {} +TDataStd_Tick::TDataStd_Tick() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.hxx index 34b6d21c17..a655975004 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Tick.hxx @@ -41,7 +41,7 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_DERIVED_ATTRIBUTE(TDataStd_Tick, TDataStd_GenericEmpty) }; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.cxx index 698dab05ee..36a1e06ef2 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.cxx @@ -94,11 +94,11 @@ const Standard_GUID& TDataStd_TreeNode::ID() const //================================================================================================= TDataStd_TreeNode::TDataStd_TreeNode() - : myFather(NULL), - myPrevious(NULL), - myNext(NULL), - myFirst(NULL), - myLast(NULL) + : myFather(nullptr), + myPrevious(nullptr), + myNext(nullptr), + myFirst(nullptr), + myLast(nullptr) { } @@ -267,7 +267,7 @@ int TDataStd_TreeNode::Depth() const int depth = 0; TDataStd_TreeNode* O = (TDataStd_TreeNode*)this; - while (O->myFather != NULL) + while (O->myFather != nullptr) { depth++; O = O->myFather; @@ -286,9 +286,9 @@ int TDataStd_TreeNode::NbChildren(const bool allLevels) const { int nb = 0; TDataStd_TreeNode* C = myFirst; - while (C != NULL) + while (C != nullptr) { - if (allLevels && C->myFirst != NULL) + if (allLevels && C->myFirst != nullptr) { nb += C->NbChildren(allLevels); } @@ -321,7 +321,7 @@ bool TDataStd_TreeNode::IsAscendant(const occ::handle& ofTN) bool TDataStd_TreeNode::IsDescendant(const occ::handle& ofTN) const { TDataStd_TreeNode* O = (TDataStd_TreeNode*)this; - while (O->myFather != NULL) + while (O->myFather != nullptr) { if (O->myFather == ofTN) return true; @@ -363,7 +363,7 @@ occ::handle TDataStd_TreeNode::Father() const bool TDataStd_TreeNode::IsRoot() const { - if (myFather == NULL && myPrevious == NULL && myNext == NULL) + if (myFather == nullptr && myPrevious == nullptr && myNext == nullptr) return true; return false; } @@ -376,7 +376,7 @@ bool TDataStd_TreeNode::IsRoot() const occ::handle TDataStd_TreeNode::Root() const { TDataStd_TreeNode* O = (TDataStd_TreeNode*)this; - while (O->myFather != NULL) + while (O->myFather != nullptr) { O = O->myFather; } @@ -422,9 +422,9 @@ occ::handle TDataStd_TreeNode::First() const occ::handle TDataStd_TreeNode::Last() { if (myLast && !myLast->IsChild(this)) - myLast = NULL; + myLast = nullptr; - if (myLast == NULL) + if (myLast == nullptr) return FindLast(); return myLast; @@ -437,10 +437,10 @@ occ::handle TDataStd_TreeNode::Last() //======================================================================= occ::handle TDataStd_TreeNode::FindLast() { - if (myFirst == NULL) + if (myFirst == nullptr) return myFirst; TDataStd_TreeNode* L = myFirst; - while (L->myNext != NULL) + while (L->myNext != nullptr) { L = L->myNext; } @@ -456,10 +456,10 @@ void TDataStd_TreeNode::SetFather(const occ::handle& F) { Backup(); if (F.IsNull()) - myFather = NULL; + myFather = nullptr; else myFather = F.operator->(); - myLast = NULL; + myLast = nullptr; } //======================================================================= @@ -471,10 +471,10 @@ void TDataStd_TreeNode::SetNext(const occ::handle& F) { Backup(); if (F.IsNull()) - myNext = NULL; + myNext = nullptr; else myNext = F.operator->(); - myLast = NULL; + myLast = nullptr; } //======================================================================= @@ -486,10 +486,10 @@ void TDataStd_TreeNode::SetPrevious(const occ::handle& F) { Backup(); if (F.IsNull()) - myPrevious = NULL; + myPrevious = nullptr; else myPrevious = F.operator->(); - myLast = NULL; + myLast = nullptr; } //======================================================================= @@ -501,10 +501,10 @@ void TDataStd_TreeNode::SetFirst(const occ::handle& F) { Backup(); if (F.IsNull()) - myFirst = NULL; + myFirst = nullptr; else myFirst = F.operator->(); - myLast = NULL; + myLast = nullptr; } //======================================================================= @@ -516,7 +516,7 @@ void TDataStd_TreeNode::SetLast(const occ::handle& F) { Backup(); if (F.IsNull()) - myLast = NULL; + myLast = nullptr; else myLast = F.operator->(); } @@ -602,7 +602,7 @@ void TDataStd_TreeNode::Restore(const occ::handle& other) myNext = F->myNext; myFirst = F->myFirst; myTreeID = F->myTreeID; - myLast = NULL; + myLast = nullptr; } //======================================================================= @@ -659,7 +659,7 @@ occ::handle TDataStd_TreeNode::NewEmpty() const void TDataStd_TreeNode::References(const occ::handle& aDataSet) const { TDataStd_TreeNode* fct = myFirst; - while (fct != NULL) + while (fct != nullptr) { aDataSet->AddAttribute(fct); fct = fct->myNext; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.hxx index 42a30589b3..db0b7cbcb9 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.hxx @@ -174,41 +174,40 @@ public: Standard_EXPORT void SetLast(const occ::handle& F); //! Connect the TreeNode to its father child list - Standard_EXPORT virtual void AfterAddition() override; + Standard_EXPORT void AfterAddition() override; //! Disconnect the TreeNode from its Father child list - Standard_EXPORT virtual void BeforeForget() override; + Standard_EXPORT void BeforeForget() override; //! Reconnect the TreeNode to its father child list. - Standard_EXPORT virtual void AfterResume() override; + Standard_EXPORT void AfterResume() override; //! Disconnect the TreeNode, if necessary. - Standard_EXPORT virtual bool BeforeUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool BeforeUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Reconnect the TreeNode, if necessary. //! Implementation of Attribute methods: //! =================================== - Standard_EXPORT virtual bool AfterUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool AfterUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Returns the tree ID (default or explicit one depending on the Set method used). Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual void Restore(const occ::handle& with) override; + Standard_EXPORT void Restore(const occ::handle& with) override; - Standard_EXPORT virtual void Paste(const occ::handle& into, - const occ::handle& RT) const override; + Standard_EXPORT void Paste(const occ::handle& into, + const occ::handle& RT) const override; - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; friend class TDataStd_ChildNodeIterator; diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.lxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.lxx index f56bccc86a..7534019474 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.lxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.lxx @@ -16,25 +16,25 @@ inline bool TDataStd_TreeNode::HasFather() const { - return myFather != NULL; + return myFather != nullptr; } inline bool TDataStd_TreeNode::HasNext() const { - return myNext != NULL; + return myNext != nullptr; } inline bool TDataStd_TreeNode::HasPrevious() const { - return myPrevious != NULL; + return myPrevious != nullptr; } inline bool TDataStd_TreeNode::HasFirst() const { - return myFirst != NULL; + return myFirst != nullptr; } inline bool TDataStd_TreeNode::HasLast() const { - return myLast != NULL; + return myLast != nullptr; } diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.cxx index e3b14a6dd6..0613c92abb 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.cxx @@ -44,7 +44,7 @@ occ::handle TDataStd_UAttribute::Set(const TDF_Label& l //================================================================================================= -TDataStd_UAttribute::TDataStd_UAttribute() {} +TDataStd_UAttribute::TDataStd_UAttribute() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.hxx index 37b632c6c5..bd1290c02d 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_UAttribute.hxx @@ -52,13 +52,12 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_UAttribute, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Variable.hxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Variable.hxx index e354cfea6a..d08607d9ce 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Variable.hxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Variable.hxx @@ -129,13 +129,12 @@ public: const occ::handle& RT) const override; //! to export reference to the associated Name attribute. - Standard_EXPORT virtual void References(const occ::handle& DS) const override; + Standard_EXPORT void References(const occ::handle& DS) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TDataStd_Variable, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Application.hxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Application.hxx index 57bd4af656..5309e74be7 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Application.hxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Application.hxx @@ -91,7 +91,7 @@ public: //! - [Format].FileExtension: [Extension] //! - [Format].RetrievalPlugin: [GUID] (optional) //! - [Format].StoragePlugin: [GUID] (optional) - Standard_EXPORT virtual occ::handle Resources() override; + Standard_EXPORT occ::handle Resources() override; //! Returns the name of the file containing the //! resources of this application, for support of legacy @@ -173,8 +173,8 @@ public: //! If InitDocument is redefined for a specific //! application, the new document is handled by the //! applicative session. - Standard_EXPORT virtual void NewDocument(const TCollection_ExtendedString& format, - occ::handle& aDoc) override; + Standard_EXPORT void NewDocument(const TCollection_ExtendedString& format, + occ::handle& aDoc) override; //! A non-virtual method taking a TDocStd_Documment object as an input. //! Internally it calls a virtual method NewDocument() with CDM_Document object. @@ -188,7 +188,7 @@ public: //! ============= //! to open/save a document //! ======================= - Standard_EXPORT virtual void InitDocument(const occ::handle& aDoc) const override; + Standard_EXPORT void InitDocument(const occ::handle& aDoc) const override; //! Close the given document. the document is not any more //! handled by the applicative session. diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_ApplicationDelta.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_ApplicationDelta.cxx index 5d6214b612..d73f447883 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_ApplicationDelta.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_ApplicationDelta.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDocStd_ApplicationDelta, Standard_Transient) //================================================================================================= -TDocStd_ApplicationDelta::TDocStd_ApplicationDelta() {} +TDocStd_ApplicationDelta::TDocStd_ApplicationDelta() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_CompoundDelta.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_CompoundDelta.cxx index 279baa73e4..d36ea8e9be 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_CompoundDelta.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_CompoundDelta.cxx @@ -23,4 +23,4 @@ IMPLEMENT_STANDARD_RTTIEXT(TDocStd_CompoundDelta, TDF_Delta) //================================================================================================= -TDocStd_CompoundDelta::TDocStd_CompoundDelta() {} +TDocStd_CompoundDelta::TDocStd_CompoundDelta() = default; diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx index ed2996ae0a..798dc97dba 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx @@ -75,7 +75,7 @@ TDocStd_Document::TDocStd_Document(const TCollection_ExtendedString& aStorageFor myUndoLimit(0), myUndoTransaction("UNDO"), mySaveTime(0), - myIsNestedTransactionMode(0), + myIsNestedTransactionMode(false), mySaveEmptyLabels(false), myStorageFormatVersion(TDocStd_FormatVersion_CURRENT) { diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.hxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.hxx index 4ec8adab08..433a32b4c0 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.hxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.hxx @@ -212,11 +212,11 @@ public: //! operation, please call NewCommand before. //! to change format (advanced programming) //! ================ - Standard_EXPORT virtual void Update(const occ::handle& aToDocument, - const int aReferenceIdentifier, - void* const aModifContext) override; + Standard_EXPORT void Update(const occ::handle& aToDocument, + const int aReferenceIdentifier, + void* const aModifContext) override; - Standard_EXPORT virtual TCollection_ExtendedString StorageFormat() const override; + Standard_EXPORT TCollection_ExtendedString StorageFormat() const override; //! Sets saving mode for empty labels. If true, empty labels will be saved. void SetEmptyLabelsSavingMode(const bool isAllowed); diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.cxx index a5f7fcc908..222be813a3 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.cxx @@ -111,7 +111,7 @@ const Standard_GUID& TDocStd_Modified::GetID() //================================================================================================= -TDocStd_Modified::TDocStd_Modified() {} +TDocStd_Modified::TDocStd_Modified() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.hxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.hxx index a1fcce8535..8f093e88ac 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.hxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Modified.hxx @@ -78,7 +78,7 @@ public: Standard_EXPORT void Paste(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_STANDARD_RTTIEXT(TDocStd_Modified, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Owner.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Owner.cxx index 60e4ffccfd..bc48e5b134 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Owner.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Owner.cxx @@ -83,7 +83,7 @@ occ::handle TDocStd_Owner::GetDocument(const occ::handle& Into, const occ::handle& RT) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx index aaab726958..bb2cec1df1 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx @@ -39,7 +39,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDocStd_XLink, TDF_Attribute) //================================================================================================= TDocStd_XLink::TDocStd_XLink() - : myNext(NULL) + : myNext(nullptr) { } diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.hxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.hxx index 75ad78b6e4..a9007c2a2a 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.hxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.hxx @@ -79,12 +79,12 @@ public: Standard_EXPORT void BeforeRemoval() override; //! Something to do before applying . - Standard_EXPORT virtual bool BeforeUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool BeforeUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Something to do after applying . - Standard_EXPORT virtual bool AfterUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool AfterUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Returns a null handle. Raise always for it is //! nonsense to use this method. diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.cxx index d2d6a4bba1..63015477db 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.cxx @@ -28,14 +28,14 @@ //================================================================================================= TDocStd_XLinkIterator::TDocStd_XLinkIterator() - : myValue(NULL) + : myValue(nullptr) { } //================================================================================================= TDocStd_XLinkIterator::TDocStd_XLinkIterator(const occ::handle& DOC) - : myValue(NULL) + : myValue(nullptr) { Init(DOC); } @@ -44,7 +44,7 @@ TDocStd_XLinkIterator::TDocStd_XLinkIterator(const occ::handle void TDocStd_XLinkIterator::Initialize(const occ::handle& DOC) { - myValue = NULL; + myValue = nullptr; Init(DOC); } @@ -52,7 +52,7 @@ void TDocStd_XLinkIterator::Initialize(const occ::handle& DOC) void TDocStd_XLinkIterator::Next() { - if (myValue == NULL) + if (myValue == nullptr) throw Standard_NoMoreObject("TDocStd_XLinkIterator::Next() - no more values available"); else myValue = myValue->Next(); diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.lxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.lxx index e98ecbf365..43cddc1582 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.lxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkIterator.lxx @@ -21,7 +21,7 @@ inline bool TDocStd_XLinkIterator::More() const { - return (myValue != NULL); + return (myValue != nullptr); } inline TDocStd_XLink* TDocStd_XLinkIterator::Value() const diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx index 082f1caf67..c27e50898a 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx @@ -75,17 +75,17 @@ void TDocStd_XLinkRoot::Remove(const TDocStd_XLinkPtr& anXLinkPtr) if (previous == anXLinkPtr) { xRefRoot->First(anXLinkPtr->Next()); - previous = NULL; + previous = nullptr; anXLinkPtr->Next(previous); } else { - while (previous != NULL && previous->Next() != anXLinkPtr) + while (previous != nullptr && previous->Next() != anXLinkPtr) previous = previous->Next(); - if (previous != NULL) + if (previous != nullptr) { previous->Next(anXLinkPtr->Next()); - previous = NULL; + previous = nullptr; anXLinkPtr->Next(previous); } } @@ -99,7 +99,7 @@ void TDocStd_XLinkRoot::Remove(const TDocStd_XLinkPtr& anXLinkPtr) //================================================================================================= TDocStd_XLinkRoot::TDocStd_XLinkRoot() - : myFirst(NULL) + : myFirst(nullptr) { } diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx index 4a36d46eb9..345c9063d7 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TFunction_Driver, Standard_Transient) //================================================================================================= -TFunction_Driver::TFunction_Driver() {} +TFunction_Driver::TFunction_Driver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_DriverTable.cxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_DriverTable.cxx index 476bdadc62..39de6b4892 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_DriverTable.cxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_DriverTable.cxx @@ -37,7 +37,7 @@ occ::handle TFunction_DriverTable::Get() //================================================================================================= -TFunction_DriverTable::TFunction_DriverTable() {} +TFunction_DriverTable::TFunction_DriverTable() = default; //======================================================================= // function : AddDriver diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Function.hxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Function.hxx index bac0066e3c..f04ba262a6 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Function.hxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Function.hxx @@ -77,20 +77,19 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual void Restore(const occ::handle& with) override; + Standard_EXPORT void Restore(const occ::handle& with) override; - Standard_EXPORT virtual void Paste(const occ::handle& into, - const occ::handle& RT) const override; + Standard_EXPORT void Paste(const occ::handle& into, + const occ::handle& RT) const override; - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TFunction_Function, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_GraphNode.hxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_GraphNode.hxx index acc226ab67..b845f61e84 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_GraphNode.hxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_GraphNode.hxx @@ -94,16 +94,16 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual void Restore(const occ::handle& with) override; + Standard_EXPORT void Restore(const occ::handle& with) override; - Standard_EXPORT virtual void Paste(const occ::handle& into, - const occ::handle& RT) const override; + Standard_EXPORT void Paste(const occ::handle& into, + const occ::handle& RT) const override; - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual void References(const occ::handle& aDataSet) const override; + Standard_EXPORT void References(const occ::handle& aDataSet) const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_STANDARD_RTTIEXT(TFunction_GraphNode, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_IFunction.cxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_IFunction.cxx index 1813c0f52e..ea60022a6e 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_IFunction.cxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_IFunction.cxx @@ -183,7 +183,7 @@ bool TFunction_IFunction::UpdateDependencies(const TDF_Label& Access) //================================================================================================= -TFunction_IFunction::TFunction_IFunction() {} +TFunction_IFunction::TFunction_IFunction() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.hxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.hxx index a3ec53c072..265da60edd 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.hxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.hxx @@ -100,17 +100,17 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; //! Undos (and redos) the attribute. - Standard_EXPORT virtual void Restore(const occ::handle& with) override; + Standard_EXPORT void Restore(const occ::handle& with) override; //! Pastes the attribute to another label. - Standard_EXPORT virtual void Paste(const occ::handle& into, - const occ::handle& RT) const override; + Standard_EXPORT void Paste(const occ::handle& into, + const occ::handle& RT) const override; //! Returns a new empty instance of the attribute. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! Prints th data of the attributes (touched, impacted and valid labels). - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; DEFINE_STANDARD_RTTIEXT(TFunction_Logbook, TDF_Attribute) diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Scope.hxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Scope.hxx index f5056d34f6..ea96c9754f 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Scope.hxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Scope.hxx @@ -80,14 +80,14 @@ public: Standard_EXPORT const Standard_GUID& ID() const override; - Standard_EXPORT virtual void Restore(const occ::handle& with) override; + Standard_EXPORT void Restore(const occ::handle& with) override; - Standard_EXPORT virtual void Paste(const occ::handle& into, - const occ::handle& RT) const override; + Standard_EXPORT void Paste(const occ::handle& into, + const occ::handle& RT) const override; - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& anOS) const override; //! Returns the scope of functions. Standard_EXPORT const NCollection_DoubleMap& GetFunctions() const; diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.cxx index ec1a8022dc..67a3a566b9 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.cxx @@ -78,7 +78,7 @@ void ShapePersistent_BRep::PointRepresentation::Import( occ::handle ShapePersistent_BRep::PointRepresentation::import() const { - return NULL; + return nullptr; } //======================================================================= @@ -224,7 +224,7 @@ void ShapePersistent_BRep::CurveRepresentation::Import( occ::handle ShapePersistent_BRep::CurveRepresentation::import() const { - return NULL; + return nullptr; } //======================================================================= diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.hxx index 4a6917313f..b2fb266267 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_BRep.hxx @@ -49,14 +49,14 @@ public: } //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; //! Returns persistent type name - virtual const char* PName() const { return "PBRep_PointRepresentation"; } + const char* PName() const override { return "PBRep_PointRepresentation"; } //! Import transient object from the persistent data. Standard_EXPORT void Import( @@ -78,13 +78,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PointOnCurve"; } + const char* PName() const override { return "PBRep_PointOnCurve"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Geom::Curve) myCurve; @@ -95,11 +95,11 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PointsOnSurface"; } + const char* PName() const override { return "PBRep_PointsOnSurface"; } protected: Handle(ShapePersistent_Geom::Surface) mySurface; @@ -110,13 +110,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PointOnCurveOnSurface"; } + const char* PName() const override { return "PBRep_PointOnCurveOnSurface"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Geom2d::Curve) myPCurve; @@ -132,12 +132,12 @@ public: { } - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; - virtual const char* PName() const { return "PBRep_PointOnSurface"; } + const char* PName() const override { return "PBRep_PointOnSurface"; } - virtual occ::handle import() const; + occ::handle import() const override; private: double myParameter2; @@ -149,14 +149,14 @@ public: public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data from a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; //! Returns persistent type name - virtual const char* PName() const { return "PBRep_CurveRepresentation"; } + const char* PName() const override { return "PBRep_CurveRepresentation"; } //! Import transient object from the persistent data. Standard_EXPORT void Import( @@ -183,10 +183,10 @@ public: { } - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; - virtual const char* PName() const { return "PBRep_GCurve"; } + const char* PName() const override { return "PBRep_GCurve"; } protected: double myFirst; @@ -198,13 +198,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_Curve3D"; } + const char* PName() const override { return "PBRep_Curve3D"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Geom::Curve) myCurve3D; @@ -215,13 +215,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_CurveOnSurface"; } + const char* PName() const override { return "PBRep_CurveOnSurface"; } - virtual occ::handle import() const; + occ::handle import() const override; protected: Handle(ShapePersistent_Geom2d::Curve) myPCurve; @@ -240,13 +240,13 @@ public: { } - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_CurveOnClosedSurface"; } + const char* PName() const override { return "PBRep_CurveOnClosedSurface"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Geom2d::Curve) myPCurve2; @@ -260,13 +260,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_Polygon3D"; } + const char* PName() const override { return "PBRep_Polygon3D"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Poly::Polygon3D) myPolygon3D; @@ -277,13 +277,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PolygonOnTriangulation"; } + const char* PName() const override { return "PBRep_PolygonOnTriangulation"; } - virtual occ::handle import() const; + occ::handle import() const override; protected: Handle(ShapePersistent_Poly::PolygonOnTriangulation) myPolygon; @@ -295,13 +295,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PolygonOnClosedTriangulation"; } + const char* PName() const override { return "PBRep_PolygonOnClosedTriangulation"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Poly::PolygonOnTriangulation) myPolygon2; @@ -312,13 +312,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PolygonOnSurface"; } + const char* PName() const override { return "PBRep_PolygonOnSurface"; } - virtual occ::handle import() const; + occ::handle import() const override; protected: Handle(ShapePersistent_Poly::Polygon2D) myPolygon2D; @@ -330,13 +330,13 @@ public: friend class ShapePersistent_BRep; public: - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_PolygonOnClosedSurface"; } + const char* PName() const override { return "PBRep_PolygonOnClosedSurface"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Poly::Polygon2D) myPolygon2; @@ -352,13 +352,13 @@ public: { } - virtual void Read(StdObjMgt_ReadData& theReadData); - virtual void Write(StdObjMgt_WriteData& theWriteData) const; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const; + void Read(StdObjMgt_ReadData& theReadData) override; + void Write(StdObjMgt_WriteData& theWriteData) const override; + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override; - virtual const char* PName() const { return "PBRep_CurveOn2Surfaces"; } + const char* PName() const override { return "PBRep_CurveOn2Surfaces"; } - virtual occ::handle import() const; + occ::handle import() const override; private: Handle(ShapePersistent_Geom::Surface) mySurface; @@ -399,7 +399,7 @@ private: inline const char* PName() const { return "PBRep_TVertex"; } private: - virtual occ::handle createTShape() const; + occ::handle createTShape() const override; private: double myTolerance; @@ -439,7 +439,7 @@ private: inline const char* PName() const { return "PBRep_TEdge"; } private: - virtual occ::handle createTShape() const; + occ::handle createTShape() const override; private: double myTolerance; @@ -483,7 +483,7 @@ private: inline const char* PName() const { return "PBRep_TFace"; } private: - virtual occ::handle createTShape() const; + occ::handle createTShape() const override; private: Handle(ShapePersistent_Geom::Surface) mySurface; diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom.hxx index 0832e94ec0..a5acc47eef 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom.hxx @@ -39,14 +39,14 @@ public: { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent objects - Standard_EXPORT virtual void PChildren(SequenceOfPersistent& theChildren) const; + Standard_EXPORT void PChildren(SequenceOfPersistent& theChildren) const override; //! Returns persistent type name - virtual const char* PName() const { return "PGeom_Geometry"; } + const char* PName() const override { return "PGeom_Geometry"; } }; protected: @@ -54,16 +54,16 @@ protected: struct geometryBase : public DelayedBase { //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData&) const + void Write(StdObjMgt_WriteData&) const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::geometryBase::Write - not implemented"); } //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::geometryBase::PName - not implemented"); return ""; @@ -75,19 +75,19 @@ protected: { public: //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData& theReadData) { PData().Read(theReadData); } + void Read(StdObjMgt_ReadData& theReadData) override { PData().Read(theReadData); } //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData& theWriteData) const { PData().Write(theWriteData); } + void Write(StdObjMgt_WriteData& theWriteData) const override { PData().Write(theWriteData); } //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::subBase::PChildren - not implemented"); } //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::subBase::PName - not implemented"); return ""; @@ -99,16 +99,16 @@ protected: { public: //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData&) {} + void Read(StdObjMgt_ReadData&) override {} //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData&) const {} + void Write(StdObjMgt_WriteData&) const override {} //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::subBase_gp::PName - not implemented"); return ""; @@ -119,7 +119,7 @@ protected: struct subBase_empty : Base { //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise( "ShapePersistent_Geom::subBase_empty::PName - not implemented"); @@ -132,7 +132,7 @@ protected: { public: //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData& theReadData) + void Read(StdObjMgt_ReadData& theReadData) override { Data aData; theReadData >> aData; @@ -140,16 +140,16 @@ protected: } //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData&) const + void Write(StdObjMgt_WriteData&) const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::instance::Write - not implemented"); } //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise("ShapePersistent_Geom::instance::PName - not implemented"); return ""; diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.cxx index 2b719fd6f2..8d79c7b35f 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.cxx @@ -23,12 +23,12 @@ occ::handle ShapePersistent_Geom2d_Curve::pBezier::Import() const { if (myPoles.IsNull()) - return NULL; + return nullptr; if (myRational) { if (myWeights.IsNull()) - return NULL; + return nullptr; return new Geom2d_BezierCurve(*myPoles->Array(), *myWeights->Array()); } else @@ -38,12 +38,12 @@ occ::handle ShapePersistent_Geom2d_Curve::pBezier::Import() const occ::handle ShapePersistent_Geom2d_Curve::pBSpline::Import() const { if (myPoles.IsNull() || myKnots.IsNull() || myMultiplicities.IsNull()) - return NULL; + return nullptr; if (myRational) { if (myWeights.IsNull()) - return NULL; + return nullptr; return new Geom2d_BSplineCurve(*myPoles->Array(), *myWeights->Array(), @@ -63,7 +63,7 @@ occ::handle ShapePersistent_Geom2d_Curve::pBSpline::Import() const occ::handle ShapePersistent_Geom2d_Curve::pTrimmed::Import() const { if (myBasisCurve.IsNull()) - return NULL; + return nullptr; return new Geom2d_TrimmedCurve(myBasisCurve->Import(), myFirstU, myLastU); } @@ -71,7 +71,7 @@ occ::handle ShapePersistent_Geom2d_Curve::pTrimmed::Import() const occ::handle ShapePersistent_Geom2d_Curve::pOffset::Import() const { if (myBasisCurve.IsNull()) - return NULL; + return nullptr; return new Geom2d_OffsetCurve(myBasisCurve->Import(), myOffsetValue); } diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx index 8629e6948f..a81001187a 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx @@ -67,7 +67,7 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d inline const char* PName() const { return "PGeom2d_BezierCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: bool myRational; @@ -109,7 +109,7 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d inline const char* PName() const { return "PGeom2d_BSplineCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: bool myRational; @@ -149,7 +149,7 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d inline const char* PName() const { return "PGeom2d_TrimmedCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: occ::handle myBasisCurve; @@ -184,7 +184,7 @@ class ShapePersistent_Geom2d_Curve : public ShapePersistent_Geom2d inline const char* PName() const { return "PGeom2d_OffsetCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: occ::handle myBasisCurve; diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.cxx index 049f96c024..f89a529fc6 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.cxx @@ -24,12 +24,12 @@ occ::handle ShapePersistent_Geom_Curve::pBezier::Import() const { if (myPoles.IsNull()) - return NULL; + return nullptr; if (myRational) { if (myWeights.IsNull()) - return NULL; + return nullptr; return new Geom_BezierCurve(*myPoles->Array(), *myWeights->Array()); } else @@ -39,12 +39,12 @@ occ::handle ShapePersistent_Geom_Curve::pBezier::Import() const occ::handle ShapePersistent_Geom_Curve::pBSpline::Import() const { if (myPoles.IsNull() || myKnots.IsNull() || myMultiplicities.IsNull()) - return NULL; + return nullptr; if (myRational) { if (myWeights.IsNull()) - return NULL; + return nullptr; return new Geom_BSplineCurve(*myPoles->Array(), *myWeights->Array(), @@ -64,7 +64,7 @@ occ::handle ShapePersistent_Geom_Curve::pBSpline::Import() const occ::handle ShapePersistent_Geom_Curve::pTrimmed::Import() const { if (myBasisCurve.IsNull()) - return NULL; + return nullptr; return new Geom_TrimmedCurve(myBasisCurve->Import(), myFirstU, myLastU); } @@ -72,7 +72,7 @@ occ::handle ShapePersistent_Geom_Curve::pTrimmed::Import() const occ::handle ShapePersistent_Geom_Curve::pOffset::Import() const { if (myBasisCurve.IsNull()) - return NULL; + return nullptr; return new Geom_OffsetCurve(myBasisCurve->Import(), myOffsetValue, myOffsetDirection); } diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.hxx index 3d780b2210..a0f58b72a0 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Curve.hxx @@ -69,7 +69,7 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_BezierCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: bool myRational; @@ -111,7 +111,7 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_BSplineCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: bool myRational; @@ -151,7 +151,7 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_TrimmedCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: occ::handle myBasisCurve; @@ -186,7 +186,7 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_OffsetCurve"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: occ::handle myBasisCurve; diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.cxx index 8d7cbca75a..8acb0b4d3b 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.cxx @@ -27,7 +27,7 @@ occ::handle ShapePersistent_Geom_Surface::pLinearExtrusion::Import() const { if (myBasisCurve.IsNull()) - return NULL; + return nullptr; return new Geom_SurfaceOfLinearExtrusion(myBasisCurve->Import(), myDirection); } @@ -35,7 +35,7 @@ occ::handle ShapePersistent_Geom_Surface::pLinearExtrusion::Import occ::handle ShapePersistent_Geom_Surface::pRevolution::Import() const { if (myBasisCurve.IsNull()) - return NULL; + return nullptr; return new Geom_SurfaceOfRevolution(myBasisCurve->Import(), gp_Ax1(myLocation, myDirection)); } @@ -43,12 +43,12 @@ occ::handle ShapePersistent_Geom_Surface::pRevolution::Import() co occ::handle ShapePersistent_Geom_Surface::pBezier::Import() const { if (myPoles.IsNull()) - return NULL; + return nullptr; if (myURational || myVRational) { if (myWeights.IsNull()) - return NULL; + return nullptr; return new Geom_BezierSurface(*myPoles->Array(), *myWeights->Array()); } else @@ -59,12 +59,12 @@ occ::handle ShapePersistent_Geom_Surface::pBSpline::Import() const { if (myPoles.IsNull() || myUKnots.IsNull() || myVKnots.IsNull() || myUMultiplicities.IsNull() || myVMultiplicities.IsNull()) - return NULL; + return nullptr; if (myURational || myVRational) { if (myWeights.IsNull()) - return NULL; + return nullptr; return new Geom_BSplineSurface(*myPoles->Array(), *myWeights->Array(), @@ -92,7 +92,7 @@ occ::handle ShapePersistent_Geom_Surface::pBSpline::Import() const occ::handle ShapePersistent_Geom_Surface::pRectangularTrimmed::Import() const { if (myBasisSurface.IsNull()) - return NULL; + return nullptr; return new Geom_RectangularTrimmedSurface(myBasisSurface->Import(), myFirstU, @@ -104,7 +104,7 @@ occ::handle ShapePersistent_Geom_Surface::pRectangularTrimmed::Imp occ::handle ShapePersistent_Geom_Surface::pOffset::Import() const { if (myBasisSurface.IsNull()) - return NULL; + return nullptr; return new Geom_OffsetSurface(myBasisSurface->Import(), myOffsetValue); } diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.hxx index 962fd6b5d5..e7638f7804 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Geom_Surface.hxx @@ -75,7 +75,7 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom friend class ShapePersistent_Geom_Surface; public: - virtual occ::handle Import() const; + occ::handle Import() const override; inline const char* PName() const { return "PGeom_SurfaceOfLinearExtrusion"; } }; @@ -99,7 +99,7 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_SurfaceOfRevolution"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: gp_Pnt myLocation; @@ -136,7 +136,7 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_BezierSurface"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: bool myURational; @@ -194,7 +194,7 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_BSplineSurface"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: bool myURational; @@ -243,7 +243,7 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_RectangularTrimmedSurface"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: occ::handle myBasisSurface; @@ -280,7 +280,7 @@ class ShapePersistent_Geom_Surface : private ShapePersistent_Geom inline const char* PName() const { return "PGeom_OffsetSurface"; } - virtual occ::handle Import() const; + occ::handle Import() const override; private: occ::handle myBasisSurface; diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_HSequence.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_HSequence.hxx index a7bb78f53b..24c7fe05c3 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_HSequence.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_HSequence.hxx @@ -36,20 +36,20 @@ class ShapePersistent_HSequence public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent objects - virtual void PChildren(SequenceOfPersistent& theChildren) const + void PChildren(SequenceOfPersistent& theChildren) const override { theChildren.Append(this->myPreviuos); theChildren.Append(this->myNext); } //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise("ShapePersistent_HSequence::node::PName - not implemented"); return ""; @@ -81,20 +81,20 @@ class ShapePersistent_HSequence } //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent objects - virtual void PChildren(SequenceOfPersistent& theChildren) const + void PChildren(SequenceOfPersistent& theChildren) const override { theChildren.Append(this->myFirst); theChildren.Append(this->myLast); } //! Returns persistent type name - virtual const char* PName() const + const char* PName() const override { Standard_NotImplemented::Raise( "ShapePersistent_HSequence::instance::PName - not implemented"); diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Poly.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Poly.cxx index a11b0be409..06974a24ae 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Poly.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_Poly.cxx @@ -28,7 +28,7 @@ void ShapePersistent_Poly::pPolygon2D::PChildren( occ::handle ShapePersistent_Poly::pPolygon2D::Import() const { if (myNodes.IsNull()) - return NULL; + return nullptr; occ::handle aPolygon = new Poly_Polygon2D(*myNodes->Array()); aPolygon->Deflection(myDeflection); @@ -45,7 +45,7 @@ void ShapePersistent_Poly::pPolygon3D::PChildren( occ::handle ShapePersistent_Poly::pPolygon3D::Import() const { if (myNodes.IsNull() || myParameters.IsNull()) - return NULL; + return nullptr; occ::handle aPolygon = new Poly_Polygon3D(*myNodes->Array(), *myParameters->Array()); diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.cxx index f67a2dea57..7c6881ad18 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.cxx @@ -134,7 +134,7 @@ Handle(ShapePersistent_TopoDS::HShape) ShapePersistent_TopoDS::Translate( } else { - pTShape* aPTShape = 0; + pTShape* aPTShape = nullptr; switch (theShape.ShapeType()) { case TopAbs_VERTEX: { diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.hxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.hxx index 014399c874..3f9238b9dc 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.hxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent_TopoDS.hxx @@ -34,14 +34,14 @@ public: { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - Standard_EXPORT virtual void PChildren(SequenceOfPersistent& theChildren) const; + Standard_EXPORT void PChildren(SequenceOfPersistent& theChildren) const override; //! Returns persistent type name - virtual const char* PName() const { return "PTopoDS_HShape"; } + const char* PName() const override { return "PTopoDS_HShape"; } private: occ::handle myEntry; @@ -80,7 +80,7 @@ private: template class pTSimple : public pTBase { - virtual occ::handle createTShape() const; + occ::handle createTShape() const override; public: inline const char* PName() const; @@ -89,7 +89,7 @@ private: template class pTObject : public Persistent { - virtual void addShapes(TopoDS_Shape& theParent) const + void addShapes(TopoDS_Shape& theParent) const override { pTBase::addShapesT(theParent); } diff --git a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx index b6da51ca24..76dac8cf8a 100644 --- a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx +++ b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx @@ -58,7 +58,7 @@ void StdDrivers::DefineFormat(const occ::handle& theApp) "Standard OCAF Document", "std", new StdDrivers_DocumentRetrievalDriver, - 0); + nullptr); } //================================================================================================= diff --git a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.hxx index 2a9e0a2d93..4233dbfead 100644 --- a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.hxx @@ -24,7 +24,7 @@ public: protected: //! Register types. - Standard_EXPORT virtual void bindTypes(StdObjMgt_MapOfInstantiators& theMap) override; + Standard_EXPORT void bindTypes(StdObjMgt_MapOfInstantiators& theMap) override; }; #endif // _StdDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_DataXtd.hxx b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_DataXtd.hxx index f373944219..63b6154ae9 100644 --- a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_DataXtd.hxx +++ b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_DataXtd.hxx @@ -47,14 +47,14 @@ public: { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; class Position : public StdObjMgt_Attribute::Simple { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; }; diff --git a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_Naming.hxx b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_Naming.hxx index 57415cdb29..4d4a16cdf8 100644 --- a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_Naming.hxx +++ b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_Naming.hxx @@ -68,12 +68,12 @@ public: { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Read persistent data from a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override { if (!myArgs.IsNull()) theChildren.Append(myArgs); @@ -82,7 +82,7 @@ public: } //! Returns persistent type name - inline const char* PName() const { return "PNaming_Name"; } + inline const char* PName() const override { return "PNaming_Name"; } //! Import transient object from the persistent data. Standard_EXPORT virtual void Import(TNaming_Name& theName, @@ -100,12 +100,12 @@ public: { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Read persistent data from a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override { Name::PChildren(theChildren); if (!myContextLabel.IsNull()) @@ -113,11 +113,11 @@ public: } //! Returns persistent type name - inline const char* PName() const { return "PNaming_Name_1"; } + inline const char* PName() const override { return "PNaming_Name_1"; } //! Import transient object from the persistent data. - Standard_EXPORT virtual void Import(TNaming_Name& theName, - const occ::handle& theDF) const; + Standard_EXPORT void Import(TNaming_Name& theName, + const occ::handle& theDF) const override; private: Handle(StdLPersistent_HString::Ascii) myContextLabel; @@ -127,22 +127,22 @@ public: { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Read persistent data from a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override { Name_1::PChildren(theChildren); } //! Returns persistent type name - inline const char* PName() const { return "PNaming_Name_2"; } + inline const char* PName() const override { return "PNaming_Name_2"; } //! Import transient object from the persistent data. - Standard_EXPORT virtual void Import(TNaming_Name& theName, - const occ::handle& theDF) const; + Standard_EXPORT void Import(TNaming_Name& theName, + const occ::handle& theDF) const override; private: int myOrientation; @@ -152,14 +152,14 @@ public: { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; class Naming_1 : public Naming { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; typedef Naming Naming_2; diff --git a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_TopLoc.hxx b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_TopLoc.hxx index 415f9c9105..b7efc23e67 100644 --- a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_TopLoc.hxx +++ b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent_TopLoc.hxx @@ -29,15 +29,15 @@ public: { public: //! Read persistent data from a file. - void Read(StdObjMgt_ReadData& theReadData); + void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - void Write(StdObjMgt_WriteData& theWriteData) const; + void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - virtual void PChildren(SequenceOfPersistent&) const {} + void PChildren(SequenceOfPersistent&) const override {} //! Returns persistent type name - virtual const char* PName() const { return "PTopLoc_Datum3D"; } + const char* PName() const override { return "PTopLoc_Datum3D"; } }; class ItemLocation : public StdObjMgt_Persistent @@ -46,14 +46,14 @@ public: public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - Standard_EXPORT virtual void PChildren(SequenceOfPersistent& theChildren) const; + Standard_EXPORT void PChildren(SequenceOfPersistent& theChildren) const override; //! Returns persistent type name - virtual const char* PName() const { return "PTopLoc_ItemLocation"; } + const char* PName() const override { return "PTopLoc_ItemLocation"; } //! Import transient object from the persistent data. Standard_EXPORT TopLoc_Location Import() const; diff --git a/src/ApplicationFramework/TKStd/StdStorage/StdStorage.cxx b/src/ApplicationFramework/TKStd/StdStorage/StdStorage.cxx index a24994d4f3..3a21267d9b 100644 --- a/src/ApplicationFramework/TKStd/StdStorage/StdStorage.cxx +++ b/src/ApplicationFramework/TKStd/StdStorage/StdStorage.cxx @@ -35,7 +35,7 @@ #include #include -#include +#include //======================================================================= // StdStorage::Version diff --git a/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.cxx b/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.cxx index 178e06ad4b..2915ee6da6 100644 --- a/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.cxx +++ b/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.cxx @@ -17,7 +17,7 @@ StdStorage_Bucket::~StdStorage_Bucket() { Standard::Free(mySpace); - mySpace = 0L; + mySpace = nullptr; mySpaceSize = 0; Clear(); } @@ -82,7 +82,7 @@ StdStorage_BucketOfPersistent::~StdStorage_BucketOfPersistent() Clear(); delete myBuckets[0]; Standard::Free(myBuckets); - myBuckets = 0L; + myBuckets = nullptr; } //================================================================================================= diff --git a/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.hxx b/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.hxx index 31846ab603..4f8b868a12 100644 --- a/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.hxx +++ b/src/ApplicationFramework/TKStd/StdStorage/StdStorage_BacketOfPersistent.hxx @@ -35,7 +35,7 @@ class StdStorage_Bucket public: StdStorage_Bucket() - : mySpace(0L), + : mySpace(nullptr), mySpaceSize(200000), myCurrentSpace(-1) { @@ -44,7 +44,7 @@ public: } StdStorage_Bucket(const int theSpaceSize) - : mySpace(0L), + : mySpace(nullptr), mySpaceSize(theSpaceSize), myCurrentSpace(-1) { @@ -104,7 +104,7 @@ public: return myCurrentBucket->mySpace[myCurrentIndex]; } else - return 0L; + return nullptr; } bool More() const { return myMoreObject; } diff --git a/src/ApplicationFramework/TKStd/StdStorage/StdStorage_TypeData.cxx b/src/ApplicationFramework/TKStd/StdStorage/StdStorage_TypeData.cxx index 74063fe38c..b7828c28a2 100644 --- a/src/ApplicationFramework/TKStd/StdStorage/StdStorage_TypeData.cxx +++ b/src/ApplicationFramework/TKStd/StdStorage/StdStorage_TypeData.cxx @@ -205,9 +205,9 @@ int StdStorage_TypeData::Type(const TCollection_AsciiString& aTypeName) const StdObjMgt_Persistent::Instantiator StdStorage_TypeData::Instantiator(const int aTypeNum) const { TCollection_AsciiString aTypeName = Type(aTypeNum); - StdObjMgt_Persistent::Instantiator anInstantiator = 0; + StdObjMgt_Persistent::Instantiator anInstantiator = nullptr; if (!myMapOfPInst.Find(aTypeName, anInstantiator)) - return 0; + return nullptr; return anInstantiator; } diff --git a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx index 52fcbfc7cf..71ec37c8c7 100644 --- a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx +++ b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx @@ -55,7 +55,7 @@ void StdLDrivers::DefineFormat(const occ::handle& theApp) "Lite OCAF Document", "stdl", new StdLDrivers_DocumentRetrievalDriver, - 0); + nullptr); } //================================================================================================= diff --git a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx index 8ad6e288fe..dc95596bd6 100644 --- a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx @@ -74,7 +74,7 @@ occ::handle StdLDrivers_DocumentRetrievalDriver::read( if (PCDM::FileDriverType(TCollection_AsciiString(theFileName), aFileDriver) == PCDM_TOFD_Unknown) { myReaderStatus = PCDM_RS_UnknownFileDriver; - return NULL; + return nullptr; } // Try to open the file diff --git a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx index 3b2a03bc47..715ae44e93 100644 --- a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.hxx @@ -25,7 +25,7 @@ class StdLDrivers_DocumentRetrievalDriver : public PCDM_RetrievalDriver { public: //! Retrieve the content of a file into a new document. - Standard_EXPORT virtual void Read( + Standard_EXPORT void Read( const TCollection_ExtendedString& theFileName, const occ::handle& theNewDocument, const occ::handle& theApplication, @@ -33,7 +33,7 @@ public: const Message_ProgressRange& theRange = Message_ProgressRange()) override; //! Override pure virtual method (raises exception Standard_NotImplemented) - Standard_EXPORT virtual void Read( + Standard_EXPORT void Read( Standard_IStream& theIStream, const occ::handle& theStorageData, const occ::handle& theDoc, diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Collection.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Collection.hxx index e4d148677f..4cad5d57a7 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Collection.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Collection.hxx @@ -52,7 +52,7 @@ class StdLPersistent_Collection } //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData& theReadData) + void Read(StdObjMgt_ReadData& theReadData) override { Base::Read(theReadData); theReadData >> myLower >> myUpper; @@ -105,7 +105,7 @@ class StdLPersistent_Collection { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; template @@ -119,10 +119,10 @@ class StdLPersistent_Collection } //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; private: bool myDelta; diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.cxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.cxx index 49df8b7451..6e6b2950c8 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.cxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.cxx @@ -101,7 +101,7 @@ void StdLPersistent_Data::Write(StdObjMgt_WriteData& theWriteData) const occ::handle StdLPersistent_Data::Import() const { if (myLabels.IsNull() || myAttributes.IsNull()) - return NULL; + return nullptr; // Create tree of labels and add empty transient attributes to them occ::handle aData = new TDF_Data; diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.hxx index 58f837f348..742f058319 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Data.hxx @@ -28,19 +28,19 @@ public: } //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override { theChildren.Append(myLabels); theChildren.Append(myAttributes); } //! Returns persistent type name - virtual const char* PName() const { return "PDF_Data"; } + const char* PName() const override { return "PDF_Data"; } //! Import transient data from the persistent data. Standard_EXPORT occ::handle Import() const; diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Document.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Document.hxx index 10b57eaccb..e313c1a8d6 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Document.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Document.hxx @@ -23,18 +23,18 @@ class StdLPersistent_Document : public StdObjMgt_Persistent { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Read persistent data from a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - Standard_EXPORT virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const; + Standard_EXPORT void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override; //! Returns persistent type name - virtual const char* PName() const { return "PDocStd_Document"; } + const char* PName() const override { return "PDocStd_Document"; } //! Import transient document from the persistent data. - Standard_EXPORT virtual void ImportDocument( - const occ::handle& theDocument) const; + Standard_EXPORT void ImportDocument( + const occ::handle& theDocument) const override; private: occ::handle myData; diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray1.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray1.hxx index e18f503f9c..be3a6b3ba1 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray1.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray1.hxx @@ -31,9 +31,9 @@ class StdLPersistent_HArray1 { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; protected: virtual int lowerBound() const = 0; @@ -60,31 +60,31 @@ protected: const occ::handle& Array() const { return myArray; } protected: - virtual int lowerBound() const { return myArray->Lower(); } + int lowerBound() const override { return myArray->Lower(); } - virtual int upperBound() const { return myArray->Upper(); } + int upperBound() const override { return myArray->Upper(); } - virtual void createArray(const int theLowerBound, const int theUpperBound) + void createArray(const int theLowerBound, const int theUpperBound) override { myArray = new ArrayClass(theLowerBound, theUpperBound); } - virtual void readValue(StdObjMgt_ReadData& theReadData, const int theIndex) + void readValue(StdObjMgt_ReadData& theReadData, const int theIndex) override { theReadData >> myArray->ChangeValue(theIndex); } - virtual void writeValue(StdObjMgt_WriteData& theWriteData, const int theIndex) const + void writeValue(StdObjMgt_WriteData& theWriteData, const int theIndex) const override { theWriteData << myArray->Value(theIndex); } - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override { return PChildrenT(theChildren); } - virtual const char* PName() const { return PNameT(); } + const char* PName() const override { return PNameT(); } const char* PNameT() const { @@ -104,7 +104,7 @@ protected: friend class StdLPersistent_HArray1; public: - virtual const char* PName() const + const char* PName() const override { Standard_NullValue_Raise_if(!myPName, "StdLPersistent_HArray1::named_instance::PName - name not set"); diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray2.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray2.hxx index 550ee77e70..888b0286d8 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray2.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HArray2.hxx @@ -31,10 +31,10 @@ class StdLPersistent_HArray2 { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Read persistent data from a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; protected: virtual void lowerBound(int& theRow, int& theCol) const = 0; @@ -64,44 +64,44 @@ protected: const occ::handle& Array() const { return myArray; } protected: - virtual void lowerBound(int& theRow, int& theCol) const + void lowerBound(int& theRow, int& theCol) const override { theRow = myArray->LowerRow(); theCol = myArray->LowerCol(); } - virtual void upperBound(int& theRow, int& theCol) const + void upperBound(int& theRow, int& theCol) const override { theRow = myArray->UpperRow(); theCol = myArray->UpperCol(); } - virtual void createArray(const int theLowerRow, - const int theLowerCol, - const int theUpperRow, - const int theUpperCol) + void createArray(const int theLowerRow, + const int theLowerCol, + const int theUpperRow, + const int theUpperCol) override { myArray = new ArrayClass(theLowerRow, theUpperRow, theLowerCol, theUpperCol); } - virtual void readValue(StdObjMgt_ReadData& theReadData, const int theRow, const int theCol) + void readValue(StdObjMgt_ReadData& theReadData, const int theRow, const int theCol) override { theReadData >> myArray->ChangeValue(theRow, theCol); } - virtual void writeValue(StdObjMgt_WriteData& theWriteData, - const int theRow, - const int theCol) const + void writeValue(StdObjMgt_WriteData& theWriteData, + const int theRow, + const int theCol) const override { theWriteData << myArray->Value(theRow, theCol); } - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override { return PChildrenT(theChildren); } - virtual const char* PName() const { return PNameT(); } + const char* PName() const override { return PNameT(); } const char* PNameT() const { @@ -121,7 +121,7 @@ protected: friend class StdLPersistent_HArray2; public: - virtual const char* PName() const + const char* PName() const override { Standard_NullValue_Raise_if(!myPName, "StdLPersistent_HArray2::named_instance::PName - name not set"); diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HString.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HString.hxx index 3db6e34268..b5ed7fcdcb 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HString.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_HString.hxx @@ -27,14 +27,14 @@ class StdLPersistent_HString { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} //! Get/create a label defined by referenced string. - Standard_EXPORT virtual TDF_Label Label(const occ::handle& theDF) const; + Standard_EXPORT TDF_Label Label(const occ::handle& theDF) const override; //! Get the value. const occ::handle& Value() const { return myValue; } @@ -48,18 +48,18 @@ public: { public: //! Get referenced ASCII string. - Standard_EXPORT virtual occ::handle AsciiString() const; + Standard_EXPORT occ::handle AsciiString() const override; - inline const char* PName() const { return "PCollection_HAsciiString"; } + inline const char* PName() const override { return "PCollection_HAsciiString"; } }; class Extended : public instance { public: //! Get referenced extended string. - Standard_EXPORT virtual occ::handle ExtString() const; + Standard_EXPORT occ::handle ExtString() const override; - inline const char* PName() const { return "PCollection_HExtendedString"; } + inline const char* PName() const override { return "PCollection_HExtendedString"; } }; }; diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.cxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.cxx index 13a86059c1..cae73c3f21 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.cxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.cxx @@ -19,7 +19,7 @@ #include #include -static const TCollection_ExtendedString& String(occ::handle theValue) +static const TCollection_ExtendedString& String(const occ::handle& theValue) { if (theValue) return theValue->ExtString()->String(); @@ -28,10 +28,10 @@ static const TCollection_ExtendedString& String(occ::handle -static typename HArray::ArrayHandle Array(occ::handle theValue) +static typename HArray::ArrayHandle Array(const occ::handle& theValue) { occ::handle anArray = occ::down_cast(theValue); - return anArray ? anArray->Array() : NULL; + return anArray ? anArray->Array() : nullptr; } //======================================================================= diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.hxx index 2f9d847982..739aab3d6b 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_NamedData.hxx @@ -45,7 +45,7 @@ class StdLPersistent_NamedData : public StdObjMgt_Attribute ValueType Value(int theIndex) const { - return myValues ? myValues->Array()->Value(theIndex) : 0; + return myValues ? myValues->Array()->Value(theIndex) : ValueType{}; } private: diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_TreeNode.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_TreeNode.hxx index c160a306a1..1517f871e1 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_TreeNode.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_TreeNode.hxx @@ -23,22 +23,22 @@ class StdLPersistent_TreeNode : public StdObjMgt_Attribute::S { public: //! Read persistent data from a file. - Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override; //! Write persistent data to a file. - Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override; //! Gets persistent child objects - Standard_EXPORT virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const; + Standard_EXPORT void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override; //! Returns persistent type name - virtual const char* PName() const { return "PDataStd_TreeNode"; } + const char* PName() const override { return "PDataStd_TreeNode"; } //! Create an empty transient attribute - Standard_EXPORT virtual occ::handle CreateAttribute(); + Standard_EXPORT occ::handle CreateAttribute() override; //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; private: struct dynamic : public Standard_Transient diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Value.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Value.hxx index 97e04d27be..241827dd1a 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Value.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Value.hxx @@ -32,7 +32,7 @@ class StdLPersistent_Value { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; template @@ -40,62 +40,62 @@ class StdLPersistent_Value { public: //! Import transient attribute from the persistent data. - Standard_EXPORT virtual void ImportAttribute(); + Standard_EXPORT void ImportAttribute() override; }; public: class TagSource : public integer { public: - const char* PName() const { return "PDF_TagSource"; } + const char* PName() const override { return "PDF_TagSource"; } }; class Reference : public string { public: - const char* PName() const { return "PDF_Reference"; } + const char* PName() const override { return "PDF_Reference"; } }; class Comment : public string { public: - const char* PName() const { return "PDF_Comment"; } + const char* PName() const override { return "PDF_Comment"; } }; class UAttribute : public string { public: //! Create an empty transient attribute - Standard_EXPORT virtual occ::handle CreateAttribute(); + Standard_EXPORT occ::handle CreateAttribute() override; - const char* PName() const { return "PDataStd_UAttribute"; } + const char* PName() const override { return "PDataStd_UAttribute"; } }; class Integer : public integer { public: //! Create an empty transient attribute - Standard_EXPORT virtual occ::handle CreateAttribute(); + Standard_EXPORT occ::handle CreateAttribute() override; - const char* PName() const { return "PDataStd_Integer"; } + const char* PName() const override { return "PDataStd_Integer"; } }; class Name : public string { public: //! Create an empty transient attribute - Standard_EXPORT virtual occ::handle CreateAttribute(); + Standard_EXPORT occ::handle CreateAttribute() override; - const char* PName() const { return "PDataStd_Name"; } + const char* PName() const override { return "PDataStd_Name"; } }; class AsciiString : public string { public: //! Create an empty transient attribute - Standard_EXPORT virtual occ::handle CreateAttribute(); + Standard_EXPORT occ::handle CreateAttribute() override; - const char* PName() const { return "PDataStd_AsciiString"; } + const char* PName() const override { return "PDataStd_AsciiString"; } }; }; diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Void.hxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Void.hxx index e59633ce57..adcd1528b2 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Void.hxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent_Void.hxx @@ -28,19 +28,19 @@ protected: { public: //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData&) {} + void Read(StdObjMgt_ReadData&) override {} //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData&) const {} + void Write(StdObjMgt_WriteData&) const override {} //! Gets persistent child objects - inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} //! Returns persistent type name - const char* PName() const; + const char* PName() const override; //! Import transient attribute from the persistent data - virtual void ImportAttribute() {} + void ImportAttribute() override {} }; public: diff --git a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_Attribute.hxx b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_Attribute.hxx index c138498cfa..40eecfdcb8 100644 --- a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_Attribute.hxx +++ b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_Attribute.hxx @@ -26,10 +26,10 @@ class StdObjMgt_Attribute : public Standard_Transient { public: //! Create an empty transient attribute - virtual occ::handle CreateAttribute() { return myTransient = new Transient; } + occ::handle CreateAttribute() override { return myTransient = new Transient; } //! Get transient attribute for the persistent data - virtual occ::handle GetAttribute() const + occ::handle GetAttribute() const override { return occ::handle(myTransient); } @@ -48,14 +48,14 @@ public: { public: //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData& theReadData) { theReadData >> myData; } + void Read(StdObjMgt_ReadData& theReadData) override { theReadData >> myData; } //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData& theWriteData) const { theWriteData << myData; } + void Write(StdObjMgt_WriteData& theWriteData) const override { theWriteData << myData; } - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} - virtual const char* PName() const { return "StdObjMgt_Attribute::undefined"; } + const char* PName() const override { return "StdObjMgt_Attribute::undefined"; } protected: DataType myData; @@ -75,24 +75,24 @@ private: { public: //! Read persistent data from a file. - virtual void Read(StdObjMgt_ReadData& theReadData) + void Read(StdObjMgt_ReadData& theReadData) override { myPersistent = new Persistent; myPersistent->Read(theReadData); } //! Write persistent data to a file. - virtual void Write(StdObjMgt_WriteData& theWriteData) const + void Write(StdObjMgt_WriteData& theWriteData) const override { myPersistent->Write(theWriteData); } - virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const {} + void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const override {} - virtual const char* PName() const { return myPersistent->PName(); } + const char* PName() const override { return myPersistent->PName(); } //! Import transient attribute from the persistent data - virtual void ImportAttribute() + void ImportAttribute() override { if (myPersistent && this->myTransient) { diff --git a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.cxx b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.cxx index 46f92f82cc..2c02e43488 100644 --- a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.cxx +++ b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.cxx @@ -40,7 +40,7 @@ occ::handle StdObjMgt_ReadData::ReadReference() { int aRef; myDriver->GetReference(aRef); - return aRef ? PersistentObject(aRef) : NULL; + return aRef ? PersistentObject(aRef) : nullptr; } //======================================================================= diff --git a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.hxx b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.hxx index 6fb3a0e025..72f9710217 100644 --- a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.hxx +++ b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_ReadData.hxx @@ -42,8 +42,8 @@ public: private: StdObjMgt_ReadData* myReadData; - ObjectSentry(const ObjectSentry&); - ObjectSentry& operator=(const ObjectSentry&); + ObjectSentry(const ObjectSentry&) = delete; + ObjectSentry& operator=(const ObjectSentry&) = delete; }; Standard_EXPORT StdObjMgt_ReadData(const occ::handle& theDriver, diff --git a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_SharedObject.hxx b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_SharedObject.hxx index 67f80417db..54bb90b6fc 100644 --- a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_SharedObject.hxx +++ b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_SharedObject.hxx @@ -17,6 +17,7 @@ #include #include +// NOLINTBEGIN(modernize-use-override) class StdObjMgt_SharedObject { public: @@ -81,7 +82,7 @@ public: virtual const char* PName() const { return PersistentData().PName(); } //! Import transient object from the persistent data. - virtual occ::handle Import() { return NULL; } + virtual occ::handle Import() { return nullptr; } }; private: @@ -169,4 +170,5 @@ public: }; }; +// NOLINTEND(modernize-use-override) #endif diff --git a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_WriteData.hxx b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_WriteData.hxx index 0a3bbef5c8..363f3b4d53 100644 --- a/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_WriteData.hxx +++ b/src/ApplicationFramework/TKStdL/StdObjMgt/StdObjMgt_WriteData.hxx @@ -41,8 +41,8 @@ public: private: StdObjMgt_WriteData* myWriteData; - ObjectSentry(const ObjectSentry&); - ObjectSentry& operator=(const ObjectSentry&); + ObjectSentry(const ObjectSentry&) = delete; + ObjectSentry& operator=(const ObjectSentry&) = delete; }; Standard_EXPORT StdObjMgt_WriteData(const occ::handle& theDriver); diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Application.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Application.cxx index c8c4a3a552..835748cc80 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Application.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Application.cxx @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "TObj_TObj_msg.pxx" diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Application.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Application.hxx index 6a2818b18d..572e60fc47 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Application.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Application.hxx @@ -88,7 +88,7 @@ public: */ //! Return name of resource (i.e. "TObj") - virtual Standard_EXPORT const char* ResourcesName() override; + Standard_EXPORT const char* ResourcesName() override; protected: /** diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Assistant.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Assistant.cxx index 2f2b21be8b..a1f2c0f37f 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Assistant.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Assistant.cxx @@ -96,7 +96,7 @@ occ::handle TObj_Assistant::FindType(const int theTypeIndex) if (theTypeIndex > 0 && theTypeIndex <= getTypes().Extent()) return occ::down_cast(getTypes().FindKey(theTypeIndex)); - return 0; + return nullptr; } //================================================================================================= @@ -114,7 +114,7 @@ int TObj_Assistant::FindTypeIndex(const occ::handle& theType) class TObj_Assistant_UnknownType : public Standard_Transient { public: - TObj_Assistant_UnknownType() {} + TObj_Assistant_UnknownType() = default; // Empty constructor // CASCADE RTTI diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_CheckModel.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_CheckModel.hxx index 563b3edf48..895bbf528b 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_CheckModel.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_CheckModel.hxx @@ -49,7 +49,7 @@ public: const occ::handle& GetModel() const { return myModel; } //! Empty virtual destructor - virtual ~TObj_CheckModel() {} + ~TObj_CheckModel() override = default; //! Performs all checks. Descendants should call parent method before //! doing own checks. diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_HiddenPartition.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_HiddenPartition.hxx index bacf113706..162b67e65e 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_HiddenPartition.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_HiddenPartition.hxx @@ -31,7 +31,7 @@ public: Standard_EXPORT TObj_HiddenPartition(const TDF_Label& theLabel); //! Returns all flags of father except Visible - virtual Standard_EXPORT int GetTypeFlags() const override; + Standard_EXPORT int GetTypeFlags() const override; protected: //! Persistence of TObj object diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.cxx index a4630ada40..3a1e4437c7 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TObj_LabelIterator, TObj_ObjectIterator) //================================================================================================= -TObj_LabelIterator::TObj_LabelIterator() {} +TObj_LabelIterator::TObj_LabelIterator() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.hxx index 2ddb5dbac3..4913ae28b9 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_LabelIterator.hxx @@ -54,13 +54,13 @@ public: */ //! Returns True if there is a current Item in the iteration. - virtual bool More() const override { return !myNode.IsNull(); } + bool More() const override { return !myNode.IsNull(); } //! Move to the next Item - virtual Standard_EXPORT void Next() override; + Standard_EXPORT void Next() override; //! Returns the current item - virtual occ::handle Value() const override { return myObject; } + occ::handle Value() const override { return myObject; } //! Returns the label of the current item inline const TDF_Label& LabelValue() const { return myNode; } diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx index 42cb28f019..5e06fbfd73 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx @@ -35,6 +35,7 @@ #include #include #include +#include IMPLEMENT_STANDARD_RTTIEXT(TObj_Model, Standard_Transient) @@ -342,7 +343,7 @@ bool TObj_Model::SaveAs(const TCollection_ExtendedString& theFile) // document to existent file // checking write access permission FILE* aF = OSD_OpenFile(theFile, "w"); - if (aF == NULL) + if (aF == nullptr) { Messenger()->Send(Message_Msg("TObj_M_NoWriteAccess") << theFile, Message_Alarm); return false; @@ -476,7 +477,7 @@ occ::handle TObj_Model::GetChildren() const { occ::handle aMainPartition = GetMainPartition(); if (aMainPartition.IsNull()) - return 0; + return nullptr; return aMainPartition->GetChildren(); } @@ -870,7 +871,7 @@ bool TObj_Model::Paste(occ::handle theModel, // new TDF_RelocationTable); // theModel->GetLabel().ForgetAllAttributes(true); TObj_TNameContainer::Set(theModel->GetLabel()); - GetMainPartition()->Clone(theModel->GetLabel(), theRelocTable); + GetMainPartition()->Clone(theModel->GetLabel(), std::move(theRelocTable)); return true; } diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Model.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Model.hxx index 82665eb8a4..2e2436fbdd 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Model.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Model.hxx @@ -56,7 +56,7 @@ protected: Standard_EXPORT TObj_Model(); //! Destructor closes the model - Standard_EXPORT ~TObj_Model(); + Standard_EXPORT ~TObj_Model() override; //! Check whether the document contains the OCAF data. Standard_EXPORT virtual bool checkDocumentEmpty(const TCollection_ExtendedString& theFile); @@ -326,7 +326,7 @@ public: //! references will not be copied if theRelocTable is not 0 //! if theRelocTable is not NULL theRelocTable is filled by objects virtual Standard_EXPORT bool Paste(occ::handle theModel, - occ::handle theRelocTable = 0); + occ::handle theRelocTable = nullptr); //! This function have to create a new model with type like me virtual Standard_EXPORT occ::handle NewEmpty() = 0; diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_ModelIterator.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_ModelIterator.hxx index 62b7625b4e..727f4a928b 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_ModelIterator.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_ModelIterator.hxx @@ -42,13 +42,13 @@ public: //! Returns True if iteration is not finished and method Value() //! will give the object - virtual Standard_EXPORT bool More() const override; + Standard_EXPORT bool More() const override; //! Iterates to the next object - virtual Standard_EXPORT void Next() override; + Standard_EXPORT void Next() override; //! Returns current object (or MainObj of Model if iteration has finished) - virtual Standard_EXPORT occ::handle Value() const override; + Standard_EXPORT occ::handle Value() const override; protected: /** diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Object.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Object.cxx index 6853a173b5..79372fc91d 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Object.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Object.cxx @@ -682,7 +682,7 @@ occ::handle TObj_Object::getExtString(const int the occ::handle aName; aLabel.FindAttribute(TDataStd_Name::GetID(), aName); - return aName.IsNull() ? 0 : new TCollection_HExtendedString(aName->Get()); + return aName.IsNull() ? nullptr : new TCollection_HExtendedString(aName->Get()); } //================================================================================================= @@ -707,7 +707,7 @@ occ::handle TObj_Object::getAsciiString(const int theR occ::handle aStrAttr; aLabel.FindAttribute(TDataStd_AsciiString::GetID(), aStrAttr); - return aStrAttr.IsNull() ? 0 : new TCollection_HAsciiString(aStrAttr->Get()); + return aStrAttr.IsNull() ? nullptr : new TCollection_HAsciiString(aStrAttr->Get()); } //================================================================================================= @@ -1096,7 +1096,7 @@ void TObj_Object::CopyChildren(TDF_Label& theTarget TDF_Label aSourceChildLabel = GetChildLabel(); occ::handle aChildren = // GetChildren(); // clang-format off - new TObj_OcafObjectIterator (aSourceChildLabel, NULL, true); // to support children on sublabels of child label + new TObj_OcafObjectIterator (aSourceChildLabel, nullptr, true); // to support children on sublabels of child label // clang-format on for (; aChildren->More(); aChildren->Next()) { @@ -1129,7 +1129,7 @@ void TObj_Object::CopyReferences(const occ::handle& theTarg occ::handle aSrcChildren = // GetChildren(); // to support childs on sublabels of sublabel of child label - new TObj_OcafObjectIterator(GetChildLabel(), NULL, true); + new TObj_OcafObjectIterator(GetChildLabel(), nullptr, true); for (; aSrcChildren->More(); aSrcChildren->Next()) { occ::handle aSrcChild = aSrcChildren->Value(); @@ -1411,7 +1411,7 @@ occ::handle TObj_Object::GetDictionary() const occ::handle aModel = GetModel(); if (!aModel.IsNull()) return aModel->GetDictionary(); - return NULL; + return nullptr; } //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Object.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Object.hxx index 71c0449de2..81f9573522 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Object.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Object.hxx @@ -125,7 +125,7 @@ public: //! The default implementation search for children on 1 sublavel //! of the children sub label virtual Standard_EXPORT occ::handle GetChildren( - const occ::handle& theType = NULL) const; + const occ::handle& theType = nullptr) const; //! Returns the label under which children are stored Standard_EXPORT TDF_Label GetChildLabel() const; @@ -194,7 +194,7 @@ public: //! Returns an Iterator containing objects that compose the this one //! theType narrows a variety of iterated objects virtual Standard_EXPORT occ::handle GetReferences( - const occ::handle& theType = NULL) const; + const occ::handle& theType = nullptr) const; //! Remove all references to other objects, by removing all reference attributes virtual Standard_EXPORT void RemoveAllReferences(); @@ -203,7 +203,7 @@ public: //! These referring objects may belong to other models. //! theType narrows a variety of iterated objects virtual Standard_EXPORT occ::handle GetBackReferences( - const occ::handle& theType = NULL) const; + const occ::handle& theType = nullptr) const; //! Registers another object as being dependent on this one. //! Stores back references under sublabel 2 (purely transient data, @@ -302,7 +302,7 @@ public: //! Returns the father object, which may be NULL //! theType gives type of father object to search Standard_EXPORT occ::handle GetFatherObject( - const occ::handle& theType = NULL) const; + const occ::handle& theType = nullptr) const; public: /** @@ -327,7 +327,7 @@ public: //! with the same relocation table virtual Standard_EXPORT occ::handle Clone( const TDF_Label& theTargetLabel, - occ::handle theRelocTable = 0); + occ::handle theRelocTable = nullptr); //! Coping the references. //! return false is Target object is different type diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_ObjectIterator.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_ObjectIterator.cxx index 1289991cdd..c45501ccff 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_ObjectIterator.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_ObjectIterator.cxx @@ -35,5 +35,5 @@ void TObj_ObjectIterator::Next() {} occ::handle TObj_ObjectIterator::Value() const { - return 0; + return nullptr; } diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_OcafObjectIterator.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_OcafObjectIterator.hxx index 9587e3a76e..897cd7132a 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_OcafObjectIterator.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_OcafObjectIterator.hxx @@ -35,13 +35,13 @@ public: //! @param theAllSubChildren do not stop at the first level of children, but search for //! sub-children too Standard_EXPORT TObj_OcafObjectIterator(const TDF_Label& theLabel, - const occ::handle& theType = NULL, + const occ::handle& theType = nullptr, const bool theRecursive = false, const bool theAllSubChildren = false); protected: //! Shift iterator to the next object - virtual Standard_EXPORT void MakeStep() override; + Standard_EXPORT void MakeStep() override; protected: occ::handle myType; //!< type of objects to iterate on diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.cxx index af37292152..771b182b17 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.cxx @@ -63,7 +63,7 @@ void TObj_Partition::SetNamePrefix(const occ::handle TObj_Partition::GetNewName(const bool theIsToChangeCount) { if (myPrefix.IsNull()) - return 0; + return nullptr; int aRank = GetLastIndex() + 1; int saveRank = aRank; diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.hxx index 61b696c8ae..a8cb979969 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Partition.hxx @@ -60,7 +60,7 @@ public: */ //! Sets name of the object. partition does not check unique of own name - virtual Standard_EXPORT bool SetName( + Standard_EXPORT bool SetName( const occ::handle& theName) const override; public: @@ -70,7 +70,7 @@ public: //! Performs updating the links and dependencies of the object which are not //! stored in persistence. Does not register the partition name - virtual Standard_EXPORT void AfterRetrieval() override; + Standard_EXPORT void AfterRetrieval() override; public: /** @@ -123,7 +123,7 @@ protected: //! Coping the data of me to Target object. //! return false is Target object is different type - Standard_EXPORT virtual bool copyData(const occ::handle& theTargetObject) override; + Standard_EXPORT bool copyData(const occ::handle& theTargetObject) override; private: /** diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Persistence.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Persistence.cxx index 8977f2ebcb..39861ecc3c 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Persistence.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Persistence.cxx @@ -58,7 +58,7 @@ occ::handle TObj_Persistence::CreateNewObject(const char* theT if (tool) return tool->New(theLabel); } - return 0; + return nullptr; } //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_ReferenceIterator.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_ReferenceIterator.hxx index 5789a628f7..3d2154a307 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_ReferenceIterator.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_ReferenceIterator.hxx @@ -35,7 +35,7 @@ public: //! Creates the iterator on references in partition //! theType narrows a variety of iterated objects Standard_EXPORT TObj_ReferenceIterator(const TDF_Label& theLabel, - const occ::handle& theType = NULL, + const occ::handle& theType = nullptr, const bool theRecursive = true); protected: @@ -44,7 +44,7 @@ protected: */ //! Shift iterator to the next object - virtual Standard_EXPORT void MakeStep() override; + Standard_EXPORT void MakeStep() override; occ::handle myType; //!< Type of objects to iterate on diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_SequenceIterator.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_SequenceIterator.hxx index 11304ec9ff..cd6182b86e 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_SequenceIterator.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_SequenceIterator.hxx @@ -48,7 +48,7 @@ public: //! Creates an iterator an initialize it by sequence of objects. Standard_EXPORT TObj_SequenceIterator( const occ::handle>>& theObjects, - const occ::handle& theType = NULL); + const occ::handle& theType = nullptr); public: /** @@ -56,13 +56,13 @@ public: */ //! Returns True if there is a current Item in the iteration. - virtual Standard_EXPORT bool More() const override; + Standard_EXPORT bool More() const override; //! Move to the next Item - virtual Standard_EXPORT void Next() override; + Standard_EXPORT void Next() override; //! Returns the current item - virtual Standard_EXPORT occ::handle Value() const override; + Standard_EXPORT occ::handle Value() const override; protected: /** diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TModel.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TModel.cxx index cae8faa069..ebad78b439 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TModel.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TModel.cxx @@ -32,7 +32,7 @@ const Standard_GUID& TObj_TModel::GetID() //================================================================================================= -TObj_TModel::TObj_TModel() {} +TObj_TModel::TObj_TModel() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TNameContainer.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TNameContainer.cxx index 124425727e..814e247e15 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TNameContainer.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TNameContainer.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TObj_TNameContainer, TDF_Attribute) //================================================================================================= -TObj_TNameContainer::TObj_TNameContainer() {} +TObj_TNameContainer::TObj_TNameContainer() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TObject.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TObject.cxx index 47c3e224e2..da029c5da4 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TObject.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TObject.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TObj_TObject, TDF_Attribute) //================================================================================================= -TObj_TObject::TObj_TObject() {} +TObj_TObject::TObj_TObject() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.cxx index 5916f55526..2579ec3709 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TObj_TReference, TDF_Attribute) //================================================================================================= -TObj_TReference::TObj_TReference() {} +TObj_TReference::TObj_TReference() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.hxx index ea0ec8fee7..0abab3f046 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TReference.hxx @@ -94,21 +94,21 @@ public: const occ::handle& theRT) const override; //! Remove back references of it reference if it is in other document. - virtual Standard_EXPORT void BeforeForget() override; + Standard_EXPORT void BeforeForget() override; //! It is necessary for tranzaction mechanism (Undo/Redo). - virtual Standard_EXPORT bool BeforeUndo(const occ::handle& theDelta, - const bool isForced = false) override; + Standard_EXPORT bool BeforeUndo(const occ::handle& theDelta, + const bool isForced = false) override; //! It is necessary for tranzaction mechanism (Undo/Redo). - virtual Standard_EXPORT bool AfterUndo(const occ::handle& theDelta, - const bool isForced = false) override; + Standard_EXPORT bool AfterUndo(const occ::handle& theDelta, + const bool isForced = false) override; //! Check if back reference exists for reference. - virtual Standard_EXPORT void AfterResume() override; + Standard_EXPORT void AfterResume() override; //! Called after retrieval reference from file. - virtual Standard_EXPORT bool AfterRetrieval(const bool forceIt = false) override; + Standard_EXPORT bool AfterRetrieval(const bool forceIt = false) override; private: //! Fields diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.cxx index 525ef79326..868269efd5 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TObj_TXYZ, TDF_Attribute) //================================================================================================= -TObj_TXYZ::TObj_TXYZ() {} +TObj_TXYZ::TObj_TXYZ() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.hxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.hxx index 058afbf940..247982bca6 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.hxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TXYZ.hxx @@ -75,7 +75,7 @@ public: const occ::handle& theRT) const override; //! This method dumps the attribute value into the stream - Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& theOS) const override; + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& theOS) const override; private: //! Fields diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx index 043220899c..f90fee8431 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx @@ -38,7 +38,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_AISPresentation, TDF_Attribute) //================================================================================================= -TPrsStd_AISPresentation::TPrsStd_AISPresentation() {} +TPrsStd_AISPresentation::TPrsStd_AISPresentation() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.hxx index 307a96a671..20d7a02c50 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.hxx @@ -175,26 +175,25 @@ public: Standard_EXPORT void Paste(const occ::handle& into, const occ::handle& RT) const override; - Standard_EXPORT virtual occ::handle BackupCopy() const override; + Standard_EXPORT occ::handle BackupCopy() const override; - Standard_EXPORT virtual void AfterAddition() override; + Standard_EXPORT void AfterAddition() override; - Standard_EXPORT virtual void BeforeRemoval() override; + Standard_EXPORT void BeforeRemoval() override; - Standard_EXPORT virtual void BeforeForget() override; + Standard_EXPORT void BeforeForget() override; - Standard_EXPORT virtual void AfterResume() override; + Standard_EXPORT void AfterResume() override; - Standard_EXPORT virtual bool BeforeUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool BeforeUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! update AIS viewer according to delta - Standard_EXPORT virtual bool AfterUndo(const occ::handle& anAttDelta, - const bool forceIt = false) override; + Standard_EXPORT bool AfterUndo(const occ::handle& anAttDelta, + const bool forceIt = false) override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TPrsStd_AISPresentation, TDF_Attribute) diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.cxx index 5e98ac2797..6a710394a2 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.cxx @@ -140,7 +140,7 @@ void TPrsStd_AISViewer::Update(const TDF_Label& acces) //================================================================================================= -TPrsStd_AISViewer::TPrsStd_AISViewer() {} +TPrsStd_AISViewer::TPrsStd_AISViewer() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.hxx index e52a1cb23b..d5790933b6 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISViewer.hxx @@ -88,8 +88,7 @@ public: const occ::handle& RT) const override; //! Dumps the content of me into the stream - Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, - int theDepth = -1) const override; + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; DEFINE_STANDARD_RTTIEXT(TPrsStd_AISViewer, TDF_Attribute) diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.cxx index 0637719e04..d9cd30fbd9 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_AxisDriver, TPrsStd_Driver) //================================================================================================= -TPrsStd_AxisDriver::TPrsStd_AxisDriver() {} +TPrsStd_AxisDriver::TPrsStd_AxisDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.hxx index a6f27731f2..99a414e324 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AxisDriver.hxx @@ -36,8 +36,8 @@ public: //! No compute is done. //! Returns if information was found //! and AISObject updated. - Standard_EXPORT virtual bool Update(const TDF_Label& aLabel, - occ::handle& anAISObject) override; + Standard_EXPORT bool Update(const TDF_Label& aLabel, + occ::handle& anAISObject) override; DEFINE_STANDARD_RTTIEXT(TPrsStd_AxisDriver, TPrsStd_Driver) }; diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.cxx index db9e95ef9c..fa6f85f53d 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_ConstraintDriver, TPrsStd_Driver) //================================================================================================= -TPrsStd_ConstraintDriver::TPrsStd_ConstraintDriver() {} +TPrsStd_ConstraintDriver::TPrsStd_ConstraintDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.hxx index 72787a9f57..fb5c93db70 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintDriver.hxx @@ -36,8 +36,8 @@ public: //! No compute is done. //! Returns if information was found //! and AISObject updated. - Standard_EXPORT virtual bool Update(const TDF_Label& aLabel, - occ::handle& anAISObject) override; + Standard_EXPORT bool Update(const TDF_Label& aLabel, + occ::handle& anAISObject) override; DEFINE_STANDARD_RTTIEXT(TPrsStd_ConstraintDriver, TPrsStd_Driver) }; diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintTools.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintTools.cxx index 91287789d9..82d7be1a9e 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintTools.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_ConstraintTools.cxx @@ -83,7 +83,7 @@ #include #include -#include +#include static bool CheckShapesPair(const TopoDS_Shape&, const TopoDS_Shape&); // ota //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_Driver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_Driver.cxx index 1e16e67b76..98aea2ba00 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_Driver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_Driver.cxx @@ -18,4 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_Driver, Standard_Transient) -TPrsStd_Driver::TPrsStd_Driver() {} +TPrsStd_Driver::TPrsStd_Driver() = default; diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.cxx index 0ffa5b9bff..16d9befc10 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.cxx @@ -39,7 +39,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_GeometryDriver, TPrsStd_Driver) //================================================================================================= -TPrsStd_GeometryDriver::TPrsStd_GeometryDriver() {} +TPrsStd_GeometryDriver::TPrsStd_GeometryDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.hxx index 3945a03067..d0c1d585e5 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_GeometryDriver.hxx @@ -36,8 +36,8 @@ public: //! No compute is done. //! Returns if information was found //! and AISObject updated. - Standard_EXPORT virtual bool Update(const TDF_Label& aLabel, - occ::handle& anAISObject) override; + Standard_EXPORT bool Update(const TDF_Label& aLabel, + occ::handle& anAISObject) override; DEFINE_STANDARD_RTTIEXT(TPrsStd_GeometryDriver, TPrsStd_Driver) }; diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.cxx index cb79925f59..6b632014d2 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.cxx @@ -42,7 +42,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_NamedShapeDriver, TPrsStd_Driver) //================================================================================================= -TPrsStd_NamedShapeDriver::TPrsStd_NamedShapeDriver() {} +TPrsStd_NamedShapeDriver::TPrsStd_NamedShapeDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.hxx index 71c7602ca0..6663758c13 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_NamedShapeDriver.hxx @@ -36,8 +36,8 @@ public: //! No compute is done. //! Returns if information was found //! and AISObject updated. - Standard_EXPORT virtual bool Update(const TDF_Label& aLabel, - occ::handle& anAISObject) override; + Standard_EXPORT bool Update(const TDF_Label& aLabel, + occ::handle& anAISObject) override; DEFINE_STANDARD_RTTIEXT(TPrsStd_NamedShapeDriver, TPrsStd_Driver) }; diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.cxx index 119ef9dcd9..93b1751855 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_PlaneDriver, TPrsStd_Driver) // #include //================================================================================================= -TPrsStd_PlaneDriver::TPrsStd_PlaneDriver() {} +TPrsStd_PlaneDriver::TPrsStd_PlaneDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.hxx index e6d2056655..fd90bd9918 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PlaneDriver.hxx @@ -36,8 +36,8 @@ public: //! No compute is done. //! Returns if information was found //! and AISObject updated. - Standard_EXPORT virtual bool Update(const TDF_Label& aLabel, - occ::handle& anAISObject) override; + Standard_EXPORT bool Update(const TDF_Label& aLabel, + occ::handle& anAISObject) override; DEFINE_STANDARD_RTTIEXT(TPrsStd_PlaneDriver, TPrsStd_Driver) }; diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.cxx index 11ab6ddce7..85f04c559c 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TPrsStd_PointDriver, TPrsStd_Driver) // #include //================================================================================================= -TPrsStd_PointDriver::TPrsStd_PointDriver() {} +TPrsStd_PointDriver::TPrsStd_PointDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.hxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.hxx index 2d97f92807..d911db022d 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.hxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_PointDriver.hxx @@ -36,8 +36,8 @@ public: //! No compute is done. //! Returns if information was found //! and AISObject updated. - Standard_EXPORT virtual bool Update(const TDF_Label& aLabel, - occ::handle& anAISObject) override; + Standard_EXPORT bool Update(const TDF_Label& aLabel, + occ::handle& anAISObject) override; DEFINE_STANDARD_RTTIEXT(TPrsStd_PointDriver, TPrsStd_Driver) }; diff --git a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.cxx index df0edade95..1e1ab96cd1 100644 --- a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlDrivers_DocumentRetrievalDriver, XmlLDrivers_Docum //================================================================================================= -XmlDrivers_DocumentRetrievalDriver::XmlDrivers_DocumentRetrievalDriver() {} +XmlDrivers_DocumentRetrievalDriver::XmlDrivers_DocumentRetrievalDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.hxx index 3360b6f63b..49334ff42c 100644 --- a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentRetrievalDriver.hxx @@ -31,16 +31,15 @@ class XmlDrivers_DocumentRetrievalDriver : public XmlLDrivers_DocumentRetrievalD public: Standard_EXPORT XmlDrivers_DocumentRetrievalDriver(); - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; - Standard_EXPORT virtual occ::handle ReadShapeSection( + Standard_EXPORT occ::handle ReadShapeSection( const XmlObjMgt_Element& thePDoc, const occ::handle& theMsgDriver, const Message_ProgressRange& theRange = Message_ProgressRange()) override; - Standard_EXPORT virtual void ShapeSetCleaning( - const occ::handle& theDriver) override; + Standard_EXPORT void ShapeSetCleaning(const occ::handle& theDriver) override; DEFINE_STANDARD_RTTIEXT(XmlDrivers_DocumentRetrievalDriver, XmlLDrivers_DocumentRetrievalDriver) }; diff --git a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentStorageDriver.hxx b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentStorageDriver.hxx index 5bd75c490b..f447a2823a 100644 --- a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentStorageDriver.hxx +++ b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers_DocumentStorageDriver.hxx @@ -30,10 +30,10 @@ class XmlDrivers_DocumentStorageDriver : public XmlLDrivers_DocumentStorageDrive public: Standard_EXPORT XmlDrivers_DocumentStorageDriver(const TCollection_ExtendedString& theCopyright); - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; - Standard_EXPORT virtual bool WriteShapeSection( + Standard_EXPORT bool WriteShapeSection( XmlObjMgt_Element& thePDoc, const TDocStd_FormatVersion theStorageFormatVersion, const Message_ProgressRange& theRange = Message_ProgressRange()) override; diff --git a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_ConstraintDriver.cxx b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_ConstraintDriver.cxx index 59e9529fcc..74c6c8ce63 100644 --- a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_ConstraintDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_ConstraintDriver.cxx @@ -66,7 +66,7 @@ IMPLEMENT_DOMSTRING(ConOffsetString, "offset") XmlMDataXtd_ConstraintDriver::XmlMDataXtd_ConstraintDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -94,7 +94,7 @@ bool XmlMDataXtd_ConstraintDriver::Paste(const XmlObjMgt_Persistent& theSo // value occ::handle aTValue; XmlObjMgt_DOMString aDOMStr = anElem.getAttribute(::ValueString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!aDOMStr.GetInteger(aNb)) { @@ -120,7 +120,7 @@ bool XmlMDataXtd_ConstraintDriver::Paste(const XmlObjMgt_Persistent& theSo // geometries aDOMStr = anElem.getAttribute(::GeometriesString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { const char* aGs = static_cast(aDOMStr.GetString()); @@ -156,7 +156,7 @@ bool XmlMDataXtd_ConstraintDriver::Paste(const XmlObjMgt_Persistent& theSo // plane aDOMStr = anElem.getAttribute(::PlaneString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!aDOMStr.GetInteger(aNb)) { diff --git a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_GeometryDriver.cxx b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_GeometryDriver.cxx index bca7b25ff1..3b094f016d 100644 --- a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_GeometryDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_GeometryDriver.cxx @@ -41,7 +41,7 @@ IMPLEMENT_DOMSTRING(GeomCylinderString, "cylinder") XmlMDataXtd_GeometryDriver::XmlMDataXtd_GeometryDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PatternStdDriver.cxx b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PatternStdDriver.cxx index f873dd39d0..1dcd77d6db 100644 --- a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PatternStdDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PatternStdDriver.cxx @@ -44,7 +44,7 @@ IMPLEMENT_DOMSTRING(TrueString, "true") XmlMDataXtd_PatternStdDriver::XmlMDataXtd_PatternStdDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -80,9 +80,9 @@ bool XmlMDataXtd_PatternStdDriver::Paste(const XmlObjMgt_Persistent& theSo aP->Signature(signature); XmlObjMgt_DOMString aString = anElem.getAttribute(::Axis1RevString()); - aP->Axis1Reversed(aString != NULL); + aP->Axis1Reversed(aString != nullptr); aString = anElem.getAttribute(::Axis2RevString()); - aP->Axis2Reversed(aString != NULL); + aP->Axis2Reversed(aString != nullptr); occ::handle TNS; occ::handle TReal; diff --git a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PositionDriver.cxx b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PositionDriver.cxx index 4eb9550acc..b906bad07f 100644 --- a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PositionDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PositionDriver.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(XmlMDataXtd_PositionDriver, XmlMDF_ADriver) @@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlMDataXtd_PositionDriver, XmlMDF_ADriver) XmlMDataXtd_PositionDriver::XmlMDataXtd_PositionDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -53,7 +53,7 @@ bool XmlMDataXtd_PositionDriver::Paste(const XmlObjMgt_Persistent& theSour // position XmlObjMgt_DOMString aPosStr = XmlObjMgt::GetStringValue(theSource.Element()); - if (aPosStr == NULL) + if (aPosStr == nullptr) { myMessageDriver->Send("Cannot retrieve position string from element", Message_Fail); return false; diff --git a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PresentationDriver.cxx b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PresentationDriver.cxx index 82832bdde2..2c630b0b19 100644 --- a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PresentationDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_PresentationDriver.cxx @@ -38,7 +38,7 @@ IMPLEMENT_DOMSTRING(DisplayedString, "true") XmlMDataXtd_PresentationDriver::XmlMDataXtd_PresentationDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -65,7 +65,7 @@ bool XmlMDataXtd_PresentationDriver::Paste(const XmlObjMgt_Persistent& the // convert attribute value into GUID aDOMStr = anElem.getAttribute(::GuidString()); - if (aDOMStr == NULL) + if (aDOMStr == nullptr) { myMessageDriver->Send("Cannot retrieve guid string from attribute", Message_Fail); return false; @@ -75,13 +75,13 @@ bool XmlMDataXtd_PresentationDriver::Paste(const XmlObjMgt_Persistent& the // is displayed aDOMStr = anElem.getAttribute(::IsDisplayedString()); - aTPrs->SetDisplayed(aDOMStr != NULL); + aTPrs->SetDisplayed(aDOMStr != nullptr); int anIValue; // color aDOMStr = anElem.getAttribute(::ColorString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!aDOMStr.GetInteger(anIValue)) { @@ -102,7 +102,7 @@ bool XmlMDataXtd_PresentationDriver::Paste(const XmlObjMgt_Persistent& the // material aDOMStr = anElem.getAttribute(::MaterialString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!aDOMStr.GetInteger(anIValue)) { @@ -122,7 +122,7 @@ bool XmlMDataXtd_PresentationDriver::Paste(const XmlObjMgt_Persistent& the // transparency aDOMStr = anElem.getAttribute(::TransparencyString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!XmlObjMgt::GetReal(aDOMStr, aValue)) { @@ -140,7 +140,7 @@ bool XmlMDataXtd_PresentationDriver::Paste(const XmlObjMgt_Persistent& the // width aDOMStr = anElem.getAttribute(::WidthString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!XmlObjMgt::GetReal(aDOMStr, aValue)) { @@ -158,7 +158,7 @@ bool XmlMDataXtd_PresentationDriver::Paste(const XmlObjMgt_Persistent& the // mode aDOMStr = anElem.getAttribute(::ModeString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!aDOMStr.GetInteger(anIValue)) { diff --git a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_TriangulationDriver.cxx b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_TriangulationDriver.cxx index 82f63b4f57..af63e17729 100644 --- a/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_TriangulationDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMDataXtd/XmlMDataXtd_TriangulationDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_DOMSTRING(ExistString, "exists") XmlMDataXtd_TriangulationDriver::XmlMDataXtd_TriangulationDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -55,7 +55,7 @@ bool XmlMDataXtd_TriangulationDriver::Paste(const XmlObjMgt_Persistent& th // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString triangStatus = element.getAttribute(::TriangString()); - if (triangStatus == NULL || triangStatus.Type() != LDOMBasicString::LDOM_AsciiDoc + if (triangStatus == nullptr || triangStatus.Type() != LDOMBasicString::LDOM_AsciiDoc || strcmp(triangStatus.GetString(), ::ExistString().GetString())) { // No triangulation. @@ -202,5 +202,5 @@ void XmlMDataXtd_TriangulationDriver::GetReal(Standard_IStream& IS, double& theV std::streamsize anOldWide = IS.width(256); IS >> buffer; IS.width(anOldWide); - theValue = Strtod(buffer, NULL); + theValue = Strtod(buffer, nullptr); } diff --git a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx index 76f58157a6..83133baab2 100644 --- a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx @@ -57,7 +57,7 @@ IMPLEMENT_DOMSTRING(EvolReplaceString, "replace") XmlMNaming_NamedShapeDriver::XmlMNaming_NamedShapeDriver( const occ::handle& theMessageDriver) - : XmlMDF_ADriver(theMessageDriver, NULL), + : XmlMDF_ADriver(theMessageDriver, nullptr), myShapeSet(false) // triangles mode { } @@ -86,7 +86,7 @@ bool XmlMNaming_NamedShapeDriver::Paste(const XmlObjMgt_Persistent& theSou int aVersion = 0; const XmlObjMgt_Element& anElement = theSource; XmlObjMgt_DOMString aVerString = anElement.getAttribute(::VersionString()); - if (aVerString != NULL) + if (aVerString != nullptr) aVerString.GetInteger(aVersion); // Get Evolution status @@ -117,7 +117,7 @@ bool XmlMNaming_NamedShapeDriver::Paste(const XmlObjMgt_Persistent& theSou const XmlMNaming_Shape1 aNewPShape = NewPShapes.Value(i); const XmlMNaming_Shape1 anOldPShape = OldPShapes.Value(i); - if (evol != TNaming_PRIMITIVE && anOldPShape.Element() != NULL) + if (evol != TNaming_PRIMITIVE && anOldPShape.Element() != nullptr) { if (::doTranslate(anOldPShape, anOldShape, aShapeSet)) { @@ -126,7 +126,7 @@ bool XmlMNaming_NamedShapeDriver::Paste(const XmlObjMgt_Persistent& theSou } } - if (evol != TNaming_DELETE && aNewPShape.Element() != NULL) + if (evol != TNaming_DELETE && aNewPShape.Element() != nullptr) { if (::doTranslate(aNewPShape, aNewShape, aShapeSet)) { @@ -326,9 +326,9 @@ void XmlMNaming_NamedShapeDriver::ReadShapeSection(const XmlObjMgt_Element& const Message_ProgressRange& theRange) { XmlObjMgt_Element anElement = XmlObjMgt::FindChildByName(theElement, ::ShapesString()); - if (anElement != NULL) + if (anElement != nullptr) { - for (LDOM_Node aNode = anElement.getFirstChild(); aNode != NULL; + for (LDOM_Node aNode = anElement.getFirstChild(); aNode != nullptr; aNode = anElement.getNextSibling()) { if (aNode.getNodeType() == LDOM_Node::TEXT_NODE) diff --git a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.hxx b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.hxx index 5dc3a9bef2..8a480118f8 100644 --- a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.hxx +++ b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.hxx @@ -35,15 +35,15 @@ class XmlMNaming_NamedShapeDriver : public XmlMDF_ADriver public: Standard_EXPORT XmlMNaming_NamedShapeDriver(const occ::handle& aMessageDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const XmlObjMgt_Persistent& theSource, - const occ::handle& theTarget, - XmlObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const XmlObjMgt_Persistent& theSource, + const occ::handle& theTarget, + XmlObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste(const occ::handle& theSource, - XmlObjMgt_Persistent& theTarget, - XmlObjMgt_SRelocationTable& theRelocTable) const override; + Standard_EXPORT void Paste(const occ::handle& theSource, + XmlObjMgt_Persistent& theTarget, + XmlObjMgt_SRelocationTable& theRelocTable) const override; //! Input the shapes from DOM element Standard_EXPORT void ReadShapeSection( diff --git a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamingDriver.cxx b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamingDriver.cxx index e8ff16304d..c51cd08bca 100644 --- a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamingDriver.cxx +++ b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamingDriver.cxx @@ -66,7 +66,7 @@ IMPLEMENT_DOMSTRING(ShShapeString, "shape") //================================================================================================= XmlMNaming_NamingDriver::XmlMNaming_NamingDriver(const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -99,7 +99,7 @@ bool XmlMNaming_NamingDriver::Paste(const XmlObjMgt_Persistent& theSource, TCollection_ExtendedString aMsgString; XmlObjMgt_DOMString aDOMStr = anElem.getAttribute(::ArgumentsString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { const char* aGs = static_cast(aDOMStr.GetString()); @@ -131,7 +131,7 @@ bool XmlMNaming_NamingDriver::Paste(const XmlObjMgt_Persistent& theSource, // stop named shape aDOMStr = anElem.getAttribute(::StopNamedShapeString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { if (!aDOMStr.GetInteger(aNb)) { @@ -170,7 +170,7 @@ bool XmlMNaming_NamingDriver::Paste(const XmlObjMgt_Persistent& theSource, >= TDocStd_FormatVersion_VERSION_4) { XmlObjMgt_DOMString aDomEntry = anElem.getAttribute(::ContextLabelString()); - if (aDomEntry != NULL) + if (aDomEntry != nullptr) { TCollection_AsciiString anEntry; if (XmlObjMgt::GetTagEntryString(aDomEntry, anEntry) == false) diff --git a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_Shape1.cxx b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_Shape1.cxx index 7776a98bcb..3895e79b60 100644 --- a/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_Shape1.cxx +++ b/src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_Shape1.cxx @@ -21,7 +21,7 @@ #include #include -#include +#include IMPLEMENT_DOMSTRING(TShapeString, "tshape") IMPLEMENT_DOMSTRING(LocationString, "location") @@ -47,7 +47,7 @@ XmlMNaming_Shape1::XmlMNaming_Shape1(const XmlObjMgt_Element& theEl) myLocID(0), myOrientation(TopAbs_FORWARD) { - if (myElement != NULL) + if (myElement != nullptr) { myElement.getAttribute(::LocationString()).GetInteger(myLocID); XmlObjMgt_DOMString aString = myElement.getAttribute(::TShapeString()); diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx index 1cc9ef67e5..4453c9e227 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx @@ -27,7 +27,7 @@ #include #include -#include +#include static Standard_GUID XmlLStorageDriver("13a56820-8269-11d5-aab2-0050044b1af1"); static Standard_GUID XmlLRetrievalDriver("13a56822-8269-11d5-aab2-0050044b1af1"); diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx index e085ef0a64..67d66497fc 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx @@ -172,9 +172,9 @@ void XmlLDrivers_DocumentRetrievalDriver::Read(const TCollection_ExtendedString& const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aFileStream = aFileSystem->OpenIStream(myFileName, std::ios::in); - if (aFileStream.get() != NULL && aFileStream->good()) + if (aFileStream.get() != nullptr && aFileStream->good()) { - Read(*aFileStream, NULL, theNewDocument, theApplication, theFilter, theRange); + Read(*aFileStream, nullptr, theNewDocument, theApplication, theFilter, theRange); } else { @@ -239,10 +239,10 @@ void XmlLDrivers_DocumentRetrievalDriver::ReadFromDomDocument( int aCurDocVersion = TDocStd_FormatVersion_VERSION_2; // minimum supported version TCollection_ExtendedString anInfo; const XmlObjMgt_Element anInfoElem = theElement.GetChildByTagName("info"); - if (anInfoElem != NULL) + if (anInfoElem != nullptr) { XmlObjMgt_DOMString aDocVerStr = anInfoElem.getAttribute("DocVersion"); - if (aDocVerStr != NULL) + if (aDocVerStr != nullptr) { int anIntegerVersion = 0; if (aDocVerStr.GetInteger(anIntegerVersion)) @@ -276,7 +276,7 @@ void XmlLDrivers_DocumentRetrievalDriver::ReadFromDomDocument( } bool isRef = false; - for (LDOM_Node aNode = anInfoElem.getFirstChild(); aNode != NULL; + for (LDOM_Node aNode = anInfoElem.getFirstChild(); aNode != nullptr; aNode = aNode.getNextSibling()) { if (aNode.getNodeType() == LDOM_Node::ELEMENT_NODE) @@ -437,9 +437,9 @@ void XmlLDrivers_DocumentRetrievalDriver::ReadFromDomDocument( // 2. Read comments TCollection_ExtendedString aComment; const XmlObjMgt_Element aCommentsElem = theElement.GetChildByTagName("comments"); - if (aCommentsElem != NULL) + if (aCommentsElem != nullptr) { - for (LDOM_Node aNode = aCommentsElem.getFirstChild(); aNode != NULL; + for (LDOM_Node aNode = aCommentsElem.getFirstChild(); aNode != nullptr; aNode = aNode.getNextSibling()) { if (aNode.getNodeType() == LDOM_Node::ELEMENT_NODE) diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.hxx index 4d239c468b..5f39735943 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.hxx @@ -37,14 +37,14 @@ class XmlLDrivers_DocumentRetrievalDriver : public PCDM_RetrievalDriver public: Standard_EXPORT XmlLDrivers_DocumentRetrievalDriver(); - Standard_EXPORT virtual void Read( + Standard_EXPORT void Read( const TCollection_ExtendedString& theFileName, const occ::handle& theNewDocument, const occ::handle& theApplication, const occ::handle& theFilter = occ::handle(), const Message_ProgressRange& theRange = Message_ProgressRange()) override; - Standard_EXPORT virtual void Read( + Standard_EXPORT void Read( Standard_IStream& theIStream, const occ::handle& theStorageData, const occ::handle& theDoc, diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx index 8ac09b5009..5b1013a6f1 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx @@ -88,7 +88,7 @@ void XmlLDrivers_DocumentStorageDriver::Write(const occ::handle& const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aFileStream = aFileSystem->OpenOStream(theFileName, std::ios::out | std::ios::binary); - if (aFileStream.get() != NULL && aFileStream->good()) + if (aFileStream.get() != nullptr && aFileStream->good()) { Write(theDocument, *aFileStream, theRange); } diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.hxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.hxx index d590628d5a..3b473c29af 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.hxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.hxx @@ -39,12 +39,12 @@ class XmlLDrivers_DocumentStorageDriver : public PCDM_StorageDriver public: Standard_EXPORT XmlLDrivers_DocumentStorageDriver(const TCollection_ExtendedString& theCopyright); - Standard_EXPORT virtual void Write( + Standard_EXPORT void Write( const occ::handle& theDocument, const TCollection_ExtendedString& theFileName, const Message_ProgressRange& theRange = Message_ProgressRange()) override; - Standard_EXPORT virtual void Write( + Standard_EXPORT void Write( const occ::handle& theDocument, Standard_OStream& theOStream, const Message_ProgressRange& theRange = Message_ProgressRange()) override; diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx index 86fee584f6..8b8486e35a 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx @@ -17,7 +17,7 @@ //================================================================================================= -XmlLDrivers_NamespaceDef::XmlLDrivers_NamespaceDef() {} +XmlLDrivers_NamespaceDef::XmlLDrivers_NamespaceDef() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.cxx index 41c785ba1c..0ede4e5396 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.cxx @@ -28,16 +28,16 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlMDF_ADriver, Standard_Transient) XmlMDF_ADriver::XmlMDF_ADriver(const occ::handle& theMsgDriver, const char* theNS, const char* theName) - : myNamespace(theNS == NULL ? "" : theNS), + : myNamespace(theNS == nullptr ? "" : theNS), myMessageDriver(theMsgDriver) { - if (theNS != NULL) + if (theNS != nullptr) if (theNS[0] != '\0') { myTypeName = theNS; myTypeName += ':'; } - if (theName != NULL) + if (theName != nullptr) myTypeName += theName; } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.hxx b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.hxx index dd303f774a..c4a23d65c3 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.hxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriver.hxx @@ -73,7 +73,7 @@ public: protected: Standard_EXPORT XmlMDF_ADriver(const occ::handle& theMessageDriver, const char* theNamespace, - const char* theName = NULL); + const char* theName = nullptr); TCollection_AsciiString myTypeName; TCollection_AsciiString myNamespace; diff --git a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriverTable.cxx b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriverTable.cxx index 185a2329d4..32542635e6 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriverTable.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ADriverTable.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlMDF_ADriverTable, Standard_Transient) //================================================================================================= -XmlMDF_ADriverTable::XmlMDF_ADriverTable() {} +XmlMDF_ADriverTable::XmlMDF_ADriverTable() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_DerivedDriver.hxx b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_DerivedDriver.hxx index c96b36d182..0c93b5b8fd 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_DerivedDriver.hxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_DerivedDriver.hxx @@ -36,7 +36,7 @@ public: } //! Creates a new instance of the derivative attribute - virtual occ::handle NewEmpty() const override { return myDerivative->NewEmpty(); } + occ::handle NewEmpty() const override { return myDerivative->NewEmpty(); } //! Returns the full XML tag name (including NS prefix) const TCollection_AsciiString& TypeName() const @@ -51,9 +51,9 @@ public: } //! Reuses the base driver to read the base fields - virtual bool Paste(const XmlObjMgt_Persistent& theSource, - const occ::handle& theTarget, - XmlObjMgt_RRelocationTable& theRelocTable) const override + bool Paste(const XmlObjMgt_Persistent& theSource, + const occ::handle& theTarget, + XmlObjMgt_RRelocationTable& theRelocTable) const override { bool aResult = myBaseDirver->Paste(theSource, theTarget, theRelocTable); // clang-format off @@ -63,9 +63,9 @@ public: } //! Reuses the base driver to store the base fields - virtual void Paste(const occ::handle& theSource, - XmlObjMgt_Persistent& theTarget, - XmlObjMgt_SRelocationTable& theRelocTable) const override + void Paste(const occ::handle& theSource, + XmlObjMgt_Persistent& theTarget, + XmlObjMgt_SRelocationTable& theRelocTable) const override { myBaseDirver->Paste(theSource, theTarget, theRelocTable); } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ReferenceDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ReferenceDriver.cxx index 214dddb81d..15a9eb7bb0 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ReferenceDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_ReferenceDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlMDF_ReferenceDriver, XmlMDF_ADriver) //================================================================================================= XmlMDF_ReferenceDriver::XmlMDF_ReferenceDriver(const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -49,7 +49,7 @@ bool XmlMDF_ReferenceDriver::Paste(const XmlObjMgt_Persistent& theSource, { XmlObjMgt_DOMString anXPath = XmlObjMgt::GetStringValue(theSource); - if (anXPath == NULL) + if (anXPath == nullptr) { myMessageDriver->Send("Cannot retrieve reference string from element", Message_Fail); return false; diff --git a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_TagSourceDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_TagSourceDriver.cxx index e4f463c5bd..a32f42cbae 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_TagSourceDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDF/XmlMDF_TagSourceDriver.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlMDF_TagSourceDriver, XmlMDF_ADriver) //================================================================================================= XmlMDF_TagSourceDriver::XmlMDF_TagSourceDriver(const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx index 383c3225c9..a435ceffc6 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx @@ -30,7 +30,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "asciiguid") XmlMDataStd_AsciiStringDriver::XmlMDataStd_AsciiStringDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx index 47837d782c..273b3d34f7 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "boolarrattguid") XmlMDataStd_BooleanArrayDriver::XmlMDataStd_BooleanArrayDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -55,7 +55,7 @@ bool XmlMDataStd_BooleanArrayDriver::Paste(const XmlObjMgt_Persistent& the // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx index c87a61fed7..9af3258d39 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx @@ -32,7 +32,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "boollistattguid") XmlMDataStd_BooleanListDriver::XmlMDataStd_BooleanListDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -56,7 +56,7 @@ bool XmlMDataStd_BooleanListDriver::Paste(const XmlObjMgt_Persistent& theS // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx index 8f11420970..1a77b3ed19 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx @@ -35,7 +35,7 @@ IMPLEMENT_DOMSTRING(IsDeltaOn, "delta") XmlMDataStd_ByteArrayDriver::XmlMDataStd_ByteArrayDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -59,7 +59,7 @@ bool XmlMDataStd_ByteArrayDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx index c9d05d80b4..711043e5ed 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx @@ -30,7 +30,7 @@ IMPLEMENT_DOMSTRING(VariablesString, "variables") XmlMDataStd_ExpressionDriver::XmlMDataStd_ExpressionDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -67,7 +67,7 @@ bool XmlMDataStd_ExpressionDriver::Paste(const XmlObjMgt_Persistent& theSo // variables XmlObjMgt_DOMString aDOMStr = anElem.getAttribute(::VariablesString()); - if (aDOMStr != NULL) + if (aDOMStr != nullptr) { const char* aVs = static_cast(aDOMStr.GetString()); diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx index c135cfafab..94a83ae535 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx @@ -52,7 +52,7 @@ static bool Contains(const occ::handle& arr, XmlMDataStd_ExtStringArrayDriver::XmlMDataStd_ExtStringArrayDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -77,7 +77,7 @@ bool XmlMDataStd_ExtStringArrayDriver::Paste(const XmlObjMgt_Persistent& t // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx index acf4feecda..9ba9b45b29 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx @@ -34,7 +34,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "extstrlistattguid") XmlMDataStd_ExtStringListDriver::XmlMDataStd_ExtStringListDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -58,7 +58,7 @@ bool XmlMDataStd_ExtStringListDriver::Paste(const XmlObjMgt_Persistent& th // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.cxx index f12197df38..ff69f3a07a 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlMDataStd_GenericEmptyDriver, XmlMDF_ADriver) XmlMDataStd_GenericEmptyDriver::XmlMDataStd_GenericEmptyDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.hxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.hxx index e8b7008a15..b50f18a39f 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.hxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericEmptyDriver.hxx @@ -33,7 +33,7 @@ public: Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual occ::handle SourceType() const override; + Standard_EXPORT occ::handle SourceType() const override; Standard_EXPORT bool Paste(const XmlObjMgt_Persistent& Source, const occ::handle& Target, diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.cxx index 579bd105b3..c6247401da 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "nameguid") XmlMDataStd_GenericExtStringDriver::XmlMDataStd_GenericExtStringDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.hxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.hxx index 7211da82c8..dac0489880 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.hxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_GenericExtStringDriver.hxx @@ -34,7 +34,7 @@ public: Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual occ::handle SourceType() const override; + Standard_EXPORT occ::handle SourceType() const override; Standard_EXPORT bool Paste(const XmlObjMgt_Persistent& Source, const occ::handle& Target, diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx index e4f266fae4..79e23c8831 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx @@ -62,7 +62,7 @@ bool XmlMDataStd_IntPackedMapDriver::Paste(const XmlObjMgt_Persistent& the int aSize; const XmlObjMgt_Element& anElement = theSource; XmlObjMgt_DOMString aSizeDStr = anElement.getAttribute(::IntPackedMapSize()); - if (aSizeDStr == NULL) + if (aSizeDStr == nullptr) aSize = 0; else if (!aSizeDStr.GetInteger(aSize)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx index 566d8cef41..fc9199bb09 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx @@ -36,7 +36,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "intarrattguid") XmlMDataStd_IntegerArrayDriver::XmlMDataStd_IntegerArrayDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -60,7 +60,7 @@ bool XmlMDataStd_IntegerArrayDriver::Paste(const XmlObjMgt_Persistent& the // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx index bdbc22f938..9c2a88cfeb 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "intattguid") XmlMDataStd_IntegerDriver::XmlMDataStd_IntegerDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx index 1a7322716e..d263e21477 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "intlistattguid") XmlMDataStd_IntegerListDriver::XmlMDataStd_IntegerListDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -55,7 +55,7 @@ bool XmlMDataStd_IntegerListDriver::Paste(const XmlObjMgt_Persistent& theS // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx index f8a553d5df..d79f9b5585 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx @@ -49,7 +49,7 @@ IMPLEMENT_DOMSTRING(Value, "value") XmlMDataStd_NamedDataDriver::XmlMDataStd_NamedDataDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -131,7 +131,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // DataMapOfStringInteger: Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIntegerIndex()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -145,7 +145,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the LastIndex; XmlObjMgt_DOMString aLastIndex = anElement.getAttribute(::LastIntegerIndex()); - if (aLastIndex == NULL) + if (aLastIndex == nullptr) { aFirstInd = 0; aLastInd = 0; @@ -211,7 +211,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // DataMapOfStringReal aFirstIndex = anElement.getAttribute(::FirstRealIndex()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -225,7 +225,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the LastIndex; aLastIndex = anElement.getAttribute(::LastRealIndex()); - if (aLastIndex == NULL) + if (aLastIndex == nullptr) { aFirstInd = 0; aLastInd = 0; @@ -293,7 +293,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // DataMapOfStringString aFirstIndex = anElement.getAttribute(::FirstStringIndex()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -305,7 +305,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou return false; } aLastIndex = anElement.getAttribute(::LastStringIndex()); - if (aLastIndex == NULL) + if (aLastIndex == nullptr) { aFirstInd = 0; aLastInd = 0; @@ -369,7 +369,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // DataMapOfStringByte aFirstIndex = anElement.getAttribute(::FirstByteIndex()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -383,7 +383,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the LastIndex; aLastIndex = anElement.getAttribute(::LastByteIndex()); - if (aLastIndex == NULL) + if (aLastIndex == nullptr) { aFirstInd = 0; aLastInd = 0; @@ -454,7 +454,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // DataMapOfStringHArray1OfInteger aFirstIndex = anElement.getAttribute(::FirstIntArrIndex()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -468,7 +468,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the LastIndex; aLastIndex = anElement.getAttribute(::LastIntArrIndex()); - if (aLastIndex == NULL) + if (aLastIndex == nullptr) { aFirstInd = 0; aLastInd = 0; @@ -557,7 +557,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // DataMapOfStringHArray1OfReal aFirstIndex = anElement.getAttribute(::FirstRealArrIndex()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -571,7 +571,7 @@ bool XmlMDataStd_NamedDataDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the LastIndex; aLastIndex = anElement.getAttribute(::LastRealArrIndex()); - if (aLastIndex == NULL) + if (aLastIndex == nullptr) { aFirstInd = 0; aLastInd = 0; diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx index fc17b284e3..a1c1509681 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx @@ -27,7 +27,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(XmlMDataStd_RealArrayDriver, XmlMDF_ADriver) IMPLEMENT_DOMSTRING(FirstIndexString, "first") IMPLEMENT_DOMSTRING(LastIndexString, "last") @@ -38,7 +38,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "realarrattguid") XmlMDataStd_RealArrayDriver::XmlMDataStd_RealArrayDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -74,7 +74,7 @@ bool XmlMDataStd_RealArrayDriver::Paste(const XmlObjMgt_Persistent& theSou // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealDriver.cxx index bcb2858df1..0c52323c79 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealDriver.cxx @@ -23,14 +23,14 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(XmlMDataStd_RealDriver, XmlMDF_ADriver) IMPLEMENT_DOMSTRING(AttributeIDString, "realattguid") //================================================================================================= XmlMDataStd_RealDriver::XmlMDataStd_RealDriver(const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealListDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealListDriver.cxx index 8892d48040..911a91c93a 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealListDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_RealListDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "reallistattguid") XmlMDataStd_RealListDriver::XmlMDataStd_RealListDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -65,7 +65,7 @@ bool XmlMDataStd_RealListDriver::Paste(const XmlObjMgt_Persistent& theSour // Read the FirstIndex; if the attribute is absent initialize to 1 int aFirstInd, aLastInd, ind; XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx index 81810d9fc6..40ad898103 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx @@ -34,7 +34,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "refarrattguid") XmlMDataStd_ReferenceArrayDriver::XmlMDataStd_ReferenceArrayDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -58,7 +58,7 @@ bool XmlMDataStd_ReferenceArrayDriver::Paste(const XmlObjMgt_Persistent& t // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -110,7 +110,7 @@ bool XmlMDataStd_ReferenceArrayDriver::Paste(const XmlObjMgt_Persistent& t while (*aCurElement != anElement.getLastChild()) { aValueStr = XmlObjMgt::GetStringValue(*aCurElement); - if (aValueStr == NULL) + if (aValueStr == nullptr) { myMessageDriver->Send("Cannot retrieve reference string from element", Message_Fail); } @@ -138,7 +138,7 @@ bool XmlMDataStd_ReferenceArrayDriver::Paste(const XmlObjMgt_Persistent& t // Last reference aValueStr = XmlObjMgt::GetStringValue(*aCurElement); - if (aValueStr == NULL) + if (aValueStr == nullptr) { myMessageDriver->Send("Cannot retrieve reference string from element", Message_Fail); } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx index 8c2bae322e..bc8bc6032b 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx @@ -35,7 +35,7 @@ IMPLEMENT_DOMSTRING(AttributeIDString, "reflistattguid") XmlMDataStd_ReferenceListDriver::XmlMDataStd_ReferenceListDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -59,7 +59,7 @@ bool XmlMDataStd_ReferenceListDriver::Paste(const XmlObjMgt_Persistent& th // Read the FirstIndex; if the attribute is absent initialize to 1 XmlObjMgt_DOMString aFirstIndex = anElement.getAttribute(::FirstIndexString()); - if (aFirstIndex == NULL) + if (aFirstIndex == nullptr) aFirstInd = 1; else if (!aFirstIndex.GetInteger(aFirstInd)) { @@ -109,7 +109,7 @@ bool XmlMDataStd_ReferenceListDriver::Paste(const XmlObjMgt_Persistent& th while (*aCurElement != anElement.getLastChild()) { aValueStr = XmlObjMgt::GetStringValue(*aCurElement); - if (aValueStr == NULL) + if (aValueStr == nullptr) { myMessageDriver->Send("Cannot retrieve reference string from element", Message_Fail); return false; @@ -134,7 +134,7 @@ bool XmlMDataStd_ReferenceListDriver::Paste(const XmlObjMgt_Persistent& th // Last reference aValueStr = XmlObjMgt::GetStringValue(*aCurElement); - if (aValueStr == NULL) + if (aValueStr == nullptr) { myMessageDriver->Send("Cannot retrieve reference string from element", Message_Fail); return false; diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx index 4d2ac59033..e76031e870 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_DOMSTRING(ChildrenString, "children") XmlMDataStd_TreeNodeDriver::XmlMDataStd_TreeNodeDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -64,7 +64,7 @@ bool XmlMDataStd_TreeNodeDriver::Paste(const XmlObjMgt_Persistent& theSour occ::handle aTChild; XmlObjMgt_DOMString aChildrenStr = anElement.getAttribute(::ChildrenString()); - if (aChildrenStr != NULL) // void list is allowed + if (aChildrenStr != nullptr) // void list is allowed { const char* aChildren = static_cast(aChildrenStr.GetString()); int aNb = 0; diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx index 5596a74289..ecb50448d1 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx @@ -27,7 +27,7 @@ IMPLEMENT_DOMSTRING(GuidString, "guid") XmlMDataStd_UAttributeDriver::XmlMDataStd_UAttributeDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_VariableDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_VariableDriver.cxx index 415194acb8..2dee92908b 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_VariableDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDataStd/XmlMDataStd_VariableDriver.cxx @@ -29,7 +29,7 @@ IMPLEMENT_DOMSTRING(ConstString, "true") XmlMDataStd_VariableDriver::XmlMDataStd_VariableDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -49,7 +49,7 @@ bool XmlMDataStd_VariableDriver::Paste(const XmlObjMgt_Persistent& theSour occ::handle aV = occ::down_cast(theTarget); XmlObjMgt_DOMString aStr = theSource.Element().getAttribute(::IsConstString()); - aV->Constant(aStr != NULL); + aV->Constant(aStr != nullptr); aStr = theSource.Element().getAttribute(::UnitString()); aV->Unit(aStr); diff --git a/src/ApplicationFramework/TKXmlL/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx index 400162e278..594f2f85b1 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx @@ -28,7 +28,7 @@ IMPLEMENT_DOMSTRING(DocEntryString, "documentEntry") //================================================================================================= XmlMDocStd_XLinkDriver::XmlMDocStd_XLinkDriver(const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -49,7 +49,7 @@ bool XmlMDocStd_XLinkDriver::Paste(const XmlObjMgt_Persistent& theSource, { XmlObjMgt_DOMString anXPath = XmlObjMgt::GetStringValue(theSource); - if (anXPath == NULL) + if (anXPath == nullptr) { myMessageDriver->Send("XLink: Cannot retrieve reference string from element", Message_Fail); return false; diff --git a/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_FunctionDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_FunctionDriver.cxx index 9a8ed8b66f..d84a95d443 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_FunctionDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_FunctionDriver.cxx @@ -29,7 +29,7 @@ IMPLEMENT_DOMSTRING(FailureString, "failure") XmlMFunction_FunctionDriver::XmlMFunction_FunctionDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx index c7e617a62c..357fb47d89 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx @@ -29,7 +29,7 @@ IMPLEMENT_DOMSTRING(ExecutionStatus, "exec") XmlMFunction_GraphNodeDriver::XmlMFunction_GraphNodeDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_ScopeDriver.cxx b/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_ScopeDriver.cxx index a3ead6491e..3b47db32a6 100644 --- a/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_ScopeDriver.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlMFunction/XmlMFunction_ScopeDriver.cxx @@ -33,7 +33,7 @@ IMPLEMENT_DOMSTRING(ExtString, "string") XmlMFunction_ScopeDriver::XmlMFunction_ScopeDriver( const occ::handle& theMsgDriver) - : XmlMDF_ADriver(theMsgDriver, NULL) + : XmlMDF_ADriver(theMsgDriver, nullptr) { } @@ -139,7 +139,7 @@ bool XmlMFunction_ScopeDriver::Paste(const XmlObjMgt_Persistent& theSource while (*aCurElement != anElement.getLastChild()) { aValueStr = XmlObjMgt::GetStringValue(*aCurElement); - if (aValueStr == NULL) + if (aValueStr == nullptr) { aCurNode = aCurElement->getNextSibling(); aCurElement = (LDOM_Element*)&aCurNode; @@ -166,7 +166,7 @@ bool XmlMFunction_ScopeDriver::Paste(const XmlObjMgt_Persistent& theSource // Last reference aValueStr = XmlObjMgt::GetStringValue(*aCurElement); - if (aValueStr == NULL) + if (aValueStr == nullptr) { myMessageDriver->Send("Cannot retrieve reference string from element", Message_Fail); return false; diff --git a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt.cxx b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt.cxx index 30ff99cd9c..1af6abd44c 100644 --- a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt.cxx @@ -19,8 +19,8 @@ #include #include -#include -#include +#include +#include #include static const char aRefPrefix[] = "/document/label"; @@ -64,7 +64,8 @@ void XmlObjMgt::SetStringValue(XmlObjMgt_Element& theElement, XmlObjMgt_DOMString XmlObjMgt::GetStringValue(const XmlObjMgt_Element& theElement) { XmlObjMgt_DOMString aString; - for (LDOM_Node aNode = theElement.getFirstChild(); aNode != NULL; aNode = aNode.getNextSibling()) + for (LDOM_Node aNode = theElement.getFirstChild(); aNode != nullptr; + aNode = aNode.getNextSibling()) { if (aNode.getNodeType() == LDOM_Node::TEXT_NODE) { @@ -244,7 +245,7 @@ void XmlObjMgt::SetTagEntryString(XmlObjMgt_DOMString& theTarget, { // Check for the end-of-string; find the delimiter ':' aPtr = strchr(aTagEntry, ':'); - if (aPtr == NULL) + if (aPtr == nullptr) break; aTagEntry = aPtr + 1; diff --git a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Array1.cxx b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Array1.cxx index f47202a0e6..ef791f7e0c 100644 --- a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Array1.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Array1.cxx @@ -32,7 +32,7 @@ XmlObjMgt_Array1::XmlObjMgt_Array1(const XmlObjMgt_Element& theParent, myFirst(1), myLast(0) { - if (myElement != NULL) + if (myElement != nullptr) { if (!myElement.getAttribute(::LowerString()).GetInteger(myFirst)) myFirst = 1; diff --git a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_GP.cxx b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_GP.cxx index fcfbd26159..5fadbcfe52 100644 --- a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_GP.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_GP.cxx @@ -17,7 +17,7 @@ #include #include -#include +#include static const char* Translate(const char* theStr, gp_Mat& M); static const char* Translate(const char* theStr, gp_XYZ& P); @@ -93,14 +93,14 @@ bool XmlObjMgt_GP::Translate(const XmlObjMgt_DOMString& theStr, gp_Trsf& T) bool XmlObjMgt_GP::Translate(const XmlObjMgt_DOMString& theStr, gp_Mat& M) { - return (::Translate(theStr.GetString(), M) != 0); + return (::Translate(theStr.GetString(), M) != nullptr); } //================================================================================================= bool XmlObjMgt_GP::Translate(const XmlObjMgt_DOMString& theStr, gp_XYZ& P) { - return (::Translate(theStr.GetString(), P) != 0); + return (::Translate(theStr.GetString(), P) != nullptr); } //================================================================================================= @@ -150,13 +150,13 @@ static const char* Translate(const char* theStr, gp_XYZ& P) theStr = ptr; } else - theStr = 0; + theStr = nullptr; } else - theStr = 0; + theStr = nullptr; } else - theStr = 0; + theStr = nullptr; } return theStr; } diff --git a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx index a4bd056657..75bd496c09 100644 --- a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx @@ -32,7 +32,7 @@ XmlObjMgt_Persistent::XmlObjMgt_Persistent(const XmlObjMgt_Element& theElement) : myElement(theElement), myID(0) { - if (theElement != NULL) + if (theElement != nullptr) theElement.getAttribute(XmlObjMgt::IdString()).GetInteger(myID); } @@ -42,13 +42,13 @@ XmlObjMgt_Persistent::XmlObjMgt_Persistent(const XmlObjMgt_Element& theElement const XmlObjMgt_DOMString& theRef) : myID(0) { - if (theElement != NULL) + if (theElement != nullptr) { int aRefID; if (theElement.getAttribute(theRef).GetInteger(aRefID)) { myElement = XmlObjMgt::FindChildElement(theElement, aRefID); - if (myElement != NULL) + if (myElement != nullptr) myElement.getAttribute(XmlObjMgt::IdString()).GetInteger(myID); } } diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.cxx index 01f2725465..4d536d164a 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlTObjDrivers_DocumentRetrievalDriver, //================================================================================================= -XmlTObjDrivers_DocumentRetrievalDriver::XmlTObjDrivers_DocumentRetrievalDriver() {} +XmlTObjDrivers_DocumentRetrievalDriver::XmlTObjDrivers_DocumentRetrievalDriver() = default; //================================================================================================= diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.hxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.hxx index 26a657588c..a5c4f79e9c 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.hxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentRetrievalDriver.hxx @@ -32,7 +32,7 @@ public: Standard_EXPORT XmlTObjDrivers_DocumentRetrievalDriver(); // Constructor - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; public: diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentStorageDriver.hxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentStorageDriver.hxx index 493bfbb7b4..0691dfbb40 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentStorageDriver.hxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_DocumentStorageDriver.hxx @@ -33,7 +33,7 @@ public: const TCollection_ExtendedString& theCopyright); // Constructor - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; public: diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_IntSparseArrayDriver.cxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_IntSparseArrayDriver.cxx index a7c64736b9..9a8c2531ec 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_IntSparseArrayDriver.cxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_IntSparseArrayDriver.cxx @@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlTObjDrivers_IntSparseArrayDriver, XmlMDF_ADriver) XmlTObjDrivers_IntSparseArrayDriver::XmlTObjDrivers_IntSparseArrayDriver( const occ::handle& theMessageDriver) - : XmlMDF_ADriver(theMessageDriver, NULL) + : XmlMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ModelDriver.cxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ModelDriver.cxx index 8c3010b5fe..024a6e8e5f 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ModelDriver.cxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ModelDriver.cxx @@ -32,7 +32,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlTObjDrivers_ModelDriver, XmlMDF_ADriver) XmlTObjDrivers_ModelDriver::XmlTObjDrivers_ModelDriver( const occ::handle& theMessageDriver) - : XmlMDF_ADriver(theMessageDriver, NULL) + : XmlMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ObjectDriver.cxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ObjectDriver.cxx index 894f43167f..8243a05911 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ObjectDriver.cxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ObjectDriver.cxx @@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(XmlTObjDrivers_ObjectDriver, XmlMDF_ADriver) XmlTObjDrivers_ObjectDriver::XmlTObjDrivers_ObjectDriver( const occ::handle& theMessageDriver) - : XmlMDF_ADriver(theMessageDriver, NULL) + : XmlMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ReferenceDriver.cxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ReferenceDriver.cxx index 91d588c5a8..c2a7eeda0f 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ReferenceDriver.cxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_ReferenceDriver.cxx @@ -38,7 +38,7 @@ IMPLEMENT_DOMSTRING(ReferredModelEntry, "modelentry") XmlTObjDrivers_ReferenceDriver::XmlTObjDrivers_ReferenceDriver( const occ::handle& theMessageDriver) - : XmlMDF_ADriver(theMessageDriver, NULL) + : XmlMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_XYZDriver.cxx b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_XYZDriver.cxx index 2d51b531b3..13484320b8 100644 --- a/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_XYZDriver.cxx +++ b/src/ApplicationFramework/TKXmlTObj/XmlTObjDrivers/XmlTObjDrivers_XYZDriver.cxx @@ -34,7 +34,7 @@ IMPLEMENT_DOMSTRING(CoordZ, "Z") XmlTObjDrivers_XYZDriver::XmlTObjDrivers_XYZDriver( const occ::handle& theMessageDriver) - : XmlMDF_ADriver(theMessageDriver, NULL) + : XmlMDF_ADriver(theMessageDriver, nullptr) { } diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_CentroidDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_CentroidDriver.hxx index a1b32ee8ca..f0463684da 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_CentroidDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_CentroidDriver.hxx @@ -32,13 +32,13 @@ class BinMXCAFDoc_CentroidDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_CentroidDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_ColorDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_ColorDriver.hxx index bd0673be3e..b1067b599c 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_ColorDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_ColorDriver.hxx @@ -32,13 +32,13 @@ class BinMXCAFDoc_ColorDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_ColorDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DatumDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DatumDriver.hxx index 8019875353..b8b9bea9d1 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DatumDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DatumDriver.hxx @@ -32,13 +32,13 @@ class BinMXCAFDoc_DatumDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_DatumDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DimTolDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DimTolDriver.hxx index dddee4595e..3abd94051b 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DimTolDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_DimTolDriver.hxx @@ -32,13 +32,13 @@ class BinMXCAFDoc_DimTolDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_DimTolDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_GraphNodeDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_GraphNodeDriver.hxx index 9c27828daf..98bd5a526a 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_GraphNodeDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_GraphNodeDriver.hxx @@ -32,13 +32,13 @@ class BinMXCAFDoc_GraphNodeDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_GraphNodeDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LengthUnitDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LengthUnitDriver.hxx index 7e477fdc94..fdd22f6299 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LengthUnitDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LengthUnitDriver.hxx @@ -31,13 +31,13 @@ class BinMXCAFDoc_LengthUnitDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_LengthUnitDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LocationDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LocationDriver.hxx index 87b08c7cf3..e342bb7c86 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LocationDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_LocationDriver.hxx @@ -35,13 +35,13 @@ class BinMXCAFDoc_LocationDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_LocationDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.cxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.cxx index 637992af78..ccacd0e4b4 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.cxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.cxx @@ -58,8 +58,8 @@ bool BinMXCAFDoc_MaterialDriver::Paste(const BinObjMgt_Persistent& theSour return true; } -static void pasteString(BinObjMgt_Persistent& theTarget, - occ::handle theStr) +static void pasteString(BinObjMgt_Persistent& theTarget, + const occ::handle& theStr) { if (!theStr.IsNull()) theTarget << theStr->String(); diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.hxx index 0d5bdd122f..78030da43b 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_MaterialDriver.hxx @@ -32,13 +32,13 @@ class BinMXCAFDoc_MaterialDriver : public BinMDF_ADriver public: Standard_EXPORT BinMXCAFDoc_MaterialDriver(const occ::handle& theMsgDriver); - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialDriver.hxx index be45279afe..a74d595bb4 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialDriver.hxx @@ -41,15 +41,15 @@ public: Standard_EXPORT BinMXCAFDoc_VisMaterialDriver(const occ::handle& theMsgDriver); //! Create new instance of XCAFDoc_VisMaterial. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! Paste attribute from persistence into document. - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; //! Paste attribute from document into persistence. - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialToolDriver.hxx b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialToolDriver.hxx index db6f9811f1..d54f5e1c7b 100644 --- a/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialToolDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinMXCAFDoc/BinMXCAFDoc_VisMaterialToolDriver.hxx @@ -26,15 +26,15 @@ public: const occ::handle& theMsgDriver); //! Create new instance of XCAFDoc_VisMaterialTool. - Standard_EXPORT virtual occ::handle NewEmpty() const override; + Standard_EXPORT occ::handle NewEmpty() const override; //! Paste attribute from persistence into document. - Standard_EXPORT virtual bool Paste(const BinObjMgt_Persistent& theSource, - const occ::handle& theTarget, - BinObjMgt_RRelocationTable& theRelocTable) const override; + Standard_EXPORT bool Paste(const BinObjMgt_Persistent& theSource, + const occ::handle& theTarget, + BinObjMgt_RRelocationTable& theRelocTable) const override; //! Paste attribute from document into persistence. - Standard_EXPORT virtual void Paste( + Standard_EXPORT void Paste( const occ::handle& theSource, BinObjMgt_Persistent& theTarget, NCollection_IndexedMap>& theRelocTable) const override; diff --git a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.cxx b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.cxx index 1d3ed27b55..317155c546 100644 --- a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.cxx +++ b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinXCAFDrivers_DocumentRetrievalDriver, //================================================================================================= -BinXCAFDrivers_DocumentRetrievalDriver::BinXCAFDrivers_DocumentRetrievalDriver() {} +BinXCAFDrivers_DocumentRetrievalDriver::BinXCAFDrivers_DocumentRetrievalDriver() = default; //================================================================================================= diff --git a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.hxx b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.hxx index e463bc810c..6b5586f495 100644 --- a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentRetrievalDriver.hxx @@ -30,7 +30,7 @@ public: //! Constructor Standard_EXPORT BinXCAFDrivers_DocumentRetrievalDriver(); - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; DEFINE_STANDARD_RTTIEXT(BinXCAFDrivers_DocumentRetrievalDriver, diff --git a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.cxx b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.cxx index 95b0034a67..959a7c98d8 100644 --- a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.cxx +++ b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinXCAFDrivers_DocumentStorageDriver, BinDrivers_Docu //================================================================================================= -BinXCAFDrivers_DocumentStorageDriver::BinXCAFDrivers_DocumentStorageDriver() {} +BinXCAFDrivers_DocumentStorageDriver::BinXCAFDrivers_DocumentStorageDriver() = default; //================================================================================================= diff --git a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.hxx b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.hxx index ed997a56e4..45d6c39d3e 100644 --- a/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.hxx +++ b/src/DataExchange/TKBinXCAF/BinXCAFDrivers/BinXCAFDrivers_DocumentStorageDriver.hxx @@ -30,7 +30,7 @@ public: //! Constructor Standard_EXPORT BinXCAFDrivers_DocumentStorageDriver(); - Standard_EXPORT virtual occ::handle AttributeDrivers( + Standard_EXPORT occ::handle AttributeDrivers( const occ::handle& theMsgDriver) override; DEFINE_STANDARD_RTTIEXT(BinXCAFDrivers_DocumentStorageDriver, BinDrivers_DocumentStorageDriver) diff --git a/src/DataExchange/TKDE/DE/DE_ConfigurationContext.cxx b/src/DataExchange/TKDE/DE/DE_ConfigurationContext.cxx index 8df00307a3..b62c6ce7aa 100644 --- a/src/DataExchange/TKDE/DE/DE_ConfigurationContext.cxx +++ b/src/DataExchange/TKDE/DE/DE_ConfigurationContext.cxx @@ -147,7 +147,7 @@ static TCollection_AsciiString MakeName(const TCollection_AsciiString& theScope, //================================================================================================= -DE_ConfigurationContext::DE_ConfigurationContext() {} +DE_ConfigurationContext::DE_ConfigurationContext() = default; //================================================================================================= diff --git a/src/DataExchange/TKDE/DE/DE_Provider.cxx b/src/DataExchange/TKDE/DE/DE_Provider.cxx index 7adab9f10b..256466b041 100644 --- a/src/DataExchange/TKDE/DE/DE_Provider.cxx +++ b/src/DataExchange/TKDE/DE/DE_Provider.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DE_Provider, Standard_Transient) //================================================================================================= -DE_Provider::DE_Provider() {} +DE_Provider::DE_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.cxx b/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.cxx index ae4f68d1a9..7aa34a1ba4 100644 --- a/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.cxx +++ b/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.cxx @@ -30,9 +30,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DE_ShapeFixConfigurationNode::DE_ShapeFixConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.hxx b/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.hxx index d041237129..2c4bf8e57e 100644 --- a/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.hxx +++ b/src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.hxx @@ -37,12 +37,11 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return True if Load was successful - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; public: DE_ShapeFixParameters ShapeFixParameters; //!< Shape healing parameters diff --git a/src/DataExchange/TKDE/DE/DE_Wrapper.cxx b/src/DataExchange/TKDE/DE/DE_Wrapper.cxx index 6cbda1348a..e948e43973 100644 --- a/src/DataExchange/TKDE/DE/DE_Wrapper.cxx +++ b/src/DataExchange/TKDE/DE/DE_Wrapper.cxx @@ -417,7 +417,7 @@ bool DE_Wrapper::Bind(const occ::handle& theNode) const TCollection_AsciiString aVendorName = theNode->GetVendor(); NCollection_IndexedDataMap>* aVendorMap = myConfiguration.ChangeSeek(aFileFormat); - if (aVendorMap == NULL) + if (aVendorMap == nullptr) { NCollection_IndexedDataMap> aTmpVendorMap; @@ -438,7 +438,7 @@ bool DE_Wrapper::UnBind(const occ::handle& theNode) const TCollection_AsciiString aVendorName = theNode->GetVendor(); NCollection_IndexedDataMap>* aVendorMap = myConfiguration.ChangeSeek(aFileFormat); - if (aVendorMap == NULL) + if (aVendorMap == nullptr) { return false; } diff --git a/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.cxx b/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.cxx index 65e194f3fc..ee72e6d24e 100644 --- a/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.cxx +++ b/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.cxx @@ -32,9 +32,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEBREP_ConfigurationNode::DEBREP_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.hxx b/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.hxx index 7eeaba4b73..fe7c2fee70 100644 --- a/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.hxx +++ b/src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.hxx @@ -43,46 +43,45 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; //! Checks the file content to verify a format //! @param[in] theBuffer read stream buffer to check content //! @return true if file is supported by a current provider - Standard_EXPORT virtual bool CheckContent( + Standard_EXPORT bool CheckContent( const occ::handle& theBuffer) const override; public: diff --git a/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.cxx b/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.cxx index 75107e7a5c..cb6324bf7c 100644 --- a/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.cxx +++ b/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DEBREP_Provider, DE_Provider) //================================================================================================= -DEBREP_Provider::DEBREP_Provider() {} +DEBREP_Provider::DEBREP_Provider() = default; //================================================================================================= @@ -158,7 +158,7 @@ bool DEBREP_Provider::Read(const TCollection_AsciiString& thePath, const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aFile = aFileSystem->OpenIStream(thePath, std::ios::in | std::ios::binary); - if (aFile.get() == NULL) + if (aFile.get() == nullptr) { Message::SendFail() << "Error in the DEBREP_Provider during reading the file " << thePath << "\t: Cannot read the file"; diff --git a/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.hxx b/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.hxx index 1e7f211805..d20360a84c 100644 --- a/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.hxx +++ b/src/DataExchange/TKDECascade/DEBREP/DEBREP_Provider.hxx @@ -46,7 +46,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -58,7 +58,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -69,7 +69,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -79,7 +79,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -90,7 +90,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -102,7 +102,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -113,7 +113,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -123,7 +123,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -131,11 +131,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DEBREP_Provider_HeaderFile diff --git a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.cxx b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.cxx index 0fc9fc77ad..5f9ad64e87 100644 --- a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.cxx +++ b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.cxx @@ -32,9 +32,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEXCAF_ConfigurationNode::DEXCAF_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.hxx b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.hxx index ef1587432e..0842c7ffe1 100644 --- a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.hxx +++ b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.hxx @@ -43,46 +43,45 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; //! Checks the file content to verify a format //! @param[in] theBuffer read stream buffer to check content //! @return true if file is supported by a current provider - Standard_EXPORT virtual bool CheckContent( + Standard_EXPORT bool CheckContent( const occ::handle& theBuffer) const override; public: diff --git a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.cxx b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.cxx index 9caec9f196..0259370768 100644 --- a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.cxx +++ b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.cxx @@ -35,7 +35,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DEXCAF_Provider, DE_Provider) //================================================================================================= -DEXCAF_Provider::DEXCAF_Provider() {} +DEXCAF_Provider::DEXCAF_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.hxx b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.hxx index d5fdf75322..dfc6b3b6ee 100644 --- a/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.hxx +++ b/src/DataExchange/TKDECascade/DEXCAF/DEXCAF_Provider.hxx @@ -46,7 +46,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -58,7 +58,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -69,7 +69,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -79,7 +79,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -90,7 +90,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -102,7 +102,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -113,7 +113,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -123,7 +123,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -131,11 +131,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DEXCAF_Provider_HeaderFile diff --git a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.cxx b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.cxx index 33b33879a4..0fca61f6ee 100644 --- a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.cxx +++ b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.cxx @@ -31,9 +31,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEGLTF_ConfigurationNode::DEGLTF_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.hxx b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.hxx index 8d215d9aa2..fee52effa8 100644 --- a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.hxx +++ b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.hxx @@ -43,41 +43,40 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; public: struct RWGltf_InternalSection diff --git a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx index a30dea7bfe..eee53fce30 100644 --- a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx +++ b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.cxx @@ -50,7 +50,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DEGLTF_Provider, DE_Provider) //================================================================================================= -DEGLTF_Provider::DEGLTF_Provider() {} +DEGLTF_Provider::DEGLTF_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.hxx b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.hxx index d14a801626..acfcb11fbc 100644 --- a/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.hxx +++ b/src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_Provider.hxx @@ -48,7 +48,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -60,7 +60,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -71,7 +71,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -81,7 +81,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -92,7 +92,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -104,7 +104,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -115,7 +115,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -125,7 +125,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -133,11 +133,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DEGLTF_Provider_HeaderFile diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.cxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.cxx index 924fb02ebe..d4c14698bb 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.cxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.cxx @@ -113,7 +113,7 @@ public: protected: //! Load primitive array. - virtual occ::handle loadData( + occ::handle loadData( const occ::handle& theLateData, int theThreadIndex) const override { @@ -157,7 +157,7 @@ public: protected: //! Load primitive array. - virtual occ::handle loadData( + occ::handle loadData( const occ::handle& theLateData, int theThreadIndex) const override { diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.hxx index f42102a98a..47338557c1 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafReader.hxx @@ -91,13 +91,13 @@ public: protected: //! Read the mesh from specified file. - Standard_EXPORT virtual bool performMesh(std::istream& theStream, - const TCollection_AsciiString& theFile, - const Message_ProgressRange& theProgress, - const bool theToProbe) override; + Standard_EXPORT bool performMesh(std::istream& theStream, + const TCollection_AsciiString& theFile, + const Message_ProgressRange& theProgress, + const bool theToProbe) override; //! Fill document with new root shapes. - Standard_EXPORT virtual void fillDocument() override; + Standard_EXPORT void fillDocument() override; //! Append new shape into the document (recursively). Standard_EXPORT bool addShapeIntoDoc(CafDocumentTools& theTools, diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.cxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.cxx index ae225510f4..0eb46b0348 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.cxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.cxx @@ -197,7 +197,7 @@ public: return; } - Message_ProgressScope aScope(myRanges[theMeshIndex], NULL, 1); + Message_ProgressScope aScope(myRanges[theMeshIndex], nullptr, 1); draco::Mesh aMesh; writeNodesToDracoMesh(aMesh, aCurrentMesh->NodesVec); @@ -625,7 +625,7 @@ bool RWGltf_CafWriter::Perform( NCollection_Sequence aRoots; occ::handle aShapeTool = XCAFDoc_DocumentTool::ShapeTool(theDocument->Main()); aShapeTool->GetFreeShapes(aRoots); - return Perform(theDocument, aRoots, NULL, theFileInfo, theProgress); + return Perform(theDocument, aRoots, nullptr, theFileInfo, theProgress); } //================================================================================================= @@ -851,7 +851,7 @@ bool RWGltf_CafWriter::writeBinData(const occ::handle& const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aBinFile = aFileSystem->OpenOStream(myBinFileNameFull, std::ios::out | std::ios::binary); - if (aBinFile.get() == NULL || !aBinFile->good()) + if (aBinFile.get() == nullptr || !aBinFile->good()) { Message::SendFail(TCollection_AsciiString("File '") + myBinFileNameFull + "' can not be created"); @@ -873,7 +873,7 @@ bool RWGltf_CafWriter::writeBinData(const occ::handle& aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } @@ -903,7 +903,7 @@ bool RWGltf_CafWriter::writeBinData(const occ::handle& for (int aTypeIter = 0; aTypeIter < 4; ++aTypeIter) { const RWGltf_GltfArrayType anArrType = (RWGltf_GltfArrayType)anArrTypes[aTypeIter]; - RWGltf_GltfBufferView* aBuffView = NULL; + RWGltf_GltfBufferView* aBuffView = nullptr; switch (anArrType) { case RWGltf_GltfArrayType_Position: @@ -1164,7 +1164,7 @@ bool RWGltf_CafWriter::writeBinData(const occ::handle& aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } @@ -1221,7 +1221,7 @@ bool RWGltf_CafWriter::writeJson( const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aGltfContentFile = aFileSystem->OpenOStream(aFileNameGltf, std::ios::out | std::ios::binary); - if (aGltfContentFile.get() == NULL || !aGltfContentFile->good()) + if (aGltfContentFile.get() == nullptr || !aGltfContentFile->good()) { Message::SendFail(TCollection_AsciiString("File '") + aFileNameGltf + "' can not be created"); return false; @@ -1251,7 +1251,7 @@ bool RWGltf_CafWriter::writeJson( aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } @@ -1362,7 +1362,7 @@ bool RWGltf_CafWriter::writeJson( { std::shared_ptr aBinFile = aFileSystem->OpenIStream(myBinFileNameFull, std::ios::in | std::ios::binary); - if (aBinFile.get() == NULL || !aBinFile->good()) + if (aBinFile.get() == nullptr || !aBinFile->good()) { Message::SendFail(TCollection_AsciiString("File '") + myBinFileNameFull + "' cannot be opened"); @@ -1426,7 +1426,7 @@ bool RWGltf_CafWriter::writeJson( void RWGltf_CafWriter::writeAccessors(const RWGltf_GltfSceneNodeMap&) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeAccessors()"); myWriter->Key(RWGltf_GltfRootElementName(RWGltf_GltfRootElement_Accessors)); @@ -1539,7 +1539,7 @@ void RWGltf_CafWriter::writeAccessors(const RWGltf_GltfSceneNodeMap&) void RWGltf_CafWriter::writePositions(const RWGltf_GltfFace& theGltfFace) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writePositions()"); if (theGltfFace.NodePos.Id == RWGltf_GltfAccessor::INVALID_ID) { @@ -1589,7 +1589,7 @@ void RWGltf_CafWriter::writePositions(const RWGltf_GltfFace& theGltfFace) void RWGltf_CafWriter::writeNormals(const RWGltf_GltfFace& theGltfFace) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeNormals()"); if (theGltfFace.NodeNorm.Id == RWGltf_GltfAccessor::INVALID_ID) { @@ -1639,7 +1639,7 @@ void RWGltf_CafWriter::writeNormals(const RWGltf_GltfFace& theGltfFace) void RWGltf_CafWriter::writeTextCoords(const RWGltf_GltfFace& theGltfFace) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeTextCoords()"); if (theGltfFace.NodeUV.Id == RWGltf_GltfAccessor::INVALID_ID) { @@ -1689,7 +1689,7 @@ void RWGltf_CafWriter::writeTextCoords(const RWGltf_GltfFace& theGltfFace) void RWGltf_CafWriter::writeIndices(const RWGltf_GltfFace& theGltfFace) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeIndices()"); if (theGltfFace.Indices.Id == RWGltf_GltfAccessor::INVALID_ID) { @@ -1722,7 +1722,7 @@ void RWGltf_CafWriter::writeIndices(const RWGltf_GltfFace& theGltfFace) void RWGltf_CafWriter::writeAnimations() { - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeAnimations()"); // This section should be skipped if it doesn't contain any information but not be empty @@ -1737,7 +1737,7 @@ void RWGltf_CafWriter::writeAsset( const NCollection_IndexedDataMap& theFileInfo) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeAsset()"); myWriter->Key(RWGltf_GltfRootElementName(RWGltf_GltfRootElement_Asset)); @@ -1778,7 +1778,7 @@ void RWGltf_CafWriter::writeAsset( void RWGltf_CafWriter::writeBufferViews(const int theBinDataBufferId) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeBufferViews()"); int aBuffViewId = 0; @@ -1878,7 +1878,7 @@ void RWGltf_CafWriter::writeBufferViews(const int theBinDataBufferId) void RWGltf_CafWriter::writeBuffers() { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeBuffers()"); myWriter->Key(RWGltf_GltfRootElementName(RWGltf_GltfRootElement_Buffers)); @@ -1905,7 +1905,7 @@ void RWGltf_CafWriter::writeBuffers() void RWGltf_CafWriter::writeExtensions() { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeExtensions()"); if (myDracoParameters.DracoCompression) @@ -1934,7 +1934,7 @@ void RWGltf_CafWriter::writeExtensions() void RWGltf_CafWriter::writeImages(const RWGltf_GltfSceneNodeMap& theSceneNodeMap) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeImages()"); // empty RWGltf_GltfRootElement_Images section should NOT be written to avoid validator errors @@ -1984,7 +1984,7 @@ void RWGltf_CafWriter::writeMaterial(RWMesh_ShapeIterator& theShapeIter, bool& t void RWGltf_CafWriter::writeMaterials(const RWGltf_GltfSceneNodeMap& theSceneNodeMap) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeMaterials()"); // empty RWGltf_GltfRootElement_Materials section should NOT be written to avoid validator errors @@ -2176,7 +2176,7 @@ void RWGltf_CafWriter::writeShapes( void RWGltf_CafWriter::writeMeshes(const RWGltf_GltfSceneNodeMap& theSceneNodeMap) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeMeshes()"); myWriter->Key(RWGltf_GltfRootElementName(RWGltf_GltfRootElement_Meshes)); @@ -2271,7 +2271,7 @@ void RWGltf_CafWriter::writeNodes(const occ::handle& NCollection_Sequence& theSceneRootNodeInds) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeNodes()"); occ::handle aShapeTool = XCAFDoc_DocumentTool::ShapeTool(theDocument->Main()); @@ -2285,7 +2285,7 @@ void RWGltf_CafWriter::writeNodes(const occ::handle& aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } @@ -2464,7 +2464,7 @@ void RWGltf_CafWriter::writeNodes(const occ::handle& void RWGltf_CafWriter::writeExtrasAttributes(const occ::handle& theNamedData) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeExtrasAttributes()"); if (theNamedData.IsNull()) @@ -2577,7 +2577,7 @@ void RWGltf_CafWriter::writeExtrasAttributes(const occ::handleNbImages() == 0) { @@ -2605,7 +2605,7 @@ void RWGltf_CafWriter::writeSamplers() void RWGltf_CafWriter::writeScene(const int theDefSceneId) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeScene()"); myWriter->Key(RWGltf_GltfRootElementName(RWGltf_GltfRootElement_Scene)); @@ -2620,7 +2620,7 @@ void RWGltf_CafWriter::writeScene(const int theDefSceneId) void RWGltf_CafWriter::writeScenes(const NCollection_Sequence& theSceneRootNodeInds) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeScenes()"); myWriter->Key(RWGltf_GltfRootElementName(RWGltf_GltfRootElement_Scenes)); @@ -2647,7 +2647,7 @@ void RWGltf_CafWriter::writeScenes(const NCollection_Sequence& theSceneRoot void RWGltf_CafWriter::writeSkins() { - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeSkins()"); // This section should be skipped if it doesn't contain any information but not be empty @@ -2661,7 +2661,7 @@ void RWGltf_CafWriter::writeSkins() void RWGltf_CafWriter::writeTextures(const RWGltf_GltfSceneNodeMap& theSceneNodeMap) { #ifdef HAVE_RAPIDJSON - Standard_ProgramError_Raise_if(myWriter.get() == NULL, + Standard_ProgramError_Raise_if(myWriter.get() == nullptr, "Internal error: RWGltf_CafWriter::writeTextures()"); // empty RWGltf_GltfRootElement_Textures section should not be written to avoid validator errors diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.hxx index db3744d26d..8ecae86bfa 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_CafWriter.hxx @@ -66,7 +66,7 @@ public: Standard_EXPORT RWGltf_CafWriter(const TCollection_AsciiString& theFile, bool theIsBinary); //! Destructor. - Standard_EXPORT virtual ~RWGltf_CafWriter(); + Standard_EXPORT ~RWGltf_CafWriter() override; //! Return transformation from OCCT to glTF coordinate system. const RWMesh_CoordinateSystemConverter& CoordinateSystemConverter() const { return myCSTrsf; } @@ -473,7 +473,7 @@ protected: TopoDS_Shape Shape; XCAFPrs_Style Style; - RWGltf_StyledShape() {} + RWGltf_StyledShape() = default; explicit RWGltf_StyledShape(const TopoDS_Shape& theShape) : Shape(theShape) diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.cxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.cxx index 0d9c071f95..55d6508939 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.cxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.cxx @@ -335,11 +335,11 @@ inline const RWGltf_JsonValue* findObjectMember(const RWGltf_JsonValue& theObjec { if (!theObject.IsObject() || !theName.IsString()) { - return NULL; + return nullptr; } rapidjson::Document::ConstMemberIterator anIter = theObject.FindMember(theName); - return anIter != theObject.MemberEnd() ? &anIter->value : NULL; + return anIter != theObject.MemberEnd() ? &anIter->value : nullptr; } //! Find member of the object in a safe way. @@ -348,11 +348,11 @@ inline const RWGltf_JsonValue* findObjectMember(const RWGltf_JsonValue& theObjec { if (!theObject.IsObject()) { - return NULL; + return nullptr; } rapidjson::Document::ConstMemberIterator anIter = theObject.FindMember(theName); - return anIter != theObject.MemberEnd() ? &anIter->value : NULL; + return anIter != theObject.MemberEnd() ? &anIter->value : nullptr; } //================================================================================================= @@ -408,7 +408,7 @@ void RWGltf_GltfJsonParser::GltfElementMap::Init(const TCollection_AsciiString& { myRoot = theRoot; myChildren.Clear(); - if (theRoot == NULL) + if (theRoot == nullptr) { return; } @@ -513,7 +513,7 @@ bool RWGltf_GltfJsonParser::parseTransformationComponents( { theHasScale = false; gp_Trsf aTrsf; - if (theRotationVal != NULL) + if (theRotationVal != nullptr) { if (!theRotationVal->IsArray() || theRotationVal->Size() != 4) { @@ -541,7 +541,7 @@ bool RWGltf_GltfJsonParser::parseTransformationComponents( } } - if (theTranslationVal != NULL) + if (theTranslationVal != nullptr) { if (!theTranslationVal->IsArray() || theTranslationVal->Size() != 3) { @@ -563,7 +563,7 @@ bool RWGltf_GltfJsonParser::parseTransformationComponents( aTrsf.SetTranslationPart(aTransVec); } - if (theScaleVal != NULL) + if (theScaleVal != nullptr) { NCollection_Vec3 aScaleVec; if (!theScaleVal->IsArray() || theScaleVal->Size() != 3) @@ -655,10 +655,10 @@ void RWGltf_GltfJsonParser::reportGltfSyntaxProblem(const TCollection_AsciiStrin RWGltf_GltfJsonParser::RWGltf_GltfJsonParser(NCollection_Sequence& theRootShapes) : myRootShapes(&theRootShapes), - myAttribMap(NULL), - myExternalFiles(NULL), - myShapeScaleMap(NULL), - myMetadata(NULL), + myAttribMap(nullptr), + myExternalFiles(nullptr), + myShapeScaleMap(nullptr), + myMetadata(nullptr), myBinBodyOffset(0), myBinBodyLen(0), myIsBinary(false), @@ -729,7 +729,7 @@ bool RWGltf_GltfJsonParser::gltfParseRoots() void RWGltf_GltfJsonParser::gltfParseAsset() { const RWGltf_JsonValue* anAsset = myGltfRoots[RWGltf_GltfRootElement_Asset].Root(); - if (anAsset == NULL) + if (anAsset == nullptr) { return; } @@ -743,7 +743,7 @@ void RWGltf_GltfJsonParser::gltfParseAsset() } } - if (myMetadata == NULL) + if (myMetadata == nullptr) { return; } @@ -793,7 +793,7 @@ void RWGltf_GltfJsonParser::gltfParseAsset() void RWGltf_GltfJsonParser::gltfParseMaterials() { const RWGltf_JsonValue* aMatList = myGltfRoots[RWGltf_GltfRootElement_Materials].Root(); - if (aMatList == NULL) + if (aMatList == nullptr) { return; } @@ -815,7 +815,7 @@ void RWGltf_GltfJsonParser::gltfParseMaterials() } } - if (aNameVal != NULL && aNameVal->IsString()) + if (aNameVal != nullptr && aNameVal->IsString()) { aMat->Name = aNameVal->GetString(); } @@ -837,7 +837,7 @@ void RWGltf_GltfJsonParser::gltfParseMaterials() const RWGltf_JsonValue* aNameVal = findObjectMember(aMatNode, "name"); if (gltfParsePbrMaterial(aMatPbr, aMatNode)) { - if (aNameVal != NULL && aNameVal->IsString()) + if (aNameVal != nullptr && aNameVal->IsString()) { aMatPbr->Name = aNameVal->GetString(); } @@ -849,7 +849,7 @@ void RWGltf_GltfJsonParser::gltfParseMaterials() if (gltfParseCommonMaterial(aMatCommon, aMatNode) || gltfParseStdMaterial(aMatCommon, aMatNode)) { - if (aNameVal != NULL && aNameVal->IsString()) + if (aNameVal != nullptr && aNameVal->IsString()) { aMatCommon->Name = aNameVal->GetString(); } @@ -953,7 +953,7 @@ bool RWGltf_GltfJsonParser::gltfParseStdMaterial(occ::handle anAmb, aDiff, anEmi, aSpec; - if (anAmbVal != NULL && anAmbVal->IsString()) + if (anAmbVal != nullptr && anAmbVal->IsString()) { gltfParseTexture(theMat->AmbientTexture, anAmbVal); } @@ -981,7 +981,7 @@ bool RWGltf_GltfJsonParser::gltfParseStdMaterial(occ::handleAmbientColor = Quantity_Color(anAmb.r(), anAmb.g(), anAmb.b(), Quantity_TOC_sRGB); } - if (aDiffVal != NULL && aDiffVal->IsString()) + if (aDiffVal != nullptr && aDiffVal->IsString()) { gltfParseTexture(theMat->DiffuseTexture, aDiffVal); } @@ -996,7 +996,7 @@ bool RWGltf_GltfJsonParser::gltfParseStdMaterial(occ::handleEmissiveColor = Quantity_Color(anEmi.r(), anEmi.g(), anEmi.b(), Quantity_TOC_sRGB); } - if (aSpecVal != NULL && aSpecVal->IsString()) + if (aSpecVal != nullptr && aSpecVal->IsString()) { gltfParseTexture(theMat->SpecularTexture, aSpecVal); } @@ -1005,7 +1005,7 @@ bool RWGltf_GltfJsonParser::gltfParseStdMaterial(occ::handleSpecularColor = Quantity_Color(aSpec.r(), aSpec.g(), aSpec.b(), Quantity_TOC_sRGB); } - if (aShinVal != NULL && aShinVal->IsNumber()) + if (aShinVal != nullptr && aShinVal->IsNumber()) { const double aSpecular = aShinVal->GetDouble(); if (aSpecular >= 0) @@ -1043,7 +1043,7 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial( const RWGltf_JsonValue* anAlphaCutoffVal = findObjectMember(theMatNode, "alphaCutoff"); // TODO ADOBE_materials_thin_transparency extension can be used to read IOR (Index of Refraction // for transparent materials) - if (aMetalRoughVal == NULL) + if (aMetalRoughVal == nullptr) { return false; } @@ -1058,20 +1058,20 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial( const RWGltf_JsonValue* aMetalRoughTexVal = findObjectMember(*aMetalRoughVal, "metallicRoughnessTexture"); - if (aDoubleSidedVal != NULL && aDoubleSidedVal->IsBool()) + if (aDoubleSidedVal != nullptr && aDoubleSidedVal->IsBool()) { theMat->IsDoubleSided = aDoubleSidedVal->GetBool(); } - if (anAlphaCutoffVal != NULL && anAlphaCutoffVal->IsNumber()) + if (anAlphaCutoffVal != nullptr && anAlphaCutoffVal->IsNumber()) { theMat->AlphaCutOff = (float)anAlphaCutoffVal->GetDouble(); } - if (anAlphaModeVal != NULL && anAlphaModeVal->IsString()) + if (anAlphaModeVal != nullptr && anAlphaModeVal->IsString()) { theMat->AlphaMode = RWGltf_GltfParseAlphaMode(anAlphaModeVal->GetString()); } - if (aBaseColorTexVal != NULL && aBaseColorTexVal->IsObject()) + if (aBaseColorTexVal != nullptr && aBaseColorTexVal->IsObject()) { if (const RWGltf_JsonValue* aTexIndexVal = findObjectMember(*aBaseColorTexVal, "index")) { @@ -1091,7 +1091,7 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial( theMat->EmissiveFactor = NCollection_Vec3(anEmissiveFactor); } - if (aMetalRoughTexVal != NULL && aMetalRoughTexVal->IsObject()) + if (aMetalRoughTexVal != nullptr && aMetalRoughTexVal->IsObject()) { if (const RWGltf_JsonValue* aTexIndexVal = findObjectMember(*aMetalRoughTexVal, "index")) { @@ -1099,17 +1099,17 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial( } } - if (aMetallicFactorVal != NULL && aMetallicFactorVal->IsNumber()) + if (aMetallicFactorVal != nullptr && aMetallicFactorVal->IsNumber()) { theMat->Metallic = (float)aMetallicFactorVal->GetDouble(); } - if (aRoughnessFactorVal != NULL && aRoughnessFactorVal->IsNumber()) + if (aRoughnessFactorVal != nullptr && aRoughnessFactorVal->IsNumber()) { theMat->Roughness = (float)aRoughnessFactorVal->GetDouble(); } - if (aNormTexVal != NULL && aNormTexVal->IsObject()) + if (aNormTexVal != nullptr && aNormTexVal->IsObject()) { if (const RWGltf_JsonValue* aTexIndexVal = findObjectMember(*aNormTexVal, "index")) { @@ -1117,7 +1117,7 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial( } } - if (anEmissTexVal != NULL && anEmissTexVal->IsObject()) + if (anEmissTexVal != nullptr && anEmissTexVal->IsObject()) { if (const RWGltf_JsonValue* aTexIndexVal = findObjectMember(*anEmissTexVal, "index")) { @@ -1125,7 +1125,7 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial( } } - if (anOcclusionTexVal != NULL && anOcclusionTexVal->IsObject()) + if (anOcclusionTexVal != nullptr && anOcclusionTexVal->IsObject()) { if (const RWGltf_JsonValue* aTexIndexVal = findObjectMember(*anOcclusionTexVal, "index")) { @@ -1141,13 +1141,13 @@ bool RWGltf_GltfJsonParser::gltfParseCommonMaterial(occ::handle& theTexture, const RWGltf_JsonValue* theTextureId) { - if (theTextureId == NULL || myGltfRoots[RWGltf_GltfRootElement_Textures].IsNull() + if (theTextureId == nullptr || myGltfRoots[RWGltf_GltfRootElement_Textures].IsNull() || myGltfRoots[RWGltf_GltfRootElement_Images].IsNull()) { return false; @@ -1173,7 +1173,7 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText const TCollection_AsciiString aTextureId = getKeyString(*theTextureId); const RWGltf_JsonValue* aTexNode = myGltfRoots[RWGltf_GltfRootElement_Textures].FindChild(*theTextureId); - if (aTexNode == NULL) + if (aTexNode == nullptr) { reportGltfWarning("Texture node '" + aTextureId + "' is not found."); return false; @@ -1181,19 +1181,19 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText const RWGltf_JsonValue* aSrcVal = findObjectMember(*aTexNode, "source"); const RWGltf_JsonValue* aTargVal = findObjectMember(*aTexNode, "target"); - if (aSrcVal == NULL) + if (aSrcVal == nullptr) { reportGltfWarning("Invalid texture node '" + aTextureId + "' without a 'source' property."); return false; } - if (aTargVal != NULL && aTargVal->IsNumber() && aTargVal->GetInt() != 3553) // GL_TEXTURE_2D + if (aTargVal != nullptr && aTargVal->IsNumber() && aTargVal->GetInt() != 3553) // GL_TEXTURE_2D { return false; } const RWGltf_JsonValue* anImgNode = myGltfRoots[RWGltf_GltfRootElement_Images].FindChild(*aSrcVal); - if (anImgNode == NULL) + if (anImgNode == nullptr) { reportGltfWarning("Invalid texture node '" + aTextureId + "' points to non-existing image '" + getKeyString(*aSrcVal) + "'."); @@ -1202,28 +1202,28 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText if (myIsBinary) { - const RWGltf_JsonValue* aBinVal = NULL; + const RWGltf_JsonValue* aBinVal = nullptr; const RWGltf_JsonValue* aBufferViewName = findObjectMember(*anImgNode, "bufferView"); - if (aBufferViewName != NULL) + if (aBufferViewName != nullptr) { aBinVal = anImgNode; } else if (myIsGltf1) { const RWGltf_JsonValue* anExtVal = findObjectMember(*anImgNode, "extensions"); - if (anExtVal != NULL) + if (anExtVal != nullptr) { aBinVal = findObjectMember(*anExtVal, THE_KHR_binary_glTF); - if (aBinVal != NULL) + if (aBinVal != nullptr) { aBufferViewName = findObjectMember(*aBinVal, "bufferView"); } } } - if (aBinVal != NULL) + if (aBinVal != nullptr) { - if (aBufferViewName == NULL) + if (aBufferViewName == nullptr) { reportGltfWarning("Invalid texture node '" + aTextureId + "' points to invalid data source."); @@ -1231,7 +1231,7 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText } const RWGltf_JsonValue* aBufferView = myGltfRoots[RWGltf_GltfRootElement_BufferViews].FindChild(*aBufferViewName); - if (aBufferView == NULL || !aBufferView->IsObject()) + if (aBufferView == nullptr || !aBufferView->IsObject()) { reportGltfWarning("Invalid texture node '" + aTextureId + "' points to invalid buffer view '" + getKeyString(*aBufferViewName) @@ -1246,10 +1246,10 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText } const RWGltf_JsonValue* anUriVal = findObjectMember(*anImgNode, "uri"); - if (anUriVal == NULL) + if (anUriVal == nullptr) { const RWGltf_JsonValue* aBufferViewName = findObjectMember(*anImgNode, "bufferView"); - if (aBufferViewName == NULL) + if (aBufferViewName == nullptr) { reportGltfWarning("Invalid texture node '" + aTextureId + "' points to invalid data source."); return false; @@ -1257,7 +1257,7 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText const RWGltf_JsonValue* aBufferView = myGltfRoots[RWGltf_GltfRootElement_BufferViews].FindChild(*aBufferViewName); - if (aBufferView == NULL || !aBufferView->IsObject()) + if (aBufferView == nullptr || !aBufferView->IsObject()) { reportGltfWarning("Invalid texture node '" + aTextureId + "' points to invalid buffer view '" + getKeyString(*aBufferViewName) + "'."); @@ -1304,7 +1304,7 @@ bool RWGltf_GltfJsonParser::gltfParseTexture(occ::handle& theText TCollection_AsciiString anImageFile = myFolder + anUriVal->GetString(); theTexture = new Image_Texture(anImageFile); - if (myExternalFiles != NULL) + if (myExternalFiles != nullptr) { myExternalFiles->Add(anImageFile); } @@ -1327,7 +1327,7 @@ bool RWGltf_GltfJsonParser::gltfParseTexturInGlbBuffer( const RWGltf_JsonValue* aBufferName = findObjectMember(theBufferView, "buffer"); const RWGltf_JsonValue* aByteLength = findObjectMember(theBufferView, "byteLength"); const RWGltf_JsonValue* aByteOffset = findObjectMember(theBufferView, "byteOffset"); - if (aBufferName != NULL && aBufferName->IsString() + if (aBufferName != nullptr && aBufferName->IsString() && !IsEqual(aBufferName->GetString(), "binary_glTF")) { reportGltfError("BufferView '" + theBufferViewId + "' does not define binary_glTF buffer."); @@ -1336,9 +1336,9 @@ bool RWGltf_GltfJsonParser::gltfParseTexturInGlbBuffer( RWGltf_GltfBufferView aBuffView; aBuffView.ByteOffset = - aByteOffset != NULL && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; + aByteOffset != nullptr && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; aBuffView.ByteLength = - aByteLength != NULL && aByteLength->IsNumber() ? (int64_t)aByteLength->GetDouble() : 0; + aByteLength != nullptr && aByteLength->IsNumber() ? (int64_t)aByteLength->GetDouble() : 0; if (aBuffView.ByteLength <= 0) { reportGltfError("BufferView '" + theBufferViewId + "' defines invalid byteLength."); @@ -1366,7 +1366,7 @@ bool RWGltf_GltfJsonParser::gltfParseTextureInBufferView( const RWGltf_JsonValue* aBufferName = findObjectMember(theBufferView, "buffer"); const RWGltf_JsonValue* aByteLength = findObjectMember(theBufferView, "byteLength"); const RWGltf_JsonValue* aByteOffset = findObjectMember(theBufferView, "byteOffset"); - if (aBufferName == NULL) + if (aBufferName == nullptr) { reportGltfError("BufferView '" + theBufferViewId + "' does not define buffer."); return false; @@ -1375,7 +1375,7 @@ bool RWGltf_GltfJsonParser::gltfParseTextureInBufferView( const TCollection_AsciiString aBufferId = getKeyString(*aBufferName); const RWGltf_JsonValue* aBuffer = myGltfRoots[RWGltf_GltfRootElement_Buffers].FindChild(*aBufferName); - if (aBuffer == NULL || !aBuffer->IsObject()) + if (aBuffer == nullptr || !aBuffer->IsObject()) { reportGltfError("BufferView '" + theBufferViewId + "' refers to non-existing buffer."); return false; @@ -1383,9 +1383,9 @@ bool RWGltf_GltfJsonParser::gltfParseTextureInBufferView( RWGltf_GltfBufferView aBuffView; aBuffView.ByteOffset = - aByteOffset != NULL && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; + aByteOffset != nullptr && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; aBuffView.ByteLength = - aByteLength != NULL && aByteLength->IsNumber() ? (int64_t)aByteLength->GetDouble() : 0; + aByteLength != nullptr && aByteLength->IsNumber() ? (int64_t)aByteLength->GetDouble() : 0; if (aBuffView.ByteLength <= 0) { reportGltfError("BufferView '" + theBufferViewId + "' defines invalid byteLength."); @@ -1398,7 +1398,7 @@ bool RWGltf_GltfJsonParser::gltfParseTextureInBufferView( } const RWGltf_JsonValue* anUriVal = findObjectMember(*aBuffer, "uri"); - if (anUriVal == NULL || !anUriVal->IsString()) + if (anUriVal == nullptr || !anUriVal->IsString()) { reportGltfError("Buffer '" + aBufferId + "' does not define uri."); return false; @@ -1445,7 +1445,7 @@ bool RWGltf_GltfJsonParser::gltfParseTextureInBufferView( } theTexture = new Image_Texture(aPath, aBuffView.ByteOffset, aBuffView.ByteLength); - if (myExternalFiles != NULL) + if (myExternalFiles != nullptr) { myExternalFiles->Add(aPath); } @@ -1470,7 +1470,7 @@ bool RWGltf_GltfJsonParser::gltfParseScene(const Message_ProgressRange& theProgr } Message_ProgressRange aRange = aPS.Next(); const RWGltf_JsonValue* aSceneNodes = findObjectMember(*aSceneIter, "nodes"); - if (aSceneNodes == NULL || !aSceneNodes->IsArray()) + if (aSceneNodes == nullptr || !aSceneNodes->IsArray()) { reportGltfWarning("Empty scene '" + getKeyString(*aSceneIter) + "'."); } @@ -1483,7 +1483,7 @@ bool RWGltf_GltfJsonParser::gltfParseScene(const Message_ProgressRange& theProgr } // search default scene - const RWGltf_JsonValue* aDefScene = NULL; + const RWGltf_JsonValue* aDefScene = nullptr; if (!myGltfRoots[RWGltf_GltfRootElement_Scene].IsNull()) { aDefScene = myGltfRoots[RWGltf_GltfRootElement_Scenes].FindChild( @@ -1498,14 +1498,14 @@ bool RWGltf_GltfJsonParser::gltfParseScene(const Message_ProgressRange& theProgr reportGltfWarning("Default scene is undefined, the first one will be loaded."); } } - if (aDefScene == NULL) + if (aDefScene == nullptr) { reportGltfError("Default scene is not found."); return false; } const RWGltf_JsonValue* aSceneNodes = findObjectMember(*aDefScene, "nodes"); - if (aSceneNodes == NULL || !aSceneNodes->IsArray()) + if (aSceneNodes == nullptr || !aSceneNodes->IsArray()) { reportGltfError("Empty scene '" + getKeyString(*myGltfRoots[RWGltf_GltfRootElement_Scene].Root()) + "'."); @@ -1534,7 +1534,7 @@ bool RWGltf_GltfJsonParser::gltfParseSceneNodes(NCollection_Sequence aChildShapes; int aNbSubShapes = 0; - if (aChildren != NULL && !gltfParseSceneNodes(aChildShapes, *aChildren, theProgress)) + if (aChildren != nullptr && !gltfParseSceneNodes(aChildShapes, *aChildren, theProgress)) { theNodeShape = aNodeShape; bindNodeShape(theNodeShape, aNodeLoc, aHasScale, aScale, theSceneNodeId, aName, anExtras); @@ -1641,7 +1641,7 @@ bool RWGltf_GltfJsonParser::gltfParseSceneNode(TopoDS_Shape& th ++aNbSubShapes; } - if (aMeshes_1 != NULL && aMeshes_1->IsArray()) + if (aMeshes_1 != nullptr && aMeshes_1->IsArray()) { // glTF 1.0 for (rapidjson::Value::ConstValueIterator aMeshIter = aMeshes_1->Begin(); @@ -1650,7 +1650,7 @@ bool RWGltf_GltfJsonParser::gltfParseSceneNode(TopoDS_Shape& th { const RWGltf_JsonValue* aMesh = myGltfRoots[RWGltf_GltfRootElement_Meshes].FindChild(*aMeshIter); - if (aMesh == NULL) + if (aMesh == nullptr) { theNodeShape = aNodeShape; bindNodeShape(theNodeShape, aNodeLoc, aHasScale, aScale, theSceneNodeId, aName, anExtras); @@ -1673,11 +1673,11 @@ bool RWGltf_GltfJsonParser::gltfParseSceneNode(TopoDS_Shape& th } } - if (aMesh_2 != NULL) + if (aMesh_2 != nullptr) { // glTF 2.0 const RWGltf_JsonValue* aMesh = myGltfRoots[RWGltf_GltfRootElement_Meshes].FindChild(*aMesh_2); - if (aMesh == NULL) + if (aMesh == nullptr) { theNodeShape = aNodeShape; bindNodeShape(theNodeShape, aNodeLoc, aHasScale, aScale, theSceneNodeId, aName, anExtras); @@ -1722,7 +1722,7 @@ bool RWGltf_GltfJsonParser::gltfParseMesh(TopoDS_Shape& theMesh const RWGltf_JsonValue* aName = findObjectMember(theMesh, "name"); const RWGltf_JsonValue* aPrims = findObjectMember(theMesh, "primitives"); const RWGltf_JsonValue* anExtrasVal = findObjectMember(theMesh, "extras"); - if (aPrims == NULL || !aPrims->IsArray()) + if (aPrims == nullptr || !aPrims->IsArray()) { reportGltfError("Primitive array attributes within Mesh '" + theMeshId + "' is not an array."); return false; @@ -1733,8 +1733,8 @@ bool RWGltf_GltfJsonParser::gltfParseMesh(TopoDS_Shape& theMesh return true; } - const TCollection_AsciiString aUserName((aName != NULL && aName->IsString()) ? aName->GetString() - : ""); + const TCollection_AsciiString aUserName( + (aName != nullptr && aName->IsString()) ? aName->GetString() : ""); BRep_Builder aBuilder; TopoDS_Compound aMeshShape; @@ -1788,17 +1788,17 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th const RWGltf_JsonValue* aModeVal = findObjectMember(thePrimArray, "mode"); const RWGltf_JsonValue* anExtVal = findObjectMember(thePrimArray, "extensions"); const RWGltf_JsonValue* aDracoVal = - anExtVal != NULL ? findObjectMember(*anExtVal, THE_KHR_draco_mesh_compression) : NULL; + anExtVal != nullptr ? findObjectMember(*anExtVal, THE_KHR_draco_mesh_compression) : nullptr; const RWGltf_JsonValue* aDracoBuf = - aDracoVal != NULL ? findObjectMember(*aDracoVal, "bufferView") : NULL; + aDracoVal != nullptr ? findObjectMember(*aDracoVal, "bufferView") : nullptr; RWGltf_GltfPrimitiveMode aMode = RWGltf_GltfPrimitiveMode_Triangles; - if (anAttribs == NULL || !anAttribs->IsObject()) + if (anAttribs == nullptr || !anAttribs->IsObject()) { reportGltfError("Primitive array within Mesh '" + theMeshId + "' defines no attributes."); return false; } - else if (aModeVal != NULL) + else if (aModeVal != nullptr) { aMode = RWGltf_GltfPrimitiveMode_UNKNOWN; if (aModeVal->IsInt()) @@ -1820,13 +1820,13 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th } const TCollection_AsciiString aMatId = - aMaterial != NULL ? getKeyString(*aMaterial) : TCollection_AsciiString(); + aMaterial != nullptr ? getKeyString(*aMaterial) : TCollection_AsciiString(); const TCollection_AsciiString anIndicesId = - anIndices != NULL ? getKeyString(*anIndices) : TCollection_AsciiString(); + anIndices != nullptr ? getKeyString(*anIndices) : TCollection_AsciiString(); occ::handle aMatPbr; occ::handle aMatCommon; occ::handle aMat; - if (aMaterial != NULL) + if (aMaterial != nullptr) { if (myMaterialsPbr.Find(aMatId, aMatPbr)) { @@ -1859,7 +1859,7 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th } else if (myShapeMap[ShapeMapGroup_PrimArray].Find(aPrimArrayId, thePrimArrayShape)) { - if (myAttribMap != NULL) + if (myAttribMap != nullptr) { // make a located Shape copy TopoDS_Shape aShapeCopy = thePrimArrayShape; @@ -1877,7 +1877,7 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th occ::handle aMeshData = new RWGltf_GltfLatePrimitiveArray(theMeshId, theMeshName); aMeshData->SetPrimitiveMode(aMode); - if (aMaterial != NULL) + if (aMaterial != nullptr) { aMeshData->SetMaterialPbr(aMatPbr); aMeshData->SetMaterialCommon(aMatCommon); @@ -1905,7 +1905,7 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th const RWGltf_JsonValue* anAccessor = myGltfRoots[RWGltf_GltfRootElement_Accessors].FindChild(anAttribIter->value); - if (anAccessor == NULL || !anAccessor->IsObject()) + if (anAccessor == nullptr || !anAccessor->IsObject()) { reportGltfError("Primitive array attribute accessor key '" + anAttribId + "' points to non-existing object."); @@ -1927,11 +1927,11 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th return false; } - if (anIndices != NULL) + if (anIndices != nullptr) { const RWGltf_JsonValue* anAccessor = myGltfRoots[RWGltf_GltfRootElement_Accessors].FindChild(*anIndices); - if (anAccessor == NULL || !anAccessor->IsObject()) + if (anAccessor == nullptr || !anAccessor->IsObject()) { reportGltfError("Primitive array indices accessor key '" + anIndicesId + "' points to non-existing object."); @@ -2009,7 +2009,7 @@ bool RWGltf_GltfJsonParser::gltfParsePrimArray(TopoDS_Shape& th break; } } - if (myAttribMap != NULL && aMeshData->HasStyle()) + if (myAttribMap != nullptr && aMeshData->HasStyle()) { RWMesh_NodeAttributes aShapeAttribs; aShapeAttribs.RawName = theMeshName; @@ -2044,33 +2044,33 @@ bool RWGltf_GltfJsonParser::gltfParseAccessor( RWGltf_GltfAccessor aStruct; const RWGltf_JsonValue* aTypeStr = findObjectMember(theAccessor, "type"); const RWGltf_JsonValue* aBufferViewName = - theCompBuffView == NULL ? findObjectMember(theAccessor, "bufferView") : theCompBuffView; + theCompBuffView == nullptr ? findObjectMember(theAccessor, "bufferView") : theCompBuffView; const RWGltf_JsonValue* aByteOffset = - theCompBuffView == NULL ? findObjectMember(theAccessor, "byteOffset") : 0; + theCompBuffView == nullptr ? findObjectMember(theAccessor, "byteOffset") : nullptr; // clang-format off const RWGltf_JsonValue* aByteStride = findObjectMember (theAccessor, "byteStride"); // byteStride was part of bufferView in glTF 1.0 // clang-format on const RWGltf_JsonValue* aCompType = findObjectMember(theAccessor, "componentType"); const RWGltf_JsonValue* aCount = findObjectMember(theAccessor, "count"); - if (aTypeStr == NULL || !aTypeStr->IsString()) + if (aTypeStr == nullptr || !aTypeStr->IsString()) { reportGltfError("Accessor '" + theName + "' does not define type."); return false; } aStruct.Type = RWGltf_GltfParseAccessorType(aTypeStr->GetString()); - aStruct.IsCompressed = theCompBuffView != NULL; + aStruct.IsCompressed = theCompBuffView != nullptr; if (aStruct.Type == RWGltf_GltfAccessorLayout_UNKNOWN) { reportGltfError("Accessor '" + theName + "' has invalid type."); return false; } - if (aBufferViewName == NULL) + if (aBufferViewName == nullptr) { reportGltfError("Accessor '" + theName + "' does not define bufferView."); return false; } - if (aCompType == NULL || !aCompType->IsInt()) + if (aCompType == nullptr || !aCompType->IsInt()) { reportGltfError("Accessor '" + theName + "' does not define componentType."); return false; @@ -2087,15 +2087,15 @@ bool RWGltf_GltfJsonParser::gltfParseAccessor( return false; } - if (aCount == NULL || !aCount->IsNumber()) + if (aCount == nullptr || !aCount->IsNumber()) { reportGltfError("Accessor '" + theName + "' does not define count."); return false; } aStruct.ByteOffset = - aByteOffset != NULL && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; - aStruct.ByteStride = aByteStride != NULL && aByteStride->IsInt() ? aByteStride->GetInt() : 0; + aByteOffset != nullptr && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; + aStruct.ByteStride = aByteStride != nullptr && aByteStride->IsInt() ? aByteStride->GetInt() : 0; aStruct.Count = (int64_t)aCount->GetDouble(); if (aStruct.ByteOffset < 0) @@ -2121,7 +2121,7 @@ bool RWGltf_GltfJsonParser::gltfParseAccessor( const RWGltf_JsonValue* aMin = findObjectMember(theAccessor, "min"); const RWGltf_JsonValue* aMax = findObjectMember(theAccessor, "max"); - if (aMin != NULL && aMax != NULL) + if (aMin != nullptr && aMax != nullptr) { // Note: Min/Max values can be not defined in glTF file. // In this case it is not used only. @@ -2183,7 +2183,7 @@ bool RWGltf_GltfJsonParser::gltfParseAccessor( const RWGltf_JsonValue* aBufferView = myGltfRoots[RWGltf_GltfRootElement_BufferViews].FindChild(*aBufferViewName); - if (aBufferView == NULL || !aBufferView->IsObject()) + if (aBufferView == nullptr || !aBufferView->IsObject()) { reportGltfError("Accessor '" + theName + "' refers to non-existing bufferView."); return false; @@ -2213,18 +2213,18 @@ bool RWGltf_GltfJsonParser::gltfParseBufferView( const RWGltf_JsonValue* aByteStride = findObjectMember (theBufferView, "byteStride"); // byteStride is part of bufferView since glTF 2.0 // clang-format on const RWGltf_JsonValue* aTarget = findObjectMember(theBufferView, "target"); - if (aBufferName == NULL) + if (aBufferName == nullptr) { reportGltfError("BufferView '" + theName + "' does not define buffer."); return false; } aBuffView.ByteOffset = - aByteOffset != NULL && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; + aByteOffset != nullptr && aByteOffset->IsNumber() ? (int64_t)aByteOffset->GetDouble() : 0; aBuffView.ByteLength = - aByteLength != NULL && aByteLength->IsNumber() ? (int64_t)aByteLength->GetDouble() : 0; - aBuffView.ByteStride = aByteStride != NULL && aByteStride->IsInt() ? aByteStride->GetInt() : 0; - if (aTarget != NULL && aTarget->IsInt()) + aByteLength != nullptr && aByteLength->IsNumber() ? (int64_t)aByteLength->GetDouble() : 0; + aBuffView.ByteStride = aByteStride != nullptr && aByteStride->IsInt() ? aByteStride->GetInt() : 0; + if (aTarget != nullptr && aTarget->IsInt()) { aBuffView.Target = (RWGltf_GltfBufferViewTarget)aTarget->GetInt(); if (aBuffView.Target != RWGltf_GltfBufferViewTarget_ARRAY_BUFFER @@ -2253,7 +2253,7 @@ bool RWGltf_GltfJsonParser::gltfParseBufferView( const RWGltf_JsonValue* aBuffer = myGltfRoots[RWGltf_GltfRootElement_Buffers].FindChild(*aBufferName); - if (aBuffer == NULL || !aBuffer->IsObject()) + if (aBuffer == nullptr || !aBuffer->IsObject()) { reportGltfError("BufferView '" + theName + "' refers to non-existing buffer."); return false; @@ -2287,7 +2287,7 @@ bool RWGltf_GltfJsonParser::gltfParseBuffer( if (myIsBinary) { isBinary = IsEqual("binary_glTF", theName) // glTF 1.0 - || anUriVal == NULL; // glTF 2.0 + || anUriVal == nullptr; // glTF 2.0 } if (isBinary) { @@ -2302,7 +2302,7 @@ bool RWGltf_GltfJsonParser::gltfParseBuffer( return true; } - if (anUriVal == NULL || !anUriVal->IsString()) + if (anUriVal == nullptr || !anUriVal->IsString()) { reportGltfError("Buffer '" + theName + "' does not define uri."); return false; @@ -2356,7 +2356,7 @@ bool RWGltf_GltfJsonParser::gltfParseBuffer( aData.StreamOffset = anOffset; aData.StreamLength = theView.ByteLength; aData.StreamUri = myFolder + anUri; - if (myExternalFiles != NULL) + if (myExternalFiles != nullptr) { myExternalFiles->Add(aData.StreamUri); } @@ -2406,7 +2406,7 @@ void RWGltf_GltfJsonParser::bindNamedShape(TopoDS_Shape& } TCollection_AsciiString aUserName; - if (theUserName != NULL && theUserName->IsString()) + if (theUserName != nullptr && theUserName->IsString()) { aUserName = theUserName->GetString(); } @@ -2415,7 +2415,7 @@ void RWGltf_GltfJsonParser::bindNamedShape(TopoDS_Shape& aUserName = theId; } - if (myAttribMap != NULL) + if (myAttribMap != nullptr) { RWMesh_NodeAttributes aShapeAttribs; aShapeAttribs.Name = aUserName; diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.hxx index 70494b01dd..9bfea31fbe 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.hxx @@ -250,7 +250,7 @@ protected: //! Read vec4 from specified item. static bool gltfReadVec4(NCollection_Vec4& theVec4, const RWGltf_JsonValue* theVal) { - if (theVal == NULL || !theVal->IsArray() || theVal->Size() != 4) + if (theVal == nullptr || !theVal->IsArray() || theVal->Size() != 4) { return false; } @@ -277,7 +277,7 @@ protected: //! Read vec3 from specified item. static bool gltfReadVec3(NCollection_Vec3& theVec3, const RWGltf_JsonValue* theVal) { - if (theVal == NULL || !theVal->IsArray() || theVal->Size() != 3) + if (theVal == nullptr || !theVal->IsArray() || theVal->Size() != 3) { return false; } @@ -396,12 +396,12 @@ protected: public: //! Empty constructor. GltfElementMap() - : myRoot(NULL) + : myRoot(nullptr) { } //! Return TRUE if this element is NULL. - bool IsNull() const { return myRoot == NULL; } + bool IsNull() const { return myRoot == nullptr; } //! Access this node. const RWGltf_JsonValue* Root() const { return myRoot; } @@ -409,8 +409,8 @@ protected: //! Find the child node with specified key. const RWGltf_JsonValue* FindChild(const TCollection_AsciiString& theKey) { - const RWGltf_JsonValue* aNode = NULL; - return myChildren.Find(theKey, aNode) ? aNode : NULL; + const RWGltf_JsonValue* aNode = nullptr; + return myChildren.Find(theKey, aNode) ? aNode : nullptr; } //! Find the child node with specified key. @@ -419,11 +419,11 @@ protected: const TCollection_AsciiString aKey = getKeyString(theKey); if (aKey.IsEmpty()) { - return NULL; + return nullptr; } - const RWGltf_JsonValue* aNode = NULL; - return myChildren.Find(aKey, aNode) ? aNode : NULL; + const RWGltf_JsonValue* aNode = nullptr; + return myChildren.Find(aKey, aNode) ? aNode : nullptr; } //! Initialize the element. diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfLatePrimitiveArray.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfLatePrimitiveArray.hxx index 9c8ebf2021..23075c3a4b 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfLatePrimitiveArray.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfLatePrimitiveArray.hxx @@ -36,7 +36,7 @@ public: const TCollection_AsciiString& theName); //! Destructor. - Standard_EXPORT virtual ~RWGltf_GltfLatePrimitiveArray(); + Standard_EXPORT ~RWGltf_GltfLatePrimitiveArray() override; //! Entity id. const TCollection_AsciiString& Id() const { return myId; } @@ -85,7 +85,7 @@ public: //! Return TRUE if there is deferred storage and some triangulation data //! that can be loaded using LoadDeferredData(). - virtual bool HasDeferredData() const override + bool HasDeferredData() const override { return !myData.IsEmpty() && (NbDeferredTriangles() > 0 || NbDeferredNodes() > 0); } diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.cxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.cxx index b71738f2c9..32dbbaa54d 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.cxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.cxx @@ -50,7 +50,7 @@ const occ::handle& RWGltf_GltfMaterialMap::baseColorTexture( RWGltf_GltfMaterialMap::RWGltf_GltfMaterialMap(const TCollection_AsciiString& theFile, const int theDefSamplerId) : RWMesh_MaterialMap(theFile), - myWriter(NULL), + myWriter(nullptr), myDefSamplerId(theDefSamplerId) { myMatNameAsKey = false; @@ -69,7 +69,7 @@ void RWGltf_GltfMaterialMap::AddImages(RWGltf_GltfOStreamWriter* theWriter, const XCAFPrs_Style& theStyle, bool& theIsStarted) { - if (theWriter == NULL || theStyle.Material().IsNull() || theStyle.Material()->IsEmpty()) + if (theWriter == nullptr || theStyle.Material().IsNull() || theStyle.Material()->IsEmpty()) { return; } @@ -267,7 +267,7 @@ void RWGltf_GltfMaterialMap::AddMaterial(RWGltf_GltfOStreamWriter* theWriter, bool& theIsStarted) { #ifdef HAVE_RAPIDJSON - if (theWriter == NULL + if (theWriter == nullptr || ((theStyle.Material().IsNull() || theStyle.Material()->IsEmpty()) && !theStyle.IsSetColorSurf() && !theStyle.IsSetColorCurv())) { @@ -282,7 +282,7 @@ void RWGltf_GltfMaterialMap::AddMaterial(RWGltf_GltfOStreamWriter* theWriter, } myWriter = theWriter; AddMaterial(theStyle); - myWriter = NULL; + myWriter = nullptr; #else (void)theWriter; (void)theStyle; @@ -296,7 +296,7 @@ void RWGltf_GltfMaterialMap::AddTextures(RWGltf_GltfOStreamWriter* theWriter, const XCAFPrs_Style& theStyle, bool& theIsStarted) { - if (theWriter == NULL || theStyle.Material().IsNull() || theStyle.Material()->IsEmpty()) + if (theWriter == nullptr || theStyle.Material().IsNull() || theStyle.Material()->IsEmpty()) { return; } @@ -361,7 +361,7 @@ void RWGltf_GltfMaterialMap::DefineMaterial(const XCAFPrs_Style& theStyle, const TCollection_AsciiString& theName) { #ifdef HAVE_RAPIDJSON - if (myWriter == NULL) + if (myWriter == nullptr) { Standard_ProgramError::Raise( "RWGltf_GltfMaterialMap::DefineMaterial() should be called with JSON Writer"); diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.hxx index b3504911ac..983499e797 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfMaterialMap.hxx @@ -29,7 +29,7 @@ public: const int theDefSamplerId); //! Destructor. - Standard_EXPORT virtual ~RWGltf_GltfMaterialMap(); + Standard_EXPORT ~RWGltf_GltfMaterialMap() override; public: //! Add material images into GLB stream. @@ -91,13 +91,12 @@ protected: bool& theIsStarted); //! Add material - Standard_EXPORT virtual TCollection_AsciiString AddMaterial( - const XCAFPrs_Style& theStyle) override; + Standard_EXPORT TCollection_AsciiString AddMaterial(const XCAFPrs_Style& theStyle) override; //! Virtual method actually defining the material (e.g. export to the file). - Standard_EXPORT virtual void DefineMaterial(const XCAFPrs_Style& theStyle, - const TCollection_AsciiString& theKey, - const TCollection_AsciiString& theName) override; + Standard_EXPORT void DefineMaterial(const XCAFPrs_Style& theStyle, + const TCollection_AsciiString& theKey, + const TCollection_AsciiString& theName) override; protected: RWGltf_GltfOStreamWriter* myWriter; diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfSceneNodeMap.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfSceneNodeMap.hxx index 7baafa7fe7..d94645e86d 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfSceneNodeMap.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfSceneNodeMap.hxx @@ -22,7 +22,7 @@ class RWGltf_GltfSceneNodeMap : public NCollection_IndexedMapOpenIStream(theGltfData.StreamUri, std::ios::in | std::ios::binary, theGltfData.StreamOffset); - if (aSharedStream.get() == NULL) + if (aSharedStream.get() == nullptr) { reportError(TCollection_AsciiString("Buffer '") + theSourceGltfMesh->Id() + "' refers to invalid file '" + theGltfData.StreamUri + "'."); @@ -242,7 +242,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer( aFileSystem->OpenIStream(theGltfData.StreamUri, std::ios::in | std::ios::binary, theGltfData.StreamOffset); - if (aSharedStream.get() == NULL) + if (aSharedStream.get() == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' refers to invalid file '" + theGltfData.StreamUri + "'."); @@ -266,7 +266,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer( draco::Decoder aDracoDecoder; draco::StatusOr> aDracoStat = aDracoDecoder.DecodeMeshFromBuffer(&aDracoBuf); - if (!aDracoStat.ok() || aDracoStat.value().get() == NULL) + if (!aDracoStat.ok() || aDracoStat.value().get() == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' refers to Draco data that cannot be decoded '" + theGltfData.StreamUri + "'."); @@ -317,7 +317,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer( { const NCollection_Vec3* aVec3 = reinterpret_cast*>( anAttrib->GetAddressOfMappedIndex(draco::PointIndex(aVertIter))); - if (aVec3 == NULL) + if (aVec3 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -349,7 +349,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer( { const NCollection_Vec3* aVec3 = reinterpret_cast*>( anAttrib->GetAddressOfMappedIndex(draco::PointIndex(aVertIter))); - if (aVec3 == NULL) + if (aVec3 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -389,7 +389,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer( { const NCollection_Vec2* aVec2 = reinterpret_cast*>( anAttrib->GetAddressOfMappedIndex(draco::PointIndex(aVertIter))); - if (aVec2 == NULL) + if (aVec2 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -437,7 +437,7 @@ bool RWGltf_TriangulationReader::readDracoBuffer( return false; } theSourceGltfMesh->ChangeDegeneratedTriNb() += aNbDegenerate; - if (myLoadingStatistic == NULL && myToPrintDebugMessages) + if (myLoadingStatistic == nullptr && myToPrintDebugMessages) { Message::SendTrace( TCollection_AsciiString() + aNbDegenerate @@ -665,7 +665,7 @@ bool RWGltf_TriangulationReader::ReadStream( return false; } theSourceMesh->ChangeDegeneratedTriNb() += aNbDegenerate; - if ((myLoadingStatistic == NULL) && myToPrintDebugMessages) + if ((myLoadingStatistic == nullptr) && myToPrintDebugMessages) { Message::SendTrace( TCollection_AsciiString() + aNbDegenerate @@ -736,7 +736,7 @@ bool RWGltf_TriangulationReader::ReadStream( return false; } theSourceMesh->ChangeDegeneratedTriNb() += aNbDegenerate; - if (myLoadingStatistic == NULL && myToPrintDebugMessages) + if (myLoadingStatistic == nullptr && myToPrintDebugMessages) { Message::SendTrace( TCollection_AsciiString() + aNbDegenerate @@ -807,7 +807,7 @@ bool RWGltf_TriangulationReader::ReadStream( return false; } theSourceMesh->ChangeDegeneratedTriNb() += aNbDegenerate; - if (myLoadingStatistic == NULL && myToPrintDebugMessages) + if (myLoadingStatistic == nullptr && myToPrintDebugMessages) { Message::SendTrace( TCollection_AsciiString() + aNbDegenerate @@ -857,7 +857,7 @@ bool RWGltf_TriangulationReader::ReadStream( { const NCollection_Vec3* aVec3 = aBuffer.ReadChunk>(theStream); - if (aVec3 == NULL) + if (aVec3 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -874,7 +874,7 @@ bool RWGltf_TriangulationReader::ReadStream( { const NCollection_Vec3* aVec3 = aBuffer.ReadChunk>(theStream); - if (aVec3 == NULL) + if (aVec3 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -914,7 +914,7 @@ bool RWGltf_TriangulationReader::ReadStream( for (int aVertIter = 0; aVertIter < aNbNodes; ++aVertIter) { NCollection_Vec3* aVec3 = aBuffer.ReadChunk>(theStream); - if (aVec3 == NULL) + if (aVec3 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -938,7 +938,7 @@ bool RWGltf_TriangulationReader::ReadStream( { const NCollection_Vec3* aVec3 = aBuffer.ReadChunk>(theStream); - if (aVec3 == NULL) + if (aVec3 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; @@ -984,7 +984,7 @@ bool RWGltf_TriangulationReader::ReadStream( for (int aVertIter = 0; aVertIter < aNbNodes; ++aVertIter) { NCollection_Vec2* aVec2 = aBuffer.ReadChunk>(theStream); - if (aVec2 == NULL) + if (aVec2 == nullptr) { reportError(TCollection_AsciiString("Buffer '") + aName + "' reading error."); return false; diff --git a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_TriangulationReader.hxx b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_TriangulationReader.hxx index c164c109b4..9ecec76eff 100644 --- a/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_TriangulationReader.hxx +++ b/src/DataExchange/TKDEGLTF/RWGltf/RWGltf_TriangulationReader.hxx @@ -58,15 +58,14 @@ protected: //! @param theDestMesh triangulation to be modified //! @param theFileSystem shared file system to read from //! Note: this method skips "stream data" that should be loaded by LoadStreamData() call. - Standard_EXPORT virtual bool load( - const occ::handle& theSourceMesh, - const occ::handle& theDestMesh, - const occ::handle& theFileSystem) const override; + Standard_EXPORT bool load(const occ::handle& theSourceMesh, + const occ::handle& theDestMesh, + const occ::handle& theFileSystem) const override; //! Performs additional actions to finalize data loading. //! @param theSourceMesh source triangulation //! @param theDestMesh triangulation to be modified - Standard_EXPORT virtual bool finalizeLoading( + Standard_EXPORT bool finalizeLoading( const occ::handle& theSourceMesh, const occ::handle& theDestMesh) const override; diff --git a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BREntity.cxx b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BREntity.cxx index e6c7a5d494..b481d4f7fe 100644 --- a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BREntity.cxx +++ b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BREntity.cxx @@ -314,4 +314,4 @@ bool BRepToIGES_BREntity::GetPCurveMode() const //================================================================================================= -BRepToIGES_BREntity::~BRepToIGES_BREntity() {} +BRepToIGES_BREntity::~BRepToIGES_BREntity() = default; diff --git a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRShell.cxx b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRShell.cxx index 1837904dc6..b67a4dcaba 100644 --- a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRShell.cxx +++ b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRShell.cxx @@ -60,7 +60,7 @@ //============================================================================= // BRepToIGES_BRShell //============================================================================= -BRepToIGES_BRShell::BRepToIGES_BRShell() {} +BRepToIGES_BRShell::BRepToIGES_BRShell() = default; //============================================================================= // BRepToIGES_BRShell @@ -364,7 +364,7 @@ occ::handle BRepToIGES_BRShell ::TransferFace(const TopoDS_ if (isWholeSurface) { // if face bounds and surface bounds are same, outer wire is unnecessary - TrimmedSurf->Init(ISurf, false, NULL, Tab); + TrimmedSurf->Init(ISurf, false, nullptr, Tab); } else TrimmedSurf->Init(ISurf, true, IOuter, Tab); @@ -395,7 +395,7 @@ occ::handle BRepToIGES_BRShell::TransferShell( int nbshapes = 0; for (Ex.Init(start, TopAbs_FACE); Ex.More(); Ex.Next()) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); for (Ex.Init(start, TopAbs_FACE); Ex.More() && aPS.More(); Ex.Next()) { Message_ProgressRange aRange = aPS.Next(); diff --git a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRSolid.cxx b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRSolid.cxx index bd9d74974b..940ca0d3dc 100644 --- a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRSolid.cxx +++ b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRSolid.cxx @@ -46,7 +46,7 @@ //============================================================================= // BRepToIGES_BRSolid //============================================================================= -BRepToIGES_BRSolid::BRepToIGES_BRSolid() {} +BRepToIGES_BRSolid::BRepToIGES_BRSolid() = default; //============================================================================= // BRepToIGES_BRSolid @@ -114,7 +114,7 @@ occ::handle BRepToIGES_BRSolid ::TransferSolid( int nbshapes = 0; for (Ex.Init(start, TopAbs_SHELL); Ex.More(); Ex.Next()) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); for (Ex.Init(start, TopAbs_SHELL); Ex.More() && aPS.More(); Ex.Next()) { Message_ProgressRange aRange = aPS.Next(); @@ -179,7 +179,7 @@ occ::handle BRepToIGES_BRSolid ::TransferCompSolid( int nbshapes = 0; for (Ex.Init(start, TopAbs_SOLID); Ex.More(); Ex.Next()) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); for (Ex.Init(start, TopAbs_SOLID); Ex.More() && aPS.More(); Ex.Next()) { Message_ProgressRange aRange = aPS.Next(); @@ -257,7 +257,7 @@ occ::handle BRepToIGES_BRSolid ::TransferCompound( nbshapes++; for (Ex.Init(start, TopAbs_VERTEX, TopAbs_EDGE); Ex.More(); Ex.Next()) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); // take all Solids for (Ex.Init(start, TopAbs_SOLID); Ex.More() && aPS.More(); Ex.Next()) diff --git a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRWire.cxx b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRWire.cxx index 167fd4e392..fd9096ba23 100644 --- a/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRWire.cxx +++ b/src/DataExchange/TKDEIGES/BRepToIGES/BRepToIGES_BRWire.cxx @@ -71,7 +71,7 @@ //============================================================================= // BRepToIGES_BRWire //============================================================================= -BRepToIGES_BRWire::BRepToIGES_BRWire() {} +BRepToIGES_BRWire::BRepToIGES_BRWire() = default; //============================================================================= // BRepToIGES_BRWire diff --git a/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx b/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx index 7c865ce875..147d8a4d1e 100644 --- a/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx +++ b/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx @@ -637,7 +637,7 @@ occ::handle BRepToIGESBRep_Entity ::TransferShell( int nbf = 0; for (Ex.Init(start, TopAbs_FACE); Ex.More(); Ex.Next()) nbf++; - Message_ProgressScope aPS(theProgress, NULL, nbf); + Message_ProgressScope aPS(theProgress, nullptr, nbf); for (Ex.Init(start, TopAbs_FACE); Ex.More() && aPS.More(); Ex.Next(), aPS.Next()) { TopoDS_Face F = TopoDS::Face(Ex.Current()); @@ -704,7 +704,7 @@ occ::handle BRepToIGESBRep_Entity ::TransferSolid( int nbs = 0; for (Ex.Init(start, TopAbs_SHELL); Ex.More(); Ex.Next()) nbs++; - Message_ProgressScope aPS(theProgress, NULL, nbs); + Message_ProgressScope aPS(theProgress, nullptr, nbs); for (Ex.Init(start, TopAbs_SHELL); Ex.More() && aPS.More(); Ex.Next()) { Message_ProgressRange aRange = aPS.Next(); @@ -792,7 +792,7 @@ occ::handle BRepToIGESBRep_Entity::TransferCompSolid( int nbs = 0; for (Ex.Init(start, TopAbs_SOLID); Ex.More(); Ex.Next()) nbs++; - Message_ProgressScope aPS(theProgress, NULL, nbs); + Message_ProgressScope aPS(theProgress, nullptr, nbs); for (Ex.Init(start, TopAbs_SOLID); Ex.More() && aPS.More(); Ex.Next()) { Message_ProgressRange aRange = aPS.Next(); @@ -869,7 +869,7 @@ occ::handle BRepToIGESBRep_Entity::TransferCompound( nbshapes++; for (Ex.Init(start, TopAbs_VERTEX, TopAbs_EDGE); Ex.More(); Ex.Next()) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); // take all Solids for (Ex.Init(start, TopAbs_SOLID); Ex.More() && aPS.More(); Ex.Next()) diff --git a/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.hxx b/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.hxx index c341faae45..a7862dd14a 100644 --- a/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.hxx +++ b/src/DataExchange/TKDEIGES/BRepToIGESBRep/BRepToIGESBRep_Entity.hxx @@ -81,7 +81,7 @@ public: //! Returns the result of the transfert of any Shape //! If the transfer has failed, this member returns a NullEntity. - Standard_EXPORT virtual occ::handle TransferShape( + Standard_EXPORT occ::handle TransferShape( const TopoDS_Shape& start, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; diff --git a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.cxx b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.cxx index 881efd990e..4cbe90f94e 100644 --- a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.cxx +++ b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.cxx @@ -32,7 +32,7 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEIGES_ConfigurationNode::DEIGES_ConfigurationNode() - : DE_ShapeFixConfigurationNode() + { DE_ShapeFixConfigurationNode::ShapeFixParameters = DEIGES_Parameters::GetDefaultShapeFixParameters(); diff --git a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.hxx b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.hxx index 38fc3ccbd5..1fe4796dee 100644 --- a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.hxx +++ b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.hxx @@ -42,46 +42,45 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; //! Checks the file content to verify a format //! @param[in] theBuffer read stream buffer to check content //! @return true if file is supported by a current provider - Standard_EXPORT virtual bool CheckContent( + Standard_EXPORT bool CheckContent( const occ::handle& theBuffer) const override; public: diff --git a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.cxx b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.cxx index 82cfdac92b..66774d58bf 100644 --- a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.cxx +++ b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.cxx @@ -148,7 +148,7 @@ bool processReadFile(IGESControl_Reader& theReader, const TCollection_AsciiStrin //================================================================================================= -DEIGES_Provider::DEIGES_Provider() {} +DEIGES_Provider::DEIGES_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.hxx b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.hxx index 86ae5c52ea..45fa79d006 100644 --- a/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.hxx +++ b/src/DataExchange/TKDEIGES/DEIGES/DEIGES_Provider.hxx @@ -47,7 +47,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -59,7 +59,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -70,7 +70,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -80,7 +80,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -91,7 +91,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -103,7 +103,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -114,7 +114,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -124,7 +124,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -132,11 +132,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; private: //! Personizes work session with current format. diff --git a/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dCurve.cxx b/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dCurve.cxx index 325aa51598..0d6aff58e4 100644 --- a/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dCurve.cxx +++ b/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dCurve.cxx @@ -32,9 +32,8 @@ // Geom2dToIGES_Geom2dCurve //============================================================================= Geom2dToIGES_Geom2dCurve::Geom2dToIGES_Geom2dCurve() - : Geom2dToIGES_Geom2dEntity() -{ -} + + = default; //============================================================================= // Geom2dToIGES_Geom2dCurve diff --git a/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dPoint.cxx b/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dPoint.cxx index 5a2122e0fb..85dddd1de2 100644 --- a/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dPoint.cxx +++ b/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dPoint.cxx @@ -24,9 +24,8 @@ // Geom2dToIGES_Geom2dPoint //============================================================================= Geom2dToIGES_Geom2dPoint::Geom2dToIGES_Geom2dPoint() - : Geom2dToIGES_Geom2dEntity() -{ -} + + = default; //============================================================================= // Geom2dToIGES_Geom2dPoint diff --git a/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dVector.cxx b/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dVector.cxx index 58cd9a6965..d574dcd3ae 100644 --- a/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dVector.cxx +++ b/src/DataExchange/TKDEIGES/Geom2dToIGES/Geom2dToIGES_Geom2dVector.cxx @@ -26,9 +26,8 @@ // Geom2dToIGES_Geom2dVector //============================================================================= Geom2dToIGES_Geom2dVector::Geom2dToIGES_Geom2dVector() - : Geom2dToIGES_Geom2dEntity() -{ -} + + = default; //============================================================================= // Geom2dToIGES_Geom2dVector diff --git a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomCurve.cxx b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomCurve.cxx index f630acc924..55627e1b5b 100644 --- a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomCurve.cxx +++ b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomCurve.cxx @@ -74,9 +74,8 @@ // GeomToIGES_GeomCurve //============================================================================= GeomToIGES_GeomCurve::GeomToIGES_GeomCurve() - : GeomToIGES_GeomEntity() -{ -} + + = default; //============================================================================= // GeomToIGES_GeomCurve diff --git a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomEntity.cxx b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomEntity.cxx index 7bd93d2b26..804c871726 100644 --- a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomEntity.cxx +++ b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomEntity.cxx @@ -21,7 +21,7 @@ //================================================================================================= -GeomToIGES_GeomEntity::GeomToIGES_GeomEntity() {} +GeomToIGES_GeomEntity::GeomToIGES_GeomEntity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomPoint.cxx b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomPoint.cxx index 978d75ab0d..a979ff946b 100644 --- a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomPoint.cxx +++ b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomPoint.cxx @@ -36,9 +36,7 @@ GeomToIGES_GeomPoint::GeomToIGES_GeomPoint(const GeomToIGES_GeomEntity& GE) GeomToIGES_GeomPoint::GeomToIGES_GeomPoint() - : GeomToIGES_GeomEntity() -{ -} + = default; //============================================================================= // Transfer of Point from Geom to IGES diff --git a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomSurface.cxx b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomSurface.cxx index 33c2dfb301..9968c1016f 100644 --- a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomSurface.cxx +++ b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomSurface.cxx @@ -87,7 +87,7 @@ // GeomToIGES_GeomSurface //============================================================================= GeomToIGES_GeomSurface::GeomToIGES_GeomSurface() - : GeomToIGES_GeomEntity() + { myBRepMode = false; myAnalytic = false; @@ -585,7 +585,7 @@ occ::handle GeomToIGES_GeomSurface::TransferSurface( start->Coefficients(A, B, C, D); D = -D; // because of difference in Geom_Plane class and Type 108 gp_XYZ anAttach = start->Location().XYZ().Divided(GetUnit()); - aPlane->Init(A, B, C, D / GetUnit(), 0, anAttach, 0); + aPlane->Init(A, B, C, D / GetUnit(), nullptr, anAttach, 0); res = aPlane; return res; } diff --git a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomVector.cxx b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomVector.cxx index d5f7f106c2..959efaf9e9 100644 --- a/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomVector.cxx +++ b/src/DataExchange/TKDEIGES/GeomToIGES/GeomToIGES_GeomVector.cxx @@ -28,9 +28,8 @@ // GeomToIGES_GeomVector //============================================================================= GeomToIGES_GeomVector::GeomToIGES_GeomVector() - : GeomToIGES_GeomEntity() -{ -} + + = default; //============================================================================= // GeomToIGES_GeomVector diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.cxx index 5aa450d721..8a0684ec71 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_DrilledHole, IGESData_IGESEntity) -IGESAppli_DrilledHole::IGESAppli_DrilledHole() {} +IGESAppli_DrilledHole::IGESAppli_DrilledHole() = default; void IGESAppli_DrilledHole::Init(const int nbPropVal, const double aSize, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ElementResults.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ElementResults.cxx index 8efb88a97b..7a535a5361 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ElementResults.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ElementResults.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_ElementResults, IGESData_IGESEntity) -IGESAppli_ElementResults::IGESAppli_ElementResults() {} +IGESAppli_ElementResults::IGESAppli_ElementResults() = default; void IGESAppli_ElementResults::Init( const occ::handle& aNote, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FiniteElement.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FiniteElement.cxx index 29835d1bb6..70a73c59bc 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FiniteElement.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FiniteElement.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_FiniteElement, IGESData_IGESEntity) -IGESAppli_FiniteElement::IGESAppli_FiniteElement() {} +IGESAppli_FiniteElement::IGESAppli_FiniteElement() = default; void IGESAppli_FiniteElement::Init( const int aType, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Flow.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Flow.cxx index 193c233500..2bc3fbfa29 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Flow.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Flow.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_Flow, IGESData_IGESEntity) -IGESAppli_Flow::IGESAppli_Flow() {} +IGESAppli_Flow::IGESAppli_Flow() = default; void IGESAppli_Flow::Init( const int nbContextFlags, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FlowLineSpec.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FlowLineSpec.cxx index 51a76cdf08..adeb9e8e64 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FlowLineSpec.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_FlowLineSpec.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_FlowLineSpec, IGESData_IGESEntity) -IGESAppli_FlowLineSpec::IGESAppli_FlowLineSpec() {} +IGESAppli_FlowLineSpec::IGESAppli_FlowLineSpec() = default; void IGESAppli_FlowLineSpec::Init( const occ::handle>>& allProperties) diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.cxx index 727b2cf19d..74bb57efd3 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.cxx @@ -66,7 +66,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESAppli_GeneralModule::IGESAppli_GeneralModule() {} +IGESAppli_GeneralModule::IGESAppli_GeneralModule() = default; void IGESAppli_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.hxx index 298dfac81e..9d5a5f265f 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_GeneralModule.hxx @@ -70,9 +70,9 @@ public: //! FEA for : ElementResults,FiniteElement,Node&Co //! Piping for : Flow & Co //! Professional for : others (in fact Schematics) - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESAppli_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelFunction.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelFunction.cxx index 844dfc93ea..824074d2f6 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelFunction.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelFunction.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_LevelFunction, IGESData_IGESEntity) -IGESAppli_LevelFunction::IGESAppli_LevelFunction() {} +IGESAppli_LevelFunction::IGESAppli_LevelFunction() = default; void IGESAppli_LevelFunction::Init(const int nbPropVal, const int aCode, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelToPWBLayerMap.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelToPWBLayerMap.cxx index b59297656c..56d83bfea6 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelToPWBLayerMap.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LevelToPWBLayerMap.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_LevelToPWBLayerMap, IGESData_IGESEntity) -IGESAppli_LevelToPWBLayerMap::IGESAppli_LevelToPWBLayerMap() {} +IGESAppli_LevelToPWBLayerMap::IGESAppli_LevelToPWBLayerMap() = default; void IGESAppli_LevelToPWBLayerMap::Init( const int nbPropVal, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LineWidening.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LineWidening.cxx index aa6d1de3ce..3c94dd2251 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LineWidening.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_LineWidening.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_LineWidening, IGESData_IGESEntity) -IGESAppli_LineWidening::IGESAppli_LineWidening() {} +IGESAppli_LineWidening::IGESAppli_LineWidening() = default; void IGESAppli_LineWidening::Init(const int nbPropVal, const double aWidth, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalConstraint.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalConstraint.cxx index 756d7a00ff..38ddad68e1 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalConstraint.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalConstraint.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_NodalConstraint, IGESData_IGESEntity) -IGESAppli_NodalConstraint::IGESAppli_NodalConstraint() {} +IGESAppli_NodalConstraint::IGESAppli_NodalConstraint() = default; void IGESAppli_NodalConstraint::Init( const int aType, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalDisplAndRot.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalDisplAndRot.cxx index 46ec7339bb..946c74afd5 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalDisplAndRot.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalDisplAndRot.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_NodalDisplAndRot, IGESData_IGESEntity) -IGESAppli_NodalDisplAndRot::IGESAppli_NodalDisplAndRot() {} +IGESAppli_NodalDisplAndRot::IGESAppli_NodalDisplAndRot() = default; void IGESAppli_NodalDisplAndRot::Init( const occ::handle>>& allNotes, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalResults.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalResults.cxx index c9da1a6f31..75fe90e1e7 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalResults.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_NodalResults.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_NodalResults, IGESData_IGESEntity) -IGESAppli_NodalResults::IGESAppli_NodalResults() {} +IGESAppli_NodalResults::IGESAppli_NodalResults() = default; // Data : Col -> // Nodes. Row : Data per Node diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Node.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Node.cxx index c694685c7f..95da790229 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Node.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Node.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_Node, IGESData_IGESEntity) -IGESAppli_Node::IGESAppli_Node() {} +IGESAppli_Node::IGESAppli_Node() = default; void IGESAppli_Node::Init(const gp_XYZ& aCoord, const occ::handle& aCoordSystem) diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBArtworkStackup.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBArtworkStackup.cxx index 68d7e13bfe..71120f6583 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBArtworkStackup.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBArtworkStackup.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_PWBArtworkStackup, IGESData_IGESEntity) -IGESAppli_PWBArtworkStackup::IGESAppli_PWBArtworkStackup() {} +IGESAppli_PWBArtworkStackup::IGESAppli_PWBArtworkStackup() = default; void IGESAppli_PWBArtworkStackup::Init(const int nbPropVal, const occ::handle& anArtIdent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBDrilledHole.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBDrilledHole.cxx index de43fa8f50..ce2992aad3 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBDrilledHole.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PWBDrilledHole.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_PWBDrilledHole, IGESData_IGESEntity) -IGESAppli_PWBDrilledHole::IGESAppli_PWBDrilledHole() {} +IGESAppli_PWBDrilledHole::IGESAppli_PWBDrilledHole() = default; void IGESAppli_PWBDrilledHole::Init(const int nbPropVal, const double aDrillDia, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PartNumber.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PartNumber.cxx index a3e9d2f6d9..4986edde45 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PartNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PartNumber.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_PartNumber, IGESData_IGESEntity) -IGESAppli_PartNumber::IGESAppli_PartNumber() {} +IGESAppli_PartNumber::IGESAppli_PartNumber() = default; void IGESAppli_PartNumber::Init(const int nbPropVal, const occ::handle& aGenName, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PinNumber.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PinNumber.cxx index 5410c727a0..eab7fe8f1c 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PinNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PinNumber.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_PinNumber, IGESData_IGESEntity) -IGESAppli_PinNumber::IGESAppli_PinNumber() {} +IGESAppli_PinNumber::IGESAppli_PinNumber() = default; void IGESAppli_PinNumber::Init(const int nbPropVal, const occ::handle& aValue) diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PipingFlow.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PipingFlow.cxx index 6dc22f1c27..57b40cd07c 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PipingFlow.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_PipingFlow.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_PipingFlow, IGESData_IGESEntity) -IGESAppli_PipingFlow::IGESAppli_PipingFlow() {} +IGESAppli_PipingFlow::IGESAppli_PipingFlow() = default; void IGESAppli_PipingFlow::Init( const int nbContextFlags, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.cxx index d085e913ff..9973ae0081 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.cxx @@ -41,7 +41,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_Protocol, IGESData_Protocol) -IGESAppli_Protocol::IGESAppli_Protocol() {} +IGESAppli_Protocol::IGESAppli_Protocol() = default; int IGESAppli_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.hxx index 786afe3583..b3e7627674 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of direct Resource Protocol. Here, two //! (Protocols from IGESDefs and IGESDraw) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESAppli_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReadWriteModule.cxx index 2b3ea7603a..575606ee38 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReadWriteModule.cxx @@ -62,7 +62,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESAppli_ReadWriteModule::IGESAppli_ReadWriteModule() {} +IGESAppli_ReadWriteModule::IGESAppli_ReadWriteModule() = default; int IGESAppli_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReferenceDesignator.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReferenceDesignator.cxx index 8e95b3407e..5215fc6f6c 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReferenceDesignator.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ReferenceDesignator.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_ReferenceDesignator, IGESData_IGESEntity) -IGESAppli_ReferenceDesignator::IGESAppli_ReferenceDesignator() {} +IGESAppli_ReferenceDesignator::IGESAppli_ReferenceDesignator() = default; void IGESAppli_ReferenceDesignator::Init(const int nbPropVal, const occ::handle& aText) diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_RegionRestriction.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_RegionRestriction.cxx index 3e655d3942..6cef1c54f4 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_RegionRestriction.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_RegionRestriction.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_RegionRestriction, IGESData_IGESEntity) -IGESAppli_RegionRestriction::IGESAppli_RegionRestriction() {} +IGESAppli_RegionRestriction::IGESAppli_RegionRestriction() = default; void IGESAppli_RegionRestriction::Init(const int nbPropVal, const int aViasRest, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.cxx index 68bc531796..ec2fb89370 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.cxx @@ -61,7 +61,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESAppli_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESAppli_SpecificModule::IGESAppli_SpecificModule() {} +IGESAppli_SpecificModule::IGESAppli_SpecificModule() = default; void IGESAppli_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.hxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.hxx index 78fdd4aa66..f53cbae13a 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_SpecificModule.hxx @@ -42,8 +42,8 @@ public: const int own) const override; //! ---Purpose - Standard_EXPORT virtual bool OwnCorrect(const int CN, const occ::handle& ent) - const override; + Standard_EXPORT bool OwnCorrect(const int CN, + const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESAppli_SpecificModule, IGESData_SpecificModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolDrilledHole.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolDrilledHole.cxx index 5d7f6dee5c..8e43522dee 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolDrilledHole.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolDrilledHole.cxx @@ -29,7 +29,7 @@ #include #include -IGESAppli_ToolDrilledHole::IGESAppli_ToolDrilledHole() {} +IGESAppli_ToolDrilledHole::IGESAppli_ToolDrilledHole() = default; void IGESAppli_ToolDrilledHole::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolElementResults.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolElementResults.cxx index 964bd594da..c0fc39d317 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolElementResults.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolElementResults.cxx @@ -38,9 +38,9 @@ #include #include -#include +#include -IGESAppli_ToolElementResults::IGESAppli_ToolElementResults() {} +IGESAppli_ToolElementResults::IGESAppli_ToolElementResults() = default; void IGESAppli_ToolElementResults::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFiniteElement.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFiniteElement.cxx index 4043e39725..15878c594c 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFiniteElement.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFiniteElement.cxx @@ -35,7 +35,7 @@ #include #include -IGESAppli_ToolFiniteElement::IGESAppli_ToolFiniteElement() {} +IGESAppli_ToolFiniteElement::IGESAppli_ToolFiniteElement() = default; void IGESAppli_ToolFiniteElement::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlow.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlow.cxx index 7bc6251c8b..9d35990692 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlow.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlow.cxx @@ -36,7 +36,7 @@ #include #include -IGESAppli_ToolFlow::IGESAppli_ToolFlow() {} +IGESAppli_ToolFlow::IGESAppli_ToolFlow() = default; void IGESAppli_ToolFlow::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlowLineSpec.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlowLineSpec.cxx index 81ce7324a5..0fcf6629ab 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlowLineSpec.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolFlowLineSpec.cxx @@ -32,7 +32,7 @@ #include #include -IGESAppli_ToolFlowLineSpec::IGESAppli_ToolFlowLineSpec() {} +IGESAppli_ToolFlowLineSpec::IGESAppli_ToolFlowLineSpec() = default; void IGESAppli_ToolFlowLineSpec::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelFunction.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelFunction.cxx index f215b42ea7..c69ee707ef 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelFunction.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelFunction.cxx @@ -30,7 +30,7 @@ #include #include -IGESAppli_ToolLevelFunction::IGESAppli_ToolLevelFunction() {} +IGESAppli_ToolLevelFunction::IGESAppli_ToolLevelFunction() = default; void IGESAppli_ToolLevelFunction::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelToPWBLayerMap.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelToPWBLayerMap.cxx index 994ff5302f..c3104607c1 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelToPWBLayerMap.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLevelToPWBLayerMap.cxx @@ -35,7 +35,7 @@ #include #include -IGESAppli_ToolLevelToPWBLayerMap::IGESAppli_ToolLevelToPWBLayerMap() {} +IGESAppli_ToolLevelToPWBLayerMap::IGESAppli_ToolLevelToPWBLayerMap() = default; void IGESAppli_ToolLevelToPWBLayerMap::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLineWidening.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLineWidening.cxx index d2c99c2861..f5834b1181 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLineWidening.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolLineWidening.cxx @@ -29,7 +29,7 @@ #include #include -IGESAppli_ToolLineWidening::IGESAppli_ToolLineWidening() {} +IGESAppli_ToolLineWidening::IGESAppli_ToolLineWidening() = default; void IGESAppli_ToolLineWidening::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalConstraint.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalConstraint.cxx index 99b3f2c6af..1394a992fe 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalConstraint.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalConstraint.cxx @@ -35,7 +35,7 @@ #include #include -IGESAppli_ToolNodalConstraint::IGESAppli_ToolNodalConstraint() {} +IGESAppli_ToolNodalConstraint::IGESAppli_ToolNodalConstraint() = default; void IGESAppli_ToolNodalConstraint::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalDisplAndRot.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalDisplAndRot.cxx index fc8b09f069..bdb2f40f4b 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalDisplAndRot.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalDisplAndRot.cxx @@ -39,7 +39,7 @@ #include #include -IGESAppli_ToolNodalDisplAndRot::IGESAppli_ToolNodalDisplAndRot() {} +IGESAppli_ToolNodalDisplAndRot::IGESAppli_ToolNodalDisplAndRot() = default; void IGESAppli_ToolNodalDisplAndRot::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalResults.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalResults.cxx index 48965e0602..c5830a7ae1 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalResults.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNodalResults.cxx @@ -36,7 +36,7 @@ #include #include -IGESAppli_ToolNodalResults::IGESAppli_ToolNodalResults() {} +IGESAppli_ToolNodalResults::IGESAppli_ToolNodalResults() = default; void IGESAppli_ToolNodalResults::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNode.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNode.cxx index 4a06aace5d..fac89f9c23 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNode.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolNode.cxx @@ -33,7 +33,7 @@ #include #include -IGESAppli_ToolNode::IGESAppli_ToolNode() {} +IGESAppli_ToolNode::IGESAppli_ToolNode() = default; void IGESAppli_ToolNode::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBArtworkStackup.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBArtworkStackup.cxx index f43e0b3152..58d46dff24 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBArtworkStackup.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBArtworkStackup.cxx @@ -33,7 +33,7 @@ #include #include -IGESAppli_ToolPWBArtworkStackup::IGESAppli_ToolPWBArtworkStackup() {} +IGESAppli_ToolPWBArtworkStackup::IGESAppli_ToolPWBArtworkStackup() = default; void IGESAppli_ToolPWBArtworkStackup::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBDrilledHole.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBDrilledHole.cxx index bc2be3f50d..52c044d0be 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBDrilledHole.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPWBDrilledHole.cxx @@ -28,7 +28,7 @@ #include #include -IGESAppli_ToolPWBDrilledHole::IGESAppli_ToolPWBDrilledHole() {} +IGESAppli_ToolPWBDrilledHole::IGESAppli_ToolPWBDrilledHole() = default; void IGESAppli_ToolPWBDrilledHole::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPartNumber.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPartNumber.cxx index 9431899958..0a80dc910a 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPartNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPartNumber.cxx @@ -30,7 +30,7 @@ #include #include -IGESAppli_ToolPartNumber::IGESAppli_ToolPartNumber() {} +IGESAppli_ToolPartNumber::IGESAppli_ToolPartNumber() = default; void IGESAppli_ToolPartNumber::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPinNumber.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPinNumber.cxx index f2524f411a..22f7500239 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPinNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPinNumber.cxx @@ -31,7 +31,7 @@ #include #include -IGESAppli_ToolPinNumber::IGESAppli_ToolPinNumber() {} +IGESAppli_ToolPinNumber::IGESAppli_ToolPinNumber() = default; void IGESAppli_ToolPinNumber::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPipingFlow.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPipingFlow.cxx index 8a5df9b27f..d3c18935d9 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPipingFlow.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolPipingFlow.cxx @@ -38,7 +38,7 @@ #include #include -IGESAppli_ToolPipingFlow::IGESAppli_ToolPipingFlow() {} +IGESAppli_ToolPipingFlow::IGESAppli_ToolPipingFlow() = default; void IGESAppli_ToolPipingFlow::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolReferenceDesignator.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolReferenceDesignator.cxx index 6fc0109b92..83050a9f15 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolReferenceDesignator.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolReferenceDesignator.cxx @@ -31,7 +31,7 @@ #include #include -IGESAppli_ToolReferenceDesignator::IGESAppli_ToolReferenceDesignator() {} +IGESAppli_ToolReferenceDesignator::IGESAppli_ToolReferenceDesignator() = default; void IGESAppli_ToolReferenceDesignator::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolRegionRestriction.cxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolRegionRestriction.cxx index cafd5e53c0..f1232b507a 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolRegionRestriction.cxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_ToolRegionRestriction.cxx @@ -29,7 +29,7 @@ #include #include -IGESAppli_ToolRegionRestriction::IGESAppli_ToolRegionRestriction() {} +IGESAppli_ToolRegionRestriction::IGESAppli_ToolRegionRestriction() = default; void IGESAppli_ToolRegionRestriction::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_AssocGroupType.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_AssocGroupType.cxx index bb15b99d97..0d54274426 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_AssocGroupType.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_AssocGroupType.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_AssocGroupType, IGESData_IGESEntity) -IGESBasic_AssocGroupType::IGESBasic_AssocGroupType() {} +IGESBasic_AssocGroupType::IGESBasic_AssocGroupType() = default; void IGESBasic_AssocGroupType::Init(const int nbDataFields, const int aType, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFile.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFile.cxx index 9006f1e6ac..7e3f030958 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFile.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFile.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ExternalRefFile, IGESData_IGESEntity) -IGESBasic_ExternalRefFile::IGESBasic_ExternalRefFile() {} +IGESBasic_ExternalRefFile::IGESBasic_ExternalRefFile() = default; void IGESBasic_ExternalRefFile::Init(const occ::handle& aFileIdent) { diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileIndex.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileIndex.cxx index a51564db1f..12c5b761e5 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileIndex.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileIndex.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ExternalRefFileIndex, IGESData_IGESEntity) -IGESBasic_ExternalRefFileIndex::IGESBasic_ExternalRefFileIndex() {} +IGESBasic_ExternalRefFileIndex::IGESBasic_ExternalRefFileIndex() = default; void IGESBasic_ExternalRefFileIndex::Init( const occ::handle>>& aNameArray, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileName.cxx index 10662f5d71..5e58db2e91 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefFileName.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ExternalRefFileName, IGESData_IGESEntity) -IGESBasic_ExternalRefFileName::IGESBasic_ExternalRefFileName() {} +IGESBasic_ExternalRefFileName::IGESBasic_ExternalRefFileName() = default; void IGESBasic_ExternalRefFileName::Init(const occ::handle& aFileIdent, const occ::handle& anExtName) diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefLibName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefLibName.cxx index 2a4e4592ef..8cd872dc50 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefLibName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefLibName.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ExternalRefLibName, IGESData_IGESEntity) -IGESBasic_ExternalRefLibName::IGESBasic_ExternalRefLibName() {} +IGESBasic_ExternalRefLibName::IGESBasic_ExternalRefLibName() = default; void IGESBasic_ExternalRefLibName::Init(const occ::handle& aLibName, const occ::handle& anExtName) diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefName.cxx index cd80517147..9209ff8e70 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalRefName.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ExternalRefName, IGESData_IGESEntity) -IGESBasic_ExternalRefName::IGESBasic_ExternalRefName() {} +IGESBasic_ExternalRefName::IGESBasic_ExternalRefName() = default; void IGESBasic_ExternalRefName::Init(const occ::handle& anExtName) { diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalReferenceFile.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalReferenceFile.cxx index ffd2ea26b4..380ac17331 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalReferenceFile.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ExternalReferenceFile.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ExternalReferenceFile, IGESData_IGESEntity) -IGESBasic_ExternalReferenceFile::IGESBasic_ExternalReferenceFile() {} +IGESBasic_ExternalReferenceFile::IGESBasic_ExternalReferenceFile() = default; void IGESBasic_ExternalReferenceFile::Init( const occ::handle>>& aNameArray) diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.cxx index 1fc07dfa20..942cb323a5 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.cxx @@ -59,7 +59,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESBasic_GeneralModule::IGESBasic_GeneralModule() {} +IGESBasic_GeneralModule::IGESBasic_GeneralModule() = default; void IGESBasic_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.hxx index 90209ad3af..9e8d8df739 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_GeneralModule.hxx @@ -70,9 +70,9 @@ public: //! Structure for Groups, Figures & Co //! Description for External Refs //! Auxiliary for other - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESBasic_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Hierarchy.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Hierarchy.cxx index 5b11d6d808..53fed80a48 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Hierarchy.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Hierarchy.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_Hierarchy, IGESData_IGESEntity) -IGESBasic_Hierarchy::IGESBasic_Hierarchy() {} +IGESBasic_Hierarchy::IGESBasic_Hierarchy() = default; void IGESBasic_Hierarchy::Init(const int nbPropVal, const int aLineFont, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Name.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Name.cxx index c38f078e90..f95fe24a47 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Name.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Name.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_Name, IGESData_NameEntity) -IGESBasic_Name::IGESBasic_Name() {} +IGESBasic_Name::IGESBasic_Name() = default; void IGESBasic_Name::Init(const int nbPropVal, const occ::handle& aName) { diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.cxx index 8db4b67e81..41690dc1ff 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.cxx @@ -34,7 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_Protocol, IGESData_Protocol) -IGESBasic_Protocol::IGESBasic_Protocol() {} +IGESBasic_Protocol::IGESBasic_Protocol() = default; int IGESBasic_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.hxx index 7bebbfdd6f..99c35d0140 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, one //! (Protocol from IGESData) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESBasic_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ReadWriteModule.cxx index 7878f6c699..da048f5c29 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ReadWriteModule.cxx @@ -55,7 +55,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESBasic_ReadWriteModule::IGESBasic_ReadWriteModule() {} +IGESBasic_ReadWriteModule::IGESBasic_ReadWriteModule() = default; int IGESBasic_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingleParent.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingleParent.cxx index 7b3278cf81..8408b327ab 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingleParent.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingleParent.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_SingleParent, IGESData_SingleParentEntity) -IGESBasic_SingleParent::IGESBasic_SingleParent() {} +IGESBasic_SingleParent::IGESBasic_SingleParent() = default; void IGESBasic_SingleParent::Init( const int nbParentEntities, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingularSubfigure.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingularSubfigure.cxx index 0e27524ccd..34e4a8eb7d 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingularSubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SingularSubfigure.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_SingularSubfigure, IGESData_IGESEntity) -IGESBasic_SingularSubfigure::IGESBasic_SingularSubfigure() {} +IGESBasic_SingularSubfigure::IGESBasic_SingularSubfigure() = default; void IGESBasic_SingularSubfigure::Init(const occ::handle& aSubfigureDef, const gp_XYZ& aTranslation, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.cxx index 51fe5139b2..a0647e5002 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.cxx @@ -54,7 +54,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESBasic_SpecificModule::IGESBasic_SpecificModule() {} +IGESBasic_SpecificModule::IGESBasic_SpecificModule() = default; void IGESBasic_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.hxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.hxx index 05e9e54cdc..3e1a3a0ba5 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SpecificModule.hxx @@ -43,8 +43,8 @@ public: //! Performs non-ambiguous Corrections on Entities which support //! them (AssocGroupType,Hierarchy,Name,SingleParent) - Standard_EXPORT virtual bool OwnCorrect(const int CN, const occ::handle& ent) - const override; + Standard_EXPORT bool OwnCorrect(const int CN, + const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESBasic_SpecificModule, IGESData_SpecificModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SubfigureDef.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SubfigureDef.cxx index 61f422c9c9..29a1efb200 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SubfigureDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_SubfigureDef.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESBasic_SubfigureDef, IGESData_IGESEntity) -IGESBasic_SubfigureDef::IGESBasic_SubfigureDef() {} +IGESBasic_SubfigureDef::IGESBasic_SubfigureDef() = default; void IGESBasic_SubfigureDef::Init( const int aDepth, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolAssocGroupType.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolAssocGroupType.cxx index 3e04e01527..bf640ed880 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolAssocGroupType.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolAssocGroupType.cxx @@ -30,7 +30,7 @@ #include #include -IGESBasic_ToolAssocGroupType::IGESBasic_ToolAssocGroupType() {} +IGESBasic_ToolAssocGroupType::IGESBasic_ToolAssocGroupType() = default; void IGESBasic_ToolAssocGroupType::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFile.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFile.cxx index 26a63cfbbc..866ee31609 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFile.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFile.cxx @@ -30,7 +30,7 @@ #include #include -IGESBasic_ToolExternalRefFile::IGESBasic_ToolExternalRefFile() {} +IGESBasic_ToolExternalRefFile::IGESBasic_ToolExternalRefFile() = default; void IGESBasic_ToolExternalRefFile::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileIndex.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileIndex.cxx index 521a2cb0d7..809601800d 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileIndex.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileIndex.cxx @@ -36,7 +36,7 @@ #include #include -IGESBasic_ToolExternalRefFileIndex::IGESBasic_ToolExternalRefFileIndex() {} +IGESBasic_ToolExternalRefFileIndex::IGESBasic_ToolExternalRefFileIndex() = default; void IGESBasic_ToolExternalRefFileIndex::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileName.cxx index 98ec29a415..ce40d15f3e 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefFileName.cxx @@ -30,7 +30,7 @@ #include #include -IGESBasic_ToolExternalRefFileName::IGESBasic_ToolExternalRefFileName() {} +IGESBasic_ToolExternalRefFileName::IGESBasic_ToolExternalRefFileName() = default; void IGESBasic_ToolExternalRefFileName::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefLibName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefLibName.cxx index dfb4295431..74283453b9 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefLibName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefLibName.cxx @@ -30,7 +30,7 @@ #include #include -IGESBasic_ToolExternalRefLibName::IGESBasic_ToolExternalRefLibName() {} +IGESBasic_ToolExternalRefLibName::IGESBasic_ToolExternalRefLibName() = default; void IGESBasic_ToolExternalRefLibName::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefName.cxx index d537058984..6fdb7c162a 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalRefName.cxx @@ -30,7 +30,7 @@ #include #include -IGESBasic_ToolExternalRefName::IGESBasic_ToolExternalRefName() {} +IGESBasic_ToolExternalRefName::IGESBasic_ToolExternalRefName() = default; void IGESBasic_ToolExternalRefName::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalReferenceFile.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalReferenceFile.cxx index de0b4085b3..fe0688a389 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalReferenceFile.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolExternalReferenceFile.cxx @@ -34,7 +34,7 @@ #include #include -IGESBasic_ToolExternalReferenceFile::IGESBasic_ToolExternalReferenceFile() {} +IGESBasic_ToolExternalReferenceFile::IGESBasic_ToolExternalReferenceFile() = default; void IGESBasic_ToolExternalReferenceFile::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroup.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroup.cxx index dcb2b29811..11f0feb7f6 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroup.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroup.cxx @@ -36,7 +36,7 @@ #include // MGE 03/08/98 -IGESBasic_ToolGroup::IGESBasic_ToolGroup() {} +IGESBasic_ToolGroup::IGESBasic_ToolGroup() = default; void IGESBasic_ToolGroup::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroupWithoutBackP.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroupWithoutBackP.cxx index 461ed6a87d..bd487d2b51 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroupWithoutBackP.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolGroupWithoutBackP.cxx @@ -37,7 +37,7 @@ #include // MGE 03/08/98 -IGESBasic_ToolGroupWithoutBackP::IGESBasic_ToolGroupWithoutBackP() {} +IGESBasic_ToolGroupWithoutBackP::IGESBasic_ToolGroupWithoutBackP() = default; void IGESBasic_ToolGroupWithoutBackP::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolHierarchy.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolHierarchy.cxx index 19583cfd18..557221e0bd 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolHierarchy.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolHierarchy.cxx @@ -28,7 +28,7 @@ #include #include -IGESBasic_ToolHierarchy::IGESBasic_ToolHierarchy() {} +IGESBasic_ToolHierarchy::IGESBasic_ToolHierarchy() = default; void IGESBasic_ToolHierarchy::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolName.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolName.cxx index c16990d7c0..ea51f1f1e1 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolName.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolName.cxx @@ -30,7 +30,7 @@ #include #include -IGESBasic_ToolName::IGESBasic_ToolName() {} +IGESBasic_ToolName::IGESBasic_ToolName() = default; void IGESBasic_ToolName::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroup.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroup.cxx index ac63caf08b..15912e3b8b 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroup.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroup.cxx @@ -35,7 +35,7 @@ #include #include -IGESBasic_ToolOrderedGroup::IGESBasic_ToolOrderedGroup() {} +IGESBasic_ToolOrderedGroup::IGESBasic_ToolOrderedGroup() = default; void IGESBasic_ToolOrderedGroup::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroupWithoutBackP.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroupWithoutBackP.cxx index dc3ae2fcbb..a58b1ee744 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroupWithoutBackP.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolOrderedGroupWithoutBackP.cxx @@ -35,7 +35,7 @@ #include #include -IGESBasic_ToolOrderedGroupWithoutBackP::IGESBasic_ToolOrderedGroupWithoutBackP() {} +IGESBasic_ToolOrderedGroupWithoutBackP::IGESBasic_ToolOrderedGroupWithoutBackP() = default; void IGESBasic_ToolOrderedGroupWithoutBackP::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingleParent.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingleParent.cxx index b405416acb..5c3afcf7e4 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingleParent.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingleParent.cxx @@ -38,7 +38,7 @@ #include // MGE 03/08/98 -IGESBasic_ToolSingleParent::IGESBasic_ToolSingleParent() {} +IGESBasic_ToolSingleParent::IGESBasic_ToolSingleParent() = default; void IGESBasic_ToolSingleParent::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingularSubfigure.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingularSubfigure.cxx index eb13ea250e..f8a92b33d3 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingularSubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSingularSubfigure.cxx @@ -35,7 +35,7 @@ #include // MGE 03/08/98 -IGESBasic_ToolSingularSubfigure::IGESBasic_ToolSingularSubfigure() {} +IGESBasic_ToolSingularSubfigure::IGESBasic_ToolSingularSubfigure() = default; void IGESBasic_ToolSingularSubfigure::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSubfigureDef.cxx b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSubfigureDef.cxx index 3de9a99f34..99a00743e5 100644 --- a/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSubfigureDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESBasic/IGESBasic_ToolSubfigureDef.cxx @@ -37,7 +37,7 @@ #include // MGE 03/08/98 -IGESBasic_ToolSubfigureDef::IGESBasic_ToolSubfigureDef() {} +IGESBasic_ToolSubfigureDef::IGESBasic_ToolSubfigureDef() = default; void IGESBasic_ToolSubfigureDef::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESCAFControl/IGESCAFControl_Writer.cxx b/src/DataExchange/TKDEIGES/IGESCAFControl/IGESCAFControl_Writer.cxx index 61b44f03f5..1c7d416b56 100644 --- a/src/DataExchange/TKDEIGES/IGESCAFControl/IGESCAFControl_Writer.cxx +++ b/src/DataExchange/TKDEIGES/IGESCAFControl/IGESCAFControl_Writer.cxx @@ -444,7 +444,7 @@ static void AttachLayer(const occ::handle& FP, occ::handle mapper = TransferBRep::ShapeMapper(FP, localShape); if (FP->FindTypedTransient(mapper, STANDARD_TYPE(IGESData_IGESEntity), Igesent)) { - Igesent->InitLevel(0, localIntName); + Igesent->InitLevel(nullptr, localIntName); } #ifdef OCCT_DEBUG else diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ActorWrite.hxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ActorWrite.hxx index 67bef6e832..be59d66d65 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ActorWrite.hxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ActorWrite.hxx @@ -33,13 +33,13 @@ public: Standard_EXPORT IGESControl_ActorWrite(); //! Recognizes a ShapeMapper - Standard_EXPORT virtual bool Recognize(const occ::handle& start) override; + Standard_EXPORT bool Recognize(const occ::handle& start) override; //! Transfers Shape to IGES Entities //! //! ModeTrans may be : 0 -> groups of Faces //! or 1 -> BRep - Standard_EXPORT virtual occ::handle Transfer( + Standard_EXPORT occ::handle Transfer( const occ::handle& start, const occ::handle& FP, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_AlgoContainer.cxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_AlgoContainer.cxx index a98eac3cd8..c41e137864 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_AlgoContainer.cxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_AlgoContainer.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESControl_AlgoContainer, IGESToBRep_AlgoContainer) //================================================================================================= IGESControl_AlgoContainer::IGESControl_AlgoContainer() - : IGESToBRep_AlgoContainer() + { SetToolContainer(new IGESControl_ToolContainer); } diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Controller.hxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Controller.hxx index 5931eaab58..579baba446 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Controller.hxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Controller.hxx @@ -56,7 +56,7 @@ public: //! -2 bad model (requires an IGESModel) //! modeshape : 0 group of face (version < 5.1) //! 1 BREP-version 5.1 of IGES - Standard_EXPORT virtual IFSelect_ReturnStatus TransferWriteShape( + Standard_EXPORT IFSelect_ReturnStatus TransferWriteShape( const TopoDS_Shape& shape, const occ::handle& FP, const occ::handle& model, @@ -69,7 +69,7 @@ public: //! Also, it creates and records an Adaptor for FNES Standard_EXPORT static bool Init(); - Standard_EXPORT virtual void Customise(occ::handle& WS) override; + Standard_EXPORT void Customise(occ::handle& WS) override; DEFINE_STANDARD_RTTIEXT(IGESControl_Controller, XSControl_Controller) diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.cxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.cxx index 3ffa65d1dd..6e188fad5c 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.cxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.cxx @@ -45,9 +45,8 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESControl_IGESBoundary, IGESToBRep_IGESBoundary) //================================================================================================= IGESControl_IGESBoundary::IGESControl_IGESBoundary() - : IGESToBRep_IGESBoundary() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.hxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.hxx index bd764c6c8f..9706041d10 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.hxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_IGESBoundary.hxx @@ -49,15 +49,15 @@ public: //! Checks the closure of resulting wire and if it is not closed, //! checks 2D and 3D representation and updates the resulting //! wire to contain only closed representation. - Standard_EXPORT virtual void Check(const bool result, - const bool checkclosure, - const bool okCurve3d, - const bool okCurve2d) override; + Standard_EXPORT void Check(const bool result, + const bool checkclosure, + const bool okCurve3d, + const bool okCurve2d) override; DEFINE_STANDARD_RTTIEXT(IGESControl_IGESBoundary, IGESToBRep_IGESBoundary) protected: - Standard_EXPORT virtual bool Transfer( + Standard_EXPORT bool Transfer( bool& okCurve, bool& okCurve3d, bool& okCurve2d, diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.cxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.cxx index b1d86f18d3..a3f087c9db 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.cxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.cxx @@ -42,7 +42,7 @@ #include #include -#include +#include // S3767 dce 18/01/1999 // Transfer_Iterator.hxx> diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.hxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.hxx index af8796ada1..bd200503de 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.hxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.hxx @@ -87,7 +87,7 @@ public: //! Determines the list of root entities from Model which are candidate for //! a transfer to a Shape (type of entities is PRODUCT) //! is taken into account to define roots - Standard_EXPORT virtual int NbRootsForTransfer() override; + Standard_EXPORT int NbRootsForTransfer() override; //! Prints Statistics and check list for Transfer Standard_EXPORT void PrintTransferInfo(const IFSelect_PrintFail failwarn, @@ -96,12 +96,11 @@ public: protected: //! Returns default parameters for shape fixing. //! @return default parameters for shape fixing. - Standard_EXPORT virtual DE_ShapeFixParameters GetDefaultShapeFixParameters() const override; + Standard_EXPORT DE_ShapeFixParameters GetDefaultShapeFixParameters() const override; //! Returns default flags for shape processing. //! @return Default flags for shape processing. - Standard_EXPORT virtual ShapeProcess::OperationsFlags GetDefaultShapeProcessFlags() - const override; + Standard_EXPORT ShapeProcess::OperationsFlags GetDefaultShapeProcessFlags() const override; private: bool theReadOnlyVisible; diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.cxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.cxx index d55e45c0f3..7d70a1f349 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.cxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.cxx @@ -23,9 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESControl_ToolContainer, IGESToBRep_ToolContainer) //================================================================================================= IGESControl_ToolContainer::IGESControl_ToolContainer() - : IGESToBRep_ToolContainer() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.hxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.hxx index d643ea42bd..7a2fe8af42 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.hxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_ToolContainer.hxx @@ -30,7 +30,7 @@ public: Standard_EXPORT IGESControl_ToolContainer(); //! Returns IGESControl_IGESBoundary - Standard_EXPORT virtual occ::handle IGESBoundary() const override; + Standard_EXPORT occ::handle IGESBoundary() const override; DEFINE_STANDARD_RTTIEXT(IGESControl_ToolContainer, IGESToBRep_ToolContainer) }; diff --git a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Writer.cxx b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Writer.cxx index f34aa08050..fb73b5e156 100644 --- a/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Writer.cxx +++ b/src/DataExchange/TKDEIGES/IGESControl/IGESControl_Writer.cxx @@ -47,7 +47,7 @@ #include #include -#include +#include //============================================================================= @@ -101,7 +101,7 @@ bool IGESControl_Writer::AddShape(const TopoDS_Shape& theShape, InitializeMissingParameters(); - Message_ProgressScope aPS(theProgress, NULL, 2); + Message_ProgressScope aPS(theProgress, nullptr, 2); XSAlgo_ShapeProcessor aShapeProcessor(myShapeProcParams); TopoDS_Shape Shape = aShapeProcessor.ProcessShape(theShape, myShapeProcFlags.first, aPS.Next()); @@ -271,7 +271,7 @@ bool IGESControl_Writer::Write(const char* file, const bool fnes) const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aStream = aFileSystem->OpenOStream(file, std::ios::out | std::ios::binary); - if (aStream.get() == NULL) + if (aStream.get() == nullptr) { return false; } diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData.cxx index 1d048eed64..6a65bee48d 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData.cxx @@ -25,7 +25,7 @@ #include #include -#include +#include static occ::handle proto; static occ::handle stmod; diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_BasicEditor.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_BasicEditor.cxx index 61745e3887..07008489ce 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_BasicEditor.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_BasicEditor.cxx @@ -44,7 +44,7 @@ IGESData_BasicEditor::IGESData_BasicEditor(const occ::handle Init(model, protocol); } -IGESData_BasicEditor::IGESData_BasicEditor() {} +IGESData_BasicEditor::IGESData_BasicEditor() = default; void IGESData_BasicEditor::Init(const occ::handle& protocol) { diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_DirChecker.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_DirChecker.cxx index 31f179b241..e3a6ce1717 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_DirChecker.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_DirChecker.cxx @@ -21,7 +21,7 @@ #include #include -#include +#include // For Correct : // MGE 23/07/98 diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_DirPart.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_DirPart.cxx index 50d180e7b2..635a54e52f 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_DirPart.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_DirPart.cxx @@ -15,7 +15,7 @@ #include #include -IGESData_DirPart::IGESData_DirPart() {} +IGESData_DirPart::IGESData_DirPart() = default; void IGESData_DirPart::Init(const int i1, const int i2, diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.cxx index 0350e5ba7c..05f5007d1a 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESData_FileProtocol, IGESData_Protocol) -IGESData_FileProtocol::IGESData_FileProtocol() {} +IGESData_FileProtocol::IGESData_FileProtocol() = default; void IGESData_FileProtocol::Add(const occ::handle& protocol) { diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.hxx index 63ffa1e455..b34975a6dd 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_FileProtocol.hxx @@ -39,10 +39,10 @@ public: Standard_EXPORT void Add(const occ::handle& protocol); //! Gives the count of Resources : the count of Added Protocols - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank (rank of call to Add) - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; DEFINE_STANDARD_RTTIEXT(IGESData_FileProtocol, IGESData_Protocol) diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.cxx index 2c541d8b76..ba02148882 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESData_FreeFormatEntity, IGESData_UndefinedEntity) // Provides simple access to the constitution of an UndefinedEntity : // Methods of UndefinedContent, + Type & Form, + AddEntities (little gadget) -IGESData_FreeFormatEntity::IGESData_FreeFormatEntity() {} +IGESData_FreeFormatEntity::IGESData_FreeFormatEntity() = default; void IGESData_FreeFormatEntity::SetTypeNumber(const int typenum) { diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.hxx index 575e1b5b33..072d041e38 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_FreeFormatEntity.hxx @@ -129,7 +129,7 @@ public: //! WriteOwnParams is redefined for FreeFormatEntity to take //! into account the supplementary information "Negative Pointer" - Standard_EXPORT virtual void WriteOwnParams(IGESData_IGESWriter& IW) const override; + Standard_EXPORT void WriteOwnParams(IGESData_IGESWriter& IW) const override; DEFINE_STANDARD_RTTIEXT(IGESData_FreeFormatEntity, IGESData_UndefinedEntity) diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_GeneralModule.hxx index 690f477f42..5d62f900df 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_GeneralModule.hxx @@ -56,9 +56,9 @@ public: //! Lists the Implied References of . Here, these are the //! Associativities, plus the Entities defined by OwnSharedCase - Standard_EXPORT virtual void ListImpliedCase(const int CN, - const occ::handle& ent, - Interface_EntityIterator& iter) const override; + Standard_EXPORT void ListImpliedCase(const int CN, + const occ::handle& ent, + Interface_EntityIterator& iter) const override; //! Specific list of Entities implied by a given IGESEntity //! (in addition to Associativities). By default, there are none, @@ -90,12 +90,12 @@ public: //! Specific answer to the question "is Copy properly implemented" //! For IGES, answer is always True - Standard_EXPORT virtual bool CanCopy(const int CN, - const occ::handle& ent) const override; + Standard_EXPORT bool CanCopy(const int CN, + const occ::handle& ent) const override; //! Specific creation of a new void entity - Standard_EXPORT virtual bool NewVoid(const int CN, - occ::handle& entto) const override = 0; + Standard_EXPORT bool NewVoid(const int CN, + occ::handle& entto) const override = 0; //! Copy ("Deep") from to (same type) //! by using a CopyTool which provides its working Map. @@ -115,10 +115,10 @@ public: //! Renewing of Implied References. //! For IGESEntities, Copies general data(List of Associativities) //! and calls OwnRenewCase - Standard_EXPORT virtual void RenewImpliedCase(const int CN, - const occ::handle& entfrom, - const occ::handle& entto, - const Interface_CopyTool& TC) const override; + Standard_EXPORT void RenewImpliedCase(const int CN, + const occ::handle& entfrom, + const occ::handle& entto, + const Interface_CopyTool& TC) const override; //! Renews parameters which are specific of each Type of Entity : //! the provided default does nothing, but this method may be @@ -132,9 +132,9 @@ public: //! then calls OwnDeleteCase //! While dispatch requires to copy the entities, is //! ignored, entities are cleared in any case - Standard_EXPORT virtual void WhenDeleteCase(const int CN, - const occ::handle& ent, - const bool dispatched) const override; + Standard_EXPORT void WhenDeleteCase(const int CN, + const occ::handle& ent, + const bool dispatched) const override; //! Specific preparation for delete, acts on own parameters //! Default does nothing, to be redefined as required @@ -143,7 +143,7 @@ public: //! Returns the name of an IGES Entity (its NameValue) //! Can be redefined for an even more specific case ... - Standard_EXPORT virtual occ::handle Name( + Standard_EXPORT occ::handle Name( const int CN, const occ::handle& ent, const Interface_ShareTool& shares) const override; diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfSpecificLib_0.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfSpecificLib_0.cxx index 478673b6d8..d989939e2e 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfSpecificLib_0.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfSpecificLib_0.cxx @@ -24,7 +24,7 @@ #include #include -IGESData_GlobalNodeOfSpecificLib::IGESData_GlobalNodeOfSpecificLib() {} +IGESData_GlobalNodeOfSpecificLib::IGESData_GlobalNodeOfSpecificLib() = default; void IGESData_GlobalNodeOfSpecificLib::Add(const occ::handle& amodule, const occ::handle& aprotocol) diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfWriterLib_0.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfWriterLib_0.cxx index faf8cdc24b..55b332356a 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfWriterLib_0.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalNodeOfWriterLib_0.cxx @@ -24,7 +24,7 @@ #include #include -IGESData_GlobalNodeOfWriterLib::IGESData_GlobalNodeOfWriterLib() {} +IGESData_GlobalNodeOfWriterLib::IGESData_GlobalNodeOfWriterLib() = default; void IGESData_GlobalNodeOfWriterLib::Add(const occ::handle& amodule, const occ::handle& aprotocol) diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalSection.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalSection.cxx index b5ebe4cec2..b99367b8a8 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalSection.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_GlobalSection.cxx @@ -28,7 +28,7 @@ #include #include -#include +#include // Local routines copying a string [the ideal would be : astr = astr->Copy()] // and transforming a CString (Hollerith or not) to non-Hollerith HAsciiString. @@ -99,7 +99,7 @@ occ::handle IGESData_GlobalSection::TranslatedFromHoll } if (n > 1 && n < astr->Length()) res = astr->SubString(n + 1, astr->Length()); - else if (astr->ToCString() == NULL) + else if (astr->ToCString() == nullptr) res = new TCollection_HAsciiString; else res = new TCollection_HAsciiString(astr->ToCString()); diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESEntity.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESEntity.cxx index afefa6185a..db22b7ba1f 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESEntity.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESEntity.cxx @@ -32,7 +32,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESData_IGESEntity, Standard_Transient) #define ThisEntity occ::down_cast(This()) diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.cxx index cde37bfde8..8ff886b85a 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.cxx @@ -27,7 +27,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESData_IGESModel, Interface_InterfaceModel) static const char* voidline = ""; diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.hxx index c1801459a7..ed68dfdc50 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESModel.hxx @@ -121,7 +121,7 @@ public: //! Checks that the IGES file Global //! section contains valid data that conforms to the IGES specifications. - Standard_EXPORT virtual void VerifyCheck(occ::handle& ach) const override; + Standard_EXPORT void VerifyCheck(occ::handle& ach) const override; //! Sets LineWeights of contained Entities according header data //! (MaxLineWeight and LineWeightGrad) or to a default value for @@ -139,8 +139,8 @@ public: //! Prints label specific to IGES norm for a given -- -- //! entity, i.e. its directory entry number (2*Number-1) //! in the log file format. - Standard_EXPORT virtual void PrintToLog(const occ::handle& ent, - Standard_OStream& S) const override; + Standard_EXPORT void PrintToLog(const occ::handle& ent, + Standard_OStream& S) const override; //! Prints label specific to IGES norm for a given entity, i.e. //! its directory entry number (2*Number-1) diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderData.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderData.hxx index 94b45d3dae..181eaf1c55 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderData.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderData.hxx @@ -124,7 +124,7 @@ public: Standard_EXPORT IGESData_IGESType DirType(const int num) const; //! Returns count of recorded Entities (i.e. size of Directory) - Standard_EXPORT virtual int NbEntities() const override; + Standard_EXPORT int NbEntities() const override; //! determines next suitable record from num; that is num+1 except //! for last one which gives 0 diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.cxx index 8852a46f86..5e598d8f79 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.cxx @@ -36,7 +36,7 @@ #include #include -#include +#include // MGE 17/06/98 // To use Msg class diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.hxx index 942468166f..0704594cc3 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESReaderTool.hxx @@ -74,8 +74,7 @@ public: occ::handle& acheck) override; //! after reading entities, true line weights can be computed - Standard_EXPORT virtual void EndRead( - const occ::handle& amodel) override; + Standard_EXPORT void EndRead(const occ::handle& amodel) override; //! Reads directory part components from file; DP is the literal //! directory part, IR detains entities referenced by DP diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.cxx index 9157314974..f209c06810 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.cxx @@ -34,7 +34,7 @@ #include #include -#include +#include #define MaxcarsG 72 #define MaxcarsP 64 diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.hxx index a0c2f1d4f9..3841447cde 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_IGESWriter.hxx @@ -150,7 +150,7 @@ public: void Send(const occ::handle& val, bool negative = false, typename opencascade::std::enable_if< - opencascade::std::is_base_of::value>::type* = 0) + opencascade::std::is_base_of::value>::type* = nullptr) { Send((const occ::handle&)val, negative); } diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfSpecificLib_0.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfSpecificLib_0.cxx index 9270ed3833..ae7a063747 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfSpecificLib_0.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfSpecificLib_0.cxx @@ -24,7 +24,7 @@ #include #include -IGESData_NodeOfSpecificLib::IGESData_NodeOfSpecificLib() {} +IGESData_NodeOfSpecificLib::IGESData_NodeOfSpecificLib() = default; void IGESData_NodeOfSpecificLib::AddNode(const occ::handle& anode) { diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfWriterLib_0.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfWriterLib_0.cxx index b295499fd5..56fbc0e8c4 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfWriterLib_0.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_NodeOfWriterLib_0.cxx @@ -24,7 +24,7 @@ #include #include -IGESData_NodeOfWriterLib::IGESData_NodeOfWriterLib() {} +IGESData_NodeOfWriterLib::IGESData_NodeOfWriterLib() = default; void IGESData_NodeOfWriterLib::AddNode(const occ::handle& anode) { diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_ParamReader.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_ParamReader.cxx index 270c516654..05e9e8190c 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_ParamReader.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_ParamReader.cxx @@ -29,7 +29,7 @@ #include #include -#include +#include // MGE 03/08/98 static int testconv = -1; // see session parameter diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_Protocol.cxx index e74b657f47..dceaedcee5 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_Protocol.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESData_Protocol, Interface_Protocol) -IGESData_Protocol::IGESData_Protocol() {} +IGESData_Protocol::IGESData_Protocol() = default; int IGESData_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESData/IGESData_UndefinedEntity.hxx b/src/DataExchange/TKDEIGES/IGESData/IGESData_UndefinedEntity.hxx index 0c7960f8c4..d0cea0d530 100644 --- a/src/DataExchange/TKDEIGES/IGESData/IGESData_UndefinedEntity.hxx +++ b/src/DataExchange/TKDEIGES/IGESData/IGESData_UndefinedEntity.hxx @@ -63,20 +63,20 @@ public: Standard_EXPORT void SetOKDirPart(); //! returns Error status if necessary, else calls original method - Standard_EXPORT virtual IGESData_DefType DefLineFont() const override; + Standard_EXPORT IGESData_DefType DefLineFont() const override; //! returns Error status if necessary, else calls original method - Standard_EXPORT virtual IGESData_DefList DefLevel() const override; + Standard_EXPORT IGESData_DefList DefLevel() const override; //! returns Error status if necessary, else calls original method - Standard_EXPORT virtual IGESData_DefList DefView() const override; + Standard_EXPORT IGESData_DefList DefView() const override; //! returns Error status if necessary, else calls original method - Standard_EXPORT virtual IGESData_DefType DefColor() const override; + Standard_EXPORT IGESData_DefType DefColor() const override; //! returns Error status if necessary, else calls original method //! (that is, if SubScript field is not blank or positive integer) - Standard_EXPORT virtual bool HasSubScriptNumber() const override; + Standard_EXPORT bool HasSubScriptNumber() const override; //! Computes the Directory Error Status, to be called before //! standard ReadDir from IGESReaderTool diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AssociativityDef.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AssociativityDef.cxx index 6701a97016..8ba95a5e8c 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AssociativityDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AssociativityDef.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_AssociativityDef, IGESData_IGESEntity) -IGESDefs_AssociativityDef::IGESDefs_AssociativityDef() {} +IGESDefs_AssociativityDef::IGESDefs_AssociativityDef() = default; void IGESDefs_AssociativityDef::Init(const occ::handle>& requirements, const occ::handle>& orders, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeDef.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeDef.cxx index 2cb7482a6c..d59465ecdb 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeDef.cxx @@ -33,7 +33,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_AttributeDef, IGESData_IGESEntity) // For each Attribute Value, according to Attribute Type : // 0 -> Void, 1 -> Integer, 2 -> Real, 3 -> String, 4 -> Entity 6 -> Logical -IGESDefs_AttributeDef::IGESDefs_AttributeDef() {} +IGESDefs_AttributeDef::IGESDefs_AttributeDef() = default; void IGESDefs_AttributeDef::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeTable.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeTable.cxx index 7900bd702f..c27a300cd8 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeTable.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_AttributeTable.cxx @@ -33,7 +33,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_AttributeTable, IGESData_IGESEntity) // WARNING WARNING : The "ROW" designation is not continued as is // The Attribute Number is given first (therefore, in column of HArray2 and not // in row), the Column number second (therefore, as a Row number) -IGESDefs_AttributeTable::IGESDefs_AttributeTable() {} +IGESDefs_AttributeTable::IGESDefs_AttributeTable() = default; void IGESDefs_AttributeTable::Init( const occ::handle>>& attributes) diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.cxx index 2a95544ca6..08c90861ed 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.cxx @@ -41,7 +41,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDefs_GeneralModule::IGESDefs_GeneralModule() {} +IGESDefs_GeneralModule::IGESDefs_GeneralModule() = default; void IGESDefs_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.hxx index 969692f3ce..cae69265cb 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GeneralModule.hxx @@ -68,9 +68,9 @@ public: //! Returns a category number which characterizes an entity //! Auxiliary for all - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESDefs_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GenericData.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GenericData.cxx index 4f08e38ed8..b1881f77f7 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GenericData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_GenericData.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_GenericData, IGESData_IGESEntity) -IGESDefs_GenericData::IGESDefs_GenericData() {} +IGESDefs_GenericData::IGESDefs_GenericData() = default; void IGESDefs_GenericData::Init( const int nbPropVal, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_MacroDef.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_MacroDef.cxx index 8b813c37c2..c289afad0e 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_MacroDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_MacroDef.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_MacroDef, IGESData_IGESEntity) -IGESDefs_MacroDef::IGESDefs_MacroDef() {} +IGESDefs_MacroDef::IGESDefs_MacroDef() = default; void IGESDefs_MacroDef::Init( const occ::handle& macro, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.cxx index bcdbf1cd80..e8b2ace2dd 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_Protocol, IGESData_Protocol) -IGESDefs_Protocol::IGESDefs_Protocol() {} +IGESDefs_Protocol::IGESDefs_Protocol() = default; int IGESDefs_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.hxx index 7885d1c652..4dcdfb4157 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, one //! (Protocol from IGESGraph) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESDefs_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ReadWriteModule.cxx index 525bfdc801..4ecb30ae0e 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ReadWriteModule.cxx @@ -37,7 +37,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDefs_ReadWriteModule::IGESDefs_ReadWriteModule() {} +IGESDefs_ReadWriteModule::IGESDefs_ReadWriteModule() = default; int IGESDefs_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_SpecificModule.cxx index 3fa6ba8687..74fe36099b 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_SpecificModule.cxx @@ -35,7 +35,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDefs_SpecificModule::IGESDefs_SpecificModule() {} +IGESDefs_SpecificModule::IGESDefs_SpecificModule() = default; void IGESDefs_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_TabularData.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_TabularData.cxx index 75ef3f1c8c..3e45cbdcd0 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_TabularData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_TabularData.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_TabularData, IGESData_IGESEntity) -IGESDefs_TabularData::IGESDefs_TabularData() {} +IGESDefs_TabularData::IGESDefs_TabularData() = default; void IGESDefs_TabularData::Init(const int nbProps, const int propType, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAssociativityDef.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAssociativityDef.cxx index 942381a954..de3fa909ca 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAssociativityDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAssociativityDef.cxx @@ -35,7 +35,7 @@ #include #include -IGESDefs_ToolAssociativityDef::IGESDefs_ToolAssociativityDef() {} +IGESDefs_ToolAssociativityDef::IGESDefs_ToolAssociativityDef() = default; void IGESDefs_ToolAssociativityDef::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeDef.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeDef.cxx index b62e6be744..7e71922492 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeDef.cxx @@ -38,9 +38,9 @@ #include #include -#include +#include -IGESDefs_ToolAttributeDef::IGESDefs_ToolAttributeDef() {} +IGESDefs_ToolAttributeDef::IGESDefs_ToolAttributeDef() = default; void IGESDefs_ToolAttributeDef::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeTable.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeTable.cxx index fc96b1a3ba..c1a1462de1 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeTable.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolAttributeTable.cxx @@ -39,7 +39,7 @@ #include #include -IGESDefs_ToolAttributeTable::IGESDefs_ToolAttributeTable() {} +IGESDefs_ToolAttributeTable::IGESDefs_ToolAttributeTable() = default; void IGESDefs_ToolAttributeTable::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolGenericData.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolGenericData.cxx index ca97c2e80b..0e4647f8b7 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolGenericData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolGenericData.cxx @@ -36,7 +36,7 @@ #include #include -IGESDefs_ToolGenericData::IGESDefs_ToolGenericData() {} +IGESDefs_ToolGenericData::IGESDefs_ToolGenericData() = default; void IGESDefs_ToolGenericData::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolMacroDef.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolMacroDef.cxx index 93a42943cf..30c41f8bae 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolMacroDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolMacroDef.cxx @@ -33,7 +33,7 @@ #include #include -IGESDefs_ToolMacroDef::IGESDefs_ToolMacroDef() {} +IGESDefs_ToolMacroDef::IGESDefs_ToolMacroDef() = default; void IGESDefs_ToolMacroDef::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolTabularData.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolTabularData.cxx index 4775d73311..5cb9b4ce45 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolTabularData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolTabularData.cxx @@ -37,7 +37,7 @@ #include #include -IGESDefs_ToolTabularData::IGESDefs_ToolTabularData() {} +IGESDefs_ToolTabularData::IGESDefs_ToolTabularData() = default; void IGESDefs_ToolTabularData::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolUnitsData.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolUnitsData.cxx index 4c44db5edb..95a0ae21aa 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolUnitsData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_ToolUnitsData.cxx @@ -32,7 +32,7 @@ #include #include -IGESDefs_ToolUnitsData::IGESDefs_ToolUnitsData() {} +IGESDefs_ToolUnitsData::IGESDefs_ToolUnitsData() = default; void IGESDefs_ToolUnitsData::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_UnitsData.cxx b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_UnitsData.cxx index 1ea02b4a36..bd6c505ad3 100644 --- a/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_UnitsData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDefs/IGESDefs_UnitsData.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDefs_UnitsData, IGESData_IGESEntity) -IGESDefs_UnitsData::IGESDefs_UnitsData() {} +IGESDefs_UnitsData::IGESDefs_UnitsData() = default; void IGESDefs_UnitsData::Init( const occ::handle>>& unitTypes, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_AngularDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_AngularDimension.cxx index 910c68d758..0087c0b660 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_AngularDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_AngularDimension.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_AngularDimension, IGESData_IGESEntity) -IGESDimen_AngularDimension::IGESDimen_AngularDimension() {} +IGESDimen_AngularDimension::IGESDimen_AngularDimension() = default; void IGESDimen_AngularDimension::Init(const occ::handle& aNote, const occ::handle& aLine, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_BasicDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_BasicDimension.cxx index d221fd7db2..ad88a057c4 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_BasicDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_BasicDimension.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_BasicDimension, IGESData_IGESEntity) -IGESDimen_BasicDimension::IGESDimen_BasicDimension() {} +IGESDimen_BasicDimension::IGESDimen_BasicDimension() = default; void IGESDimen_BasicDimension::Init(const int nbPropVal, const gp_XY& thell, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CenterLine.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CenterLine.cxx index 3eab44add9..cd621d92f4 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CenterLine.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CenterLine.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_CenterLine, IGESData_IGESEntity) -IGESDimen_CenterLine::IGESDimen_CenterLine() {} +IGESDimen_CenterLine::IGESDimen_CenterLine() = default; void IGESDimen_CenterLine::Init(const int aDataType, const double aZdisp, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CurveDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CurveDimension.cxx index ce232c0ddd..6c95677012 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CurveDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_CurveDimension.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_CurveDimension, IGESData_IGESEntity) -IGESDimen_CurveDimension::IGESDimen_CurveDimension() {} +IGESDimen_CurveDimension::IGESDimen_CurveDimension() = default; void IGESDimen_CurveDimension::Init(const occ::handle& aNote, const occ::handle& aCurve, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DiameterDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DiameterDimension.cxx index 74cada5bbe..fc8305b102 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DiameterDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DiameterDimension.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_DiameterDimension, IGESData_IGESEntity) -IGESDimen_DiameterDimension::IGESDimen_DiameterDimension() {} +IGESDimen_DiameterDimension::IGESDimen_DiameterDimension() = default; void IGESDimen_DiameterDimension::Init(const occ::handle& aNote, const occ::handle& aLeader, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionDisplayData.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionDisplayData.cxx index 3a6e05eaa4..d2d5f072ef 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionDisplayData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionDisplayData.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_DimensionDisplayData, IGESData_IGESEntity) -IGESDimen_DimensionDisplayData::IGESDimen_DimensionDisplayData() {} +IGESDimen_DimensionDisplayData::IGESDimen_DimensionDisplayData() = default; void IGESDimen_DimensionDisplayData::Init(const int numProps, const int aDimType, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionTolerance.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionTolerance.cxx index 85d3918f46..66ebacaffb 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionTolerance.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionTolerance.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_DimensionTolerance, IGESData_IGESEntity) -IGESDimen_DimensionTolerance::IGESDimen_DimensionTolerance() {} +IGESDimen_DimensionTolerance::IGESDimen_DimensionTolerance() = default; void IGESDimen_DimensionTolerance::Init(const int nbPropVal, const int aSecTolFlag, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionUnits.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionUnits.cxx index c8ca5bdbe9..a35e1d4cec 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionUnits.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionUnits.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_DimensionUnits, IGESData_IGESEntity) -IGESDimen_DimensionUnits::IGESDimen_DimensionUnits() {} +IGESDimen_DimensionUnits::IGESDimen_DimensionUnits() = default; void IGESDimen_DimensionUnits::Init(const int nbPropVal, const int aSecondPos, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionedGeometry.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionedGeometry.cxx index 0de22f62a7..1e963c7751 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionedGeometry.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_DimensionedGeometry.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_DimensionedGeometry, IGESData_IGESEntity) -IGESDimen_DimensionedGeometry::IGESDimen_DimensionedGeometry() {} +IGESDimen_DimensionedGeometry::IGESDimen_DimensionedGeometry() = default; void IGESDimen_DimensionedGeometry::Init( const int nbDims, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_FlagNote.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_FlagNote.cxx index c24ecf52ae..364fb17a8d 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_FlagNote.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_FlagNote.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_FlagNote, IGESData_IGESEntity) -IGESDimen_FlagNote::IGESDimen_FlagNote() {} +IGESDimen_FlagNote::IGESDimen_FlagNote() = default; void IGESDimen_FlagNote::Init( const gp_XYZ& leftCorner, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralLabel.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralLabel.cxx index 54ca0643d5..c79d248101 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralLabel.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralLabel.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_GeneralLabel, IGESData_IGESEntity) -IGESDimen_GeneralLabel::IGESDimen_GeneralLabel() {} +IGESDimen_GeneralLabel::IGESDimen_GeneralLabel() = default; void IGESDimen_GeneralLabel::Init( const occ::handle& aNote, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.cxx index 75bfb8da5d..207b382f82 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.cxx @@ -73,7 +73,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDimen_GeneralModule::IGESDimen_GeneralModule() {} +IGESDimen_GeneralModule::IGESDimen_GeneralModule() = default; void IGESDimen_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.hxx index 8331d612e4..f84be2ded2 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralModule.hxx @@ -68,9 +68,9 @@ public: //! Returns a category number which characterizes an entity //! Drawing for all - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESDimen_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralNote.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralNote.cxx index 29a0b8856f..971336e510 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralNote.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralNote.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_GeneralNote, IGESData_IGESEntity) -IGESDimen_GeneralNote::IGESDimen_GeneralNote() {} +IGESDimen_GeneralNote::IGESDimen_GeneralNote() = default; void IGESDimen_GeneralNote::Init( const occ::handle>& nbChars, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralSymbol.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralSymbol.cxx index 15de709bc7..82b9a04f90 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralSymbol.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_GeneralSymbol.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_GeneralSymbol, IGESData_IGESEntity) -IGESDimen_GeneralSymbol::IGESDimen_GeneralSymbol() {} +IGESDimen_GeneralSymbol::IGESDimen_GeneralSymbol() = default; void IGESDimen_GeneralSymbol::Init( const occ::handle& aNote, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LeaderArrow.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LeaderArrow.cxx index 42f9ca49fe..0aee6cc00c 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LeaderArrow.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LeaderArrow.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_LeaderArrow, IGESData_IGESEntity) -IGESDimen_LeaderArrow::IGESDimen_LeaderArrow() {} +IGESDimen_LeaderArrow::IGESDimen_LeaderArrow() = default; void IGESDimen_LeaderArrow::Init(const double height, const double width, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LinearDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LinearDimension.cxx index 708f07a05d..9edc8b1f35 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LinearDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_LinearDimension.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_LinearDimension, IGESData_IGESEntity) -IGESDimen_LinearDimension::IGESDimen_LinearDimension() {} +IGESDimen_LinearDimension::IGESDimen_LinearDimension() = default; void IGESDimen_LinearDimension::Init(const occ::handle& aNote, const occ::handle& aLeader, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewDimensionedGeometry.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewDimensionedGeometry.cxx index ede54ffadd..926823fd46 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewDimensionedGeometry.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewDimensionedGeometry.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_NewDimensionedGeometry, IGESData_IGESEntity) -IGESDimen_NewDimensionedGeometry::IGESDimen_NewDimensionedGeometry() {} +IGESDimen_NewDimensionedGeometry::IGESDimen_NewDimensionedGeometry() = default; void IGESDimen_NewDimensionedGeometry::Init( const int nbDimens, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewGeneralNote.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewGeneralNote.cxx index 33eb3673cf..eb0a227352 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewGeneralNote.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_NewGeneralNote.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_NewGeneralNote, IGESData_IGESEntity) -IGESDimen_NewGeneralNote::IGESDimen_NewGeneralNote() {} +IGESDimen_NewGeneralNote::IGESDimen_NewGeneralNote() = default; void IGESDimen_NewGeneralNote::Init( const double width, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_OrdinateDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_OrdinateDimension.cxx index cbdd908c32..70483571e0 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_OrdinateDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_OrdinateDimension.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_OrdinateDimension, IGESData_IGESEntity) -IGESDimen_OrdinateDimension::IGESDimen_OrdinateDimension() {} +IGESDimen_OrdinateDimension::IGESDimen_OrdinateDimension() = default; void IGESDimen_OrdinateDimension::Init(const occ::handle& aNote, const bool isLine, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_PointDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_PointDimension.cxx index 3b75df27bd..2152cf0bfe 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_PointDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_PointDimension.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_PointDimension, IGESData_IGESEntity) -IGESDimen_PointDimension::IGESDimen_PointDimension() {} +IGESDimen_PointDimension::IGESDimen_PointDimension() = default; void IGESDimen_PointDimension::Init(const occ::handle& aNote, const occ::handle& anArrow, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.cxx index 568b79333d..6bd1e7167d 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.cxx @@ -45,7 +45,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_Protocol, IGESData_Protocol) -IGESDimen_Protocol::IGESDimen_Protocol() {} +IGESDimen_Protocol::IGESDimen_Protocol() = default; int IGESDimen_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.hxx index c16563e0a8..6b8a714f43 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, two //! (Protocols from IGESGraph and IGESGeom) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESDimen_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_RadiusDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_RadiusDimension.cxx index c42e987bd0..ff1f9e6c4a 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_RadiusDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_RadiusDimension.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_RadiusDimension, IGESData_IGESEntity) -IGESDimen_RadiusDimension::IGESDimen_RadiusDimension() {} +IGESDimen_RadiusDimension::IGESDimen_RadiusDimension() = default; void IGESDimen_RadiusDimension::Init(const occ::handle& aNote, const occ::handle& anArrow, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ReadWriteModule.cxx index 507fce9095..f54ac6dd78 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ReadWriteModule.cxx @@ -69,7 +69,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDimen_ReadWriteModule::IGESDimen_ReadWriteModule() {} +IGESDimen_ReadWriteModule::IGESDimen_ReadWriteModule() = default; int IGESDimen_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Section.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Section.cxx index 37a50f3e8a..4abe4007e5 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Section.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_Section.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_Section, IGESData_IGESEntity) -IGESDimen_Section::IGESDimen_Section() {} +IGESDimen_Section::IGESDimen_Section() = default; void IGESDimen_Section::Init(const int dataType, const double aDisp, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SectionedArea.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SectionedArea.cxx index c923c90466..72f9c73f85 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SectionedArea.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SectionedArea.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_SectionedArea, IGESData_IGESEntity) -IGESDimen_SectionedArea::IGESDimen_SectionedArea() {} +IGESDimen_SectionedArea::IGESDimen_SectionedArea() = default; void IGESDimen_SectionedArea::Init( const occ::handle& aCurve, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.cxx index 29585dab76..8986c9481b 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.cxx @@ -68,7 +68,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDimen_SpecificModule::IGESDimen_SpecificModule() {} +IGESDimen_SpecificModule::IGESDimen_SpecificModule() = default; void IGESDimen_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.hxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.hxx index 157c6d09df..3be372c017 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_SpecificModule.hxx @@ -45,8 +45,8 @@ public: //! them (BasicDimension,CenterLine,DimensionDisplayData, //! DimensionTolerance,DimensionUnits,DimensionedGeometry, //! NewDimensionedGeometry,Section,WitnessLine) - Standard_EXPORT virtual bool OwnCorrect(const int CN, const occ::handle& ent) - const override; + Standard_EXPORT bool OwnCorrect(const int CN, + const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESDimen_SpecificModule, IGESData_SpecificModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolAngularDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolAngularDimension.cxx index 1ee1cdd017..02e48adf1e 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolAngularDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolAngularDimension.cxx @@ -37,7 +37,7 @@ #include #include -IGESDimen_ToolAngularDimension::IGESDimen_ToolAngularDimension() {} +IGESDimen_ToolAngularDimension::IGESDimen_ToolAngularDimension() = default; void IGESDimen_ToolAngularDimension::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolBasicDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolBasicDimension.cxx index 0d81d3d430..2b11e96d60 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolBasicDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolBasicDimension.cxx @@ -33,7 +33,7 @@ #include #include -IGESDimen_ToolBasicDimension::IGESDimen_ToolBasicDimension() {} +IGESDimen_ToolBasicDimension::IGESDimen_ToolBasicDimension() = default; void IGESDimen_ToolBasicDimension::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCenterLine.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCenterLine.cxx index 8abf495d8b..93808bbc9b 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCenterLine.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCenterLine.cxx @@ -36,7 +36,7 @@ #include #include -IGESDimen_ToolCenterLine::IGESDimen_ToolCenterLine() {} +IGESDimen_ToolCenterLine::IGESDimen_ToolCenterLine() = default; void IGESDimen_ToolCenterLine::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCurveDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCurveDimension.cxx index e28f40aed0..7f8255c08a 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCurveDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolCurveDimension.cxx @@ -33,7 +33,7 @@ #include #include -IGESDimen_ToolCurveDimension::IGESDimen_ToolCurveDimension() {} +IGESDimen_ToolCurveDimension::IGESDimen_ToolCurveDimension() = default; void IGESDimen_ToolCurveDimension::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDiameterDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDiameterDimension.cxx index 0441f1f209..91b7c029c3 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDiameterDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDiameterDimension.cxx @@ -36,7 +36,7 @@ #include #include -IGESDimen_ToolDiameterDimension::IGESDimen_ToolDiameterDimension() {} +IGESDimen_ToolDiameterDimension::IGESDimen_ToolDiameterDimension() = default; void IGESDimen_ToolDiameterDimension::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionDisplayData.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionDisplayData.cxx index 04644de1b4..95d85a8f88 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionDisplayData.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionDisplayData.cxx @@ -34,7 +34,7 @@ #include #include -IGESDimen_ToolDimensionDisplayData::IGESDimen_ToolDimensionDisplayData() {} +IGESDimen_ToolDimensionDisplayData::IGESDimen_ToolDimensionDisplayData() = default; void IGESDimen_ToolDimensionDisplayData::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionTolerance.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionTolerance.cxx index 68d3972a6c..e4ab131ca8 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionTolerance.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionTolerance.cxx @@ -28,7 +28,7 @@ #include #include -IGESDimen_ToolDimensionTolerance::IGESDimen_ToolDimensionTolerance() {} +IGESDimen_ToolDimensionTolerance::IGESDimen_ToolDimensionTolerance() = default; void IGESDimen_ToolDimensionTolerance::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionUnits.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionUnits.cxx index cf7001635b..680a7023f5 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionUnits.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionUnits.cxx @@ -31,7 +31,7 @@ #include #include -IGESDimen_ToolDimensionUnits::IGESDimen_ToolDimensionUnits() {} +IGESDimen_ToolDimensionUnits::IGESDimen_ToolDimensionUnits() = default; void IGESDimen_ToolDimensionUnits::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionedGeometry.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionedGeometry.cxx index 33e75d1ba4..5fa3e7c5e7 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionedGeometry.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolDimensionedGeometry.cxx @@ -30,7 +30,7 @@ #include #include -IGESDimen_ToolDimensionedGeometry::IGESDimen_ToolDimensionedGeometry() {} +IGESDimen_ToolDimensionedGeometry::IGESDimen_ToolDimensionedGeometry() = default; void IGESDimen_ToolDimensionedGeometry::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolFlagNote.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolFlagNote.cxx index 1affa53014..dc7089b595 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolFlagNote.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolFlagNote.cxx @@ -36,7 +36,7 @@ #include #include -IGESDimen_ToolFlagNote::IGESDimen_ToolFlagNote() {} +IGESDimen_ToolFlagNote::IGESDimen_ToolFlagNote() = default; void IGESDimen_ToolFlagNote::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralLabel.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralLabel.cxx index 007a0bf22b..45d6261e88 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralLabel.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralLabel.cxx @@ -35,7 +35,7 @@ #include #include -IGESDimen_ToolGeneralLabel::IGESDimen_ToolGeneralLabel() {} +IGESDimen_ToolGeneralLabel::IGESDimen_ToolGeneralLabel() = default; void IGESDimen_ToolGeneralLabel::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralNote.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralNote.cxx index 126361b162..d7afb33c3e 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralNote.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralNote.cxx @@ -39,9 +39,9 @@ #include #include -#include +#include -IGESDimen_ToolGeneralNote::IGESDimen_ToolGeneralNote() {} +IGESDimen_ToolGeneralNote::IGESDimen_ToolGeneralNote() = default; void IGESDimen_ToolGeneralNote::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralSymbol.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralSymbol.cxx index cb660cac52..07037b1a44 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralSymbol.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolGeneralSymbol.cxx @@ -35,7 +35,7 @@ #include #include -IGESDimen_ToolGeneralSymbol::IGESDimen_ToolGeneralSymbol() {} +IGESDimen_ToolGeneralSymbol::IGESDimen_ToolGeneralSymbol() = default; void IGESDimen_ToolGeneralSymbol::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLeaderArrow.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLeaderArrow.cxx index 769e297ed2..d1c482a62e 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLeaderArrow.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLeaderArrow.cxx @@ -34,7 +34,7 @@ #include #include -IGESDimen_ToolLeaderArrow::IGESDimen_ToolLeaderArrow() {} +IGESDimen_ToolLeaderArrow::IGESDimen_ToolLeaderArrow() = default; void IGESDimen_ToolLeaderArrow::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLinearDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLinearDimension.cxx index 9402d5e0b6..921fb27135 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLinearDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolLinearDimension.cxx @@ -32,7 +32,7 @@ #include #include -IGESDimen_ToolLinearDimension::IGESDimen_ToolLinearDimension() {} +IGESDimen_ToolLinearDimension::IGESDimen_ToolLinearDimension() = default; void IGESDimen_ToolLinearDimension::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewDimensionedGeometry.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewDimensionedGeometry.cxx index 3a530ded74..83c64985dc 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewDimensionedGeometry.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewDimensionedGeometry.cxx @@ -38,7 +38,7 @@ #include #include -IGESDimen_ToolNewDimensionedGeometry::IGESDimen_ToolNewDimensionedGeometry() {} +IGESDimen_ToolNewDimensionedGeometry::IGESDimen_ToolNewDimensionedGeometry() = default; void IGESDimen_ToolNewDimensionedGeometry::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewGeneralNote.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewGeneralNote.cxx index 3d12a206d6..0faf7f632c 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewGeneralNote.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolNewGeneralNote.cxx @@ -37,9 +37,9 @@ #include #include -#include +#include -IGESDimen_ToolNewGeneralNote::IGESDimen_ToolNewGeneralNote() {} +IGESDimen_ToolNewGeneralNote::IGESDimen_ToolNewGeneralNote() = default; void IGESDimen_ToolNewGeneralNote::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolOrdinateDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolOrdinateDimension.cxx index 4fc3fd75e2..0a59c1e509 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolOrdinateDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolOrdinateDimension.cxx @@ -32,7 +32,7 @@ #include #include -IGESDimen_ToolOrdinateDimension::IGESDimen_ToolOrdinateDimension() {} +IGESDimen_ToolOrdinateDimension::IGESDimen_ToolOrdinateDimension() = default; void IGESDimen_ToolOrdinateDimension::ReadOwnParams( const occ::handle& theEnt, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolPointDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolPointDimension.cxx index a55694f143..a128270bfe 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolPointDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolPointDimension.cxx @@ -31,7 +31,7 @@ #include #include -IGESDimen_ToolPointDimension::IGESDimen_ToolPointDimension() {} +IGESDimen_ToolPointDimension::IGESDimen_ToolPointDimension() = default; void IGESDimen_ToolPointDimension::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolRadiusDimension.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolRadiusDimension.cxx index 3a380ef282..b3da5e65e6 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolRadiusDimension.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolRadiusDimension.cxx @@ -36,7 +36,7 @@ #include #include -IGESDimen_ToolRadiusDimension::IGESDimen_ToolRadiusDimension() {} +IGESDimen_ToolRadiusDimension::IGESDimen_ToolRadiusDimension() = default; void IGESDimen_ToolRadiusDimension::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSection.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSection.cxx index 1bc5fda1c3..33c7a3d57b 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSection.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSection.cxx @@ -36,7 +36,7 @@ #include #include -IGESDimen_ToolSection::IGESDimen_ToolSection() {} +IGESDimen_ToolSection::IGESDimen_ToolSection() = default; void IGESDimen_ToolSection::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSectionedArea.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSectionedArea.cxx index 2f2783dc79..92fccc5a4c 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSectionedArea.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolSectionedArea.cxx @@ -33,7 +33,7 @@ #include #include -IGESDimen_ToolSectionedArea::IGESDimen_ToolSectionedArea() {} +IGESDimen_ToolSectionedArea::IGESDimen_ToolSectionedArea() = default; void IGESDimen_ToolSectionedArea::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolWitnessLine.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolWitnessLine.cxx index d4ba6ed901..04e9ba3774 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolWitnessLine.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_ToolWitnessLine.cxx @@ -36,7 +36,7 @@ #include #include -IGESDimen_ToolWitnessLine::IGESDimen_ToolWitnessLine() {} +IGESDimen_ToolWitnessLine::IGESDimen_ToolWitnessLine() = default; void IGESDimen_ToolWitnessLine::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_WitnessLine.cxx b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_WitnessLine.cxx index 97fef9f5fd..d08bfb009c 100644 --- a/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_WitnessLine.cxx +++ b/src/DataExchange/TKDEIGES/IGESDimen/IGESDimen_WitnessLine.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDimen_WitnessLine, IGESData_IGESEntity) -IGESDimen_WitnessLine::IGESDimen_WitnessLine() {} +IGESDimen_WitnessLine::IGESDimen_WitnessLine() = default; void IGESDimen_WitnessLine::Init(const int dataType, const double aDisp, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_CircArraySubfigure.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_CircArraySubfigure.cxx index 58b406bbb2..8a36ef484f 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_CircArraySubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_CircArraySubfigure.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_CircArraySubfigure, IGESData_IGESEntity) -IGESDraw_CircArraySubfigure::IGESDraw_CircArraySubfigure() {} +IGESDraw_CircArraySubfigure::IGESDraw_CircArraySubfigure() = default; void IGESDraw_CircArraySubfigure::Init(const occ::handle& aBase, const int aNumLocs, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ConnectPoint.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ConnectPoint.cxx index 5068b1b9e5..bfb3db63a8 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ConnectPoint.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ConnectPoint.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ConnectPoint, IGESData_IGESEntity) -IGESDraw_ConnectPoint::IGESDraw_ConnectPoint() {} +IGESDraw_ConnectPoint::IGESDraw_ConnectPoint() = default; void IGESDraw_ConnectPoint::Init( const gp_XYZ& aPoint, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Drawing.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Drawing.cxx index 63999d1f30..99358e6c98 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Drawing.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Drawing.cxx @@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_Drawing, IGESData_IGESEntity) -IGESDraw_Drawing::IGESDraw_Drawing() {} +IGESDraw_Drawing::IGESDraw_Drawing() = default; void IGESDraw_Drawing::Init( const occ::handle>>& allViews, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_DrawingWithRotation.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_DrawingWithRotation.cxx index ba31913c45..f4dc4b1b12 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_DrawingWithRotation.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_DrawingWithRotation.cxx @@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_DrawingWithRotation, IGESData_IGESEntity) -IGESDraw_DrawingWithRotation::IGESDraw_DrawingWithRotation() {} +IGESDraw_DrawingWithRotation::IGESDraw_DrawingWithRotation() = default; void IGESDraw_DrawingWithRotation::Init( const occ::handle>>& allViews, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.cxx index 0c18f75856..378ba54327 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.cxx @@ -54,7 +54,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDraw_GeneralModule::IGESDraw_GeneralModule() {} +IGESDraw_GeneralModule::IGESDraw_GeneralModule() = default; void IGESDraw_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.hxx index c5f3318d59..fd2c320270 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_GeneralModule.hxx @@ -47,9 +47,9 @@ public: //! Specific list of Entities implied by an IGESEntity (in //! addition to Associativities). Redefined for ViewsVisible ... - Standard_EXPORT virtual void OwnImpliedCase(const int CN, - const occ::handle& ent, - Interface_EntityIterator& iter) const override; + Standard_EXPORT void OwnImpliedCase(const int CN, + const occ::handle& ent, + Interface_EntityIterator& iter) const override; //! Returns a DirChecker, specific for each type of Entity //! (identified by its Case Number) : this DirChecker defines @@ -75,24 +75,23 @@ public: //! Renews parameters which are specific of each Type of Entity : //! redefined for ViewsVisible ... (takes only the implied ref.s //! which have also been copied) - Standard_EXPORT virtual void OwnRenewCase(const int CN, - const occ::handle& entfrom, - const occ::handle& entto, - const Interface_CopyTool& TC) const override; + Standard_EXPORT void OwnRenewCase(const int CN, + const occ::handle& entfrom, + const occ::handle& entto, + const Interface_CopyTool& TC) const override; //! Clears parameters with can cause looping structures : //! redefined for ViewsVisible ... (clears the implied ref.s) - Standard_EXPORT virtual void OwnDeleteCase( - const int CN, - const occ::handle& ent) const override; + Standard_EXPORT void OwnDeleteCase(const int CN, + const occ::handle& ent) const override; //! Returns a category number which characterizes an entity //! Planar : Auxiliary //! Subfigures and ConnectPoint : Structure //! others : Drawing - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESDraw_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_LabelDisplay.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_LabelDisplay.cxx index cc02aa498f..206d2e052f 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_LabelDisplay.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_LabelDisplay.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_LabelDisplay, IGESData_LabelDisplayEntity) -IGESDraw_LabelDisplay::IGESDraw_LabelDisplay() {} +IGESDraw_LabelDisplay::IGESDraw_LabelDisplay() = default; void IGESDraw_LabelDisplay::Init( const occ::handle>>& allViews, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigure.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigure.cxx index 727eb7edd9..9b98a18d1d 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigure.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigure, IGESData_IGESEntity) -IGESDraw_NetworkSubfigure::IGESDraw_NetworkSubfigure() {} +IGESDraw_NetworkSubfigure::IGESDraw_NetworkSubfigure() = default; void IGESDraw_NetworkSubfigure::Init( const occ::handle& aDefinition, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigureDef.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigureDef.cxx index 27971eaed2..896fdb972d 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigureDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_NetworkSubfigureDef.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigureDef, IGESData_IGESEntity) -IGESDraw_NetworkSubfigureDef::IGESDraw_NetworkSubfigureDef() {} +IGESDraw_NetworkSubfigureDef::IGESDraw_NetworkSubfigureDef() = default; void IGESDraw_NetworkSubfigureDef::Init( const int aDepth, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_PerspectiveView.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_PerspectiveView.cxx index 3173c2d708..91c4a46bac 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_PerspectiveView.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_PerspectiveView.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_PerspectiveView, IGESData_ViewKindEntity) -IGESDraw_PerspectiveView::IGESDraw_PerspectiveView() {} +IGESDraw_PerspectiveView::IGESDraw_PerspectiveView() = default; // This class inherits from IGESData_ViewKindEntity diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Planar.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Planar.cxx index 2f8bbee48e..5619829cf0 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Planar.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Planar.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_Planar, IGESData_IGESEntity) -IGESDraw_Planar::IGESDraw_Planar() {} +IGESDraw_Planar::IGESDraw_Planar() = default; void IGESDraw_Planar::Init( const int nbMats, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.cxx index aba493098d..68bdfab05e 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.cxx @@ -33,7 +33,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_Protocol, IGESData_Protocol) -IGESDraw_Protocol::IGESDraw_Protocol() {} +IGESDraw_Protocol::IGESDraw_Protocol() = default; int IGESDraw_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.hxx index c06bffd541..ebc4258096 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, one //! (Protocol from IGESDimen) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESDraw_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ReadWriteModule.cxx index 44e410e2a7..f8b44295cd 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ReadWriteModule.cxx @@ -50,7 +50,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDraw_ReadWriteModule::IGESDraw_ReadWriteModule() {} +IGESDraw_ReadWriteModule::IGESDraw_ReadWriteModule() = default; int IGESDraw_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_RectArraySubfigure.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_RectArraySubfigure.cxx index d721d77269..5cee4aab9a 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_RectArraySubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_RectArraySubfigure.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_RectArraySubfigure, IGESData_IGESEntity) -IGESDraw_RectArraySubfigure::IGESDraw_RectArraySubfigure() {} +IGESDraw_RectArraySubfigure::IGESDraw_RectArraySubfigure() = default; void IGESDraw_RectArraySubfigure::Init(const occ::handle& aBase, const double aScale, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SegmentedViewsVisible.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SegmentedViewsVisible.cxx index 34f3f0c595..eba5c238f9 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SegmentedViewsVisible.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SegmentedViewsVisible.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_SegmentedViewsVisible, IGESData_ViewKindEntity) -IGESDraw_SegmentedViewsVisible::IGESDraw_SegmentedViewsVisible() {} +IGESDraw_SegmentedViewsVisible::IGESDraw_SegmentedViewsVisible() = default; void IGESDraw_SegmentedViewsVisible::Init( const occ::handle>>& allViews, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.cxx index f9e486a482..d80889c112 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.cxx @@ -48,7 +48,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESDraw_SpecificModule::IGESDraw_SpecificModule() {} +IGESDraw_SpecificModule::IGESDraw_SpecificModule() = default; void IGESDraw_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.hxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.hxx index 0f8125544f..3d6551545b 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_SpecificModule.hxx @@ -43,8 +43,8 @@ public: //! Performs non-ambiguous Corrections on Entities which support //! them (Planar) - Standard_EXPORT virtual bool OwnCorrect(const int CN, const occ::handle& ent) - const override; + Standard_EXPORT bool OwnCorrect(const int CN, + const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESDraw_SpecificModule, IGESData_SpecificModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolCircArraySubfigure.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolCircArraySubfigure.cxx index 8e2b2d75c3..15d44e70a7 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolCircArraySubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolCircArraySubfigure.cxx @@ -35,7 +35,7 @@ #include #include -IGESDraw_ToolCircArraySubfigure::IGESDraw_ToolCircArraySubfigure() {} +IGESDraw_ToolCircArraySubfigure::IGESDraw_ToolCircArraySubfigure() = default; void IGESDraw_ToolCircArraySubfigure::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolConnectPoint.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolConnectPoint.cxx index f9cc940615..7581744f5c 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolConnectPoint.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolConnectPoint.cxx @@ -36,7 +36,7 @@ #include #include -IGESDraw_ToolConnectPoint::IGESDraw_ToolConnectPoint() {} +IGESDraw_ToolConnectPoint::IGESDraw_ToolConnectPoint() = default; void IGESDraw_ToolConnectPoint::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawing.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawing.cxx index bad81e49e8..53d515f136 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawing.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawing.cxx @@ -38,7 +38,7 @@ #include #include -IGESDraw_ToolDrawing::IGESDraw_ToolDrawing() {} +IGESDraw_ToolDrawing::IGESDraw_ToolDrawing() = default; void IGESDraw_ToolDrawing::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx index 4db8e1d961..57fade2332 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx @@ -38,7 +38,7 @@ #include #include -IGESDraw_ToolDrawingWithRotation::IGESDraw_ToolDrawingWithRotation() {} +IGESDraw_ToolDrawingWithRotation::IGESDraw_ToolDrawingWithRotation() = default; void IGESDraw_ToolDrawingWithRotation::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolLabelDisplay.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolLabelDisplay.cxx index bf80887464..3c48153c50 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolLabelDisplay.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolLabelDisplay.cxx @@ -37,7 +37,7 @@ #include #include -IGESDraw_ToolLabelDisplay::IGESDraw_ToolLabelDisplay() {} +IGESDraw_ToolLabelDisplay::IGESDraw_ToolLabelDisplay() = default; void IGESDraw_ToolLabelDisplay::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigure.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigure.cxx index 55b7ebdcbf..70a9c733d4 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigure.cxx @@ -36,7 +36,7 @@ #include #include -IGESDraw_ToolNetworkSubfigure::IGESDraw_ToolNetworkSubfigure() {} +IGESDraw_ToolNetworkSubfigure::IGESDraw_ToolNetworkSubfigure() = default; void IGESDraw_ToolNetworkSubfigure::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigureDef.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigureDef.cxx index 915523cfa3..f2a4903e0e 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigureDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolNetworkSubfigureDef.cxx @@ -33,7 +33,7 @@ #include #include -IGESDraw_ToolNetworkSubfigureDef::IGESDraw_ToolNetworkSubfigureDef() {} +IGESDraw_ToolNetworkSubfigureDef::IGESDraw_ToolNetworkSubfigureDef() = default; void IGESDraw_ToolNetworkSubfigureDef::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPerspectiveView.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPerspectiveView.cxx index 467e6dca76..849f86dde5 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPerspectiveView.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPerspectiveView.cxx @@ -36,7 +36,7 @@ #include #include -IGESDraw_ToolPerspectiveView::IGESDraw_ToolPerspectiveView() {} +IGESDraw_ToolPerspectiveView::IGESDraw_ToolPerspectiveView() = default; void IGESDraw_ToolPerspectiveView::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPlanar.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPlanar.cxx index a85b4838f5..cbdf5b2358 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPlanar.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolPlanar.cxx @@ -32,7 +32,7 @@ #include #include -IGESDraw_ToolPlanar::IGESDraw_ToolPlanar() {} +IGESDraw_ToolPlanar::IGESDraw_ToolPlanar() = default; void IGESDraw_ToolPlanar::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolRectArraySubfigure.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolRectArraySubfigure.cxx index b84dba7e63..44b300d90a 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolRectArraySubfigure.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolRectArraySubfigure.cxx @@ -37,7 +37,7 @@ #include #include -IGESDraw_ToolRectArraySubfigure::IGESDraw_ToolRectArraySubfigure() {} +IGESDraw_ToolRectArraySubfigure::IGESDraw_ToolRectArraySubfigure() = default; void IGESDraw_ToolRectArraySubfigure::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolSegmentedViewsVisible.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolSegmentedViewsVisible.cxx index a860b769a5..ea9cab0a02 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolSegmentedViewsVisible.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolSegmentedViewsVisible.cxx @@ -34,7 +34,7 @@ #include #include -IGESDraw_ToolSegmentedViewsVisible::IGESDraw_ToolSegmentedViewsVisible() {} +IGESDraw_ToolSegmentedViewsVisible::IGESDraw_ToolSegmentedViewsVisible() = default; void IGESDraw_ToolSegmentedViewsVisible::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolView.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolView.cxx index fc8d80b6ee..2bfe3092d6 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolView.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolView.cxx @@ -31,7 +31,7 @@ #include #include -IGESDraw_ToolView::IGESDraw_ToolView() {} +IGESDraw_ToolView::IGESDraw_ToolView() = default; void IGESDraw_ToolView::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisible.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisible.cxx index 8e647e7fcf..b1f64b24f5 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisible.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisible.cxx @@ -30,9 +30,9 @@ #include #include -#include +#include -IGESDraw_ToolViewsVisible::IGESDraw_ToolViewsVisible() {} +IGESDraw_ToolViewsVisible::IGESDraw_ToolViewsVisible() = default; void IGESDraw_ToolViewsVisible::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisibleWithAttr.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisibleWithAttr.cxx index e7c820b839..0f07b0c8f0 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisibleWithAttr.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ToolViewsVisibleWithAttr.cxx @@ -37,9 +37,9 @@ #include #include -#include +#include -IGESDraw_ToolViewsVisibleWithAttr::IGESDraw_ToolViewsVisibleWithAttr() {} +IGESDraw_ToolViewsVisibleWithAttr::IGESDraw_ToolViewsVisibleWithAttr() = default; void IGESDraw_ToolViewsVisibleWithAttr::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_View.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_View.cxx index 9312d9a879..ff1ad197b3 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_View.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_View.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_View, IGESData_ViewKindEntity) -IGESDraw_View::IGESDraw_View() {} +IGESDraw_View::IGESDraw_View() = default; // This class inherits from IGESData_ViewKindEntity diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisible.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisible.cxx index a6acb26af5..d507a3f9d8 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisible.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisible.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ViewsVisible, IGESData_ViewKindEntity) -IGESDraw_ViewsVisible::IGESDraw_ViewsVisible() {} +IGESDraw_ViewsVisible::IGESDraw_ViewsVisible() = default; // This class inherits from IGESData_ViewKindEntity diff --git a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisibleWithAttr.cxx b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisibleWithAttr.cxx index a08ed8dc56..14bad34d86 100644 --- a/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisibleWithAttr.cxx +++ b/src/DataExchange/TKDEIGES/IGESDraw/IGESDraw_ViewsVisibleWithAttr.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_ViewsVisibleWithAttr, IGESData_ViewKindEntity) -IGESDraw_ViewsVisibleWithAttr::IGESDraw_ViewsVisibleWithAttr() {} +IGESDraw_ViewsVisibleWithAttr::IGESDraw_ViewsVisibleWithAttr() = default; // This class inherits from IGESData_ViewKindEntity diff --git a/src/DataExchange/TKDEIGES/IGESFile/IGESFile_Read.cxx b/src/DataExchange/TKDEIGES/IGESFile/IGESFile_Read.cxx index dfddee7c4c..44e28c0f97 100644 --- a/src/DataExchange/TKDEIGES/IGESFile/IGESFile_Read.cxx +++ b/src/DataExchange/TKDEIGES/IGESFile/IGESFile_Read.cxx @@ -13,7 +13,7 @@ // dce 21.01.99 : move of general message to IGESToBRep_Reader -#include +#include // declarations of basic C programs: #include #include diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineCurve.cxx index 7964cdf7e5..d8ae5d03fb 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineCurve.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_BSplineCurve, IGESData_IGESEntity) -IGESGeom_BSplineCurve::IGESGeom_BSplineCurve() {} +IGESGeom_BSplineCurve::IGESGeom_BSplineCurve() = default; void IGESGeom_BSplineCurve::Init(const int anIndex, const int aDegree, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineSurface.cxx index 347cbf2dad..f4346fea94 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BSplineSurface.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_BSplineSurface, IGESData_IGESEntity) -IGESGeom_BSplineSurface::IGESGeom_BSplineSurface() {} +IGESGeom_BSplineSurface::IGESGeom_BSplineSurface() = default; void IGESGeom_BSplineSurface::Init(const int anIndexU, const int anIndexV, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Boundary.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Boundary.cxx index d5a3643ec5..16274592b3 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Boundary.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Boundary.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Boundary, IGESData_IGESEntity) -IGESGeom_Boundary::IGESGeom_Boundary() {} +IGESGeom_Boundary::IGESGeom_Boundary() = default; void IGESGeom_Boundary::Init( const int aType, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BoundedSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BoundedSurface.cxx index b2dd7ab315..dd0cb5b348 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BoundedSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_BoundedSurface.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_BoundedSurface, IGESData_IGESEntity) -IGESGeom_BoundedSurface::IGESGeom_BoundedSurface() {} +IGESGeom_BoundedSurface::IGESGeom_BoundedSurface() = default; void IGESGeom_BoundedSurface::Init( const int aType, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CircularArc.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CircularArc.cxx index 82cb59f0da..3c8b7b4c0a 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CircularArc.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CircularArc.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_CircularArc, IGESData_IGESEntity) -IGESGeom_CircularArc::IGESGeom_CircularArc() {} +IGESGeom_CircularArc::IGESGeom_CircularArc() = default; void IGESGeom_CircularArc::Init(const double aZT, const gp_XY& aCenter, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CompositeCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CompositeCurve.cxx index fda992f346..fdf24154cc 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CompositeCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CompositeCurve.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_CompositeCurve, IGESData_IGESEntity) -IGESGeom_CompositeCurve::IGESGeom_CompositeCurve() {} +IGESGeom_CompositeCurve::IGESGeom_CompositeCurve() = default; void IGESGeom_CompositeCurve::Init( const occ::handle>>& allEntities) diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ConicArc.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ConicArc.cxx index 357366b9aa..9eaadcff2c 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ConicArc.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ConicArc.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_ConicArc, IGESData_IGESEntity) -IGESGeom_ConicArc::IGESGeom_ConicArc() {} +IGESGeom_ConicArc::IGESGeom_ConicArc() = default; void IGESGeom_ConicArc::Init(const double A, const double B, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CurveOnSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CurveOnSurface.cxx index edbb75b594..6b6d9a9a49 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CurveOnSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_CurveOnSurface.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_CurveOnSurface, IGESData_IGESEntity) -IGESGeom_CurveOnSurface::IGESGeom_CurveOnSurface() {} +IGESGeom_CurveOnSurface::IGESGeom_CurveOnSurface() = default; void IGESGeom_CurveOnSurface::Init(const int aMode, const occ::handle& aSurface, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Direction.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Direction.cxx index 85d205efe0..445373b1ad 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Direction.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Direction.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Direction, IGESData_IGESEntity) -IGESGeom_Direction::IGESGeom_Direction() {} +IGESGeom_Direction::IGESGeom_Direction() = default; void IGESGeom_Direction::Init(const gp_XYZ& aDirection) { diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Flash.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Flash.cxx index ac6b8ef071..499512d1d8 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Flash.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Flash.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Flash, IGESData_IGESEntity) -IGESGeom_Flash::IGESGeom_Flash() {} +IGESGeom_Flash::IGESGeom_Flash() = default; void IGESGeom_Flash::Init(const gp_XY& aPoint, const double aDim1, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.cxx index ab3dc83604..957c627e67 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.cxx @@ -72,7 +72,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESGeom_GeneralModule::IGESGeom_GeneralModule() {} +IGESGeom_GeneralModule::IGESGeom_GeneralModule() = default; void IGESGeom_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.hxx index 5679c04a18..2b5d4d3d6a 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_GeneralModule.hxx @@ -69,9 +69,9 @@ public: //! Returns a category number which characterizes an entity //! Shape for all, but Drawing for : //! Flash; Point with a symbol; Plane with a symbol - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESGeom_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Line.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Line.cxx index 85899ffd1a..50dd2f41ad 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Line.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Line.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Line, IGESData_IGESEntity) -IGESGeom_Line::IGESGeom_Line() {} +IGESGeom_Line::IGESGeom_Line() = default; void IGESGeom_Line::Init(const gp_XYZ& aStart, const gp_XYZ& anEnd) { diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetCurve.cxx index 814a6b8fa6..306997840e 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetCurve.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_OffsetCurve, IGESData_IGESEntity) -IGESGeom_OffsetCurve::IGESGeom_OffsetCurve() {} +IGESGeom_OffsetCurve::IGESGeom_OffsetCurve() = default; void IGESGeom_OffsetCurve::Init(const occ::handle& aBaseCurve, const int anOffsetType, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetSurface.cxx index c0f50d82f1..f8f757aa30 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_OffsetSurface.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_OffsetSurface, IGESData_IGESEntity) -IGESGeom_OffsetSurface::IGESGeom_OffsetSurface() {} +IGESGeom_OffsetSurface::IGESGeom_OffsetSurface() = default; void IGESGeom_OffsetSurface::Init(const gp_XYZ& anIndicator, const double aDistance, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Plane.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Plane.cxx index c833fe688a..79cf5e60c1 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Plane.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Plane.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Plane, IGESData_IGESEntity) -IGESGeom_Plane::IGESGeom_Plane() {} +IGESGeom_Plane::IGESGeom_Plane() = default; void IGESGeom_Plane::Init(const double A, const double B, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Point.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Point.cxx index 741d9905f3..46e12ecd62 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Point.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Point.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Point, IGESData_IGESEntity) -IGESGeom_Point::IGESGeom_Point() {} +IGESGeom_Point::IGESGeom_Point() = default; void IGESGeom_Point::Init(const gp_XYZ& aPoint, const occ::handle& aSymbol) { diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.cxx index a44a040e4f..81f21dbb32 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.cxx @@ -41,7 +41,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Protocol, IGESData_Protocol) -IGESGeom_Protocol::IGESGeom_Protocol() {} +IGESGeom_Protocol::IGESGeom_Protocol() = default; int IGESGeom_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.hxx index f34494b0ec..2976e94a49 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, one //! (Protocol from IGESBasic) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESGeom_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ReadWriteModule.cxx index 182ecccc95..76664748e1 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ReadWriteModule.cxx @@ -67,7 +67,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESGeom_ReadWriteModule::IGESGeom_ReadWriteModule() {} +IGESGeom_ReadWriteModule::IGESGeom_ReadWriteModule() = default; int IGESGeom_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_RuledSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_RuledSurface.cxx index 57da555735..ec8007d53b 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_RuledSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_RuledSurface.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_RuledSurface, IGESData_IGESEntity) -IGESGeom_RuledSurface::IGESGeom_RuledSurface() {} +IGESGeom_RuledSurface::IGESGeom_RuledSurface() = default; void IGESGeom_RuledSurface::Init(const occ::handle& aCurve, const occ::handle& anotherCurve, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.cxx index 9e74b73d6b..76d516f764 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.cxx @@ -65,7 +65,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESGeom_SpecificModule::IGESGeom_SpecificModule() {} +IGESGeom_SpecificModule::IGESGeom_SpecificModule() = default; void IGESGeom_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.hxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.hxx index 734c3b6bd7..03a2f2ec1f 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SpecificModule.hxx @@ -43,8 +43,8 @@ public: //! Performs non-ambiguous Correction on Entities which support //! them (Boundary,ConicArc,Flash,OffsetCurve,TransformationMatrix) - Standard_EXPORT virtual bool OwnCorrect(const int CN, const occ::handle& ent) - const override; + Standard_EXPORT bool OwnCorrect(const int CN, + const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESGeom_SpecificModule, IGESData_SpecificModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineCurve.cxx index 1063daa1e8..9e43f972f8 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineCurve.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SplineCurve, IGESData_IGESEntity) -IGESGeom_SplineCurve::IGESGeom_SplineCurve() {} +IGESGeom_SplineCurve::IGESGeom_SplineCurve() = default; void IGESGeom_SplineCurve::Init(const int aType, const int aDegree, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineSurface.cxx index 69d9d739c6..7e46a7a3ff 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SplineSurface.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SplineSurface, IGESData_IGESEntity) -IGESGeom_SplineSurface::IGESGeom_SplineSurface() {} +IGESGeom_SplineSurface::IGESGeom_SplineSurface() = default; void IGESGeom_SplineSurface::Init( const int aBoundaryType, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SurfaceOfRevolution.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SurfaceOfRevolution.cxx index 5f849efc4a..9025761d49 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SurfaceOfRevolution.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_SurfaceOfRevolution.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_SurfaceOfRevolution, IGESData_IGESEntity) -IGESGeom_SurfaceOfRevolution::IGESGeom_SurfaceOfRevolution() {} +IGESGeom_SurfaceOfRevolution::IGESGeom_SurfaceOfRevolution() = default; void IGESGeom_SurfaceOfRevolution::Init(const occ::handle& anAxis, const occ::handle& aGeneratrix, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TabulatedCylinder.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TabulatedCylinder.cxx index b840eabfb1..a6de939e40 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TabulatedCylinder.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TabulatedCylinder.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TabulatedCylinder, IGESData_IGESEntity) -IGESGeom_TabulatedCylinder::IGESGeom_TabulatedCylinder() {} +IGESGeom_TabulatedCylinder::IGESGeom_TabulatedCylinder() = default; void IGESGeom_TabulatedCylinder::Init(const occ::handle& aDirectrix, const gp_XYZ& anEnd) diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineCurve.cxx index e59f017d38..ff623b4c3e 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineCurve.cxx @@ -38,7 +38,7 @@ // MGE 29/07/98 //================================================================================================= -IGESGeom_ToolBSplineCurve::IGESGeom_ToolBSplineCurve() {} +IGESGeom_ToolBSplineCurve::IGESGeom_ToolBSplineCurve() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineSurface.cxx index 88ea5b05ef..47c5512fe1 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBSplineSurface.cxx @@ -39,7 +39,7 @@ // MGE 31/07/98 //================================================================================================= -IGESGeom_ToolBSplineSurface::IGESGeom_ToolBSplineSurface() {} +IGESGeom_ToolBSplineSurface::IGESGeom_ToolBSplineSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundary.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundary.cxx index 9b0e97c58a..74149c7d7d 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundary.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundary.cxx @@ -38,12 +38,12 @@ #include #include -#include +#include // MGE 30/07/98 //================================================================================================= -IGESGeom_ToolBoundary::IGESGeom_ToolBoundary() {} +IGESGeom_ToolBoundary::IGESGeom_ToolBoundary() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundedSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundedSurface.cxx index 7c995917ce..1f53dcc251 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundedSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolBoundedSurface.cxx @@ -39,7 +39,7 @@ // MGE 31/07/98 //================================================================================================= -IGESGeom_ToolBoundedSurface::IGESGeom_ToolBoundedSurface() {} +IGESGeom_ToolBoundedSurface::IGESGeom_ToolBoundedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCircularArc.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCircularArc.cxx index c841f86919..fad6518938 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCircularArc.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCircularArc.cxx @@ -34,10 +34,10 @@ #include #include -#include +#include // MGE 28/07/98 -IGESGeom_ToolCircularArc::IGESGeom_ToolCircularArc() {} +IGESGeom_ToolCircularArc::IGESGeom_ToolCircularArc() = default; void IGESGeom_ToolCircularArc::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCompositeCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCompositeCurve.cxx index 29f44ca15a..dd08a33f11 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCompositeCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCompositeCurve.cxx @@ -33,7 +33,7 @@ #include // MGE 28/07/98 -IGESGeom_ToolCompositeCurve::IGESGeom_ToolCompositeCurve() {} +IGESGeom_ToolCompositeCurve::IGESGeom_ToolCompositeCurve() = default; void IGESGeom_ToolCompositeCurve::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolConicArc.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolConicArc.cxx index 1fdd1d876d..627ee8740a 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolConicArc.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolConicArc.cxx @@ -36,12 +36,12 @@ #include #include -#include +#include // MGE 28/07/98 //================================================================================================= -IGESGeom_ToolConicArc::IGESGeom_ToolConicArc() {} +IGESGeom_ToolConicArc::IGESGeom_ToolConicArc() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCopiousData.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCopiousData.cxx index ce293e839b..0225cc62af 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCopiousData.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCopiousData.cxx @@ -36,7 +36,7 @@ // MGE 28/07/98 //================================================================================================= -IGESGeom_ToolCopiousData::IGESGeom_ToolCopiousData() {} +IGESGeom_ToolCopiousData::IGESGeom_ToolCopiousData() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCurveOnSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCurveOnSurface.cxx index a25bc319bf..99840f3078 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCurveOnSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolCurveOnSurface.cxx @@ -34,7 +34,7 @@ // MGE 30/07/98 //================================================================================================= -IGESGeom_ToolCurveOnSurface::IGESGeom_ToolCurveOnSurface() {} +IGESGeom_ToolCurveOnSurface::IGESGeom_ToolCurveOnSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolDirection.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolDirection.cxx index 97ea5bd339..01f1dd75d8 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolDirection.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolDirection.cxx @@ -33,7 +33,7 @@ #include #include -IGESGeom_ToolDirection::IGESGeom_ToolDirection() {} +IGESGeom_ToolDirection::IGESGeom_ToolDirection() = default; void IGESGeom_ToolDirection::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolFlash.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolFlash.cxx index 39fb2c5074..3fba8db852 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolFlash.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolFlash.cxx @@ -35,7 +35,7 @@ #include #include -IGESGeom_ToolFlash::IGESGeom_ToolFlash() {} +IGESGeom_ToolFlash::IGESGeom_ToolFlash() = default; void IGESGeom_ToolFlash::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolLine.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolLine.cxx index acb652b40c..592381ed3f 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolLine.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolLine.cxx @@ -34,7 +34,7 @@ #include // MGE 29/07/98 -IGESGeom_ToolLine::IGESGeom_ToolLine() {} +IGESGeom_ToolLine::IGESGeom_ToolLine() = default; void IGESGeom_ToolLine::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetCurve.cxx index de2b7a7798..46b1dd1752 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetCurve.cxx @@ -40,7 +40,7 @@ // MGE 30/07/98 //================================================================================================= -IGESGeom_ToolOffsetCurve::IGESGeom_ToolOffsetCurve() {} +IGESGeom_ToolOffsetCurve::IGESGeom_ToolOffsetCurve() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetSurface.cxx index 6992560e0c..70a9a1f76c 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolOffsetSurface.cxx @@ -36,7 +36,7 @@ #include // MGE 31/07/98 -IGESGeom_ToolOffsetSurface::IGESGeom_ToolOffsetSurface() {} +IGESGeom_ToolOffsetSurface::IGESGeom_ToolOffsetSurface() = default; void IGESGeom_ToolOffsetSurface::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPlane.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPlane.cxx index 41fd64d2ba..a061e22b7b 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPlane.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPlane.cxx @@ -36,12 +36,12 @@ #include #include -#include +#include // MGE 30/07/98 //================================================================================================= -IGESGeom_ToolPlane::IGESGeom_ToolPlane() {} +IGESGeom_ToolPlane::IGESGeom_ToolPlane() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPoint.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPoint.cxx index 1e851ecf3d..5dea4c1bd6 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPoint.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolPoint.cxx @@ -37,7 +37,7 @@ #include // MGE 28/07/98 -IGESGeom_ToolPoint::IGESGeom_ToolPoint() {} +IGESGeom_ToolPoint::IGESGeom_ToolPoint() = default; void IGESGeom_ToolPoint::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolRuledSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolRuledSurface.cxx index 573207d5e9..927c00ef54 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolRuledSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolRuledSurface.cxx @@ -32,7 +32,7 @@ #include // MGE 31/07/98 -IGESGeom_ToolRuledSurface::IGESGeom_ToolRuledSurface() {} +IGESGeom_ToolRuledSurface::IGESGeom_ToolRuledSurface() = default; void IGESGeom_ToolRuledSurface::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineCurve.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineCurve.cxx index 84da70b076..8faa82fa53 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineCurve.cxx @@ -34,10 +34,10 @@ #include #include -#include +#include // MGE 29/07/98 -IGESGeom_ToolSplineCurve::IGESGeom_ToolSplineCurve() {} +IGESGeom_ToolSplineCurve::IGESGeom_ToolSplineCurve() = default; void IGESGeom_ToolSplineCurve::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineSurface.cxx index df913e473b..344ae567e3 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSplineSurface.cxx @@ -37,7 +37,7 @@ #include // MGE 30/07/98 -IGESGeom_ToolSplineSurface::IGESGeom_ToolSplineSurface() {} +IGESGeom_ToolSplineSurface::IGESGeom_ToolSplineSurface() = default; void IGESGeom_ToolSplineSurface::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSurfaceOfRevolution.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSurfaceOfRevolution.cxx index 82a842c607..96101ac484 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSurfaceOfRevolution.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolSurfaceOfRevolution.cxx @@ -33,7 +33,7 @@ #include // MGE 31/07/98 -IGESGeom_ToolSurfaceOfRevolution::IGESGeom_ToolSurfaceOfRevolution() {} +IGESGeom_ToolSurfaceOfRevolution::IGESGeom_ToolSurfaceOfRevolution() = default; void IGESGeom_ToolSurfaceOfRevolution::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTabulatedCylinder.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTabulatedCylinder.cxx index 96bd6616eb..2d569c9ccf 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTabulatedCylinder.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTabulatedCylinder.cxx @@ -36,7 +36,7 @@ #include // MGE 31/07/98 -IGESGeom_ToolTabulatedCylinder::IGESGeom_ToolTabulatedCylinder() {} +IGESGeom_ToolTabulatedCylinder::IGESGeom_ToolTabulatedCylinder() = default; void IGESGeom_ToolTabulatedCylinder::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTransformationMatrix.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTransformationMatrix.cxx index c3c7e53012..a9f8955a86 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTransformationMatrix.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTransformationMatrix.cxx @@ -35,7 +35,7 @@ // MGE 03/08/98 //================================================================================================= -IGESGeom_ToolTransformationMatrix::IGESGeom_ToolTransformationMatrix() {} +IGESGeom_ToolTransformationMatrix::IGESGeom_ToolTransformationMatrix() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTrimmedSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTrimmedSurface.cxx index bd254c46a4..2ffcca927b 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTrimmedSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_ToolTrimmedSurface.cxx @@ -35,7 +35,7 @@ // MGE 31/07/98 //================================================================================================= -IGESGeom_ToolTrimmedSurface::IGESGeom_ToolTrimmedSurface() {} +IGESGeom_ToolTrimmedSurface::IGESGeom_ToolTrimmedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TransformationMatrix.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TransformationMatrix.cxx index 009139547e..56d907aa26 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TransformationMatrix.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TransformationMatrix.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TransformationMatrix, IGESData_TransfEntity) -IGESGeom_TransformationMatrix::IGESGeom_TransformationMatrix() {} +IGESGeom_TransformationMatrix::IGESGeom_TransformationMatrix() = default; void IGESGeom_TransformationMatrix::Init(const occ::handle>& aMatrix) { diff --git a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TrimmedSurface.cxx b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TrimmedSurface.cxx index 5c6861146d..24e4896dd6 100644 --- a/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TrimmedSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESGeom/IGESGeom_TrimmedSurface.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_TrimmedSurface, IGESData_IGESEntity) -IGESGeom_TrimmedSurface::IGESGeom_TrimmedSurface() {} +IGESGeom_TrimmedSurface::IGESGeom_TrimmedSurface() = default; void IGESGeom_TrimmedSurface::Init( const occ::handle& aSurface, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Color.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Color.cxx index 37d4ed19b3..f25394d6f0 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Color.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Color.cxx @@ -28,7 +28,7 @@ namespace constexpr double SQRT_3 = 1.7320508075688772935; } // namespace -IGESGraph_Color::IGESGraph_Color() {} +IGESGraph_Color::IGESGraph_Color() = default; // This class inherits from IGESData_ColorEntity diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DefinitionLevel.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DefinitionLevel.cxx index 53e8034208..dd51b0b5bf 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DefinitionLevel.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DefinitionLevel.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_DefinitionLevel, IGESData_LevelListEntity) -IGESGraph_DefinitionLevel::IGESGraph_DefinitionLevel() {} +IGESGraph_DefinitionLevel::IGESGraph_DefinitionLevel() = default; void IGESGraph_DefinitionLevel::Init(const occ::handle>& allLevelNumbers) { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingSize.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingSize.cxx index d35264179d..adbce5d5a6 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingSize.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingSize.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_DrawingSize, IGESData_IGESEntity) -IGESGraph_DrawingSize::IGESGraph_DrawingSize() {} +IGESGraph_DrawingSize::IGESGraph_DrawingSize() = default; void IGESGraph_DrawingSize::Init(const int nbProps, const double aXSize, const double aYSize) { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingUnits.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingUnits.cxx index 430a5472d3..3123f4ce45 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingUnits.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_DrawingUnits.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_DrawingUnits, IGESData_IGESEntity) -IGESGraph_DrawingUnits::IGESGraph_DrawingUnits() {} +IGESGraph_DrawingUnits::IGESGraph_DrawingUnits() = default; void IGESGraph_DrawingUnits::Init(const int nbProps, const int aFlag, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.cxx index 817d65188c..51a802ba11 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.cxx @@ -55,7 +55,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESGraph_GeneralModule::IGESGraph_GeneralModule() {} +IGESGraph_GeneralModule::IGESGraph_GeneralModule() = default; void IGESGraph_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.hxx index e22f7cdbb4..9b593c517b 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_GeneralModule.hxx @@ -68,9 +68,9 @@ public: //! Returns a category number which characterizes an entity //! Drawing for all - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESGraph_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_HighLight.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_HighLight.cxx index a1399f1e31..8e87831728 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_HighLight.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_HighLight.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_HighLight, IGESData_IGESEntity) -IGESGraph_HighLight::IGESGraph_HighLight() {} +IGESGraph_HighLight::IGESGraph_HighLight() = default; void IGESGraph_HighLight::Init(const int nbProps, const int aHighLightStatus) { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_IntercharacterSpacing.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_IntercharacterSpacing.cxx index 62ff00ec00..de43abe7f8 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_IntercharacterSpacing.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_IntercharacterSpacing.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_IntercharacterSpacing, IGESData_IGESEntity) -IGESGraph_IntercharacterSpacing::IGESGraph_IntercharacterSpacing() {} +IGESGraph_IntercharacterSpacing::IGESGraph_IntercharacterSpacing() = default; void IGESGraph_IntercharacterSpacing::Init(const int nbProps, const double anISpace) { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefPattern.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefPattern.cxx index 92f838f632..bc02bf0c21 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefPattern.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefPattern.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_LineFontDefPattern, IGESData_LineFontEntity) -IGESGraph_LineFontDefPattern::IGESGraph_LineFontDefPattern() {} +IGESGraph_LineFontDefPattern::IGESGraph_LineFontDefPattern() = default; // This class inherits from IGESData_LineFontEntity @@ -65,7 +65,7 @@ bool IGESGraph_LineFontDefPattern::IsVisible(const int Index) const int length = theDisplayPattern->Length(); tempStr[0] = theDisplayPattern->Value(length - ((nbSegs - Index) / 4)); tempStr[1] = 0; - int tempVal = (int)strtol(tempStr, (char**)NULL, 16); + int tempVal = (int)strtol(tempStr, (char**)nullptr, 16); // Now get the BIT out of tempVal int mask = 0x01; mask <<= ((nbSegs - Index) % 4); diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefTemplate.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefTemplate.cxx index cd0b77d59a..7b51c615b9 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefTemplate.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontDefTemplate.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_LineFontDefTemplate, IGESData_LineFontEntity) -IGESGraph_LineFontDefTemplate::IGESGraph_LineFontDefTemplate() {} +IGESGraph_LineFontDefTemplate::IGESGraph_LineFontDefTemplate() = default; // This class inherits from IGESData_LineFontEntity diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontPredefined.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontPredefined.cxx index 2d25335663..ce8ebaa73c 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontPredefined.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_LineFontPredefined.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_LineFontPredefined, IGESData_IGESEntity) -IGESGraph_LineFontPredefined::IGESGraph_LineFontPredefined() {} +IGESGraph_LineFontPredefined::IGESGraph_LineFontPredefined() = default; void IGESGraph_LineFontPredefined::Init(const int nbProps, const int aLineFontPatternCode) { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_NominalSize.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_NominalSize.cxx index 2ab5fe44ce..123a3521e8 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_NominalSize.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_NominalSize.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_NominalSize, IGESData_IGESEntity) -IGESGraph_NominalSize::IGESGraph_NominalSize() {} +IGESGraph_NominalSize::IGESGraph_NominalSize() = default; void IGESGraph_NominalSize::Init(const int nbProps, const double aNominalSizeValue, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Pick.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Pick.cxx index d19d5d796f..b4e346c5ae 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Pick.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Pick.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_Pick, IGESData_IGESEntity) -IGESGraph_Pick::IGESGraph_Pick() {} +IGESGraph_Pick::IGESGraph_Pick() = default; void IGESGraph_Pick::Init(const int nbProps, const int aPickStatus) { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.cxx index 37db353c9c..1d64b08d59 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.cxx @@ -34,7 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_Protocol, IGESData_Protocol) -IGESGraph_Protocol::IGESGraph_Protocol() {} +IGESGraph_Protocol::IGESGraph_Protocol() = default; int IGESGraph_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.hxx index 6319d9a74e..23a29fbb58 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, one //! (Protocol from IGESBasic) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESGraph_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ReadWriteModule.cxx index 5d60ec4719..fc7c47ab9f 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ReadWriteModule.cxx @@ -51,7 +51,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESGraph_ReadWriteModule::IGESGraph_ReadWriteModule() {} +IGESGraph_ReadWriteModule::IGESGraph_ReadWriteModule() = default; int IGESGraph_ReadWriteModule::CaseIGES(const int typenum, const int formnum) const { diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.cxx index c4bd6584e7..e3c0ae4dab 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.cxx @@ -50,7 +50,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESGraph_SpecificModule::IGESGraph_SpecificModule() {} +IGESGraph_SpecificModule::IGESGraph_SpecificModule() = default; void IGESGraph_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.hxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.hxx index 1148214df0..4db0fc2156 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_SpecificModule.hxx @@ -44,8 +44,8 @@ public: //! Performs non-ambiguous Corrections on Entities which support //! them (DrawingSize,DrawingUnits,HighLight,IntercharacterSpacing, //! LineFontPredefined,NominalSize,Pick,UniformRectGrid) - Standard_EXPORT virtual bool OwnCorrect(const int CN, const occ::handle& ent) - const override; + Standard_EXPORT bool OwnCorrect(const int CN, + const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESGraph_SpecificModule, IGESData_SpecificModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextDisplayTemplate.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextDisplayTemplate.cxx index d40dddabf1..d3219cf9de 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextDisplayTemplate.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextDisplayTemplate.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_TextDisplayTemplate, IGESData_IGESEntity) -IGESGraph_TextDisplayTemplate::IGESGraph_TextDisplayTemplate() {} +IGESGraph_TextDisplayTemplate::IGESGraph_TextDisplayTemplate() = default; void IGESGraph_TextDisplayTemplate::Init(const double aWidth, const double aHeight, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextFontDef.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextFontDef.cxx index 49db19a034..5a21189c88 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextFontDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_TextFontDef.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_TextFontDef, IGESData_IGESEntity) -IGESGraph_TextFontDef::IGESGraph_TextFontDef() {} +IGESGraph_TextFontDef::IGESGraph_TextFontDef() = default; void IGESGraph_TextFontDef::Init( const int aFontCode, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolColor.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolColor.cxx index f5a308b3fb..0813a0f2aa 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolColor.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolColor.cxx @@ -31,7 +31,7 @@ #include #include -IGESGraph_ToolColor::IGESGraph_ToolColor() {} +IGESGraph_ToolColor::IGESGraph_ToolColor() = default; void IGESGraph_ToolColor::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDefinitionLevel.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDefinitionLevel.cxx index 3c07764e02..0b65204417 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDefinitionLevel.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDefinitionLevel.cxx @@ -33,7 +33,7 @@ #include #include -IGESGraph_ToolDefinitionLevel::IGESGraph_ToolDefinitionLevel() {} +IGESGraph_ToolDefinitionLevel::IGESGraph_ToolDefinitionLevel() = default; void IGESGraph_ToolDefinitionLevel::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingSize.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingSize.cxx index cb81596b21..18dd2e5933 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingSize.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingSize.cxx @@ -28,7 +28,7 @@ #include #include -IGESGraph_ToolDrawingSize::IGESGraph_ToolDrawingSize() {} +IGESGraph_ToolDrawingSize::IGESGraph_ToolDrawingSize() = default; void IGESGraph_ToolDrawingSize::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingUnits.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingUnits.cxx index 67a19357c5..f40de29cb2 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingUnits.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolDrawingUnits.cxx @@ -31,7 +31,7 @@ #include #include -IGESGraph_ToolDrawingUnits::IGESGraph_ToolDrawingUnits() {} +IGESGraph_ToolDrawingUnits::IGESGraph_ToolDrawingUnits() = default; void IGESGraph_ToolDrawingUnits::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolHighLight.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolHighLight.cxx index 1edf950f4e..4e08663c08 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolHighLight.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolHighLight.cxx @@ -28,7 +28,7 @@ #include #include -IGESGraph_ToolHighLight::IGESGraph_ToolHighLight() {} +IGESGraph_ToolHighLight::IGESGraph_ToolHighLight() = default; void IGESGraph_ToolHighLight::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolIntercharacterSpacing.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolIntercharacterSpacing.cxx index e896c3e9ef..054ab6bb16 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolIntercharacterSpacing.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolIntercharacterSpacing.cxx @@ -28,7 +28,7 @@ #include #include -IGESGraph_ToolIntercharacterSpacing::IGESGraph_ToolIntercharacterSpacing() {} +IGESGraph_ToolIntercharacterSpacing::IGESGraph_ToolIntercharacterSpacing() = default; void IGESGraph_ToolIntercharacterSpacing::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefPattern.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefPattern.cxx index 5c92efc166..a937c17be0 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefPattern.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefPattern.cxx @@ -32,7 +32,7 @@ #include #include -IGESGraph_ToolLineFontDefPattern::IGESGraph_ToolLineFontDefPattern() {} +IGESGraph_ToolLineFontDefPattern::IGESGraph_ToolLineFontDefPattern() = default; void IGESGraph_ToolLineFontDefPattern::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefTemplate.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefTemplate.cxx index 5391d7dfb6..4a3fd0728a 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefTemplate.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontDefTemplate.cxx @@ -31,7 +31,7 @@ #include #include -IGESGraph_ToolLineFontDefTemplate::IGESGraph_ToolLineFontDefTemplate() {} +IGESGraph_ToolLineFontDefTemplate::IGESGraph_ToolLineFontDefTemplate() = default; void IGESGraph_ToolLineFontDefTemplate::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontPredefined.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontPredefined.cxx index 0f13436932..652d6aec59 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontPredefined.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolLineFontPredefined.cxx @@ -28,7 +28,7 @@ #include #include -IGESGraph_ToolLineFontPredefined::IGESGraph_ToolLineFontPredefined() {} +IGESGraph_ToolLineFontPredefined::IGESGraph_ToolLineFontPredefined() = default; void IGESGraph_ToolLineFontPredefined::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolNominalSize.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolNominalSize.cxx index 3ceb1982d3..6e4af04016 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolNominalSize.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolNominalSize.cxx @@ -31,7 +31,7 @@ #include #include -IGESGraph_ToolNominalSize::IGESGraph_ToolNominalSize() {} +IGESGraph_ToolNominalSize::IGESGraph_ToolNominalSize() = default; void IGESGraph_ToolNominalSize::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolPick.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolPick.cxx index d97cfd6406..32f97815bc 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolPick.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolPick.cxx @@ -28,7 +28,7 @@ #include #include -IGESGraph_ToolPick::IGESGraph_ToolPick() {} +IGESGraph_ToolPick::IGESGraph_ToolPick() = default; void IGESGraph_ToolPick::ReadOwnParams(const occ::handle& ent, const occ::handle& /*IR*/, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextDisplayTemplate.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextDisplayTemplate.cxx index 0aea4d29ff..63b64e81ff 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextDisplayTemplate.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextDisplayTemplate.cxx @@ -35,7 +35,7 @@ #include #include -IGESGraph_ToolTextDisplayTemplate::IGESGraph_ToolTextDisplayTemplate() {} +IGESGraph_ToolTextDisplayTemplate::IGESGraph_ToolTextDisplayTemplate() = default; void IGESGraph_ToolTextDisplayTemplate::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextFontDef.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextFontDef.cxx index 8412d05851..b9f779003d 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextFontDef.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolTextFontDef.cxx @@ -39,7 +39,7 @@ #include #include -IGESGraph_ToolTextFontDef::IGESGraph_ToolTextFontDef() {} +IGESGraph_ToolTextFontDef::IGESGraph_ToolTextFontDef() = default; void IGESGraph_ToolTextFontDef::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolUniformRectGrid.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolUniformRectGrid.cxx index a1d7de494f..d40bc585ba 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolUniformRectGrid.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_ToolUniformRectGrid.cxx @@ -33,7 +33,7 @@ #include #include -IGESGraph_ToolUniformRectGrid::IGESGraph_ToolUniformRectGrid() {} +IGESGraph_ToolUniformRectGrid::IGESGraph_ToolUniformRectGrid() = default; void IGESGraph_ToolUniformRectGrid::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_UniformRectGrid.cxx b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_UniformRectGrid.cxx index f576a346aa..da2ccbba9a 100644 --- a/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_UniformRectGrid.cxx +++ b/src/DataExchange/TKDEIGES/IGESGraph/IGESGraph_UniformRectGrid.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESGraph_UniformRectGrid, IGESData_IGESEntity) -IGESGraph_UniformRectGrid::IGESGraph_UniformRectGrid() {} +IGESGraph_UniformRectGrid::IGESGraph_UniformRectGrid() = default; void IGESGraph_UniformRectGrid::Init(const int nbProps, const int finite, diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Activator.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Activator.cxx index 2f6811a495..eabcd40c78 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Activator.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Activator.cxx @@ -52,7 +52,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_Activator, IFSelect_Activator) static int THE_IGESSelect_Activator_initActivator = 0; diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_AddFileComment.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_AddFileComment.cxx index 14fcc7aed0..1c7a8945d0 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_AddFileComment.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_AddFileComment.cxx @@ -21,7 +21,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_AddFileComment, IGESSelect_FileModifier) IGESSelect_AddFileComment::IGESSelect_AddFileComment() diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelList.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelList.cxx index 3fde324f66..a12a9dbdc5 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelList.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelList.cxx @@ -25,7 +25,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_ChangeLevelList, IGESSelect_ModelModifier) IGESSelect_ChangeLevelList::IGESSelect_ChangeLevelList() diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelNumber.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelNumber.cxx index e520e844f1..b5cfa82204 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ChangeLevelNumber.cxx @@ -25,7 +25,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_ChangeLevelNumber, IGESSelect_ModelModifier) IGESSelect_ChangeLevelNumber::IGESSelect_ChangeLevelNumber() diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.cxx index b7c4baa793..f65d3e4e17 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.cxx @@ -18,7 +18,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_CounterOfLevelNumber, IFSelect_SignCounter) IGESSelect_CounterOfLevelNumber::IGESSelect_CounterOfLevelNumber(const bool withmap, diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.hxx index 9124b4962e..4488299038 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_CounterOfLevelNumber.hxx @@ -44,7 +44,7 @@ public: const bool withlist = false); //! Resets already memorized information : also numeric data - Standard_EXPORT virtual void Clear() override; + Standard_EXPORT void Clear() override; //! Adds an entity by considering its lrvrl number(s) //! A level is added both in numeric and alphanumeric form, @@ -52,8 +52,8 @@ public: //! positive level) displays level number on 7 digits (C : %7d) //! Remark : an entity attached to a Level List is added for //! " LEVEL LIST", and for each of its constituent levels - Standard_EXPORT virtual void AddSign(const occ::handle& ent, - const occ::handle& model) override; + Standard_EXPORT void AddSign(const occ::handle& ent, + const occ::handle& model) override; //! The internal action to record a new level number, positive, //! null (no level) or negative (level list) @@ -74,13 +74,13 @@ public: //! Determines and returns the value of the signature for an //! entity as an HAsciiString. Redefined, gives the same result //! as AddSign, see this method ("LEVEL LIST" or "nnnnnnn") - Standard_EXPORT virtual occ::handle Sign( + Standard_EXPORT occ::handle Sign( const occ::handle& ent, const occ::handle& model) const override; //! Prints the counts of items (not the list) then the Highest //! Level Number recorded - Standard_EXPORT virtual void PrintCount(Standard_OStream& S) const override; + Standard_EXPORT void PrintCount(Standard_OStream& S) const override; DEFINE_STANDARD_RTTIEXT(IGESSelect_CounterOfLevelNumber, IFSelect_SignCounter) diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerDrawing.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerDrawing.hxx index 6d91e4b9cb..015e219aee 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerDrawing.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerDrawing.hxx @@ -49,12 +49,11 @@ public: IFGraph_SubPartsIterator& packs) const override; //! Returns True, because of entities attached to no view. - Standard_EXPORT virtual bool CanHaveRemainder() const override; + Standard_EXPORT bool CanHaveRemainder() const override; //! Returns Remainder which is a set of Entities. //! It is supposed to be called once Packets has been called. - Standard_EXPORT virtual Interface_EntityIterator Remainder( - const Interface_Graph& G) const override; + Standard_EXPORT Interface_EntityIterator Remainder(const Interface_Graph& G) const override; DEFINE_STANDARD_RTTIEXT(IGESSelect_DispPerDrawing, IFSelect_Dispatch) diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerSingleView.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerSingleView.hxx index 6e5b886fed..e12087106a 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerSingleView.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_DispPerSingleView.hxx @@ -49,12 +49,11 @@ public: IFGraph_SubPartsIterator& packs) const override; //! Returns True, because of entities attached to no view. - Standard_EXPORT virtual bool CanHaveRemainder() const override; + Standard_EXPORT bool CanHaveRemainder() const override; //! Returns Remainder which is a set of Entities. //! It is supposed to be called once Packets has been called. - Standard_EXPORT virtual Interface_EntityIterator Remainder( - const Interface_Graph& G) const override; + Standard_EXPORT Interface_EntityIterator Remainder(const Interface_Graph& G) const override; DEFINE_STANDARD_RTTIEXT(IGESSelect_DispPerSingleView, IFSelect_Dispatch) diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Dumper.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Dumper.cxx index d082510884..ded0d00d6a 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Dumper.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_Dumper.cxx @@ -42,11 +42,11 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_Dumper, IFSelect_SessionDumper) // #include -IGESSelect_Dumper::IGESSelect_Dumper() {} +IGESSelect_Dumper::IGESSelect_Dumper() = default; bool IGESSelect_Dumper::WriteOwn(IFSelect_SessionFile& file, const occ::handle& item) const diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditDirPart.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditDirPart.hxx index 3beaa33f4b..3dfba0dcab 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditDirPart.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditDirPart.hxx @@ -48,10 +48,10 @@ public: const occ::handle& ent, const occ::handle& model) const override; - Standard_EXPORT virtual bool Update(const occ::handle& form, - const int num, - const occ::handle& newval, - const bool enforce) const override; + Standard_EXPORT bool Update(const occ::handle& form, + const int num, + const occ::handle& newval, + const bool enforce) const override; Standard_EXPORT bool Apply(const occ::handle& form, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditHeader.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditHeader.hxx index 3a211f7596..8cfe71184e 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditHeader.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_EditHeader.hxx @@ -48,10 +48,10 @@ public: const occ::handle& ent, const occ::handle& model) const override; - Standard_EXPORT virtual bool Update(const occ::handle& form, - const int num, - const occ::handle& newval, - const bool enforce) const override; + Standard_EXPORT bool Update(const occ::handle& form, + const int num, + const occ::handle& newval, + const bool enforce) const override; Standard_EXPORT bool Apply(const occ::handle& form, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_FloatFormat.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_FloatFormat.cxx index 2c0ce9670b..e51cb6dffd 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_FloatFormat.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_FloatFormat.cxx @@ -18,7 +18,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_FloatFormat, IGESSelect_FileModifier) IGESSelect_FloatFormat::IGESSelect_FloatFormat() diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_IGESTypeForm.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_IGESTypeForm.cxx index 8d7a2c4466..a13039fe0a 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_IGESTypeForm.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_IGESTypeForm.cxx @@ -18,7 +18,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_IGESTypeForm, IFSelect_Signature) static char falsetype[] = "?"; diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.cxx index 7d7ec57f4c..92fa663ba9 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectDrawingFrom, IFSelect_SelectDeduct) -IGESSelect_SelectDrawingFrom::IGESSelect_SelectDrawingFrom() {} +IGESSelect_SelectDrawingFrom::IGESSelect_SelectDrawingFrom() = default; bool IGESSelect_SelectDrawingFrom::HasUniqueResult() const { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.hxx index 4b7c6dccdb..45c509c73c 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectDrawingFrom.hxx @@ -47,7 +47,7 @@ public: protected: //! Returns True, because selection works with a ViewSorter which //! gives a unique result - Standard_EXPORT virtual bool HasUniqueResult() const override; + Standard_EXPORT bool HasUniqueResult() const override; }; #endif // _IGESSelect_SelectDrawingFrom_HeaderFile diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromDrawing.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromDrawing.cxx index 213d6dd822..fe8bcb3b22 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromDrawing.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromDrawing.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectFromDrawing, IFSelect_SelectDeduct) #define PourDrawing 404 -IGESSelect_SelectFromDrawing::IGESSelect_SelectFromDrawing() {} +IGESSelect_SelectFromDrawing::IGESSelect_SelectFromDrawing() = default; Interface_EntityIterator IGESSelect_SelectFromDrawing::RootResult(const Interface_Graph& G) const { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromSingleView.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromSingleView.cxx index d2ece96065..07b692e4cb 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromSingleView.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectFromSingleView.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectFromSingleView, IFSelect_SelectDeduct) -IGESSelect_SelectFromSingleView::IGESSelect_SelectFromSingleView() {} +IGESSelect_SelectFromSingleView::IGESSelect_SelectFromSingleView() = default; Interface_EntityIterator IGESSelect_SelectFromSingleView::RootResult(const Interface_Graph& G) const { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectLevelNumber.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectLevelNumber.cxx index 25b27377b2..60efc111ac 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectLevelNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectLevelNumber.cxx @@ -20,10 +20,10 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectLevelNumber, IFSelect_SelectExtract) -IGESSelect_SelectLevelNumber::IGESSelect_SelectLevelNumber() {} +IGESSelect_SelectLevelNumber::IGESSelect_SelectLevelNumber() = default; void IGESSelect_SelectLevelNumber::SetLevelNumber(const occ::handle& levnum) { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectName.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectName.cxx index 0eb3134a68..1251779f68 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectName.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectName.cxx @@ -20,10 +20,10 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectName, IFSelect_SelectExtract) -IGESSelect_SelectName::IGESSelect_SelectName() {} +IGESSelect_SelectName::IGESSelect_SelectName() = default; void IGESSelect_SelectName::SetName(const occ::handle& levnum) { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.cxx index 2e835c7484..bb5c5046a0 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectSingleViewFrom, IFSelect_SelectDeduct) -IGESSelect_SelectSingleViewFrom::IGESSelect_SelectSingleViewFrom() {} +IGESSelect_SelectSingleViewFrom::IGESSelect_SelectSingleViewFrom() = default; bool IGESSelect_SelectSingleViewFrom::HasUniqueResult() const { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.hxx index b8d8a7447e..d344259720 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectSingleViewFrom.hxx @@ -47,7 +47,7 @@ public: protected: //! Returns True, because selection works with a ViewSorter which //! gives a unique result - Standard_EXPORT virtual bool HasUniqueResult() const override; + Standard_EXPORT bool HasUniqueResult() const override; }; #endif // _IGESSelect_SelectSingleViewFrom_HeaderFile diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectVisibleStatus.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectVisibleStatus.cxx index 3a7063369f..90b3d934e8 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectVisibleStatus.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SelectVisibleStatus.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SelectVisibleStatus, IFSelect_SelectExtract) -IGESSelect_SelectVisibleStatus::IGESSelect_SelectVisibleStatus() {} +IGESSelect_SelectVisibleStatus::IGESSelect_SelectVisibleStatus() = default; bool IGESSelect_SelectVisibleStatus::Sort( const int /*rank*/, diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SetGlobalParameter.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SetGlobalParameter.cxx index 93cf467a99..cc4dc23ccc 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SetGlobalParameter.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SetGlobalParameter.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SetGlobalParameter, IGESSelect_ModelModifier) IGESSelect_SetGlobalParameter::IGESSelect_SetGlobalParameter(const int numpar) diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignLevelNumber.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignLevelNumber.cxx index 805dabf6c1..37e134eb35 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignLevelNumber.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignLevelNumber.cxx @@ -19,7 +19,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SignLevelNumber, IFSelect_Signature) static TCollection_AsciiString laval; diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.cxx index 9d10386963..3964c9c750 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.cxx @@ -18,7 +18,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_SignStatus, IFSelect_Signature) static char theval[10]; diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.hxx index 7c3ae25b12..9d2441c240 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_SignStatus.hxx @@ -52,10 +52,10 @@ public: const occ::handle& model) const override; //! Performs the match rule (see above) - Standard_EXPORT virtual bool Matches(const occ::handle& ent, - const occ::handle& model, - const TCollection_AsciiString& text, - const bool exact) const override; + Standard_EXPORT bool Matches(const occ::handle& ent, + const occ::handle& model, + const TCollection_AsciiString& text, + const bool exact) const override; DEFINE_STANDARD_RTTIEXT(IGESSelect_SignStatus, IFSelect_Signature) }; diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ViewSorter.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ViewSorter.cxx index ff55b1ebe2..5cbc574957 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ViewSorter.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_ViewSorter.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_ViewSorter, Standard_Transient) #define PourDrawing 404 -IGESSelect_ViewSorter::IGESSelect_ViewSorter() {} +IGESSelect_ViewSorter::IGESSelect_ViewSorter() = default; void IGESSelect_ViewSorter::SetModel(const occ::handle& model) { diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.cxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.cxx index 96181316c8..448443a194 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.cxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.cxx @@ -42,7 +42,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(IGESSelect_WorkLibrary, IFSelect_WorkLibrary) static int deja = 0; @@ -104,11 +104,11 @@ bool IGESSelect_WorkLibrary::WriteFile(IFSelect_ContextWrite& ctx) const const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aStream = aFileSystem->OpenOStream(ctx.FileName(), std::ios::out | std::ios::binary); - if (aStream.get() == NULL) + if (aStream.get() == nullptr) { ctx.CCheck(0)->AddFail("IGES File could not be created"); sout << " - IGES File could not be created : " << ctx.FileName() << std::endl; - return 0; + return false; } sout << " IGES File Name : " << ctx.FileName(); IGESData_IGESWriter VW(igesmod); diff --git a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.hxx b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.hxx index f0b02ea27f..0f07de0b04 100644 --- a/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.hxx +++ b/src/DataExchange/TKDEIGES/IGESSelect/IGESSelect_WorkLibrary.hxx @@ -54,11 +54,11 @@ public: //! Dumps an IGES Entity with an IGES Dumper. is the one //! used by IGESDumper. - Standard_EXPORT virtual void DumpEntity(const occ::handle& model, - const occ::handle& protocol, - const occ::handle& entity, - Standard_OStream& S, - const int level) const override; + Standard_EXPORT void DumpEntity(const occ::handle& model, + const occ::handle& protocol, + const occ::handle& entity, + Standard_OStream& S, + const int level) const override; DEFINE_STANDARD_RTTIEXT(IGESSelect_WorkLibrary, IFSelect_WorkLibrary) diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Block.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Block.cxx index 1c8e19e2db..547644ca6d 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Block.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Block.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Block, IGESData_IGESEntity) -IGESSolid_Block::IGESSolid_Block() {} +IGESSolid_Block::IGESSolid_Block() = default; void IGESSolid_Block::Init(const gp_XYZ& aSize, const gp_XYZ& aCorner, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_BooleanTree.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_BooleanTree.cxx index b206c5d075..9b865c93c3 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_BooleanTree.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_BooleanTree.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_BooleanTree, IGESData_IGESEntity) -IGESSolid_BooleanTree::IGESSolid_BooleanTree() {} +IGESSolid_BooleanTree::IGESSolid_BooleanTree() = default; void IGESSolid_BooleanTree::Init( const occ::handle>>& operands, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConeFrustum.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConeFrustum.cxx index d77c00203e..2c7f777876 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConeFrustum.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConeFrustum.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_ConeFrustum, IGESData_IGESEntity) -IGESSolid_ConeFrustum::IGESSolid_ConeFrustum() {} +IGESSolid_ConeFrustum::IGESSolid_ConeFrustum() = default; void IGESSolid_ConeFrustum::Init(const double Ht, const double R1, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConicalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConicalSurface.cxx index cec9882153..84bc8dbc21 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConicalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ConicalSurface.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_ConicalSurface, IGESData_IGESEntity) -IGESSolid_ConicalSurface::IGESSolid_ConicalSurface() {} +IGESSolid_ConicalSurface::IGESSolid_ConicalSurface() = default; void IGESSolid_ConicalSurface::Init(const occ::handle& aLocation, const occ::handle& anAxis, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Cylinder.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Cylinder.cxx index baff2ccb79..42d546f25e 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Cylinder.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Cylinder.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Cylinder, IGESData_IGESEntity) -IGESSolid_Cylinder::IGESSolid_Cylinder() {} +IGESSolid_Cylinder::IGESSolid_Cylinder() = default; void IGESSolid_Cylinder::Init(const double aHeight, const double aRadius, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_CylindricalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_CylindricalSurface.cxx index 7b0fc69a25..47531eeb09 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_CylindricalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_CylindricalSurface.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_CylindricalSurface, IGESData_IGESEntity) -IGESSolid_CylindricalSurface::IGESSolid_CylindricalSurface() {} +IGESSolid_CylindricalSurface::IGESSolid_CylindricalSurface() = default; void IGESSolid_CylindricalSurface::Init(const occ::handle& aLocation, const occ::handle& anAxis, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_EdgeList.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_EdgeList.cxx index ca1e27e3c3..f1fdeb7b29 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_EdgeList.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_EdgeList.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_EdgeList, IGESData_IGESEntity) -IGESSolid_EdgeList::IGESSolid_EdgeList() {} +IGESSolid_EdgeList::IGESSolid_EdgeList() = default; void IGESSolid_EdgeList::Init( const occ::handle>>& Curves, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Ellipsoid.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Ellipsoid.cxx index fa005617bd..734bdd934d 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Ellipsoid.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Ellipsoid.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Ellipsoid, IGESData_IGESEntity) -IGESSolid_Ellipsoid::IGESSolid_Ellipsoid() {} +IGESSolid_Ellipsoid::IGESSolid_Ellipsoid() = default; void IGESSolid_Ellipsoid::Init(const gp_XYZ& aSize, const gp_XYZ& aCenter, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Face.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Face.cxx index ed4189b020..426eb971ea 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Face.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Face.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Face, IGESData_IGESEntity) -IGESSolid_Face::IGESSolid_Face() {} +IGESSolid_Face::IGESSolid_Face() = default; void IGESSolid_Face::Init( const occ::handle& aSurface, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.cxx index dd10db81cf..92419ba71e 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.cxx @@ -73,7 +73,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_GeneralModule, IGESData_GeneralModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESSolid_GeneralModule::IGESSolid_GeneralModule() {} +IGESSolid_GeneralModule::IGESSolid_GeneralModule() = default; void IGESSolid_GeneralModule::OwnSharedCase(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.hxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.hxx index db7ac96b4d..ba65325d28 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.hxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_GeneralModule.hxx @@ -68,9 +68,9 @@ public: //! Returns a category number which characterizes an entity //! Shape for all - Standard_EXPORT virtual int CategoryNumber(const int CN, - const occ::handle& ent, - const Interface_ShareTool& shares) const override; + Standard_EXPORT int CategoryNumber(const int CN, + const occ::handle& ent, + const Interface_ShareTool& shares) const override; DEFINE_STANDARD_RTTIEXT(IGESSolid_GeneralModule, IGESData_GeneralModule) }; diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Loop.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Loop.cxx index 290f9d177e..a27528a4bd 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Loop.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Loop.cxx @@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Loop, IGESData_IGESEntity) -IGESSolid_Loop::IGESSolid_Loop() {} +IGESSolid_Loop::IGESSolid_Loop() = default; void IGESSolid_Loop::Init( const occ::handle>& Types, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ManifoldSolid.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ManifoldSolid.cxx index 44ce69a336..3bcba44e75 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ManifoldSolid.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ManifoldSolid.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_ManifoldSolid, IGESData_IGESEntity) -IGESSolid_ManifoldSolid::IGESSolid_ManifoldSolid() {} +IGESSolid_ManifoldSolid::IGESSolid_ManifoldSolid() = default; void IGESSolid_ManifoldSolid::Init( const occ::handle& aShell, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_PlaneSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_PlaneSurface.cxx index 5deeccce18..46c862a3b4 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_PlaneSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_PlaneSurface.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_PlaneSurface, IGESData_IGESEntity) -IGESSolid_PlaneSurface::IGESSolid_PlaneSurface() {} +IGESSolid_PlaneSurface::IGESSolid_PlaneSurface() = default; void IGESSolid_PlaneSurface::Init(const occ::handle& aLocation, const occ::handle& aNormal, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.cxx index 41738d6de9..12e4991e7e 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.cxx @@ -43,7 +43,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Protocol, IGESData_Protocol) -IGESSolid_Protocol::IGESSolid_Protocol() {} +IGESSolid_Protocol::IGESSolid_Protocol() = default; int IGESSolid_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.hxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.hxx index c4ec42c80e..9b34d20f45 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.hxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Protocol.hxx @@ -33,17 +33,17 @@ public: //! Gives the count of Resource Protocol. Here, one //! (Protocol from IGESGeom) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! This Case Number is then used in Libraries : the various //! Modules attached to this class of Protocol must use them //! in accordance (for a given value of TypeNumber, they must //! consider the same Type as the Protocol defines) - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; DEFINE_STANDARD_RTTIEXT(IGESSolid_Protocol, IGESData_Protocol) }; diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ReadWriteModule.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ReadWriteModule.cxx index b19c0eee49..a701386dd7 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ReadWriteModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ReadWriteModule.cxx @@ -69,7 +69,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_ReadWriteModule, IGESData_ReadWriteModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESSolid_ReadWriteModule::IGESSolid_ReadWriteModule() {} +IGESSolid_ReadWriteModule::IGESSolid_ReadWriteModule() = default; int IGESSolid_ReadWriteModule::CaseIGES(const int typenum, const int /*formnum*/) const { diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_RightAngularWedge.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_RightAngularWedge.cxx index 3101c29c39..1c3afa4704 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_RightAngularWedge.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_RightAngularWedge.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_RightAngularWedge, IGESData_IGESEntity) -IGESSolid_RightAngularWedge::IGESSolid_RightAngularWedge() {} +IGESSolid_RightAngularWedge::IGESSolid_RightAngularWedge() = default; void IGESSolid_RightAngularWedge::Init(const gp_XYZ& aSize, const double LowX, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SelectedComponent.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SelectedComponent.cxx index 4ae2eb0f86..f0292cdbb8 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SelectedComponent.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SelectedComponent.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SelectedComponent, IGESData_IGESEntity) -IGESSolid_SelectedComponent::IGESSolid_SelectedComponent() {} +IGESSolid_SelectedComponent::IGESSolid_SelectedComponent() = default; void IGESSolid_SelectedComponent::Init(const occ::handle& anEntity, const gp_XYZ& SelectPnt) diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Shell.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Shell.cxx index 1c099ec3b2..273140eabc 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Shell.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Shell.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Shell, IGESData_IGESEntity) -IGESSolid_Shell::IGESSolid_Shell() {} +IGESSolid_Shell::IGESSolid_Shell() = default; void IGESSolid_Shell::Init( const occ::handle>>& Faces, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidAssembly.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidAssembly.cxx index 85d6287d36..d2f97aeb28 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidAssembly.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidAssembly.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SolidAssembly, IGESData_IGESEntity) -IGESSolid_SolidAssembly::IGESSolid_SolidAssembly() {} +IGESSolid_SolidAssembly::IGESSolid_SolidAssembly() = default; void IGESSolid_SolidAssembly::Init( const occ::handle>>& Items, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidInstance.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidInstance.cxx index 717d447d3d..2dff2a3093 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidInstance.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidInstance.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SolidInstance, IGESData_IGESEntity) -IGESSolid_SolidInstance::IGESSolid_SolidInstance() {} +IGESSolid_SolidInstance::IGESSolid_SolidInstance() = default; void IGESSolid_SolidInstance::Init(const occ::handle& anEntity) { diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfLinearExtrusion.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfLinearExtrusion.cxx index 217ea851d2..a24a81c6dd 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfLinearExtrusion.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfLinearExtrusion.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SolidOfLinearExtrusion, IGESData_IGESEntity) -IGESSolid_SolidOfLinearExtrusion::IGESSolid_SolidOfLinearExtrusion() {} +IGESSolid_SolidOfLinearExtrusion::IGESSolid_SolidOfLinearExtrusion() = default; void IGESSolid_SolidOfLinearExtrusion::Init(const occ::handle& aCurve, const double Length, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfRevolution.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfRevolution.cxx index 745528c991..58ad544c18 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfRevolution.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SolidOfRevolution.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SolidOfRevolution, IGESData_IGESEntity) -IGESSolid_SolidOfRevolution::IGESSolid_SolidOfRevolution() {} +IGESSolid_SolidOfRevolution::IGESSolid_SolidOfRevolution() = default; void IGESSolid_SolidOfRevolution::Init(const occ::handle& aCurve, const double Fract, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SpecificModule.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SpecificModule.cxx index fd3ee97139..53c24396a8 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SpecificModule.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SpecificModule.cxx @@ -67,7 +67,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SpecificModule, IGESData_SpecificModule) // Each Module is attached to a Protocol : it must interpret Case Numbers // (arguments of various methods) in accordance to values returned by // the method TypeNumber from this Protocol -IGESSolid_SpecificModule::IGESSolid_SpecificModule() {} +IGESSolid_SpecificModule::IGESSolid_SpecificModule() = default; void IGESSolid_SpecificModule::OwnDump(const int CN, const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Sphere.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Sphere.cxx index 236c31bb0e..4a518cebbb 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Sphere.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Sphere.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Sphere, IGESData_IGESEntity) -IGESSolid_Sphere::IGESSolid_Sphere() {} +IGESSolid_Sphere::IGESSolid_Sphere() = default; void IGESSolid_Sphere::Init(const double aRadius, const gp_XYZ& aCenter) { diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SphericalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SphericalSurface.cxx index c3c8de094c..cdf5ee327f 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SphericalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_SphericalSurface.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_SphericalSurface, IGESData_IGESEntity) -IGESSolid_SphericalSurface::IGESSolid_SphericalSurface() {} +IGESSolid_SphericalSurface::IGESSolid_SphericalSurface() = default; void IGESSolid_SphericalSurface::Init(const occ::handle& aCenter, const double aRadius, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBlock.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBlock.cxx index 910c341a80..317b06071b 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBlock.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBlock.cxx @@ -34,7 +34,7 @@ #include #include -IGESSolid_ToolBlock::IGESSolid_ToolBlock() {} +IGESSolid_ToolBlock::IGESSolid_ToolBlock() = default; void IGESSolid_ToolBlock::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBooleanTree.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBooleanTree.cxx index 0ecfd267a1..1bfe341337 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBooleanTree.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolBooleanTree.cxx @@ -34,9 +34,9 @@ #include #include -#include +#include -IGESSolid_ToolBooleanTree::IGESSolid_ToolBooleanTree() {} +IGESSolid_ToolBooleanTree::IGESSolid_ToolBooleanTree() = default; void IGESSolid_ToolBooleanTree::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConeFrustum.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConeFrustum.cxx index 53c4850cbd..1ee0afffdc 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConeFrustum.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConeFrustum.cxx @@ -34,7 +34,7 @@ #include #include -IGESSolid_ToolConeFrustum::IGESSolid_ToolConeFrustum() {} +IGESSolid_ToolConeFrustum::IGESSolid_ToolConeFrustum() = default; void IGESSolid_ToolConeFrustum::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConicalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConicalSurface.cxx index 7f8d0585f0..1a869edd42 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConicalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolConicalSurface.cxx @@ -31,7 +31,7 @@ #include #include -IGESSolid_ToolConicalSurface::IGESSolid_ToolConicalSurface() {} +IGESSolid_ToolConicalSurface::IGESSolid_ToolConicalSurface() = default; void IGESSolid_ToolConicalSurface::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylinder.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylinder.cxx index 7ecde3ceb4..a9b3bb3b8a 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylinder.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylinder.cxx @@ -33,7 +33,7 @@ #include #include -IGESSolid_ToolCylinder::IGESSolid_ToolCylinder() {} +IGESSolid_ToolCylinder::IGESSolid_ToolCylinder() = default; void IGESSolid_ToolCylinder::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylindricalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylindricalSurface.cxx index ce35485089..bc25e8aa18 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylindricalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolCylindricalSurface.cxx @@ -31,7 +31,7 @@ #include #include -IGESSolid_ToolCylindricalSurface::IGESSolid_ToolCylindricalSurface() {} +IGESSolid_ToolCylindricalSurface::IGESSolid_ToolCylindricalSurface() = default; void IGESSolid_ToolCylindricalSurface::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEdgeList.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEdgeList.cxx index 591ab66205..1044bfed0d 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEdgeList.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEdgeList.cxx @@ -40,7 +40,7 @@ // MGE 03/08/98 //================================================================================================= -IGESSolid_ToolEdgeList::IGESSolid_ToolEdgeList() {} +IGESSolid_ToolEdgeList::IGESSolid_ToolEdgeList() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEllipsoid.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEllipsoid.cxx index 5b54cfe0dc..1b379a60a5 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEllipsoid.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolEllipsoid.cxx @@ -34,7 +34,7 @@ #include #include -IGESSolid_ToolEllipsoid::IGESSolid_ToolEllipsoid() {} +IGESSolid_ToolEllipsoid::IGESSolid_ToolEllipsoid() = default; void IGESSolid_ToolEllipsoid::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolFace.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolFace.cxx index 2519b732d9..24505e980f 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolFace.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolFace.cxx @@ -39,7 +39,7 @@ // MGE 03/08/98 //================================================================================================= -IGESSolid_ToolFace::IGESSolid_ToolFace() {} +IGESSolid_ToolFace::IGESSolid_ToolFace() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolLoop.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolLoop.cxx index 0a26803916..ba4a07209e 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolLoop.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolLoop.cxx @@ -42,12 +42,12 @@ #include #include -#include +#include // MGE 03/08/98 //================================================================================================= -IGESSolid_ToolLoop::IGESSolid_ToolLoop() {} +IGESSolid_ToolLoop::IGESSolid_ToolLoop() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolManifoldSolid.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolManifoldSolid.cxx index 9f233a8a64..a0acf9f316 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolManifoldSolid.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolManifoldSolid.cxx @@ -37,7 +37,7 @@ #include // MGE 31/07/98 -IGESSolid_ToolManifoldSolid::IGESSolid_ToolManifoldSolid() {} +IGESSolid_ToolManifoldSolid::IGESSolid_ToolManifoldSolid() = default; void IGESSolid_ToolManifoldSolid::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolPlaneSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolPlaneSurface.cxx index e7a9090b9e..1e6e937cd6 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolPlaneSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolPlaneSurface.cxx @@ -36,7 +36,7 @@ // MGE 31/07/98 //================================================================================================= -IGESSolid_ToolPlaneSurface::IGESSolid_ToolPlaneSurface() {} +IGESSolid_ToolPlaneSurface::IGESSolid_ToolPlaneSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolRightAngularWedge.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolRightAngularWedge.cxx index fb2004f104..29dd9476a6 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolRightAngularWedge.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolRightAngularWedge.cxx @@ -34,7 +34,7 @@ #include #include -IGESSolid_ToolRightAngularWedge::IGESSolid_ToolRightAngularWedge() {} +IGESSolid_ToolRightAngularWedge::IGESSolid_ToolRightAngularWedge() = default; void IGESSolid_ToolRightAngularWedge::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSelectedComponent.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSelectedComponent.cxx index fd8ba1ec42..c7a5c39fb1 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSelectedComponent.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSelectedComponent.cxx @@ -35,7 +35,7 @@ #include #include -IGESSolid_ToolSelectedComponent::IGESSolid_ToolSelectedComponent() {} +IGESSolid_ToolSelectedComponent::IGESSolid_ToolSelectedComponent() = default; void IGESSolid_ToolSelectedComponent::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolShell.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolShell.cxx index 91307d295a..9b179304bf 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolShell.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolShell.cxx @@ -39,7 +39,7 @@ // MGE 03/08/98 //================================================================================================= -IGESSolid_ToolShell::IGESSolid_ToolShell() {} +IGESSolid_ToolShell::IGESSolid_ToolShell() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidAssembly.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidAssembly.cxx index f3024b53f8..18d431e38c 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidAssembly.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidAssembly.cxx @@ -31,7 +31,7 @@ #include #include -IGESSolid_ToolSolidAssembly::IGESSolid_ToolSolidAssembly() {} +IGESSolid_ToolSolidAssembly::IGESSolid_ToolSolidAssembly() = default; void IGESSolid_ToolSolidAssembly::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidInstance.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidInstance.cxx index 7aacf3a3b0..ff86c9ee2d 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidInstance.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidInstance.cxx @@ -29,7 +29,7 @@ #include #include -IGESSolid_ToolSolidInstance::IGESSolid_ToolSolidInstance() {} +IGESSolid_ToolSolidInstance::IGESSolid_ToolSolidInstance() = default; void IGESSolid_ToolSolidInstance::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfLinearExtrusion.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfLinearExtrusion.cxx index 8978e09b44..aec5b9eca8 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfLinearExtrusion.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfLinearExtrusion.cxx @@ -33,7 +33,7 @@ #include #include -IGESSolid_ToolSolidOfLinearExtrusion::IGESSolid_ToolSolidOfLinearExtrusion() {} +IGESSolid_ToolSolidOfLinearExtrusion::IGESSolid_ToolSolidOfLinearExtrusion() = default; void IGESSolid_ToolSolidOfLinearExtrusion::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfRevolution.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfRevolution.cxx index ca61acc743..fa8e7415e7 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfRevolution.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSolidOfRevolution.cxx @@ -35,7 +35,7 @@ #include #include -IGESSolid_ToolSolidOfRevolution::IGESSolid_ToolSolidOfRevolution() {} +IGESSolid_ToolSolidOfRevolution::IGESSolid_ToolSolidOfRevolution() = default; void IGESSolid_ToolSolidOfRevolution::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphere.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphere.cxx index 5057d206f4..6498a6562c 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphere.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphere.cxx @@ -33,7 +33,7 @@ #include #include -IGESSolid_ToolSphere::IGESSolid_ToolSphere() {} +IGESSolid_ToolSphere::IGESSolid_ToolSphere() = default; void IGESSolid_ToolSphere::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphericalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphericalSurface.cxx index 8f1c886617..a9fad79d31 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphericalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolSphericalSurface.cxx @@ -31,7 +31,7 @@ #include #include -IGESSolid_ToolSphericalSurface::IGESSolid_ToolSphericalSurface() {} +IGESSolid_ToolSphericalSurface::IGESSolid_ToolSphericalSurface() = default; void IGESSolid_ToolSphericalSurface::ReadOwnParams( const occ::handle& ent, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolToroidalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolToroidalSurface.cxx index 2aafb2c9ef..ee1639eb64 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolToroidalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolToroidalSurface.cxx @@ -31,7 +31,7 @@ #include #include -IGESSolid_ToolToroidalSurface::IGESSolid_ToolToroidalSurface() {} +IGESSolid_ToolToroidalSurface::IGESSolid_ToolToroidalSurface() = default; void IGESSolid_ToolToroidalSurface::ReadOwnParams(const occ::handle& ent, const occ::handle& IR, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolTorus.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolTorus.cxx index ffdfa4888c..605ffe9f8f 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolTorus.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolTorus.cxx @@ -34,7 +34,7 @@ #include #include -IGESSolid_ToolTorus::IGESSolid_ToolTorus() {} +IGESSolid_ToolTorus::IGESSolid_ToolTorus() = default; void IGESSolid_ToolTorus::ReadOwnParams(const occ::handle& ent, const occ::handle& /* IR */, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolVertexList.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolVertexList.cxx index 07f4f9fbe7..6378b12f16 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolVertexList.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToolVertexList.cxx @@ -38,7 +38,7 @@ // MGE 03/08/98 //================================================================================================= -IGESSolid_ToolVertexList::IGESSolid_ToolVertexList() {} +IGESSolid_ToolVertexList::IGESSolid_ToolVertexList() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToroidalSurface.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToroidalSurface.cxx index c95b1d7961..249e8a0276 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToroidalSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_ToroidalSurface.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_ToroidalSurface, IGESData_IGESEntity) -IGESSolid_ToroidalSurface::IGESSolid_ToroidalSurface() {} +IGESSolid_ToroidalSurface::IGESSolid_ToroidalSurface() = default; void IGESSolid_ToroidalSurface::Init(const occ::handle& aCenter, const occ::handle& anAxis, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Torus.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Torus.cxx index 6de9d77273..1032330832 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Torus.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_Torus.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_Torus, IGESData_IGESEntity) -IGESSolid_Torus::IGESSolid_Torus() {} +IGESSolid_Torus::IGESSolid_Torus() = default; void IGESSolid_Torus::Init(const double R1, const double R2, diff --git a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_VertexList.cxx b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_VertexList.cxx index 70743bc91b..5b80acb862 100644 --- a/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_VertexList.cxx +++ b/src/DataExchange/TKDEIGES/IGESSolid/IGESSolid_VertexList.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESSolid_VertexList, IGESData_IGESEntity) -IGESSolid_VertexList::IGESSolid_VertexList() {} +IGESSolid_VertexList::IGESSolid_VertexList() = default; void IGESSolid_VertexList::Init(const occ::handle>& Vertices) { diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Actor.hxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Actor.hxx index a598eaad06..3fc9bace18 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Actor.hxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Actor.hxx @@ -50,9 +50,9 @@ public: //! Return "thecontinuity" Standard_EXPORT int GetContinuity() const; - Standard_EXPORT virtual bool Recognize(const occ::handle& start) override; + Standard_EXPORT bool Recognize(const occ::handle& start) override; - Standard_EXPORT virtual occ::handle Transfer( + Standard_EXPORT occ::handle Transfer( const occ::handle& start, const occ::handle& TP, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BRepEntity.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BRepEntity.cxx index 5065fe441d..d46efdef21 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BRepEntity.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BRepEntity.cxx @@ -71,14 +71,14 @@ #include #include -#include +#include // rln // #include //================================================================================================= IGESToBRep_BRepEntity::IGESToBRep_BRepEntity() - : IGESToBRep_CurveAndSurface() + { SetModeTransfer(false); SetContinuity(0); @@ -639,7 +639,7 @@ TopoDS_Shape IGESToBRep_BRepEntity::TransferManifoldSolid( if (nbshell != 0) { // progress scope without name, since usually we have single shell in solid - Message_ProgressScope aPS(theProgress, NULL, nbshell); + Message_ProgressScope aPS(theProgress, nullptr, nbshell); for (int ishell = 1; ishell <= nbshell && aPS.More(); ishell++) { occ::handle voidshell = start->VoidShell(ishell); diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicCurve.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicCurve.cxx index 30cf6dac15..ae8511a274 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicCurve.cxx @@ -127,7 +127,7 @@ static bool checkBSplineCurve(IGESToBRep_BasicCurve* theCurve //================================================================================================= IGESToBRep_BasicCurve::IGESToBRep_BasicCurve() - : IGESToBRep_CurveAndSurface() + { SetModeTransfer(false); } diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicSurface.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicSurface.cxx index 9d04b24b02..006229364a 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_BasicSurface.cxx @@ -134,7 +134,7 @@ static bool checkBSplineSurface(IGESToBRep_BasicSurface* theS //================================================================================================= IGESToBRep_BasicSurface::IGESToBRep_BasicSurface() - : IGESToBRep_CurveAndSurface() + { SetModeTransfer(false); } diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_CurveAndSurface.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_CurveAndSurface.cxx index afe178acd0..4f6d5d9580 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_CurveAndSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_CurveAndSurface.cxx @@ -50,7 +50,7 @@ #include #include -#include +#include //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_IGESBoundary.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_IGESBoundary.cxx index 42198fd91b..bf89ac754c 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_IGESBoundary.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_IGESBoundary.cxx @@ -38,7 +38,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESToBRep_IGESBoundary, Standard_Transient) //================================================================================================= -IGESToBRep_IGESBoundary::IGESToBRep_IGESBoundary() {} +IGESToBRep_IGESBoundary::IGESToBRep_IGESBoundary() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Reader.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Reader.cxx index 5bc75d9681..fccf6cf09e 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Reader.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_Reader.cxx @@ -49,12 +49,12 @@ #include #include -#include +#include // #include #ifdef _MSC_VER #include #else - #include + #include #endif // extern int errno; diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_ToolContainer.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_ToolContainer.cxx index 2604a72382..8170a7a15a 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_ToolContainer.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_ToolContainer.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(IGESToBRep_ToolContainer, Standard_Transient) //================================================================================================= -IGESToBRep_ToolContainer::IGESToBRep_ToolContainer() {} +IGESToBRep_ToolContainer::IGESToBRep_ToolContainer() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoCurve.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoCurve.cxx index c58bd68dc6..0e2e65728f 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoCurve.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoCurve.cxx @@ -84,7 +84,7 @@ #include #include -#include +#include // added by rln 32/12/97 // #include .hxx> @@ -93,9 +93,8 @@ //================================================================================================= IGESToBRep_TopoCurve::IGESToBRep_TopoCurve() - : IGESToBRep_CurveAndSurface() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoSurface.cxx b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoSurface.cxx index 72594e47d0..708f462c3b 100644 --- a/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoSurface.cxx +++ b/src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_TopoSurface.cxx @@ -120,7 +120,7 @@ #include #include -#include +#include // S4054: ShapeTool_MakeWire -> ShapeExtend_WireData //:g8: BRepLib_MakeWire -> ShapeTool_MakeWire //: e3 @@ -130,9 +130,8 @@ //================================================================================================= IGESToBRep_TopoSurface::IGESToBRep_TopoSurface() - : IGESToBRep_CurveAndSurface() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.cxx b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.cxx index 167b26d15d..e750c62030 100644 --- a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.cxx +++ b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.cxx @@ -31,9 +31,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEOBJ_ConfigurationNode::DEOBJ_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.hxx b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.hxx index ff9634bae3..b1fbda3652 100644 --- a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.hxx +++ b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.hxx @@ -41,41 +41,40 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; public: struct RWObj_InternalSection diff --git a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.cxx b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.cxx index 49a11b4f1c..35f90aa788 100644 --- a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.cxx +++ b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DEOBJ_Provider, DE_Provider) //================================================================================================= -DEOBJ_Provider::DEOBJ_Provider() {} +DEOBJ_Provider::DEOBJ_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.hxx b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.hxx index 6081160e1e..2cbfd7c011 100644 --- a/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.hxx +++ b/src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_Provider.hxx @@ -46,7 +46,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -58,7 +58,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -69,7 +69,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -79,7 +79,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -90,7 +90,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -102,7 +102,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -113,7 +113,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -123,7 +123,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -131,11 +131,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DEOBJ_Provider_HeaderFile diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.cxx index 20b6a72712..16200296ea 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.cxx @@ -41,7 +41,7 @@ void RWObj_CafReader::BindNamedShape(const TopoDS_Shape& theShape, RWMesh_NodeAttributes aShapeAttribs; aShapeAttribs.Name = theName; - if (theMaterial != NULL) + if (theMaterial != nullptr) { // assign material and not color // aShapeAttribs.Style.SetColorSurf (Quantity_ColorRGBA (theMaterial->DiffuseColor, 1.0f - diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.hxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.hxx index 8cb0f952ba..93b232d7a0 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.hxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafReader.hxx @@ -33,10 +33,10 @@ public: protected: //! Read the mesh from specified file. - Standard_EXPORT virtual bool performMesh(std::istream& theStream, - const TCollection_AsciiString& theFile, - const Message_ProgressRange& theProgress, - const bool theToProbe) override; + Standard_EXPORT bool performMesh(std::istream& theStream, + const TCollection_AsciiString& theFile, + const Message_ProgressRange& theProgress, + const bool theToProbe) override; protected: //! Create reader context. @@ -48,10 +48,10 @@ protected: //! @param theName shape name //! @param theMaterial shape material //! @param theIsRootShape indicates that this is a root object (free shape) - Standard_EXPORT virtual void BindNamedShape(const TopoDS_Shape& theShape, - const TCollection_AsciiString& theName, - const RWObj_Material* theMaterial, - const bool theIsRootShape) override; + Standard_EXPORT void BindNamedShape(const TopoDS_Shape& theShape, + const TCollection_AsciiString& theName, + const RWObj_Material* theMaterial, + const bool theIsRootShape) override; protected: NCollection_DataMap> myObjMaterialMap; diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.cxx index f8edef85c7..47ad760553 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.cxx @@ -89,7 +89,7 @@ bool RWObj_CafWriter::Perform( NCollection_Sequence aRoots; occ::handle aShapeTool = XCAFDoc_DocumentTool::ShapeTool(theDocument->Main()); aShapeTool->GetFreeShapes(aRoots); - return Perform(theDocument, aRoots, NULL, theFileInfo, theProgress); + return Perform(theDocument, aRoots, nullptr, theFileInfo, theProgress); } //================================================================================================= @@ -111,7 +111,7 @@ bool RWObj_CafWriter::Perform( myCSTrsf.SetInputLengthUnit(aLengthUnit); } - if (theRootLabels.IsEmpty() || (theLabelFilter != NULL && theLabelFilter->IsEmpty())) + if (theRootLabels.IsEmpty() || (theLabelFilter != nullptr && theLabelFilter->IsEmpty())) { Message::SendFail("Nothing to export into OBJ file"); return false; @@ -127,7 +127,7 @@ bool RWObj_CafWriter::Perform( aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } @@ -193,7 +193,7 @@ bool RWObj_CafWriter::Perform( aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.hxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.hxx index b2cb12ad42..d610ee1788 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.hxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_CafWriter.hxx @@ -43,7 +43,7 @@ public: Standard_EXPORT RWObj_CafWriter(const TCollection_AsciiString& theFile); //! Destructor. - Standard_EXPORT virtual ~RWObj_CafWriter(); + Standard_EXPORT ~RWObj_CafWriter() override; //! Return transformation from OCCT to OBJ coordinate system. const RWMesh_CoordinateSystemConverter& CoordinateSystemConverter() const { return myCSTrsf; } diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_MtlReader.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_MtlReader.cxx index a0e4b7d7a4..7f6d5e52be 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_MtlReader.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_MtlReader.cxx @@ -80,7 +80,7 @@ static bool findRelativePath(const TCollection_AsciiString& theAbsolutePath, RWObj_MtlReader::RWObj_MtlReader( NCollection_DataMap& theMaterials) - : myFile(NULL), + : myFile(nullptr), myMaterials(&theMaterials), myNbLines(0) { @@ -91,7 +91,7 @@ RWObj_MtlReader::RWObj_MtlReader( RWObj_MtlReader::~RWObj_MtlReader() { - if (myFile != NULL) + if (myFile != nullptr) { ::fclose(myFile); } @@ -104,7 +104,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, { myPath = theFolder + theFile; myFile = OSD_OpenFile(myPath.ToCString(), "rb"); - if (myFile == NULL) + if (myFile == nullptr) { Message::Send(TCollection_AsciiString("OBJ material file '") + myPath + "' is not found!", Message_Warning); @@ -116,7 +116,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, RWObj_Material aMat; const int aNbMatOld = myMaterials->Extent(); bool hasAspect = false; - for (; ::feof(myFile) == 0 && ::fgets(aLine, 255, myFile) != NULL;) + for (; ::feof(myFile) == 0 && ::fgets(aLine, 255, myFile) != nullptr;) { ++myNbLines; @@ -162,7 +162,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, else if (::memcmp(aPos, "Ka", 2) == 0 && IsSpace(aPos[2])) { aPos += 3; - char* aNext = NULL; + char* aNext = nullptr; NCollection_Vec3 aColor; RWObj_Tools::ReadVec3(aPos, aNext, aColor); aPos = aNext; @@ -175,7 +175,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, else if (::memcmp(aPos, "Kd", 2) == 0 && IsSpace(aPos[2])) { aPos += 3; - char* aNext = NULL; + char* aNext = nullptr; NCollection_Vec3 aColor; RWObj_Tools::ReadVec3(aPos, aNext, aColor); aPos = aNext; @@ -188,7 +188,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, else if (::memcmp(aPos, "Ks", 2) == 0 && IsSpace(aPos[2])) { aPos += 3; - char* aNext = NULL; + char* aNext = nullptr; NCollection_Vec3 aColor; RWObj_Tools::ReadVec3(aPos, aNext, aColor); aPos = aNext; @@ -201,7 +201,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, else if (::memcmp(aPos, "Ns", 2) == 0 && IsSpace(aPos[2])) { aPos += 3; - char* aNext = NULL; + char* aNext = nullptr; double aSpecular = Strtod(aPos, &aNext); aPos = aNext; if (aSpecular >= 0.0) @@ -213,7 +213,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, else if (::memcmp(aPos, "Tr", 2) == 0 && IsSpace(aPos[2])) { aPos += 3; - char* aNext = NULL; + char* aNext = nullptr; double aTransp = Strtod(aPos, &aNext); aPos = aNext; if (validateScalar(aTransp) && aTransp <= 0.99) @@ -226,7 +226,7 @@ bool RWObj_MtlReader::Read(const TCollection_AsciiString& theFolder, { // dissolve aPos += 2; - char* aNext = NULL; + char* aNext = nullptr; double anAlpha = Strtod(aPos, &aNext); aPos = aNext; if (validateScalar(anAlpha) && anAlpha >= 0.01) diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.cxx index e80f07b83f..ba6a2faf83 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(RWObj_ObjMaterialMap, RWMesh_MaterialMap) RWObj_ObjMaterialMap::RWObj_ObjMaterialMap(const TCollection_AsciiString& theFile) : RWMesh_MaterialMap(theFile), - myFile(NULL) + myFile(nullptr) { // } @@ -31,7 +31,7 @@ RWObj_ObjMaterialMap::RWObj_ObjMaterialMap(const TCollection_AsciiString& theFil RWObj_ObjMaterialMap::~RWObj_ObjMaterialMap() { - if (myFile != NULL) + if (myFile != nullptr) { if (::fclose(myFile) != 0) { @@ -49,16 +49,16 @@ RWObj_ObjMaterialMap::~RWObj_ObjMaterialMap() TCollection_AsciiString RWObj_ObjMaterialMap::AddMaterial(const XCAFPrs_Style& theStyle) { - if (myFile == NULL && !myIsFailed) + if (myFile == nullptr && !myIsFailed) { myFile = OSD_OpenFile(myFileName.ToCString(), "wb"); - myIsFailed = myFile == NULL; - if (myFile != NULL) + myIsFailed = myFile == nullptr; + if (myFile != nullptr) { Fprintf(myFile, "# Exported by Open CASCADE Technology [dev.opencascade.org]\n"); } } - if (myFile == NULL) + if (myFile == nullptr) { return TCollection_AsciiString(); } diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.hxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.hxx index 95c3882f1d..f0ca6c9c7e 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.hxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjMaterialMap.hxx @@ -26,16 +26,15 @@ public: Standard_EXPORT RWObj_ObjMaterialMap(const TCollection_AsciiString& theFile); //! Destructor, will emit error message if file was not closed. - Standard_EXPORT virtual ~RWObj_ObjMaterialMap(); + Standard_EXPORT ~RWObj_ObjMaterialMap() override; //! Add material - Standard_EXPORT virtual TCollection_AsciiString AddMaterial( - const XCAFPrs_Style& theStyle) override; + Standard_EXPORT TCollection_AsciiString AddMaterial(const XCAFPrs_Style& theStyle) override; //! Virtual method actually defining the material (e.g. export to the file). - Standard_EXPORT virtual void DefineMaterial(const XCAFPrs_Style& theStyle, - const TCollection_AsciiString& theKey, - const TCollection_AsciiString& theName) override; + Standard_EXPORT void DefineMaterial(const XCAFPrs_Style& theStyle, + const TCollection_AsciiString& theKey, + const TCollection_AsciiString& theName) override; private: FILE* myFile; diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.cxx index 9b8f7898c2..af0eed2bc5 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.cxx @@ -68,7 +68,7 @@ RWObj_ObjWriterContext::RWObj_ObjWriterContext(const TCollection_AsciiString& th myHasNormals(false), myHasTexCoords(false) { - if (myFile == NULL) + if (myFile == nullptr) { Message::SendFail(TCollection_AsciiString("File cannot be created\n") + theName); return; @@ -79,7 +79,7 @@ RWObj_ObjWriterContext::RWObj_ObjWriterContext(const TCollection_AsciiString& th RWObj_ObjWriterContext::~RWObj_ObjWriterContext() { - if (myFile != NULL) + if (myFile != nullptr) { ::fclose(myFile); Message::SendFail(TCollection_AsciiString("File cannot be written\n") + myName); @@ -91,7 +91,7 @@ RWObj_ObjWriterContext::~RWObj_ObjWriterContext() bool RWObj_ObjWriterContext::Close() { bool isOk = ::fclose(myFile) == 0; - myFile = NULL; + myFile = nullptr; return isOk; } diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.hxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.hxx index c6444679c2..80e0c38281 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.hxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_ObjWriterContext.hxx @@ -37,7 +37,7 @@ public: Standard_EXPORT ~RWObj_ObjWriterContext(); //! Return true if file has been opened. - bool IsOpened() const { return myFile != NULL; } + bool IsOpened() const { return myFile != nullptr; } //! Correctly close the file. Standard_EXPORT bool Close(); diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.cxx index 8116cd9ece..6b3ca87159 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.cxx @@ -134,11 +134,11 @@ bool RWObj_Reader::read(std::istream& theStream, int64_t aPosition = 0; size_t aLineLen = 0; int64_t aReadBytes = 0; - const char* aLine = NULL; + const char* aLine = nullptr; for (;;) { aLine = aBuffer.ReadLine(theStream, aLineLen, aReadBytes); - if (aLine == NULL) + if (aLine == nullptr) { break; } @@ -284,7 +284,7 @@ bool RWObj_Reader::read(std::istream& theStream, void RWObj_Reader::pushIndices(const char* thePos) { - char* aNext = NULL; + char* aNext = nullptr; int aNbElemNodes = 0; for (int aNode = 0;; ++aNode) diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.hxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.hxx index 9c39a4ed22..3568362bf1 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.hxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.hxx @@ -187,7 +187,7 @@ private: //! Handle "v X Y Z". void pushVertex(const char* theXYZ) { - char* aNext = NULL; + char* aNext = nullptr; gp_Pnt anXYZ; RWObj_Tools::ReadVec3(theXYZ, aNext, anXYZ.ChangeCoord()); myCSTrsf.TransformPosition(anXYZ.ChangeCoord()); @@ -199,7 +199,7 @@ private: //! Handle "vn NX NY NZ". void pushNormal(const char* theXYZ) { - char* aNext = NULL; + char* aNext = nullptr; NCollection_Vec3 aNorm; RWObj_Tools::ReadVec3(theXYZ, aNext, aNorm); myCSTrsf.TransformNormal(aNorm); @@ -211,7 +211,7 @@ private: //! Handle "vt U V". void pushTexel(const char* theUV) { - char* aNext = NULL; + char* aNext = nullptr; NCollection_Vec2 anUV; anUV.x() = (float)Strtod(theUV, &aNext); theUV = aNext; diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.cxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.cxx index 07bbb69fe4..a57cfaa09a 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.cxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.cxx @@ -41,12 +41,12 @@ bool RWObj_TriangulationReader::addMesh(const RWObj_SubMesh& theMesh, // flush previous group and start a new one if (addSubShape(myLastObjectShape, myLastGroupShape, false)) { - if (myShapeReceiver != NULL) + if (myShapeReceiver != nullptr) { const RWObj_Material* aMaterial = myLastGroupShape.ShapeType() == TopAbs_FACE && !myLastFaceMaterial.IsEmpty() ? myMaterials.Seek(myLastFaceMaterial) - : NULL; + : nullptr; myShapeReceiver->BindNamedShape(myLastGroupShape, myLastGroupName, aMaterial, false); } } @@ -59,7 +59,7 @@ bool RWObj_TriangulationReader::addMesh(const RWObj_SubMesh& theMesh, aBuilder.MakeFace(aNewFace, aTris); addSubShape(myLastGroupShape, aNewFace, true); myLastFaceMaterial = theMesh.Material; - if (myShapeReceiver != NULL) + if (myShapeReceiver != nullptr) { const RWObj_Material* aMaterial = myMaterials.Seek(theMesh.Material); myShapeReceiver->BindNamedShape(aNewFace, "", aMaterial, false); @@ -71,12 +71,12 @@ bool RWObj_TriangulationReader::addMesh(const RWObj_SubMesh& theMesh, // forced flush at the end of the object if (addSubShape(myLastObjectShape, myLastGroupShape, false)) { - if (myShapeReceiver != NULL) + if (myShapeReceiver != nullptr) { const RWObj_Material* aMaterial = myLastGroupShape.ShapeType() == TopAbs_FACE && !myLastFaceMaterial.IsEmpty() ? myMaterials.Seek(myLastFaceMaterial) - : NULL; + : nullptr; myShapeReceiver->BindNamedShape(myLastGroupShape, myLastGroupName, aMaterial, false); } } @@ -85,9 +85,9 @@ bool RWObj_TriangulationReader::addMesh(const RWObj_SubMesh& theMesh, if (addSubShape(myResultShape, myLastObjectShape, false)) { - if (myShapeReceiver != NULL) + if (myShapeReceiver != nullptr) { - myShapeReceiver->BindNamedShape(myLastObjectShape, theMesh.Object, NULL, true); + myShapeReceiver->BindNamedShape(myLastObjectShape, theMesh.Object, nullptr, true); } } myLastObjectShape = TopoDS_Compound(); diff --git a/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.hxx b/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.hxx index 77f28383f3..15effa4262 100644 --- a/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.hxx +++ b/src/DataExchange/TKDEOBJ/RWObj/RWObj_TriangulationReader.hxx @@ -41,7 +41,7 @@ class RWObj_TriangulationReader : public RWObj_Reader public: //! Constructor. RWObj_TriangulationReader() - : myShapeReceiver(NULL), + : myShapeReceiver(nullptr), myToCreateShapes(true) { } @@ -60,33 +60,33 @@ public: protected: //! Flush active sub-mesh. - Standard_EXPORT virtual bool addMesh(const RWObj_SubMesh& theMesh, - const RWObj_SubMeshReason theReason) override; + Standard_EXPORT bool addMesh(const RWObj_SubMesh& theMesh, + const RWObj_SubMeshReason theReason) override; //! Retrieve sub-mesh node position. - virtual gp_Pnt getNode(int theIndex) const override { return myNodes.Value(theIndex - 1); } + gp_Pnt getNode(int theIndex) const override { return myNodes.Value(theIndex - 1); } //! Add new node. - virtual int addNode(const gp_Pnt& thePnt) override + int addNode(const gp_Pnt& thePnt) override { myNodes.Append(thePnt); return myNodes.Size(); } //! Ignore normal. - virtual void setNodeNormal(const int theIndex, const NCollection_Vec3& theNormal) override + void setNodeNormal(const int theIndex, const NCollection_Vec3& theNormal) override { myNormals.SetValue(theIndex - 1, theNormal); } //! Ignore texture coordinates. - virtual void setNodeUV(const int theIndex, const NCollection_Vec2& theUV) override + void setNodeUV(const int theIndex, const NCollection_Vec2& theUV) override { myNodesUV.SetValue(theIndex - 1, theUV); } //! Add element. - virtual void addElement(int theN1, int theN2, int theN3, int theN4) override + void addElement(int theN1, int theN2, int theN3, int theN4) override { myTriangles.Append(Poly_Triangle(theN1, theN2, theN3)); if (theN4 != -1) diff --git a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.cxx b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.cxx index 87a5b86ed9..9b4e9893e9 100644 --- a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.cxx +++ b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.cxx @@ -32,9 +32,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEPLY_ConfigurationNode::DEPLY_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.hxx b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.hxx index 27a8ab35ac..078edd3816 100644 --- a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.hxx +++ b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.hxx @@ -44,46 +44,45 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; //! Checks the file content to verify a format //! @param[in] theBuffer read stream buffer to check content //! @return true if file is supported by a current provider - Standard_EXPORT virtual bool CheckContent( + Standard_EXPORT bool CheckContent( const occ::handle& theBuffer) const override; public: diff --git a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.cxx b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.cxx index 88dc7eb3c2..951d025e5a 100644 --- a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.cxx +++ b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.cxx @@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DEPLY_Provider, DE_Provider) //================================================================================================= -DEPLY_Provider::DEPLY_Provider() {} +DEPLY_Provider::DEPLY_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.hxx b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.hxx index 3bdcf471b2..bbba976926 100644 --- a/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.hxx +++ b/src/DataExchange/TKDEPLY/DEPLY/DEPLY_Provider.hxx @@ -46,7 +46,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -57,7 +57,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -68,7 +68,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -79,7 +79,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -87,11 +87,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DEPLY_Provider_HeaderFile diff --git a/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.cxx b/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.cxx index 46ed20e840..a943d80a0e 100644 --- a/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.cxx +++ b/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.cxx @@ -66,7 +66,7 @@ bool RWPly_CafWriter::Perform( NCollection_Sequence aRoots; occ::handle aShapeTool = XCAFDoc_DocumentTool::ShapeTool(theDocument->Main()); aShapeTool->GetFreeShapes(aRoots); - return Perform(theDocument, aRoots, NULL, theFileInfo, theProgress); + return Perform(theDocument, aRoots, nullptr, theFileInfo, theProgress); } //================================================================================================= @@ -88,7 +88,7 @@ bool RWPly_CafWriter::Perform( myCSTrsf.SetInputLengthUnit(aLengthUnit); } - if (theRootLabels.IsEmpty() || (theLabelFilter != NULL && theLabelFilter->IsEmpty())) + if (theRootLabels.IsEmpty() || (theLabelFilter != nullptr && theLabelFilter->IsEmpty())) { Message::SendFail("Nothing to export into PLY file"); return false; @@ -103,7 +103,7 @@ bool RWPly_CafWriter::Perform( aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } @@ -154,7 +154,7 @@ bool RWPly_CafWriter::Perform( aDocExplorer.Next()) { const XCAFPrs_DocumentNode& aDocNode = aDocExplorer.Current(); - if (theLabelFilter != NULL && !theLabelFilter->Contains(aDocNode.Id)) + if (theLabelFilter != nullptr && !theLabelFilter->Contains(aDocNode.Id)) { continue; } diff --git a/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.hxx b/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.hxx index ec6736ec75..fd8d7ac763 100644 --- a/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.hxx +++ b/src/DataExchange/TKDEPLY/RWPly/RWPly_CafWriter.hxx @@ -42,7 +42,7 @@ public: Standard_EXPORT RWPly_CafWriter(const TCollection_AsciiString& theFile); //! Destructor. - Standard_EXPORT virtual ~RWPly_CafWriter(); + Standard_EXPORT ~RWPly_CafWriter() override; //! Return transformation from OCCT to PLY coordinate system. const RWMesh_CoordinateSystemConverter& CoordinateSystemConverter() const { return myCSTrsf; } diff --git a/src/DataExchange/TKDEPLY/RWPly/RWPly_PlyWriterContext.cxx b/src/DataExchange/TKDEPLY/RWPly/RWPly_PlyWriterContext.cxx index 31cf573fd8..4653a750e9 100644 --- a/src/DataExchange/TKDEPLY/RWPly/RWPly_PlyWriterContext.cxx +++ b/src/DataExchange/TKDEPLY/RWPly/RWPly_PlyWriterContext.cxx @@ -97,7 +97,7 @@ bool RWPly_PlyWriterContext::Open(const TCollection_AsciiString& theName, const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); myStream = aFileSystem->OpenOStream(theName, std::ios::out | std::ios::binary); - if (myStream.get() == NULL || !myStream->good()) + if (myStream.get() == nullptr || !myStream->good()) { myStream.reset(); Message::SendFail() << "Error: file cannot be created\n" << theName; diff --git a/src/DataExchange/TKDESTEP/APIHeaderSection/APIHeaderSection_MakeHeader.cxx b/src/DataExchange/TKDESTEP/APIHeaderSection/APIHeaderSection_MakeHeader.cxx index 13030679fe..9833c9656d 100644 --- a/src/DataExchange/TKDESTEP/APIHeaderSection/APIHeaderSection_MakeHeader.cxx +++ b/src/DataExchange/TKDESTEP/APIHeaderSection/APIHeaderSection_MakeHeader.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include // This is a generic header for any STEP scheme static occ::handle nulstr; static occ::handle>> nularr; diff --git a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.cxx b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.cxx index 029bb649b1..cf8eee4778 100644 --- a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.cxx +++ b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.cxx @@ -32,7 +32,7 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DESTEP_ConfigurationNode::DESTEP_ConfigurationNode() - : DE_ShapeFixConfigurationNode() + { DE_ShapeFixConfigurationNode::ShapeFixParameters = DESTEP_Parameters::GetDefaultShapeFixParameters(); diff --git a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.hxx b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.hxx index fefd126900..6103e3f339 100644 --- a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.hxx +++ b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.hxx @@ -44,50 +44,49 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Checks for stream support. //! @return true if streams are supported - Standard_EXPORT virtual bool IsStreamSupported() const override; + Standard_EXPORT bool IsStreamSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; //! Checks the file content to verify a format //! @param[in] theBuffer read stream buffer to check content //! @return true if file is supported by a current provider - Standard_EXPORT virtual bool CheckContent( + Standard_EXPORT bool CheckContent( const occ::handle& theBuffer) const override; public: diff --git a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Parameters.cxx b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Parameters.cxx index 7dceb54126..e3498f2961 100644 --- a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Parameters.cxx +++ b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Parameters.cxx @@ -17,7 +17,7 @@ //================================================================================================= -DESTEP_Parameters::DESTEP_Parameters() {} +DESTEP_Parameters::DESTEP_Parameters() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.cxx b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.cxx index fdc816189d..e5eff0e65d 100644 --- a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.cxx +++ b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.cxx @@ -142,7 +142,7 @@ bool checkStreamWritability(Standard_OStream& theStream, const TCollection_Ascii //================================================================================================= -DESTEP_Provider::DESTEP_Provider() {} +DESTEP_Provider::DESTEP_Provider() = default; //================================================================================================= @@ -231,7 +231,7 @@ bool DESTEP_Provider::Write(const TCollection_AsciiString& thePath, aParams.WriteUnit = aTargetUnit; aModel->SetWriteLengthUnit(aNode->GlobalParameters.LengthUnit); TDF_Label aLabel; - if (!aWriter.Transfer(theDocument, aParams, aMode, 0, theProgress)) + if (!aWriter.Transfer(theDocument, aParams, aMode, nullptr, theProgress)) { Message::SendFail() << "Error in the DESTEP_Provider during writing the file " << thePath << "\t: The document cannot be translated or gives no result"; @@ -492,7 +492,7 @@ bool DESTEP_Provider::Write(WriteStreamList& theStreams, aModel->SetWriteLengthUnit(aNode->GlobalParameters.LengthUnit); STEPControl_StepModelType aMode = static_cast(aNode->InternalParameters.WriteModelType); - bool isOk = aWriter.Transfer(theDocument, aParams, aMode, 0, theProgress); + bool isOk = aWriter.Transfer(theDocument, aParams, aMode, nullptr, theProgress); if (!isOk) { Message::SendFail() << "Error: DESTEP_Provider failed to transfer document for stream " diff --git a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.hxx b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.hxx index 6780306b7d..e1d144db23 100644 --- a/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.hxx +++ b/src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.hxx @@ -47,7 +47,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -59,7 +59,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -70,7 +70,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -80,7 +80,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -91,7 +91,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -103,7 +103,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -115,7 +115,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, const occ::handle& theDocument, occ::handle& theWS, @@ -127,7 +127,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const occ::handle& theDocument, occ::handle& theWS, @@ -139,7 +139,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, TopoDS_Shape& theShape, occ::handle& theWS, @@ -151,7 +151,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -162,7 +162,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -172,7 +172,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -182,7 +182,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -192,7 +192,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -202,7 +202,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -212,7 +212,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -220,11 +220,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; private: //! Personizes work session with current format. diff --git a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileDescription.cxx b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileDescription.cxx index ef018131b2..51ef45f7ca 100644 --- a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileDescription.cxx +++ b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileDescription.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(HeaderSection_FileDescription, Standard_Transient) -HeaderSection_FileDescription::HeaderSection_FileDescription() {} +HeaderSection_FileDescription::HeaderSection_FileDescription() = default; void HeaderSection_FileDescription::Init( const occ::handle>>& aDescription, diff --git a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileName.cxx b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileName.cxx index 90478ff449..db01dd5a1a 100644 --- a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileName.cxx +++ b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileName.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(HeaderSection_FileName, Standard_Transient) -HeaderSection_FileName::HeaderSection_FileName() {} +HeaderSection_FileName::HeaderSection_FileName() = default; void HeaderSection_FileName::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileSchema.cxx b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileSchema.cxx index 640d3e81c5..b8434e5ff2 100644 --- a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileSchema.cxx +++ b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_FileSchema.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(HeaderSection_FileSchema, Standard_Transient) -HeaderSection_FileSchema::HeaderSection_FileSchema() {} +HeaderSection_FileSchema::HeaderSection_FileSchema() = default; void HeaderSection_FileSchema::Init( const occ::handle>>& aSchemaIdentifiers) diff --git a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.cxx b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.cxx index dc11c5f4e5..abd533e0e6 100644 --- a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.cxx +++ b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(HeaderSection_Protocol, StepData_Protocol) static const char* schemaName = "header_section"; -HeaderSection_Protocol::HeaderSection_Protocol() {} +HeaderSection_Protocol::HeaderSection_Protocol() = default; int HeaderSection_Protocol::TypeNumber(const occ::handle& atype) const { diff --git a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.hxx b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.hxx index 0b2857b3a1..c534188e87 100644 --- a/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.hxx +++ b/src/DataExchange/TKDESTEP/HeaderSection/HeaderSection_Protocol.hxx @@ -32,9 +32,9 @@ public: Standard_EXPORT HeaderSection_Protocol(); //! Returns a Case Number for each of the HeaderSection Entities - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; - Standard_EXPORT virtual const char* SchemaName( + Standard_EXPORT const char* SchemaName( const occ::handle&) const override; DEFINE_STANDARD_RTTIEXT(HeaderSection_Protocol, StepData_Protocol) diff --git a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileDescription.cxx b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileDescription.cxx index 9c56bf0ce8..6e6cfa388c 100644 --- a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileDescription.cxx +++ b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileDescription.cxx @@ -19,7 +19,7 @@ #include #include -RWHeaderSection_RWFileDescription::RWHeaderSection_RWFileDescription() {} +RWHeaderSection_RWFileDescription::RWHeaderSection_RWFileDescription() = default; void RWHeaderSection_RWFileDescription::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileName.cxx b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileName.cxx index 2589facc37..4b2cd43e13 100644 --- a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileName.cxx +++ b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileName.cxx @@ -19,7 +19,7 @@ #include #include -RWHeaderSection_RWFileName::RWHeaderSection_RWFileName() {} +RWHeaderSection_RWFileName::RWHeaderSection_RWFileName() = default; void RWHeaderSection_RWFileName::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileSchema.cxx b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileSchema.cxx index e006fcc7ee..28272cf3a5 100644 --- a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileSchema.cxx +++ b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_RWFileSchema.cxx @@ -19,7 +19,7 @@ #include #include -RWHeaderSection_RWFileSchema::RWHeaderSection_RWFileSchema() {} +RWHeaderSection_RWFileSchema::RWHeaderSection_RWFileSchema() = default; void RWHeaderSection_RWFileSchema::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx index 51c6abdfb8..686c5d520a 100644 --- a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx +++ b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.cxx @@ -34,7 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(RWHeaderSection_ReadWriteModule, StepData_ReadWriteModule) // -- General Declarations (Recognize, StepType) --- -static constexpr std::string_view PasReco(""); // neutralise StartEntity de SW +static constexpr std::string_view PasReco; // neutralise StartEntity de SW static constexpr std::string_view Reco_FileName("FILE_NAME"); static constexpr std::string_view Reco_FileDescription("FILE_DESCRIPTION"); static constexpr std::string_view Reco_FileSchema("FILE_SCHEMA"); diff --git a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.hxx b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.hxx index 447d9ba4b3..7a2f688712 100644 --- a/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.hxx +++ b/src/DataExchange/TKDESTEP/RWHeaderSection/RWHeaderSection_ReadWriteModule.hxx @@ -46,11 +46,11 @@ public: //! associates a positive Case Number to each type of HeaderSection Complex entity, //! given as a String defined in the EXPRESS form - Standard_EXPORT virtual int CaseStep( + Standard_EXPORT int CaseStep( const NCollection_Sequence& types) const override; //! returns True if the Case Number corresponds to a Complex Type - Standard_EXPORT virtual bool IsComplex(const int CN) const override; + Standard_EXPORT bool IsComplex(const int CN) const override; //! returns a StepType (defined in EXPRESS form which belongs to a //! Type of Entity, identified by its CaseNumber determined by Protocol diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignApproval.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignApproval.cxx index a934142d7b..3296824ccf 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignApproval.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignApproval.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepAP203_RWCcDesignApproval::RWStepAP203_RWCcDesignApproval() {} +RWStepAP203_RWCcDesignApproval::RWStepAP203_RWCcDesignApproval() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignCertification.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignCertification.cxx index 9bcd6a63ef..c353ae2eac 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignCertification.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignCertification.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepAP203_RWCcDesignCertification::RWStepAP203_RWCcDesignCertification() {} +RWStepAP203_RWCcDesignCertification::RWStepAP203_RWCcDesignCertification() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignContract.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignContract.cxx index c9ba930dba..9bd0d2743a 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignContract.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignContract.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepAP203_RWCcDesignContract::RWStepAP203_RWCcDesignContract() {} +RWStepAP203_RWCcDesignContract::RWStepAP203_RWCcDesignContract() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignDateAndTimeAssignment.cxx index 08cbfaf1c5..23063ecb40 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignDateAndTimeAssignment.cxx @@ -30,7 +30,8 @@ //================================================================================================= -RWStepAP203_RWCcDesignDateAndTimeAssignment::RWStepAP203_RWCcDesignDateAndTimeAssignment() {} +RWStepAP203_RWCcDesignDateAndTimeAssignment::RWStepAP203_RWCcDesignDateAndTimeAssignment() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignPersonAndOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignPersonAndOrganizationAssignment.cxx index 9b57d442de..c016d44000 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignPersonAndOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignPersonAndOrganizationAssignment.cxx @@ -31,9 +31,7 @@ //================================================================================================= RWStepAP203_RWCcDesignPersonAndOrganizationAssignment:: - RWStepAP203_RWCcDesignPersonAndOrganizationAssignment() -{ -} + RWStepAP203_RWCcDesignPersonAndOrganizationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSecurityClassification.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSecurityClassification.cxx index f604648adb..db1eaac36f 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSecurityClassification.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSecurityClassification.cxx @@ -29,7 +29,8 @@ //================================================================================================= -RWStepAP203_RWCcDesignSecurityClassification::RWStepAP203_RWCcDesignSecurityClassification() {} +RWStepAP203_RWCcDesignSecurityClassification::RWStepAP203_RWCcDesignSecurityClassification() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSpecificationReference.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSpecificationReference.cxx index a31af4b2d9..115be161d8 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSpecificationReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWCcDesignSpecificationReference.cxx @@ -29,7 +29,8 @@ //================================================================================================= -RWStepAP203_RWCcDesignSpecificationReference::RWStepAP203_RWCcDesignSpecificationReference() {} +RWStepAP203_RWCcDesignSpecificationReference::RWStepAP203_RWCcDesignSpecificationReference() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChange.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChange.cxx index 11b38fc0f3..de024f5bfa 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChange.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepAP203_RWChange::RWStepAP203_RWChange() {} +RWStepAP203_RWChange::RWStepAP203_RWChange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChangeRequest.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChangeRequest.cxx index 4604d5a3f4..9d72ae29f4 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChangeRequest.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWChangeRequest.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepAP203_RWChangeRequest::RWStepAP203_RWChangeRequest() {} +RWStepAP203_RWChangeRequest::RWStepAP203_RWChangeRequest() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartRequest.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartRequest.cxx index f5943096ed..bb091fbccb 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartRequest.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartRequest.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepAP203_RWStartRequest::RWStepAP203_RWStartRequest() {} +RWStepAP203_RWStartRequest::RWStepAP203_RWStartRequest() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartWork.cxx b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartWork.cxx index 27649ea3aa..487d2e6c4e 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartWork.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP203/RWStepAP203_RWStartWork.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepAP203_RWStartWork::RWStepAP203_RWStartWork() {} +RWStepAP203_RWStartWork::RWStepAP203_RWStartWork() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedApprovalAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedApprovalAssignment.cxx index f58b572260..43dcbd8c73 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedApprovalAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedApprovalAssignment.cxx @@ -22,7 +22,7 @@ #include #include -RWStepAP214_RWAppliedApprovalAssignment::RWStepAP214_RWAppliedApprovalAssignment() {} +RWStepAP214_RWAppliedApprovalAssignment::RWStepAP214_RWAppliedApprovalAssignment() = default; void RWStepAP214_RWAppliedApprovalAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAndTimeAssignment.cxx index 771f6c5a0a..28fc8b8f80 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAndTimeAssignment.cxx @@ -25,7 +25,7 @@ #include #include -RWStepAP214_RWAppliedDateAndTimeAssignment::RWStepAP214_RWAppliedDateAndTimeAssignment() {} +RWStepAP214_RWAppliedDateAndTimeAssignment::RWStepAP214_RWAppliedDateAndTimeAssignment() = default; void RWStepAP214_RWAppliedDateAndTimeAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAssignment.cxx index c439982de1..007f1ee9f9 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDateAssignment.cxx @@ -23,7 +23,7 @@ #include #include -RWStepAP214_RWAppliedDateAssignment::RWStepAP214_RWAppliedDateAssignment() {} +RWStepAP214_RWAppliedDateAssignment::RWStepAP214_RWAppliedDateAssignment() = default; void RWStepAP214_RWAppliedDateAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDocumentReference.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDocumentReference.cxx index cd6f8b781c..666a95c58e 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDocumentReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedDocumentReference.cxx @@ -23,7 +23,7 @@ #include #include -RWStepAP214_RWAppliedDocumentReference::RWStepAP214_RWAppliedDocumentReference() {} +RWStepAP214_RWAppliedDocumentReference::RWStepAP214_RWAppliedDocumentReference() = default; void RWStepAP214_RWAppliedDocumentReference::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedExternalIdentificationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedExternalIdentificationAssignment.cxx index ba665263a0..2ba0e303c7 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedExternalIdentificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedExternalIdentificationAssignment.cxx @@ -30,9 +30,7 @@ //================================================================================================= RWStepAP214_RWAppliedExternalIdentificationAssignment:: - RWStepAP214_RWAppliedExternalIdentificationAssignment() -{ -} + RWStepAP214_RWAppliedExternalIdentificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedGroupAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedGroupAssignment.cxx index 06adbec413..c7080c4c0b 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedGroupAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedGroupAssignment.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepAP214_RWAppliedGroupAssignment::RWStepAP214_RWAppliedGroupAssignment() {} +RWStepAP214_RWAppliedGroupAssignment::RWStepAP214_RWAppliedGroupAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedOrganizationAssignment.cxx index 995315553a..72d2d92568 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedOrganizationAssignment.cxx @@ -23,7 +23,8 @@ #include #include -RWStepAP214_RWAppliedOrganizationAssignment::RWStepAP214_RWAppliedOrganizationAssignment() {} +RWStepAP214_RWAppliedOrganizationAssignment::RWStepAP214_RWAppliedOrganizationAssignment() = + default; void RWStepAP214_RWAppliedOrganizationAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPersonAndOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPersonAndOrganizationAssignment.cxx index 5acee43b6c..ea479fe552 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPersonAndOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPersonAndOrganizationAssignment.cxx @@ -24,9 +24,7 @@ #include RWStepAP214_RWAppliedPersonAndOrganizationAssignment:: - RWStepAP214_RWAppliedPersonAndOrganizationAssignment() -{ -} + RWStepAP214_RWAppliedPersonAndOrganizationAssignment() = default; void RWStepAP214_RWAppliedPersonAndOrganizationAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPresentedItem.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPresentedItem.cxx index d64d3655b9..23e267969f 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPresentedItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedPresentedItem.cxx @@ -21,7 +21,7 @@ #include #include -RWStepAP214_RWAppliedPresentedItem::RWStepAP214_RWAppliedPresentedItem() {} +RWStepAP214_RWAppliedPresentedItem::RWStepAP214_RWAppliedPresentedItem() = default; void RWStepAP214_RWAppliedPresentedItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedSecurityClassificationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedSecurityClassificationAssignment.cxx index 3a0bb0c2ca..1caa3158e7 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedSecurityClassificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAppliedSecurityClassificationAssignment.cxx @@ -23,9 +23,7 @@ #include RWStepAP214_RWAppliedSecurityClassificationAssignment:: - RWStepAP214_RWAppliedSecurityClassificationAssignment() -{ -} + RWStepAP214_RWAppliedSecurityClassificationAssignment() = default; void RWStepAP214_RWAppliedSecurityClassificationAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAndTimeAssignment.cxx index 03970a7304..bfbf8c8ce5 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAndTimeAssignment.cxx @@ -24,9 +24,7 @@ #include RWStepAP214_RWAutoDesignActualDateAndTimeAssignment:: - RWStepAP214_RWAutoDesignActualDateAndTimeAssignment() -{ -} + RWStepAP214_RWAutoDesignActualDateAndTimeAssignment() = default; void RWStepAP214_RWAutoDesignActualDateAndTimeAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAssignment.cxx index 300942880e..42bca88fc4 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignActualDateAssignment.cxx @@ -23,7 +23,8 @@ #include #include -RWStepAP214_RWAutoDesignActualDateAssignment::RWStepAP214_RWAutoDesignActualDateAssignment() {} +RWStepAP214_RWAutoDesignActualDateAssignment::RWStepAP214_RWAutoDesignActualDateAssignment() = + default; void RWStepAP214_RWAutoDesignActualDateAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignApprovalAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignApprovalAssignment.cxx index 7e37fa75eb..66c1856692 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignApprovalAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignApprovalAssignment.cxx @@ -22,7 +22,7 @@ #include #include -RWStepAP214_RWAutoDesignApprovalAssignment::RWStepAP214_RWAutoDesignApprovalAssignment() {} +RWStepAP214_RWAutoDesignApprovalAssignment::RWStepAP214_RWAutoDesignApprovalAssignment() = default; void RWStepAP214_RWAutoDesignApprovalAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDateAndPersonAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDateAndPersonAssignment.cxx index 9f7c26a389..d35d76c052 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDateAndPersonAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDateAndPersonAssignment.cxx @@ -23,9 +23,8 @@ #include #include -RWStepAP214_RWAutoDesignDateAndPersonAssignment::RWStepAP214_RWAutoDesignDateAndPersonAssignment() -{ -} +RWStepAP214_RWAutoDesignDateAndPersonAssignment::RWStepAP214_RWAutoDesignDateAndPersonAssignment() = + default; void RWStepAP214_RWAutoDesignDateAndPersonAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDocumentReference.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDocumentReference.cxx index a7aebb28da..f25b90154f 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDocumentReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignDocumentReference.cxx @@ -23,7 +23,7 @@ #include #include -RWStepAP214_RWAutoDesignDocumentReference::RWStepAP214_RWAutoDesignDocumentReference() {} +RWStepAP214_RWAutoDesignDocumentReference::RWStepAP214_RWAutoDesignDocumentReference() = default; void RWStepAP214_RWAutoDesignDocumentReference::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignGroupAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignGroupAssignment.cxx index baa92d70ac..887a2aeae9 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignGroupAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignGroupAssignment.cxx @@ -22,7 +22,7 @@ #include #include -RWStepAP214_RWAutoDesignGroupAssignment::RWStepAP214_RWAutoDesignGroupAssignment() {} +RWStepAP214_RWAutoDesignGroupAssignment::RWStepAP214_RWAutoDesignGroupAssignment() = default; void RWStepAP214_RWAutoDesignGroupAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment.cxx index ba675f0918..4d9ec236a9 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment.cxx @@ -24,9 +24,7 @@ #include RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment:: - RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment() -{ -} + RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment() = default; void RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAssignment.cxx index 04ece70c3b..1277acc1dc 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignNominalDateAssignment.cxx @@ -23,7 +23,8 @@ #include #include -RWStepAP214_RWAutoDesignNominalDateAssignment::RWStepAP214_RWAutoDesignNominalDateAssignment() {} +RWStepAP214_RWAutoDesignNominalDateAssignment::RWStepAP214_RWAutoDesignNominalDateAssignment() = + default; void RWStepAP214_RWAutoDesignNominalDateAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignOrganizationAssignment.cxx index ff2f88c444..86fbf7dd2e 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignOrganizationAssignment.cxx @@ -23,7 +23,8 @@ #include #include -RWStepAP214_RWAutoDesignOrganizationAssignment::RWStepAP214_RWAutoDesignOrganizationAssignment() {} +RWStepAP214_RWAutoDesignOrganizationAssignment::RWStepAP214_RWAutoDesignOrganizationAssignment() = + default; void RWStepAP214_RWAutoDesignOrganizationAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment.cxx index c4134203c5..af748e470c 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment.cxx @@ -24,9 +24,7 @@ #include RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment:: - RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment() -{ -} + RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment() = default; void RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPresentedItem.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPresentedItem.cxx index b43e2c83a4..a4e50432d3 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPresentedItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignPresentedItem.cxx @@ -21,7 +21,7 @@ #include #include -RWStepAP214_RWAutoDesignPresentedItem::RWStepAP214_RWAutoDesignPresentedItem() {} +RWStepAP214_RWAutoDesignPresentedItem::RWStepAP214_RWAutoDesignPresentedItem() = default; void RWStepAP214_RWAutoDesignPresentedItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignSecurityClassificationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignSecurityClassificationAssignment.cxx index 3fc648fc3a..0c26f46b3e 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignSecurityClassificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWAutoDesignSecurityClassificationAssignment.cxx @@ -23,9 +23,7 @@ #include RWStepAP214_RWAutoDesignSecurityClassificationAssignment:: - RWStepAP214_RWAutoDesignSecurityClassificationAssignment() -{ -} + RWStepAP214_RWAutoDesignSecurityClassificationAssignment() = default; void RWStepAP214_RWAutoDesignSecurityClassificationAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWClass.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWClass.cxx index 2e23a8c80f..d3ef1bf620 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWClass.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWClass.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepAP214_RWClass::RWStepAP214_RWClass() {} +RWStepAP214_RWClass::RWStepAP214_RWClass() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedClass.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedClass.cxx index 24c687ad43..af67cba614 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedClass.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedClass.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepAP214_RWExternallyDefinedClass::RWStepAP214_RWExternallyDefinedClass() {} +RWStepAP214_RWExternallyDefinedClass::RWStepAP214_RWExternallyDefinedClass() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedGeneralProperty.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedGeneralProperty.cxx index 3543a26e73..a5a18f1b85 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedGeneralProperty.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWExternallyDefinedGeneralProperty.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepAP214_RWExternallyDefinedGeneralProperty::RWStepAP214_RWExternallyDefinedGeneralProperty() {} +RWStepAP214_RWExternallyDefinedGeneralProperty::RWStepAP214_RWExternallyDefinedGeneralProperty() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx index 1f595e3c0a..2146817f88 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_RWRepItemGroup.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepAP214_RWRepItemGroup::RWStepAP214_RWRepItemGroup() {} +RWStepAP214_RWRepItemGroup::RWStepAP214_RWRepItemGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWDraughtingModelItemAssociation.cxx b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWDraughtingModelItemAssociation.cxx index 809965ecf0..d7072ae34e 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWDraughtingModelItemAssociation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWDraughtingModelItemAssociation.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepAP242_RWDraughtingModelItemAssociation::RWStepAP242_RWDraughtingModelItemAssociation() {} +RWStepAP242_RWDraughtingModelItemAssociation::RWStepAP242_RWDraughtingModelItemAssociation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.cxx b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.cxx index 7fbe708522..2b70986a9b 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.cxx @@ -23,7 +23,7 @@ #include #include -RWStepAP242_RWGeometricItemSpecificUsage::RWStepAP242_RWGeometricItemSpecificUsage() {} +RWStepAP242_RWGeometricItemSpecificUsage::RWStepAP242_RWGeometricItemSpecificUsage() = default; void RWStepAP242_RWGeometricItemSpecificUsage::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWIdAttribute.cxx b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWIdAttribute.cxx index f68c4b182f..491d0b42e7 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWIdAttribute.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWIdAttribute.cxx @@ -20,7 +20,7 @@ #include #include -RWStepAP242_RWIdAttribute::RWStepAP242_RWIdAttribute() {} +RWStepAP242_RWIdAttribute::RWStepAP242_RWIdAttribute() = default; void RWStepAP242_RWIdAttribute::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWItemIdentifiedRepresentationUsage.cxx b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWItemIdentifiedRepresentationUsage.cxx index 2e6733bc2c..b8f2b5e3ea 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWItemIdentifiedRepresentationUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP242/RWStepAP242_RWItemIdentifiedRepresentationUsage.cxx @@ -22,9 +22,8 @@ #include #include -RWStepAP242_RWItemIdentifiedRepresentationUsage::RWStepAP242_RWItemIdentifiedRepresentationUsage() -{ -} +RWStepAP242_RWItemIdentifiedRepresentationUsage::RWStepAP242_RWItemIdentifiedRepresentationUsage() = + default; void RWStepAP242_RWItemIdentifiedRepresentationUsage::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAction.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAction.cxx index 379860d66f..309eb54fbe 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAction.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAction.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWAction::RWStepBasic_RWAction() {} +RWStepBasic_RWAction::RWStepBasic_RWAction() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionAssignment.cxx index 76701ef842..840529bdab 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionAssignment.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWActionAssignment::RWStepBasic_RWActionAssignment() {} +RWStepBasic_RWActionAssignment::RWStepBasic_RWActionAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionMethod.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionMethod.cxx index 57d2f57ddb..82ba03edd3 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionMethod.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionMethod.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWActionMethod::RWStepBasic_RWActionMethod() {} +RWStepBasic_RWActionMethod::RWStepBasic_RWActionMethod() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestAssignment.cxx index f83497fb20..7a0b3e5cae 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestAssignment.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWActionRequestAssignment::RWStepBasic_RWActionRequestAssignment() {} +RWStepBasic_RWActionRequestAssignment::RWStepBasic_RWActionRequestAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestSolution.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestSolution.cxx index 91532ddc1b..bdaed22fdb 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestSolution.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWActionRequestSolution.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepBasic_RWActionRequestSolution::RWStepBasic_RWActionRequestSolution() {} +RWStepBasic_RWActionRequestSolution::RWStepBasic_RWActionRequestSolution() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAddress.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAddress.cxx index b6ab23f385..43f311b516 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAddress.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWAddress.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWAddress::RWStepBasic_RWAddress() {} +RWStepBasic_RWAddress::RWStepBasic_RWAddress() = default; void RWStepBasic_RWAddress::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContext.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContext.cxx index 8489ed511b..dda8bf439e 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContext.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWApplicationContext::RWStepBasic_RWApplicationContext() {} +RWStepBasic_RWApplicationContext::RWStepBasic_RWApplicationContext() = default; void RWStepBasic_RWApplicationContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContextElement.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContextElement.cxx index 194c3088e5..45a1951033 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContextElement.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationContextElement.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWApplicationContextElement::RWStepBasic_RWApplicationContextElement() {} +RWStepBasic_RWApplicationContextElement::RWStepBasic_RWApplicationContextElement() = default; void RWStepBasic_RWApplicationContextElement::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationProtocolDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationProtocolDefinition.cxx index 6185c20dae..b216f015ea 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationProtocolDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApplicationProtocolDefinition.cxx @@ -18,7 +18,8 @@ #include #include -RWStepBasic_RWApplicationProtocolDefinition::RWStepBasic_RWApplicationProtocolDefinition() {} +RWStepBasic_RWApplicationProtocolDefinition::RWStepBasic_RWApplicationProtocolDefinition() = + default; void RWStepBasic_RWApplicationProtocolDefinition::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApproval.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApproval.cxx index 1209551470..bd883ff1b9 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApproval.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApproval.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWApproval::RWStepBasic_RWApproval() {} +RWStepBasic_RWApproval::RWStepBasic_RWApproval() = default; void RWStepBasic_RWApproval::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalDateTime.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalDateTime.cxx index c33790f139..de799f2222 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalDateTime.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalDateTime.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWApprovalDateTime::RWStepBasic_RWApprovalDateTime() {} +RWStepBasic_RWApprovalDateTime::RWStepBasic_RWApprovalDateTime() = default; void RWStepBasic_RWApprovalDateTime::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalPersonOrganization.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalPersonOrganization.cxx index 4a560a1dc9..cf52260586 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalPersonOrganization.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalPersonOrganization.cxx @@ -20,7 +20,7 @@ #include #include -RWStepBasic_RWApprovalPersonOrganization::RWStepBasic_RWApprovalPersonOrganization() {} +RWStepBasic_RWApprovalPersonOrganization::RWStepBasic_RWApprovalPersonOrganization() = default; void RWStepBasic_RWApprovalPersonOrganization::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRelationship.cxx index f20d0f6eb6..2257c37918 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRelationship.cxx @@ -20,7 +20,7 @@ #include #include -RWStepBasic_RWApprovalRelationship::RWStepBasic_RWApprovalRelationship() {} +RWStepBasic_RWApprovalRelationship::RWStepBasic_RWApprovalRelationship() = default; void RWStepBasic_RWApprovalRelationship::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRole.cxx index c589104552..94fa4b3353 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalRole.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWApprovalRole::RWStepBasic_RWApprovalRole() {} +RWStepBasic_RWApprovalRole::RWStepBasic_RWApprovalRole() = default; void RWStepBasic_RWApprovalRole::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalStatus.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalStatus.cxx index 47de9fbb9c..935b63433a 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalStatus.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWApprovalStatus.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWApprovalStatus::RWStepBasic_RWApprovalStatus() {} +RWStepBasic_RWApprovalStatus::RWStepBasic_RWApprovalStatus() = default; void RWStepBasic_RWApprovalStatus::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCalendarDate.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCalendarDate.cxx index 96977ae199..e4fb6dadd3 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCalendarDate.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCalendarDate.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWCalendarDate::RWStepBasic_RWCalendarDate() {} +RWStepBasic_RWCalendarDate::RWStepBasic_RWCalendarDate() = default; void RWStepBasic_RWCalendarDate::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertification.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertification.cxx index be4754377a..988825564c 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertification.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertification.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWCertification::RWStepBasic_RWCertification() {} +RWStepBasic_RWCertification::RWStepBasic_RWCertification() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationAssignment.cxx index 50d2c81824..dfce3692bf 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationAssignment.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWCertificationAssignment::RWStepBasic_RWCertificationAssignment() {} +RWStepBasic_RWCertificationAssignment::RWStepBasic_RWCertificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationType.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationType.cxx index b36ba4cec4..900f8d0357 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationType.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCertificationType.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWCertificationType::RWStepBasic_RWCertificationType() {} +RWStepBasic_RWCertificationType::RWStepBasic_RWCertificationType() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx index 63b1c5e377..fd9a97beff 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCharacterizedObject.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWCharacterizedObject::RWStepBasic_RWCharacterizedObject() {} +RWStepBasic_RWCharacterizedObject::RWStepBasic_RWCharacterizedObject() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContract.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContract.cxx index 70e6ad9351..d5b6a77279 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContract.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContract.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWContract::RWStepBasic_RWContract() {} +RWStepBasic_RWContract::RWStepBasic_RWContract() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractAssignment.cxx index 25f2c414d7..3310fe53fc 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractAssignment.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWContractAssignment::RWStepBasic_RWContractAssignment() {} +RWStepBasic_RWContractAssignment::RWStepBasic_RWContractAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractType.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractType.cxx index 385f278758..d6a5c87d95 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractType.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWContractType.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWContractType::RWStepBasic_RWContractType() {} +RWStepBasic_RWContractType::RWStepBasic_RWContractType() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx index 84b339ebd1..f659243fc2 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWConversionBasedUnit::RWStepBasic_RWConversionBasedUnit() {} +RWStepBasic_RWConversionBasedUnit::RWStepBasic_RWConversionBasedUnit() = default; void RWStepBasic_RWConversionBasedUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx index 6567f4bedd..5d51ca4771 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx @@ -22,7 +22,8 @@ #include #include -RWStepBasic_RWConversionBasedUnitAndAreaUnit::RWStepBasic_RWConversionBasedUnitAndAreaUnit() {} +RWStepBasic_RWConversionBasedUnitAndAreaUnit::RWStepBasic_RWConversionBasedUnitAndAreaUnit() = + default; void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx index 22b4cf6563..59d7d97011 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx @@ -20,7 +20,8 @@ #include #include -RWStepBasic_RWConversionBasedUnitAndLengthUnit::RWStepBasic_RWConversionBasedUnitAndLengthUnit() {} +RWStepBasic_RWConversionBasedUnitAndLengthUnit::RWStepBasic_RWConversionBasedUnitAndLengthUnit() = + default; void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx index d18ed98f4a..0568878dc0 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx @@ -22,7 +22,8 @@ //================================================================================================= -RWStepBasic_RWConversionBasedUnitAndMassUnit::RWStepBasic_RWConversionBasedUnitAndMassUnit() {} +RWStepBasic_RWConversionBasedUnitAndMassUnit::RWStepBasic_RWConversionBasedUnitAndMassUnit() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx index f7299a9868..5788a81650 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx @@ -24,9 +24,7 @@ #include RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit:: - RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit() -{ -} + RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit() = default; void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx index 164dc9f09b..2cbf7d3245 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx @@ -20,7 +20,8 @@ #include #include -RWStepBasic_RWConversionBasedUnitAndRatioUnit::RWStepBasic_RWConversionBasedUnitAndRatioUnit() {} +RWStepBasic_RWConversionBasedUnitAndRatioUnit::RWStepBasic_RWConversionBasedUnitAndRatioUnit() = + default; void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx index f0f2f41ccd..e889636bf4 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx @@ -21,9 +21,7 @@ #include RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit:: - RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit() -{ -} + RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit() = default; void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx index 05b57e5bd5..39a7b621b8 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx @@ -20,7 +20,8 @@ #include #include -RWStepBasic_RWConversionBasedUnitAndTimeUnit::RWStepBasic_RWConversionBasedUnitAndTimeUnit() {} +RWStepBasic_RWConversionBasedUnitAndTimeUnit::RWStepBasic_RWConversionBasedUnitAndTimeUnit() = + default; void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx index cfd7ba7d21..7ef96d8ea1 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx @@ -22,7 +22,8 @@ #include #include -RWStepBasic_RWConversionBasedUnitAndVolumeUnit::RWStepBasic_RWConversionBasedUnitAndVolumeUnit() {} +RWStepBasic_RWConversionBasedUnitAndVolumeUnit::RWStepBasic_RWConversionBasedUnitAndVolumeUnit() = + default; void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCoordinatedUniversalTimeOffset.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCoordinatedUniversalTimeOffset.cxx index 82934a030b..cce9c57e96 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCoordinatedUniversalTimeOffset.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWCoordinatedUniversalTimeOffset.cxx @@ -19,7 +19,8 @@ #include "RWStepBasic_RWAheadOrBehind.pxx" -RWStepBasic_RWCoordinatedUniversalTimeOffset::RWStepBasic_RWCoordinatedUniversalTimeOffset() {} +RWStepBasic_RWCoordinatedUniversalTimeOffset::RWStepBasic_RWCoordinatedUniversalTimeOffset() = + default; void RWStepBasic_RWCoordinatedUniversalTimeOffset::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDate.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDate.cxx index 46f84b4e9e..7ccde6ffb7 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDate.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDate.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWDate::RWStepBasic_RWDate() {} +RWStepBasic_RWDate::RWStepBasic_RWDate() = default; void RWStepBasic_RWDate::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateAndTime.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateAndTime.cxx index 034de58034..ddb799eaaa 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateAndTime.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateAndTime.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWDateAndTime::RWStepBasic_RWDateAndTime() {} +RWStepBasic_RWDateAndTime::RWStepBasic_RWDateAndTime() = default; void RWStepBasic_RWDateAndTime::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateRole.cxx index d30451be69..3f776c9f84 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateRole.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWDateRole::RWStepBasic_RWDateRole() {} +RWStepBasic_RWDateRole::RWStepBasic_RWDateRole() = default; void RWStepBasic_RWDateRole::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateTimeRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateTimeRole.cxx index 7571031d17..1c4b3eaa20 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateTimeRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDateTimeRole.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWDateTimeRole::RWStepBasic_RWDateTimeRole() {} +RWStepBasic_RWDateTimeRole::RWStepBasic_RWDateTimeRole() = default; void RWStepBasic_RWDateTimeRole::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnit.cxx index 2b3991941a..c730d70a3e 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnit.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWDerivedUnit::RWStepBasic_RWDerivedUnit() {} +RWStepBasic_RWDerivedUnit::RWStepBasic_RWDerivedUnit() = default; void RWStepBasic_RWDerivedUnit::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnitElement.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnitElement.cxx index de8bac288f..c27c837faf 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnitElement.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDerivedUnitElement.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWDerivedUnitElement::RWStepBasic_RWDerivedUnitElement() {} +RWStepBasic_RWDerivedUnitElement::RWStepBasic_RWDerivedUnitElement() = default; void RWStepBasic_RWDerivedUnitElement::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDimensionalExponents.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDimensionalExponents.cxx index 17911b172c..f5df2a8ab6 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDimensionalExponents.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDimensionalExponents.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWDimensionalExponents::RWStepBasic_RWDimensionalExponents() {} +RWStepBasic_RWDimensionalExponents::RWStepBasic_RWDimensionalExponents() = default; void RWStepBasic_RWDimensionalExponents::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocument.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocument.cxx index 22be23a908..2da279f0b5 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocument.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocument.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWDocument::RWStepBasic_RWDocument() {} +RWStepBasic_RWDocument::RWStepBasic_RWDocument() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentFile.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentFile.cxx index ae6b50ed31..95d6df7118 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentFile.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentFile.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWDocumentFile::RWStepBasic_RWDocumentFile() {} +RWStepBasic_RWDocumentFile::RWStepBasic_RWDocumentFile() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductAssociation.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductAssociation.cxx index 5bca19719f..4777d8338f 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductAssociation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductAssociation.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWDocumentProductAssociation::RWStepBasic_RWDocumentProductAssociation() {} +RWStepBasic_RWDocumentProductAssociation::RWStepBasic_RWDocumentProductAssociation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductEquivalence.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductEquivalence.cxx index b8218ccd0f..3305f4a860 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductEquivalence.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentProductEquivalence.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWDocumentProductEquivalence::RWStepBasic_RWDocumentProductEquivalence() {} +RWStepBasic_RWDocumentProductEquivalence::RWStepBasic_RWDocumentProductEquivalence() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRelationship.cxx index e25dfc8274..6571141176 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRelationship.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWDocumentRelationship::RWStepBasic_RWDocumentRelationship() {} +RWStepBasic_RWDocumentRelationship::RWStepBasic_RWDocumentRelationship() = default; void RWStepBasic_RWDocumentRelationship::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRepresentationType.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRepresentationType.cxx index 1aecaa9b9a..89673f1915 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRepresentationType.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentRepresentationType.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWDocumentRepresentationType::RWStepBasic_RWDocumentRepresentationType() {} +RWStepBasic_RWDocumentRepresentationType::RWStepBasic_RWDocumentRepresentationType() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentType.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentType.cxx index 1a06c09d9d..eb8beb9522 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentType.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentType.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWDocumentType::RWStepBasic_RWDocumentType() {} +RWStepBasic_RWDocumentType::RWStepBasic_RWDocumentType() = default; void RWStepBasic_RWDocumentType::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentUsageConstraint.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentUsageConstraint.cxx index 55467a5900..c65b3c5b37 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentUsageConstraint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWDocumentUsageConstraint.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWDocumentUsageConstraint::RWStepBasic_RWDocumentUsageConstraint() {} +RWStepBasic_RWDocumentUsageConstraint::RWStepBasic_RWDocumentUsageConstraint() = default; void RWStepBasic_RWDocumentUsageConstraint::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivity.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivity.cxx index 5e845eca22..a33c25922d 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivity.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivity.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWEffectivity::RWStepBasic_RWEffectivity() {} +RWStepBasic_RWEffectivity::RWStepBasic_RWEffectivity() = default; void RWStepBasic_RWEffectivity::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivityAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivityAssignment.cxx index 83b41e1041..16cbeae204 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivityAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEffectivityAssignment.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWEffectivityAssignment::RWStepBasic_RWEffectivityAssignment() {} +RWStepBasic_RWEffectivityAssignment::RWStepBasic_RWEffectivityAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEulerAngles.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEulerAngles.cxx index b06385a368..e961ef293b 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEulerAngles.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWEulerAngles.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepBasic_RWEulerAngles::RWStepBasic_RWEulerAngles() {} +RWStepBasic_RWEulerAngles::RWStepBasic_RWEulerAngles() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalIdentificationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalIdentificationAssignment.cxx index 798c1ed635..5c766a2345 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalIdentificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalIdentificationAssignment.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepBasic_RWExternalIdentificationAssignment::RWStepBasic_RWExternalIdentificationAssignment() {} +RWStepBasic_RWExternalIdentificationAssignment::RWStepBasic_RWExternalIdentificationAssignment() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalSource.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalSource.cxx index fdafaf555e..fa0605141c 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalSource.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternalSource.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWExternalSource::RWStepBasic_RWExternalSource() {} +RWStepBasic_RWExternalSource::RWStepBasic_RWExternalSource() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternallyDefinedItem.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternallyDefinedItem.cxx index d433e85acf..90d3a36e41 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternallyDefinedItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWExternallyDefinedItem.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWExternallyDefinedItem::RWStepBasic_RWExternallyDefinedItem() {} +RWStepBasic_RWExternallyDefinedItem::RWStepBasic_RWExternallyDefinedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx index f0e0eeec1c..a96f0e12ac 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralProperty.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWGeneralProperty::RWStepBasic_RWGeneralProperty() {} +RWStepBasic_RWGeneralProperty::RWStepBasic_RWGeneralProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyAssociation.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyAssociation.cxx index 5b8ae38aea..a64c67f104 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyAssociation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyAssociation.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWGeneralPropertyAssociation::RWStepBasic_RWGeneralPropertyAssociation() {} +RWStepBasic_RWGeneralPropertyAssociation::RWStepBasic_RWGeneralPropertyAssociation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyRelationship.cxx index 3ce2bc7a03..f84c7132b6 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGeneralPropertyRelationship.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWGeneralPropertyRelationship::RWStepBasic_RWGeneralPropertyRelationship() {} +RWStepBasic_RWGeneralPropertyRelationship::RWStepBasic_RWGeneralPropertyRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroup.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroup.cxx index ba641b29e1..0d9f27e8e8 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroup.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroup.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWGroup::RWStepBasic_RWGroup() {} +RWStepBasic_RWGroup::RWStepBasic_RWGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupAssignment.cxx index 562b3c2cd6..d4a6eabe75 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupAssignment.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWGroupAssignment::RWStepBasic_RWGroupAssignment() {} +RWStepBasic_RWGroupAssignment::RWStepBasic_RWGroupAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupRelationship.cxx index 6c7651e29c..96cd3e461a 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWGroupRelationship.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWGroupRelationship::RWStepBasic_RWGroupRelationship() {} +RWStepBasic_RWGroupRelationship::RWStepBasic_RWGroupRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationAssignment.cxx index 0de6a1340b..13c804bb25 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationAssignment.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWIdentificationAssignment::RWStepBasic_RWIdentificationAssignment() {} +RWStepBasic_RWIdentificationAssignment::RWStepBasic_RWIdentificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx index c3318b09a3..8015cb4eac 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWIdentificationRole.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWIdentificationRole::RWStepBasic_RWIdentificationRole() {} +RWStepBasic_RWIdentificationRole::RWStepBasic_RWIdentificationRole() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthMeasureWithUnit.cxx index eaed3b48b9..2d666d3a7a 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthMeasureWithUnit.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWLengthMeasureWithUnit::RWStepBasic_RWLengthMeasureWithUnit() {} +RWStepBasic_RWLengthMeasureWithUnit::RWStepBasic_RWLengthMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthUnit.cxx index 7fca029cc1..edafa93dd1 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLengthUnit.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWLengthUnit::RWStepBasic_RWLengthUnit() {} +RWStepBasic_RWLengthUnit::RWStepBasic_RWLengthUnit() = default; void RWStepBasic_RWLengthUnit::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLocalTime.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLocalTime.cxx index 1a92837ca2..eb1b859fdb 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLocalTime.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWLocalTime.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWLocalTime::RWStepBasic_RWLocalTime() {} +RWStepBasic_RWLocalTime::RWStepBasic_RWLocalTime() = default; void RWStepBasic_RWLocalTime::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassMeasureWithUnit.cxx index e7e24ff4fe..b594c264bd 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassMeasureWithUnit.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWMassMeasureWithUnit::RWStepBasic_RWMassMeasureWithUnit() {} +RWStepBasic_RWMassMeasureWithUnit::RWStepBasic_RWMassMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassUnit.cxx index e10013f9f1..e0ebad0fb9 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMassUnit.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWMassUnit::RWStepBasic_RWMassUnit() {} +RWStepBasic_RWMassUnit::RWStepBasic_RWMassUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMeasureWithUnit.cxx index 2ced30f1d9..320d6a18fc 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMeasureWithUnit.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWMeasureWithUnit::RWStepBasic_RWMeasureWithUnit() {} +RWStepBasic_RWMeasureWithUnit::RWStepBasic_RWMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMechanicalContext.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMechanicalContext.cxx index a1431bede6..e8dd928bd7 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMechanicalContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWMechanicalContext.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWMechanicalContext::RWStepBasic_RWMechanicalContext() {} +RWStepBasic_RWMechanicalContext::RWStepBasic_RWMechanicalContext() = default; void RWStepBasic_RWMechanicalContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNameAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNameAssignment.cxx index cbaed76330..2cfb769d30 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNameAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNameAssignment.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWNameAssignment::RWStepBasic_RWNameAssignment() {} +RWStepBasic_RWNameAssignment::RWStepBasic_RWNameAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNamedUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNamedUnit.cxx index 664b50fbf5..05ff4caa0b 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNamedUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWNamedUnit.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWNamedUnit::RWStepBasic_RWNamedUnit() {} +RWStepBasic_RWNamedUnit::RWStepBasic_RWNamedUnit() = default; void RWStepBasic_RWNamedUnit::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWObjectRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWObjectRole.cxx index fde906a6ce..9197f66471 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWObjectRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWObjectRole.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepBasic_RWObjectRole::RWStepBasic_RWObjectRole() {} +RWStepBasic_RWObjectRole::RWStepBasic_RWObjectRole() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrdinalDate.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrdinalDate.cxx index f9de9d414b..861992dd2c 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrdinalDate.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrdinalDate.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWOrdinalDate::RWStepBasic_RWOrdinalDate() {} +RWStepBasic_RWOrdinalDate::RWStepBasic_RWOrdinalDate() = default; void RWStepBasic_RWOrdinalDate::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganization.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganization.cxx index f5f51906dd..c00e63fa3d 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganization.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganization.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWOrganization::RWStepBasic_RWOrganization() {} +RWStepBasic_RWOrganization::RWStepBasic_RWOrganization() = default; void RWStepBasic_RWOrganization::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationRole.cxx index e5565b56c4..f33621f6ff 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationRole.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWOrganizationRole::RWStepBasic_RWOrganizationRole() {} +RWStepBasic_RWOrganizationRole::RWStepBasic_RWOrganizationRole() = default; void RWStepBasic_RWOrganizationRole::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationalAddress.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationalAddress.cxx index aef721b7c3..a20cb88c20 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationalAddress.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWOrganizationalAddress.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWOrganizationalAddress::RWStepBasic_RWOrganizationalAddress() {} +RWStepBasic_RWOrganizationalAddress::RWStepBasic_RWOrganizationalAddress() = default; void RWStepBasic_RWOrganizationalAddress::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPerson.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPerson.cxx index 4a1b2946ed..4bb46e871f 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPerson.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPerson.cxx @@ -17,7 +17,7 @@ #include #include -RWStepBasic_RWPerson::RWStepBasic_RWPerson() {} +RWStepBasic_RWPerson::RWStepBasic_RWPerson() = default; void RWStepBasic_RWPerson::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganization.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganization.cxx index 93bd358fdb..d0d03aa67e 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganization.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganization.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWPersonAndOrganization::RWStepBasic_RWPersonAndOrganization() {} +RWStepBasic_RWPersonAndOrganization::RWStepBasic_RWPersonAndOrganization() = default; void RWStepBasic_RWPersonAndOrganization::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganizationRole.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganizationRole.cxx index cdc95e433d..2089f24e55 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganizationRole.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonAndOrganizationRole.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWPersonAndOrganizationRole::RWStepBasic_RWPersonAndOrganizationRole() {} +RWStepBasic_RWPersonAndOrganizationRole::RWStepBasic_RWPersonAndOrganizationRole() = default; void RWStepBasic_RWPersonAndOrganizationRole::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonalAddress.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonalAddress.cxx index 5b3d51e0e7..53ae2fb21f 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonalAddress.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPersonalAddress.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWPersonalAddress::RWStepBasic_RWPersonalAddress() {} +RWStepBasic_RWPersonalAddress::RWStepBasic_RWPersonalAddress() = default; void RWStepBasic_RWPersonalAddress::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleMeasureWithUnit.cxx index 1bd81761d5..60ce2814f8 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleMeasureWithUnit.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWPlaneAngleMeasureWithUnit::RWStepBasic_RWPlaneAngleMeasureWithUnit() {} +RWStepBasic_RWPlaneAngleMeasureWithUnit::RWStepBasic_RWPlaneAngleMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleUnit.cxx index beb1858914..153e2d2799 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWPlaneAngleUnit.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWPlaneAngleUnit::RWStepBasic_RWPlaneAngleUnit() {} +RWStepBasic_RWPlaneAngleUnit::RWStepBasic_RWPlaneAngleUnit() = default; void RWStepBasic_RWPlaneAngleUnit::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProduct.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProduct.cxx index 6f01b8081e..8c44e83d0e 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProduct.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProduct.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWProduct::RWStepBasic_RWProduct() {} +RWStepBasic_RWProduct::RWStepBasic_RWProduct() = default; void RWStepBasic_RWProduct::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategory.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategory.cxx index 11f2832d4f..aaaabdbc82 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategory.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategory.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWProductCategory::RWStepBasic_RWProductCategory() {} +RWStepBasic_RWProductCategory::RWStepBasic_RWProductCategory() = default; void RWStepBasic_RWProductCategory::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategoryRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategoryRelationship.cxx index 690132a953..e6fd1d46f8 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategoryRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductCategoryRelationship.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWProductCategoryRelationship::RWStepBasic_RWProductCategoryRelationship() {} +RWStepBasic_RWProductCategoryRelationship::RWStepBasic_RWProductCategoryRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductConceptContext.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductConceptContext.cxx index 3ba726a24e..3d49e44efe 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductConceptContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductConceptContext.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepBasic_RWProductConceptContext::RWStepBasic_RWProductConceptContext() {} +RWStepBasic_RWProductConceptContext::RWStepBasic_RWProductConceptContext() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductContext.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductContext.cxx index 69b2cf00dc..3bcfa99e2c 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductContext.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWProductContext::RWStepBasic_RWProductContext() {} +RWStepBasic_RWProductContext::RWStepBasic_RWProductContext() = default; void RWStepBasic_RWProductContext::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinition.cxx index 0703704560..7c3d927f62 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinition.cxx @@ -21,7 +21,7 @@ #include #include -RWStepBasic_RWProductDefinition::RWStepBasic_RWProductDefinition() {} +RWStepBasic_RWProductDefinition::RWStepBasic_RWProductDefinition() = default; void RWStepBasic_RWProductDefinition::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionContext.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionContext.cxx index 3f908b0d02..a0196e7f6f 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionContext.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWProductDefinitionContext::RWStepBasic_RWProductDefinitionContext() {} +RWStepBasic_RWProductDefinitionContext::RWStepBasic_RWProductDefinitionContext() = default; void RWStepBasic_RWProductDefinitionContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionEffectivity.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionEffectivity.cxx index 57dd1bc4c9..e068847ea0 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionEffectivity.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionEffectivity.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWProductDefinitionEffectivity::RWStepBasic_RWProductDefinitionEffectivity() {} +RWStepBasic_RWProductDefinitionEffectivity::RWStepBasic_RWProductDefinitionEffectivity() = default; void RWStepBasic_RWProductDefinitionEffectivity::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormation.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormation.cxx index a4f0a93ffb..88381762bc 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormation.cxx @@ -20,7 +20,7 @@ #include #include -RWStepBasic_RWProductDefinitionFormation::RWStepBasic_RWProductDefinitionFormation() {} +RWStepBasic_RWProductDefinitionFormation::RWStepBasic_RWProductDefinitionFormation() = default; void RWStepBasic_RWProductDefinitionFormation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationRelationship.cxx index fff9f18459..7e0d2f81d6 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationRelationship.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepBasic_RWProductDefinitionFormationRelationship:: - RWStepBasic_RWProductDefinitionFormationRelationship() -{ -} + RWStepBasic_RWProductDefinitionFormationRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource.cxx index 67684a8967..692e5db6ad 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource.cxx @@ -23,9 +23,7 @@ #include "RWStepBasic_RWSource.pxx" RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource:: - RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource() -{ -} + RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource() = default; void RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReference.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReference.cxx index 4b13f58241..9c2e6d3941 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReference.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWProductDefinitionReference::RWStepBasic_RWProductDefinitionReference() {} +RWStepBasic_RWProductDefinitionReference::RWStepBasic_RWProductDefinitionReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation.cxx index a043c969cd..8a46b6c808 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation:: - RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation() -{ -} + RWStepBasic_RWProductDefinitionReferenceWithLocalRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionRelationship.cxx index 3a5ff1372a..ab09b57504 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionRelationship.cxx @@ -23,7 +23,8 @@ //================================================================================================= -RWStepBasic_RWProductDefinitionRelationship::RWStepBasic_RWProductDefinitionRelationship() {} +RWStepBasic_RWProductDefinitionRelationship::RWStepBasic_RWProductDefinitionRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionWithAssociatedDocuments.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionWithAssociatedDocuments.cxx index b0f2c052ee..206b1c5205 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionWithAssociatedDocuments.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductDefinitionWithAssociatedDocuments.cxx @@ -21,9 +21,7 @@ #include RWStepBasic_RWProductDefinitionWithAssociatedDocuments:: - RWStepBasic_RWProductDefinitionWithAssociatedDocuments() -{ -} + RWStepBasic_RWProductDefinitionWithAssociatedDocuments() = default; void RWStepBasic_RWProductDefinitionWithAssociatedDocuments::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductRelatedProductCategory.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductRelatedProductCategory.cxx index eaf8927a4e..47f3ad0d88 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductRelatedProductCategory.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductRelatedProductCategory.cxx @@ -19,7 +19,8 @@ #include #include -RWStepBasic_RWProductRelatedProductCategory::RWStepBasic_RWProductRelatedProductCategory() {} +RWStepBasic_RWProductRelatedProductCategory::RWStepBasic_RWProductRelatedProductCategory() = + default; void RWStepBasic_RWProductRelatedProductCategory::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductType.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductType.cxx index 438e3b5ecb..506597c928 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductType.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWProductType.cxx @@ -19,7 +19,7 @@ #include #include -RWStepBasic_RWProductType::RWStepBasic_RWProductType() {} +RWStepBasic_RWProductType::RWStepBasic_RWProductType() = default; void RWStepBasic_RWProductType::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRatioMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRatioMeasureWithUnit.cxx index e2b9e21456..cc7caa5424 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRatioMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRatioMeasureWithUnit.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWRatioMeasureWithUnit::RWStepBasic_RWRatioMeasureWithUnit() {} +RWStepBasic_RWRatioMeasureWithUnit::RWStepBasic_RWRatioMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRoleAssociation.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRoleAssociation.cxx index 42448ff5cb..c12572af2d 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRoleAssociation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWRoleAssociation.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWRoleAssociation::RWStepBasic_RWRoleAssociation() {} +RWStepBasic_RWRoleAssociation::RWStepBasic_RWRoleAssociation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassification.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassification.cxx index 3d119b681f..da960a1102 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassification.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassification.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWSecurityClassification::RWStepBasic_RWSecurityClassification() {} +RWStepBasic_RWSecurityClassification::RWStepBasic_RWSecurityClassification() = default; void RWStepBasic_RWSecurityClassification::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassificationLevel.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassificationLevel.cxx index ad2f1b0c05..f6d6fc77b2 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassificationLevel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSecurityClassificationLevel.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWSecurityClassificationLevel::RWStepBasic_RWSecurityClassificationLevel() {} +RWStepBasic_RWSecurityClassificationLevel::RWStepBasic_RWSecurityClassificationLevel() = default; void RWStepBasic_RWSecurityClassificationLevel::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnit.cxx index edf80104a1..b79db1eb9e 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnit.cxx @@ -21,7 +21,7 @@ #include "RWStepBasic_RWSiPrefix.pxx" #include "RWStepBasic_RWSiUnitName.pxx" -RWStepBasic_RWSiUnit::RWStepBasic_RWSiUnit() {} +RWStepBasic_RWSiUnit::RWStepBasic_RWSiUnit() = default; void RWStepBasic_RWSiUnit::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndAreaUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndAreaUnit.cxx index 9d7843de68..e87454f4ac 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndAreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndAreaUnit.cxx @@ -23,7 +23,7 @@ #include "RWStepBasic_RWSiUnitName.pxx" #include "RWStepBasic_RWSiPrefix.pxx" -RWStepBasic_RWSiUnitAndAreaUnit::RWStepBasic_RWSiUnitAndAreaUnit() {} +RWStepBasic_RWSiUnitAndAreaUnit::RWStepBasic_RWSiUnitAndAreaUnit() = default; void RWStepBasic_RWSiUnitAndAreaUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx index 780ce6f85f..0600e77fc5 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx @@ -24,7 +24,7 @@ #include "RWStepBasic_RWSiUnitName.pxx" #include "RWStepBasic_RWSiPrefix.pxx" -RWStepBasic_RWSiUnitAndLengthUnit::RWStepBasic_RWSiUnitAndLengthUnit() {} +RWStepBasic_RWSiUnitAndLengthUnit::RWStepBasic_RWSiUnitAndLengthUnit() = default; void RWStepBasic_RWSiUnitAndLengthUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx index b06d3b56ad..d98ea6572d 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWSiUnitAndMassUnit::RWStepBasic_RWSiUnitAndMassUnit() {} +RWStepBasic_RWSiUnitAndMassUnit::RWStepBasic_RWSiUnitAndMassUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx index 41dd8e9de1..4c52b24037 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx @@ -22,7 +22,7 @@ #include "RWStepBasic_RWSiUnitName.pxx" #include "RWStepBasic_RWSiPrefix.pxx" -RWStepBasic_RWSiUnitAndPlaneAngleUnit::RWStepBasic_RWSiUnitAndPlaneAngleUnit() {} +RWStepBasic_RWSiUnitAndPlaneAngleUnit::RWStepBasic_RWSiUnitAndPlaneAngleUnit() = default; void RWStepBasic_RWSiUnitAndPlaneAngleUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx index 90e59adb70..2cb3b55a0b 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx @@ -22,7 +22,7 @@ #include "RWStepBasic_RWSiUnitName.pxx" #include "RWStepBasic_RWSiPrefix.pxx" -RWStepBasic_RWSiUnitAndRatioUnit::RWStepBasic_RWSiUnitAndRatioUnit() {} +RWStepBasic_RWSiUnitAndRatioUnit::RWStepBasic_RWSiUnitAndRatioUnit() = default; void RWStepBasic_RWSiUnitAndRatioUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx index c82b900c91..739756804f 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx @@ -22,7 +22,7 @@ #include "RWStepBasic_RWSiUnitName.pxx" #include "RWStepBasic_RWSiPrefix.pxx" -RWStepBasic_RWSiUnitAndSolidAngleUnit::RWStepBasic_RWSiUnitAndSolidAngleUnit() {} +RWStepBasic_RWSiUnitAndSolidAngleUnit::RWStepBasic_RWSiUnitAndSolidAngleUnit() = default; void RWStepBasic_RWSiUnitAndSolidAngleUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx index 8981699899..439d06ede3 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit:: - RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit() -{ -} + RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx index 6715054c19..5a4beaaa95 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWSiUnitAndTimeUnit::RWStepBasic_RWSiUnitAndTimeUnit() {} +RWStepBasic_RWSiUnitAndTimeUnit::RWStepBasic_RWSiUnitAndTimeUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndVolumeUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndVolumeUnit.cxx index 3ae57c04ca..eab864532d 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndVolumeUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSiUnitAndVolumeUnit.cxx @@ -23,7 +23,7 @@ #include "RWStepBasic_RWSiUnitName.pxx" #include "RWStepBasic_RWSiPrefix.pxx" -RWStepBasic_RWSiUnitAndVolumeUnit::RWStepBasic_RWSiUnitAndVolumeUnit() {} +RWStepBasic_RWSiUnitAndVolumeUnit::RWStepBasic_RWSiUnitAndVolumeUnit() = default; void RWStepBasic_RWSiUnitAndVolumeUnit::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleMeasureWithUnit.cxx index 9fb46e55cb..0990ca6574 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleMeasureWithUnit.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepBasic_RWSolidAngleMeasureWithUnit::RWStepBasic_RWSolidAngleMeasureWithUnit() {} +RWStepBasic_RWSolidAngleMeasureWithUnit::RWStepBasic_RWSolidAngleMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleUnit.cxx index 12222b4041..a806a84195 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWSolidAngleUnit.cxx @@ -18,7 +18,7 @@ #include #include -RWStepBasic_RWSolidAngleUnit::RWStepBasic_RWSolidAngleUnit() {} +RWStepBasic_RWSolidAngleUnit::RWStepBasic_RWSolidAngleUnit() = default; void RWStepBasic_RWSolidAngleUnit::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWThermodynamicTemperatureUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWThermodynamicTemperatureUnit.cxx index a0e3713c4b..0bf905ad2d 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWThermodynamicTemperatureUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWThermodynamicTemperatureUnit.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWThermodynamicTemperatureUnit::RWStepBasic_RWThermodynamicTemperatureUnit() {} +RWStepBasic_RWThermodynamicTemperatureUnit::RWStepBasic_RWThermodynamicTemperatureUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWUncertaintyMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWUncertaintyMeasureWithUnit.cxx index 34fb0e4f47..5be46320f9 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWUncertaintyMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWUncertaintyMeasureWithUnit.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWUncertaintyMeasureWithUnit::RWStepBasic_RWUncertaintyMeasureWithUnit() {} +RWStepBasic_RWUncertaintyMeasureWithUnit::RWStepBasic_RWUncertaintyMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx index d6fa0180f3..ea04b6c887 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWVersionedActionRequest.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepBasic_RWVersionedActionRequest::RWStepBasic_RWVersionedActionRequest() {} +RWStepBasic_RWVersionedActionRequest::RWStepBasic_RWVersionedActionRequest() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWWeekOfYearAndDayDate.cxx b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWWeekOfYearAndDayDate.cxx index 6902f75a98..9502a67e4e 100644 --- a/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWWeekOfYearAndDayDate.cxx +++ b/src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWWeekOfYearAndDayDate.cxx @@ -16,7 +16,7 @@ #include #include -RWStepBasic_RWWeekOfYearAndDayDate::RWStepBasic_RWWeekOfYearAndDayDate() {} +RWStepBasic_RWWeekOfYearAndDayDate::RWStepBasic_RWWeekOfYearAndDayDate() = default; void RWStepBasic_RWWeekOfYearAndDayDate::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx index 8e87ad7c67..38d0c81253 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepDimTol_RWAngularityTolerance::RWStepDimTol_RWAngularityTolerance() {} +RWStepDimTol_RWAngularityTolerance::RWStepDimTol_RWAngularityTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx index f1b81517b8..038d5ddb58 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepDimTol_RWCircularRunoutTolerance::RWStepDimTol_RWCircularRunoutTolerance() {} +RWStepDimTol_RWCircularRunoutTolerance::RWStepDimTol_RWCircularRunoutTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx index 50b2feb92f..a48f7063c5 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepDimTol_RWCoaxialityTolerance::RWStepDimTol_RWCoaxialityTolerance() {} +RWStepDimTol_RWCoaxialityTolerance::RWStepDimTol_RWCoaxialityTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCommonDatum.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCommonDatum.cxx index 9f106ebd5c..3d1d1f3cd7 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCommonDatum.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCommonDatum.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWCommonDatum::RWStepDimTol_RWCommonDatum() {} +RWStepDimTol_RWCommonDatum::RWStepDimTol_RWCommonDatum() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx index f383098b81..ae9bc8fc96 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepDimTol_RWConcentricityTolerance::RWStepDimTol_RWConcentricityTolerance() {} +RWStepDimTol_RWConcentricityTolerance::RWStepDimTol_RWConcentricityTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx index 3506182612..945603f94e 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWCylindricityTolerance::RWStepDimTol_RWCylindricityTolerance() {} +RWStepDimTol_RWCylindricityTolerance::RWStepDimTol_RWCylindricityTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatum.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatum.cxx index 04685d707e..9f1a46cdb6 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatum.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatum.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWDatum::RWStepDimTol_RWDatum() {} +RWStepDimTol_RWDatum::RWStepDimTol_RWDatum() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumFeature.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumFeature.cxx index 72bdd3c569..99549eac9b 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumFeature.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumFeature.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWDatumFeature::RWStepDimTol_RWDatumFeature() {} +RWStepDimTol_RWDatumFeature::RWStepDimTol_RWDatumFeature() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReference.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReference.cxx index 04cb0beb81..51f0eda00d 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReference.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWDatumReference::RWStepDimTol_RWDatumReference() {} +RWStepDimTol_RWDatumReference::RWStepDimTol_RWDatumReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceCompartment.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceCompartment.cxx index cde33c5d4e..8cfbdde0a9 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceCompartment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceCompartment.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepDimTol_RWDatumReferenceCompartment::RWStepDimTol_RWDatumReferenceCompartment() {} +RWStepDimTol_RWDatumReferenceCompartment::RWStepDimTol_RWDatumReferenceCompartment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceElement.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceElement.cxx index 5c563bc199..1b335fbfe1 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceElement.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceElement.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepDimTol_RWDatumReferenceElement::RWStepDimTol_RWDatumReferenceElement() {} +RWStepDimTol_RWDatumReferenceElement::RWStepDimTol_RWDatumReferenceElement() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceModifierWithValue.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceModifierWithValue.cxx index 67bf3c1446..4e0a9fa5e7 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceModifierWithValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumReferenceModifierWithValue.cxx @@ -22,7 +22,8 @@ //================================================================================================= -RWStepDimTol_RWDatumReferenceModifierWithValue::RWStepDimTol_RWDatumReferenceModifierWithValue() {} +RWStepDimTol_RWDatumReferenceModifierWithValue::RWStepDimTol_RWDatumReferenceModifierWithValue() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumSystem.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumSystem.cxx index a2a49ee3c3..23b4f82699 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumSystem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepDimTol_RWDatumSystem::RWStepDimTol_RWDatumSystem() {} +RWStepDimTol_RWDatumSystem::RWStepDimTol_RWDatumSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumTarget.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumTarget.cxx index 62356b8959..4194bce355 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumTarget.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWDatumTarget.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWDatumTarget::RWStepDimTol_RWDatumTarget() {} +RWStepDimTol_RWDatumTarget::RWStepDimTol_RWDatumTarget() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx index 172b2b78a0..f802570175 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWFlatnessTolerance::RWStepDimTol_RWFlatnessTolerance() {} +RWStepDimTol_RWFlatnessTolerance::RWStepDimTol_RWFlatnessTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeneralDatumReference.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeneralDatumReference.cxx index 10ede96b91..3e32e66355 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeneralDatumReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeneralDatumReference.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepDimTol_RWGeneralDatumReference::RWStepDimTol_RWGeneralDatumReference() {} +RWStepDimTol_RWGeneralDatumReference::RWStepDimTol_RWGeneralDatumReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx index b2e18b500c..12b88f9a1a 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepDimTol_RWGeoTolAndGeoTolWthDatRef::RWStepDimTol_RWGeoTolAndGeoTolWthDatRef() {} +RWStepDimTol_RWGeoTolAndGeoTolWthDatRef::RWStepDimTol_RWGeoTolAndGeoTolWthDatRef() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx index 418fbf534f..aa6994ee1b 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx @@ -30,9 +30,7 @@ //================================================================================================= RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol:: - RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol() -{ -} + RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx index f07804a5c4..f497a11e27 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx @@ -29,9 +29,7 @@ //================================================================================================= RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod:: - RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod() -{ -} + RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx index 61f6ae9975..80a2125f0b 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol:: - RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol() -{ -} + RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx index e0182a9df1..7336169f25 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx @@ -28,9 +28,7 @@ //================================================================================================= RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol:: - RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol() -{ -} + RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx index d74722fe7c..e8f69b4d22 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol::RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol() {} +RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol::RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx index 82d818f04e..9adccc31ad 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWGeoTolAndGeoTolWthMod::RWStepDimTol_RWGeoTolAndGeoTolWthMod() {} +RWStepDimTol_RWGeoTolAndGeoTolWthMod::RWStepDimTol_RWGeoTolAndGeoTolWthMod() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx index 842203af87..d43dcf90cb 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWGeometricTolerance::RWStepDimTol_RWGeometricTolerance() {} +RWStepDimTol_RWGeometricTolerance::RWStepDimTol_RWGeometricTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceRelationship.cxx index 1da429e49d..9180b94935 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceRelationship.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepDimTol_RWGeometricToleranceRelationship::RWStepDimTol_RWGeometricToleranceRelationship() {} +RWStepDimTol_RWGeometricToleranceRelationship::RWStepDimTol_RWGeometricToleranceRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx index a1201d4871..6d91c2e7d4 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx @@ -29,9 +29,7 @@ //================================================================================================= RWStepDimTol_RWGeometricToleranceWithDatumReference:: - RWStepDimTol_RWGeometricToleranceWithDatumReference() -{ -} + RWStepDimTol_RWGeometricToleranceWithDatumReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx index d222757399..1c0ea880d7 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit:: - RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit() -{ -} + RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx index 46f069f693..21f9c988ff 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx @@ -24,9 +24,8 @@ //================================================================================================= -RWStepDimTol_RWGeometricToleranceWithDefinedUnit::RWStepDimTol_RWGeometricToleranceWithDefinedUnit() -{ -} +RWStepDimTol_RWGeometricToleranceWithDefinedUnit:: + RWStepDimTol_RWGeometricToleranceWithDefinedUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx index 51de28c966..759ffa642d 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx @@ -28,9 +28,7 @@ //================================================================================================= RWStepDimTol_RWGeometricToleranceWithMaximumTolerance:: - RWStepDimTol_RWGeometricToleranceWithMaximumTolerance() -{ -} + RWStepDimTol_RWGeometricToleranceWithMaximumTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx index 179b1144ee..a26c521361 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx @@ -27,7 +27,8 @@ //================================================================================================= -RWStepDimTol_RWGeometricToleranceWithModifiers::RWStepDimTol_RWGeometricToleranceWithModifiers() {} +RWStepDimTol_RWGeometricToleranceWithModifiers::RWStepDimTol_RWGeometricToleranceWithModifiers() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx index c832ff79aa..89366a2bbd 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWLineProfileTolerance::RWStepDimTol_RWLineProfileTolerance() {} +RWStepDimTol_RWLineProfileTolerance::RWStepDimTol_RWLineProfileTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWModifiedGeometricTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWModifiedGeometricTolerance.cxx index 3ae072213f..76d634c25c 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWModifiedGeometricTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWModifiedGeometricTolerance.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWModifiedGeometricTolerance::RWStepDimTol_RWModifiedGeometricTolerance() {} +RWStepDimTol_RWModifiedGeometricTolerance::RWStepDimTol_RWModifiedGeometricTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWNonUniformZoneDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWNonUniformZoneDefinition.cxx index 86220e7ef7..6d194ae3cc 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWNonUniformZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWNonUniformZoneDefinition.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWNonUniformZoneDefinition::RWStepDimTol_RWNonUniformZoneDefinition() {} +RWStepDimTol_RWNonUniformZoneDefinition::RWStepDimTol_RWNonUniformZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWParallelismTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWParallelismTolerance.cxx index f65635ec0e..fd62dd7124 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWParallelismTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWParallelismTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWParallelismTolerance::RWStepDimTol_RWParallelismTolerance() {} +RWStepDimTol_RWParallelismTolerance::RWStepDimTol_RWParallelismTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPerpendicularityTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPerpendicularityTolerance.cxx index 7bb78c7fa0..77c61170c9 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPerpendicularityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPerpendicularityTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWPerpendicularityTolerance::RWStepDimTol_RWPerpendicularityTolerance() {} +RWStepDimTol_RWPerpendicularityTolerance::RWStepDimTol_RWPerpendicularityTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPlacedDatumTargetFeature.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPlacedDatumTargetFeature.cxx index c8a32773ea..9b6ae1f3dc 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPlacedDatumTargetFeature.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPlacedDatumTargetFeature.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWPlacedDatumTargetFeature::RWStepDimTol_RWPlacedDatumTargetFeature() {} +RWStepDimTol_RWPlacedDatumTargetFeature::RWStepDimTol_RWPlacedDatumTargetFeature() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPositionTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPositionTolerance.cxx index e9f140d469..7c4840854c 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPositionTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPositionTolerance.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWPositionTolerance::RWStepDimTol_RWPositionTolerance() {} +RWStepDimTol_RWPositionTolerance::RWStepDimTol_RWPositionTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWProjectedZoneDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWProjectedZoneDefinition.cxx index 8ce0ad23e4..0f8e8350a2 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWProjectedZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWProjectedZoneDefinition.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWProjectedZoneDefinition::RWStepDimTol_RWProjectedZoneDefinition() {} +RWStepDimTol_RWProjectedZoneDefinition::RWStepDimTol_RWProjectedZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRoundnessTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRoundnessTolerance.cxx index 50f0e0fecf..f522061ffe 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRoundnessTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRoundnessTolerance.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWRoundnessTolerance::RWStepDimTol_RWRoundnessTolerance() {} +RWStepDimTol_RWRoundnessTolerance::RWStepDimTol_RWRoundnessTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneDefinition.cxx index 7702a190fb..7956d4ac57 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneDefinition.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWRunoutZoneDefinition::RWStepDimTol_RWRunoutZoneDefinition() {} +RWStepDimTol_RWRunoutZoneDefinition::RWStepDimTol_RWRunoutZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneOrientation.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneOrientation.cxx index 35e73dcca5..6e58290ad6 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneOrientation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRunoutZoneOrientation.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepDimTol_RWRunoutZoneOrientation::RWStepDimTol_RWRunoutZoneOrientation() {} +RWStepDimTol_RWRunoutZoneOrientation::RWStepDimTol_RWRunoutZoneOrientation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWStraightnessTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWStraightnessTolerance.cxx index 2cdbe5eb5a..b80e72e601 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWStraightnessTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWStraightnessTolerance.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWStraightnessTolerance::RWStepDimTol_RWStraightnessTolerance() {} +RWStepDimTol_RWStraightnessTolerance::RWStepDimTol_RWStraightnessTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSurfaceProfileTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSurfaceProfileTolerance.cxx index c9a540e10b..eadf137a5e 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSurfaceProfileTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSurfaceProfileTolerance.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepDimTol_RWSurfaceProfileTolerance::RWStepDimTol_RWSurfaceProfileTolerance() {} +RWStepDimTol_RWSurfaceProfileTolerance::RWStepDimTol_RWSurfaceProfileTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSymmetryTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSymmetryTolerance.cxx index 572938e85e..514a819282 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSymmetryTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSymmetryTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWSymmetryTolerance::RWStepDimTol_RWSymmetryTolerance() {} +RWStepDimTol_RWSymmetryTolerance::RWStepDimTol_RWSymmetryTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZone.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZone.cxx index e162d88845..39a278b98e 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZone.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZone.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWToleranceZone::RWStepDimTol_RWToleranceZone() {} +RWStepDimTol_RWToleranceZone::RWStepDimTol_RWToleranceZone() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneDefinition.cxx index a2a44d4e31..66dd62b5c8 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneDefinition.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepDimTol_RWToleranceZoneDefinition::RWStepDimTol_RWToleranceZoneDefinition() {} +RWStepDimTol_RWToleranceZoneDefinition::RWStepDimTol_RWToleranceZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneForm.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneForm.cxx index 5acf607edf..48746890fa 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneForm.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWToleranceZoneForm.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepDimTol_RWToleranceZoneForm::RWStepDimTol_RWToleranceZoneForm() {} +RWStepDimTol_RWToleranceZoneForm::RWStepDimTol_RWToleranceZoneForm() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWTotalRunoutTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWTotalRunoutTolerance.cxx index 4c98490630..402fa0833c 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWTotalRunoutTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWTotalRunoutTolerance.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepDimTol_RWTotalRunoutTolerance::RWStepDimTol_RWTotalRunoutTolerance() {} +RWStepDimTol_RWTotalRunoutTolerance::RWStepDimTol_RWTotalRunoutTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx index 07cca131fc..cc3fe26511 100644 --- a/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx @@ -23,9 +23,7 @@ //================================================================================================= RWStepDimTol_RWUnequallyDisposedGeometricTolerance:: - RWStepDimTol_RWUnequallyDisposedGeometricTolerance() -{ -} + RWStepDimTol_RWUnequallyDisposedGeometricTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWAnalysisItemWithinRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWAnalysisItemWithinRepresentation.cxx index 3c38d145aa..23742ff301 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWAnalysisItemWithinRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWAnalysisItemWithinRepresentation.cxx @@ -25,9 +25,8 @@ //================================================================================================= -RWStepElement_RWAnalysisItemWithinRepresentation::RWStepElement_RWAnalysisItemWithinRepresentation() -{ -} +RWStepElement_RWAnalysisItemWithinRepresentation:: + RWStepElement_RWAnalysisItemWithinRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx index afef0aa732..303c888e29 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurve3dElementDescriptor.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepElement_RWCurve3dElementDescriptor::RWStepElement_RWCurve3dElementDescriptor() {} +RWStepElement_RWCurve3dElementDescriptor::RWStepElement_RWCurve3dElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementEndReleasePacket.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementEndReleasePacket.cxx index d6262500f8..244d112b8e 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementEndReleasePacket.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementEndReleasePacket.cxx @@ -23,7 +23,8 @@ //================================================================================================= -RWStepElement_RWCurveElementEndReleasePacket::RWStepElement_RWCurveElementEndReleasePacket() {} +RWStepElement_RWCurveElementEndReleasePacket::RWStepElement_RWCurveElementEndReleasePacket() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx index ce8ff0bf3e..6ac07d3e20 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDefinition.cxx @@ -23,7 +23,8 @@ //================================================================================================= -RWStepElement_RWCurveElementSectionDefinition::RWStepElement_RWCurveElementSectionDefinition() {} +RWStepElement_RWCurveElementSectionDefinition::RWStepElement_RWCurveElementSectionDefinition() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDerivedDefinitions.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDerivedDefinitions.cxx index 8dd5343d1c..53a07522e0 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDerivedDefinitions.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWCurveElementSectionDerivedDefinitions.cxx @@ -29,9 +29,7 @@ //================================================================================================= RWStepElement_RWCurveElementSectionDerivedDefinitions:: - RWStepElement_RWCurveElementSectionDerivedDefinitions() -{ -} + RWStepElement_RWCurveElementSectionDerivedDefinitions() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementDescriptor.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementDescriptor.cxx index 3b7407b34e..a98adfa558 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementDescriptor.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepElement_RWElementDescriptor::RWStepElement_RWElementDescriptor() {} +RWStepElement_RWElementDescriptor::RWStepElement_RWElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementMaterial.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementMaterial.cxx index 831f3fc897..74bdd2f699 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementMaterial.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWElementMaterial.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepElement_RWElementMaterial::RWStepElement_RWElementMaterial() {} +RWStepElement_RWElementMaterial::RWStepElement_RWElementMaterial() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx index c0daf0ca4e..6b709225ee 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurface3dElementDescriptor.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepElement_RWSurface3dElementDescriptor::RWStepElement_RWSurface3dElementDescriptor() {} +RWStepElement_RWSurface3dElementDescriptor::RWStepElement_RWSurface3dElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceElementProperty.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceElementProperty.cxx index e15f7f4c53..8ec57d7d59 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceElementProperty.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceElementProperty.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepElement_RWSurfaceElementProperty::RWStepElement_RWSurfaceElementProperty() {} +RWStepElement_RWSurfaceElementProperty::RWStepElement_RWSurfaceElementProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSection.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSection.cxx index 8f9d846102..e0ac080f38 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSection.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSection.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepElement_RWSurfaceSection::RWStepElement_RWSurfaceSection() {} +RWStepElement_RWSurfaceSection::RWStepElement_RWSurfaceSection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx index 8e66de1939..3bcb1d8034 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionField.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepElement_RWSurfaceSectionField::RWStepElement_RWSurfaceSectionField() {} +RWStepElement_RWSurfaceSectionField::RWStepElement_RWSurfaceSectionField() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldConstant.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldConstant.cxx index 88fcde89e3..adb86813a1 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldConstant.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldConstant.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepElement_RWSurfaceSectionFieldConstant::RWStepElement_RWSurfaceSectionFieldConstant() {} +RWStepElement_RWSurfaceSectionFieldConstant::RWStepElement_RWSurfaceSectionFieldConstant() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldVarying.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldVarying.cxx index 44325d4ea9..e909c25cea 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldVarying.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWSurfaceSectionFieldVarying.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepElement_RWSurfaceSectionFieldVarying::RWStepElement_RWSurfaceSectionFieldVarying() {} +RWStepElement_RWSurfaceSectionFieldVarying::RWStepElement_RWSurfaceSectionFieldVarying() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx index 2dfa7113d0..7b78344f41 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWUniformSurfaceSection.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepElement_RWUniformSurfaceSection::RWStepElement_RWUniformSurfaceSection() {} +RWStepElement_RWUniformSurfaceSection::RWStepElement_RWUniformSurfaceSection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx index 3e91e6ba33..2a8681e582 100644 --- a/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/RWStepElement/RWStepElement_RWVolume3dElementDescriptor.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepElement_RWVolume3dElementDescriptor::RWStepElement_RWVolume3dElementDescriptor() {} +RWStepElement_RWVolume3dElementDescriptor::RWStepElement_RWVolume3dElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedCurve3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedCurve3dElementCoordinateSystem.cxx index 70c9a95c91..0aa073070d 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedCurve3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedCurve3dElementCoordinateSystem.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepFEA_RWAlignedCurve3dElementCoordinateSystem:: - RWStepFEA_RWAlignedCurve3dElementCoordinateSystem() -{ -} + RWStepFEA_RWAlignedCurve3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedSurface3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedSurface3dElementCoordinateSystem.cxx index 697716c05b..25b90251ee 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedSurface3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWAlignedSurface3dElementCoordinateSystem.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepFEA_RWAlignedSurface3dElementCoordinateSystem:: - RWStepFEA_RWAlignedSurface3dElementCoordinateSystem() -{ -} + RWStepFEA_RWAlignedSurface3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem.cxx index f636ea427c..168c46d9b4 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem:: - RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem() -{ -} + RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx index 939ca955f1..5b0726c2fb 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWConstantSurface3dElementCoordinateSystem.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepFEA_RWConstantSurface3dElementCoordinateSystem:: - RWStepFEA_RWConstantSurface3dElementCoordinateSystem() -{ -} + RWStepFEA_RWConstantSurface3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementProperty.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementProperty.cxx index 7603afc829..9a88af5410 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementProperty.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementProperty.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWCurve3dElementProperty::RWStepFEA_RWCurve3dElementProperty() {} +RWStepFEA_RWCurve3dElementProperty::RWStepFEA_RWCurve3dElementProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementRepresentation.cxx index 1a1bda7495..b2db3f56c0 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurve3dElementRepresentation.cxx @@ -33,7 +33,7 @@ //================================================================================================= -RWStepFEA_RWCurve3dElementRepresentation::RWStepFEA_RWCurve3dElementRepresentation() {} +RWStepFEA_RWCurve3dElementRepresentation::RWStepFEA_RWCurve3dElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndOffset.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndOffset.cxx index 0f06df7831..5d699941d6 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndOffset.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndOffset.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepFEA_RWCurveElementEndOffset::RWStepFEA_RWCurveElementEndOffset() {} +RWStepFEA_RWCurveElementEndOffset::RWStepFEA_RWCurveElementEndOffset() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndRelease.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndRelease.cxx index f2f8219a0e..e1d0bed6ab 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndRelease.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementEndRelease.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepFEA_RWCurveElementEndRelease::RWStepFEA_RWCurveElementEndRelease() {} +RWStepFEA_RWCurveElementEndRelease::RWStepFEA_RWCurveElementEndRelease() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementInterval.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementInterval.cxx index f089e2480c..874636dd81 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementInterval.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementInterval.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepFEA_RWCurveElementInterval::RWStepFEA_RWCurveElementInterval() {} +RWStepFEA_RWCurveElementInterval::RWStepFEA_RWCurveElementInterval() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalConstant.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalConstant.cxx index 618ff472b1..adfed2d6e9 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalConstant.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalConstant.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepFEA_RWCurveElementIntervalConstant::RWStepFEA_RWCurveElementIntervalConstant() {} +RWStepFEA_RWCurveElementIntervalConstant::RWStepFEA_RWCurveElementIntervalConstant() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalLinearlyVarying.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalLinearlyVarying.cxx index a282634f01..38c110473a 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalLinearlyVarying.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementIntervalLinearlyVarying.cxx @@ -26,9 +26,8 @@ //================================================================================================= -RWStepFEA_RWCurveElementIntervalLinearlyVarying::RWStepFEA_RWCurveElementIntervalLinearlyVarying() -{ -} +RWStepFEA_RWCurveElementIntervalLinearlyVarying::RWStepFEA_RWCurveElementIntervalLinearlyVarying() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementLocation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementLocation.cxx index 63deae44ca..258e7d201c 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementLocation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWCurveElementLocation.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepFEA_RWCurveElementLocation::RWStepFEA_RWCurveElementLocation() {} +RWStepFEA_RWCurveElementLocation::RWStepFEA_RWCurveElementLocation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWDummyNode.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWDummyNode.cxx index 64038cfef8..95b0c9b379 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWDummyNode.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWDummyNode.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWDummyNode::RWStepFEA_RWDummyNode() {} +RWStepFEA_RWDummyNode::RWStepFEA_RWDummyNode() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGeometricRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGeometricRelationship.cxx index 65ab655975..25ffc2618b 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGeometricRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGeometricRelationship.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepFEA_RWElementGeometricRelationship::RWStepFEA_RWElementGeometricRelationship() {} +RWStepFEA_RWElementGeometricRelationship::RWStepFEA_RWElementGeometricRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGroup.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGroup.cxx index 0fac5a5eab..da3849bbaf 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGroup.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementGroup.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepFEA_RWElementGroup::RWStepFEA_RWElementGroup() {} +RWStepFEA_RWElementGroup::RWStepFEA_RWElementGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementRepresentation.cxx index c056329a9d..215cb2f3ca 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWElementRepresentation.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWElementRepresentation::RWStepFEA_RWElementRepresentation() {} +RWStepFEA_RWElementRepresentation::RWStepFEA_RWElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx index ab67ec406d..aabcaa018c 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAreaDensity.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaAreaDensity::RWStepFEA_RWFeaAreaDensity() {} +RWStepFEA_RWFeaAreaDensity::RWStepFEA_RWFeaAreaDensity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAxis2Placement3d.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAxis2Placement3d.cxx index 8472c2d02e..86bb17a669 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAxis2Placement3d.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaAxis2Placement3d.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepFEA_RWFeaAxis2Placement3d::RWStepFEA_RWFeaAxis2Placement3d() {} +RWStepFEA_RWFeaAxis2Placement3d::RWStepFEA_RWFeaAxis2Placement3d() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaCurveSectionGeometricRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaCurveSectionGeometricRelationship.cxx index 8196b6ca3b..6fd86cac73 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaCurveSectionGeometricRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaCurveSectionGeometricRelationship.cxx @@ -25,9 +25,8 @@ //================================================================================================= -RWStepFEA_RWFeaCurveSectionGeometricRelationship::RWStepFEA_RWFeaCurveSectionGeometricRelationship() -{ -} +RWStepFEA_RWFeaCurveSectionGeometricRelationship:: + RWStepFEA_RWFeaCurveSectionGeometricRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaGroup.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaGroup.cxx index fb5f0cfb27..510a5cac22 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaGroup.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaGroup.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepFEA_RWFeaGroup::RWStepFEA_RWFeaGroup() {} +RWStepFEA_RWFeaGroup::RWStepFEA_RWFeaGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaLinearElasticity.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaLinearElasticity.cxx index 8fdf46a8a5..828b18e1c3 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaLinearElasticity.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaLinearElasticity.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaLinearElasticity::RWStepFEA_RWFeaLinearElasticity() {} +RWStepFEA_RWFeaLinearElasticity::RWStepFEA_RWFeaLinearElasticity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx index 49c08a6793..9e0d133ba8 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMassDensity.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaMassDensity::RWStepFEA_RWFeaMassDensity() {} +RWStepFEA_RWFeaMassDensity::RWStepFEA_RWFeaMassDensity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentation.cxx index 4e98f5ce4a..7058f507ea 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentation.cxx @@ -26,7 +26,8 @@ //================================================================================================= -RWStepFEA_RWFeaMaterialPropertyRepresentation::RWStepFEA_RWFeaMaterialPropertyRepresentation() {} +RWStepFEA_RWFeaMaterialPropertyRepresentation::RWStepFEA_RWFeaMaterialPropertyRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx index 9904b0ddb9..43ab9f2c0f 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMaterialPropertyRepresentationItem.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepFEA_RWFeaMaterialPropertyRepresentationItem:: - RWStepFEA_RWFeaMaterialPropertyRepresentationItem() -{ -} + RWStepFEA_RWFeaMaterialPropertyRepresentationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel.cxx index 36a977603c..b96aa6c2d4 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel.cxx @@ -30,7 +30,7 @@ //================================================================================================= -RWStepFEA_RWFeaModel::RWStepFEA_RWFeaModel() {} +RWStepFEA_RWFeaModel::RWStepFEA_RWFeaModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel3d.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel3d.cxx index 2d0089a84f..5680b5b841 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel3d.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModel3d.cxx @@ -30,7 +30,7 @@ //================================================================================================= -RWStepFEA_RWFeaModel3d::RWStepFEA_RWFeaModel3d() {} +RWStepFEA_RWFeaModel3d::RWStepFEA_RWFeaModel3d() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModelDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModelDefinition.cxx index 1a4ccc1d40..c87dc1bab4 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModelDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaModelDefinition.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepFEA_RWFeaModelDefinition::RWStepFEA_RWFeaModelDefinition() {} +RWStepFEA_RWFeaModelDefinition::RWStepFEA_RWFeaModelDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMoistureAbsorption.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMoistureAbsorption.cxx index 2fb5d572aa..bcf6472de9 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMoistureAbsorption.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaMoistureAbsorption.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaMoistureAbsorption::RWStepFEA_RWFeaMoistureAbsorption() {} +RWStepFEA_RWFeaMoistureAbsorption::RWStepFEA_RWFeaMoistureAbsorption() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx index 0005aa8f35..d3a8070859 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaParametricPoint.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepFEA_RWFeaParametricPoint::RWStepFEA_RWFeaParametricPoint() {} +RWStepFEA_RWFeaParametricPoint::RWStepFEA_RWFeaParametricPoint() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx index 835b4cbfe9..d2d22407f7 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaRepresentationItem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaRepresentationItem::RWStepFEA_RWFeaRepresentationItem() {} +RWStepFEA_RWFeaRepresentationItem::RWStepFEA_RWFeaRepresentationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion.cxx index 8bd82445be..c2ebea250a 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion:: - RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion() -{ -} + RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellBendingStiffness.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellBendingStiffness.cxx index 726a65c3cb..a6964c6610 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellBendingStiffness.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellBendingStiffness.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaShellBendingStiffness::RWStepFEA_RWFeaShellBendingStiffness() {} +RWStepFEA_RWFeaShellBendingStiffness::RWStepFEA_RWFeaShellBendingStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness.cxx index d4c2fa66fd..f91a408690 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness:: - RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness() -{ -} + RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneStiffness.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneStiffness.cxx index 6112627564..e4c276fb63 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneStiffness.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellMembraneStiffness.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaShellMembraneStiffness::RWStepFEA_RWFeaShellMembraneStiffness() {} +RWStepFEA_RWFeaShellMembraneStiffness::RWStepFEA_RWFeaShellMembraneStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellShearStiffness.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellShearStiffness.cxx index 266bd438fe..af0de46aed 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellShearStiffness.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaShellShearStiffness.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFeaShellShearStiffness::RWStepFEA_RWFeaShellShearStiffness() {} +RWStepFEA_RWFeaShellShearStiffness::RWStepFEA_RWFeaShellShearStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSurfaceSectionGeometricRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSurfaceSectionGeometricRelationship.cxx index 5cf5338213..3250863b27 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSurfaceSectionGeometricRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaSurfaceSectionGeometricRelationship.cxx @@ -26,9 +26,7 @@ //================================================================================================= RWStepFEA_RWFeaSurfaceSectionGeometricRelationship:: - RWStepFEA_RWFeaSurfaceSectionGeometricRelationship() -{ -} + RWStepFEA_RWFeaSurfaceSectionGeometricRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion.cxx index ae1712bf5e..2a71c7de80 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion:: - RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion() -{ -} + RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomAndCoefficient.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomAndCoefficient.cxx index 9c63a5319c..0d423273eb 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomAndCoefficient.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomAndCoefficient.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepFEA_RWFreedomAndCoefficient::RWStepFEA_RWFreedomAndCoefficient() {} +RWStepFEA_RWFreedomAndCoefficient::RWStepFEA_RWFreedomAndCoefficient() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomsList.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomsList.cxx index b87e928c22..f277280460 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomsList.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWFreedomsList.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepFEA_RWFreedomsList::RWStepFEA_RWFreedomsList() {} +RWStepFEA_RWFreedomsList::RWStepFEA_RWFreedomsList() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWGeometricNode.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWGeometricNode.cxx index 20d9672669..e4c3d59a75 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWGeometricNode.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWGeometricNode.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWGeometricNode::RWStepFEA_RWGeometricNode() {} +RWStepFEA_RWGeometricNode::RWStepFEA_RWGeometricNode() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNode.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNode.cxx index 110dd19b54..1c6f862e9f 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNode.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNode.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWNode::RWStepFEA_RWNode() {} +RWStepFEA_RWNode::RWStepFEA_RWNode() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeDefinition.cxx index e1acb97c5b..408bf5415d 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeDefinition.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepFEA_RWNodeDefinition::RWStepFEA_RWNodeDefinition() {} +RWStepFEA_RWNodeDefinition::RWStepFEA_RWNodeDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeGroup.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeGroup.cxx index 137a67a681..d013db1370 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeGroup.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeGroup.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepFEA_RWNodeGroup::RWStepFEA_RWNodeGroup() {} +RWStepFEA_RWNodeGroup::RWStepFEA_RWNodeGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeRepresentation.cxx index 682d874f2b..c3d49dcc0f 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeRepresentation.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWNodeRepresentation::RWStepFEA_RWNodeRepresentation() {} +RWStepFEA_RWNodeRepresentation::RWStepFEA_RWNodeRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeSet.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeSet.cxx index 9e68816f75..d0d344005b 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeSet.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepFEA_RWNodeSet::RWStepFEA_RWNodeSet() {} +RWStepFEA_RWNodeSet::RWStepFEA_RWNodeSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithSolutionCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithSolutionCoordinateSystem.cxx index 39f30cd76b..b6d8e3d13e 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithSolutionCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithSolutionCoordinateSystem.cxx @@ -29,7 +29,8 @@ //================================================================================================= -RWStepFEA_RWNodeWithSolutionCoordinateSystem::RWStepFEA_RWNodeWithSolutionCoordinateSystem() {} +RWStepFEA_RWNodeWithSolutionCoordinateSystem::RWStepFEA_RWNodeWithSolutionCoordinateSystem() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithVector.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithVector.cxx index 488a6a35c6..441f35838c 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithVector.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWNodeWithVector.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepFEA_RWNodeWithVector::RWStepFEA_RWNodeWithVector() {} +RWStepFEA_RWNodeWithVector::RWStepFEA_RWNodeWithVector() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateDirection.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateDirection.cxx index f737fe4565..374e9b8883 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateDirection.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateDirection.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepFEA_RWParametricCurve3dElementCoordinateDirection:: - RWStepFEA_RWParametricCurve3dElementCoordinateDirection() -{ -} + RWStepFEA_RWParametricCurve3dElementCoordinateDirection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateSystem.cxx index 81709e3b30..0b6e5f01fc 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricCurve3dElementCoordinateSystem.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepFEA_RWParametricCurve3dElementCoordinateSystem:: - RWStepFEA_RWParametricCurve3dElementCoordinateSystem() -{ -} + RWStepFEA_RWParametricCurve3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx index a1ef026c25..c3affcde7a 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWParametricSurface3dElementCoordinateSystem.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepFEA_RWParametricSurface3dElementCoordinateSystem:: - RWStepFEA_RWParametricSurface3dElementCoordinateSystem() -{ -} + RWStepFEA_RWParametricSurface3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWSurface3dElementRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWSurface3dElementRepresentation.cxx index c600dfebe2..6c65c620d0 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWSurface3dElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWSurface3dElementRepresentation.cxx @@ -33,7 +33,7 @@ //================================================================================================= -RWStepFEA_RWSurface3dElementRepresentation::RWStepFEA_RWSurface3dElementRepresentation() {} +RWStepFEA_RWSurface3dElementRepresentation::RWStepFEA_RWSurface3dElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWVolume3dElementRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWVolume3dElementRepresentation.cxx index 9ebbd77109..118c3c58ae 100644 --- a/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWVolume3dElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepFEA/RWStepFEA_RWVolume3dElementRepresentation.cxx @@ -32,7 +32,7 @@ //================================================================================================= -RWStepFEA_RWVolume3dElementRepresentation::RWStepFEA_RWVolume3dElementRepresentation() {} +RWStepFEA_RWVolume3dElementRepresentation::RWStepFEA_RWVolume3dElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis1Placement.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis1Placement.cxx index a5b3a09f56..1eae5c4a85 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis1Placement.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis1Placement.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWAxis1Placement::RWStepGeom_RWAxis1Placement() {} +RWStepGeom_RWAxis1Placement::RWStepGeom_RWAxis1Placement() = default; void RWStepGeom_RWAxis1Placement::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement2d.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement2d.cxx index a05ed45af0..08f9814341 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement2d.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement2d.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWAxis2Placement2d::RWStepGeom_RWAxis2Placement2d() {} +RWStepGeom_RWAxis2Placement2d::RWStepGeom_RWAxis2Placement2d() = default; void RWStepGeom_RWAxis2Placement2d::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement3d.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement3d.cxx index e4fdccb60a..e3d7816b0d 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement3d.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWAxis2Placement3d.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWAxis2Placement3d::RWStepGeom_RWAxis2Placement3d() {} +RWStepGeom_RWAxis2Placement3d::RWStepGeom_RWAxis2Placement3d() = default; void RWStepGeom_RWAxis2Placement3d::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurve.cxx index ef8f6627a8..6a452fa820 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurve.cxx @@ -25,7 +25,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" -RWStepGeom_RWBSplineCurve::RWStepGeom_RWBSplineCurve() {} +RWStepGeom_RWBSplineCurve::RWStepGeom_RWBSplineCurve() = default; void RWStepGeom_RWBSplineCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnots.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnots.cxx index c20c7f68bd..7644d91c92 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnots.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnots.cxx @@ -28,7 +28,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" #include "RWStepGeom_RWKnotType.pxx" -RWStepGeom_RWBSplineCurveWithKnots::RWStepGeom_RWBSplineCurveWithKnots() {} +RWStepGeom_RWBSplineCurveWithKnots::RWStepGeom_RWBSplineCurveWithKnots() = default; void RWStepGeom_RWBSplineCurveWithKnots::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx index 20ab15033b..08486042c3 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx @@ -34,9 +34,7 @@ #include "RWStepGeom_RWKnotType.pxx" RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve:: - RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve() -{ -} + RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve() = default; void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurface.cxx index 35d1344811..939765d978 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurface.cxx @@ -25,7 +25,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" -RWStepGeom_RWBSplineSurface::RWStepGeom_RWBSplineSurface() {} +RWStepGeom_RWBSplineSurface::RWStepGeom_RWBSplineSurface() = default; void RWStepGeom_RWBSplineSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnots.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnots.cxx index 66eca573d1..e4f8d06f9b 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnots.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnots.cxx @@ -30,7 +30,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" #include "RWStepGeom_RWKnotType.pxx" -RWStepGeom_RWBSplineSurfaceWithKnots::RWStepGeom_RWBSplineSurfaceWithKnots() {} +RWStepGeom_RWBSplineSurfaceWithKnots::RWStepGeom_RWBSplineSurfaceWithKnots() = default; void RWStepGeom_RWBSplineSurfaceWithKnots::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx index 54abbff5a6..9c069138a5 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx @@ -34,9 +34,7 @@ #include "RWStepGeom_RWKnotType.pxx" RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface:: - RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface() -{ -} + RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface() = default; void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurve.cxx index f8a91acac9..9140a8b3cc 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurve.cxx @@ -24,7 +24,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" -RWStepGeom_RWBezierCurve::RWStepGeom_RWBezierCurve() {} +RWStepGeom_RWBezierCurve::RWStepGeom_RWBezierCurve() = default; void RWStepGeom_RWBezierCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx index a7b4f7eecf..78826e3e52 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx @@ -24,9 +24,8 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" -RWStepGeom_RWBezierCurveAndRationalBSplineCurve::RWStepGeom_RWBezierCurveAndRationalBSplineCurve() -{ -} +RWStepGeom_RWBezierCurveAndRationalBSplineCurve::RWStepGeom_RWBezierCurveAndRationalBSplineCurve() = + default; void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurface.cxx index 632dda7bda..83ab79d702 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurface.cxx @@ -24,7 +24,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" -RWStepGeom_RWBezierSurface::RWStepGeom_RWBezierSurface() {} +RWStepGeom_RWBezierSurface::RWStepGeom_RWBezierSurface() = default; void RWStepGeom_RWBezierSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx index d467cef5d6..5fa36dcd6a 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx @@ -25,9 +25,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface:: - RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface() -{ -} + RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface() = default; void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundaryCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundaryCurve.cxx index 776bc914a2..a5ef9e3df5 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundaryCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundaryCurve.cxx @@ -21,7 +21,7 @@ #include #include -RWStepGeom_RWBoundaryCurve::RWStepGeom_RWBoundaryCurve() {} +RWStepGeom_RWBoundaryCurve::RWStepGeom_RWBoundaryCurve() = default; void RWStepGeom_RWBoundaryCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedCurve.cxx index 8e64156a7c..4ae147c067 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedCurve.cxx @@ -16,7 +16,7 @@ #include #include -RWStepGeom_RWBoundedCurve::RWStepGeom_RWBoundedCurve() {} +RWStepGeom_RWBoundedCurve::RWStepGeom_RWBoundedCurve() = default; void RWStepGeom_RWBoundedCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedSurface.cxx index 46417d4f13..1d163bf287 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWBoundedSurface.cxx @@ -16,7 +16,7 @@ #include #include -RWStepGeom_RWBoundedSurface::RWStepGeom_RWBoundedSurface() {} +RWStepGeom_RWBoundedSurface::RWStepGeom_RWBoundedSurface() = default; void RWStepGeom_RWBoundedSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianPoint.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianPoint.cxx index 0046ecc466..21b7b750a2 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianPoint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianPoint.cxx @@ -19,7 +19,7 @@ #include // #include .hxx> -RWStepGeom_RWCartesianPoint::RWStepGeom_RWCartesianPoint() {} +RWStepGeom_RWCartesianPoint::RWStepGeom_RWCartesianPoint() = default; void RWStepGeom_RWCartesianPoint::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator.cxx index 47c5e7ac76..b5d13ff5d2 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator.cxx @@ -19,7 +19,8 @@ #include #include -RWStepGeom_RWCartesianTransformationOperator::RWStepGeom_RWCartesianTransformationOperator() {} +RWStepGeom_RWCartesianTransformationOperator::RWStepGeom_RWCartesianTransformationOperator() = + default; void RWStepGeom_RWCartesianTransformationOperator::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator3d.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator3d.cxx index 5ee15ea530..e02b8face6 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator3d.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCartesianTransformationOperator3d.cxx @@ -19,7 +19,8 @@ #include #include -RWStepGeom_RWCartesianTransformationOperator3d::RWStepGeom_RWCartesianTransformationOperator3d() {} +RWStepGeom_RWCartesianTransformationOperator3d::RWStepGeom_RWCartesianTransformationOperator3d() = + default; void RWStepGeom_RWCartesianTransformationOperator3d::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCircle.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCircle.cxx index 915b57319f..f283a9b6a6 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCircle.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCircle.cxx @@ -17,7 +17,7 @@ #include #include -RWStepGeom_RWCircle::RWStepGeom_RWCircle() {} +RWStepGeom_RWCircle::RWStepGeom_RWCircle() = default; void RWStepGeom_RWCircle::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurve.cxx index e6af6e184c..8975d45914 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurve.cxx @@ -21,7 +21,7 @@ #include #include -RWStepGeom_RWCompositeCurve::RWStepGeom_RWCompositeCurve() {} +RWStepGeom_RWCompositeCurve::RWStepGeom_RWCompositeCurve() = default; void RWStepGeom_RWCompositeCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveOnSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveOnSurface.cxx index a3d6cf3ff3..b237e2e37e 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveOnSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveOnSurface.cxx @@ -21,7 +21,7 @@ #include #include -RWStepGeom_RWCompositeCurveOnSurface::RWStepGeom_RWCompositeCurveOnSurface() {} +RWStepGeom_RWCompositeCurveOnSurface::RWStepGeom_RWCompositeCurveOnSurface() = default; void RWStepGeom_RWCompositeCurveOnSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveSegment.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveSegment.cxx index 143dafdb17..2dd5a75118 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveSegment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCompositeCurveSegment.cxx @@ -22,7 +22,7 @@ #include "RWStepGeom_RWTransitionCode.pxx" -RWStepGeom_RWCompositeCurveSegment::RWStepGeom_RWCompositeCurveSegment() {} +RWStepGeom_RWCompositeCurveSegment::RWStepGeom_RWCompositeCurveSegment() = default; void RWStepGeom_RWCompositeCurveSegment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConic.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConic.cxx index 3b66695357..0ce0fa3fbc 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConic.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConic.cxx @@ -17,7 +17,7 @@ #include #include -RWStepGeom_RWConic::RWStepGeom_RWConic() {} +RWStepGeom_RWConic::RWStepGeom_RWConic() = default; void RWStepGeom_RWConic::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConicalSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConicalSurface.cxx index ccfe2da6bf..98d9a57b66 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConicalSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWConicalSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWConicalSurface::RWStepGeom_RWConicalSurface() {} +RWStepGeom_RWConicalSurface::RWStepGeom_RWConicalSurface() = default; void RWStepGeom_RWConicalSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurve.cxx index 9fb36977da..3bff0c4499 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurve.cxx @@ -16,7 +16,7 @@ #include #include -RWStepGeom_RWCurve::RWStepGeom_RWCurve() {} +RWStepGeom_RWCurve::RWStepGeom_RWCurve() = default; void RWStepGeom_RWCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveBoundedSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveBoundedSurface.cxx index 7779ded5e0..649a2fbb26 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveBoundedSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveBoundedSurface.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepGeom_RWCurveBoundedSurface::RWStepGeom_RWCurveBoundedSurface() {} +RWStepGeom_RWCurveBoundedSurface::RWStepGeom_RWCurveBoundedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveReplica.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveReplica.cxx index 5217a17f36..9e4525f01e 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveReplica.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCurveReplica.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWCurveReplica::RWStepGeom_RWCurveReplica() {} +RWStepGeom_RWCurveReplica::RWStepGeom_RWCurveReplica() = default; void RWStepGeom_RWCurveReplica::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCylindricalSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCylindricalSurface.cxx index 1097f1e7ee..5e55ec13fc 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCylindricalSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWCylindricalSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWCylindricalSurface::RWStepGeom_RWCylindricalSurface() {} +RWStepGeom_RWCylindricalSurface::RWStepGeom_RWCylindricalSurface() = default; void RWStepGeom_RWCylindricalSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegeneratePcurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegeneratePcurve.cxx index f4f140b7c1..bb38a4e869 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegeneratePcurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegeneratePcurve.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWDegeneratePcurve::RWStepGeom_RWDegeneratePcurve() {} +RWStepGeom_RWDegeneratePcurve::RWStepGeom_RWDegeneratePcurve() = default; void RWStepGeom_RWDegeneratePcurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegenerateToroidalSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegenerateToroidalSurface.cxx index 2732b55ab0..bd5f14ff44 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegenerateToroidalSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDegenerateToroidalSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWDegenerateToroidalSurface::RWStepGeom_RWDegenerateToroidalSurface() {} +RWStepGeom_RWDegenerateToroidalSurface::RWStepGeom_RWDegenerateToroidalSurface() = default; void RWStepGeom_RWDegenerateToroidalSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDirection.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDirection.cxx index 3c0f5e217f..0359d8d644 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDirection.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWDirection.cxx @@ -20,7 +20,7 @@ #include #include -RWStepGeom_RWDirection::RWStepGeom_RWDirection() {} +RWStepGeom_RWDirection::RWStepGeom_RWDirection() = default; void RWStepGeom_RWDirection::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWElementarySurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWElementarySurface.cxx index 0121fbea94..ae72f7aad4 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWElementarySurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWElementarySurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWElementarySurface::RWStepGeom_RWElementarySurface() {} +RWStepGeom_RWElementarySurface::RWStepGeom_RWElementarySurface() = default; void RWStepGeom_RWElementarySurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEllipse.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEllipse.cxx index 9da337d7f9..3576da5449 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEllipse.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEllipse.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWEllipse::RWStepGeom_RWEllipse() {} +RWStepGeom_RWEllipse::RWStepGeom_RWEllipse() = default; void RWStepGeom_RWEllipse::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEvaluatedDegeneratePcurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEvaluatedDegeneratePcurve.cxx index 4d8861501a..d7c55ba101 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEvaluatedDegeneratePcurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWEvaluatedDegeneratePcurve.cxx @@ -20,7 +20,7 @@ #include #include -RWStepGeom_RWEvaluatedDegeneratePcurve::RWStepGeom_RWEvaluatedDegeneratePcurve() {} +RWStepGeom_RWEvaluatedDegeneratePcurve::RWStepGeom_RWEvaluatedDegeneratePcurve() = default; void RWStepGeom_RWEvaluatedDegeneratePcurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx index 371b03e71d..fa67e6ddfe 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx @@ -19,9 +19,7 @@ #include RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx:: - RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx() -{ -} + RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx() = default; void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContext.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContext.cxx index fcb459c823..267719e2ff 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContext.cxx @@ -16,7 +16,8 @@ #include #include -RWStepGeom_RWGeometricRepresentationContext::RWStepGeom_RWGeometricRepresentationContext() {} +RWStepGeom_RWGeometricRepresentationContext::RWStepGeom_RWGeometricRepresentationContext() = + default; void RWStepGeom_RWGeometricRepresentationContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx index abe9db736f..86d02eda8d 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx @@ -19,9 +19,7 @@ #include RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext:: - RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext() -{ -} + RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext() = default; void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx index 38d858ce11..bc9d0a9bc3 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx @@ -18,9 +18,7 @@ #include RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext:: - RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext() -{ -} + RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext() = default; void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationItem.cxx index bc83ae3e0e..82c53b12d7 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWGeometricRepresentationItem.cxx @@ -16,7 +16,7 @@ #include #include -RWStepGeom_RWGeometricRepresentationItem::RWStepGeom_RWGeometricRepresentationItem() {} +RWStepGeom_RWGeometricRepresentationItem::RWStepGeom_RWGeometricRepresentationItem() = default; void RWStepGeom_RWGeometricRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWHyperbola.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWHyperbola.cxx index cdf9aa67e7..94d8842ed8 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWHyperbola.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWHyperbola.cxx @@ -17,7 +17,7 @@ #include #include -RWStepGeom_RWHyperbola::RWStepGeom_RWHyperbola() {} +RWStepGeom_RWHyperbola::RWStepGeom_RWHyperbola() = default; void RWStepGeom_RWHyperbola::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWIntersectionCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWIntersectionCurve.cxx index f345ac30a6..47b504dd3f 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWIntersectionCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWIntersectionCurve.cxx @@ -22,7 +22,7 @@ #include "RWStepGeom_RWPreferredSurfaceCurveRepresentation.pxx" -RWStepGeom_RWIntersectionCurve::RWStepGeom_RWIntersectionCurve() {} +RWStepGeom_RWIntersectionCurve::RWStepGeom_RWIntersectionCurve() = default; void RWStepGeom_RWIntersectionCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWLine.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWLine.cxx index 4653be8a9a..6621c274fe 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWLine.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWLine.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWLine::RWStepGeom_RWLine() {} +RWStepGeom_RWLine::RWStepGeom_RWLine() = default; void RWStepGeom_RWLine::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetCurve3d.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetCurve3d.cxx index 8f39880d9a..2b126820ef 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetCurve3d.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetCurve3d.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWOffsetCurve3d::RWStepGeom_RWOffsetCurve3d() {} +RWStepGeom_RWOffsetCurve3d::RWStepGeom_RWOffsetCurve3d() = default; void RWStepGeom_RWOffsetCurve3d::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetSurface.cxx index 67c25a8a42..080659f6cf 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOffsetSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWOffsetSurface::RWStepGeom_RWOffsetSurface() {} +RWStepGeom_RWOffsetSurface::RWStepGeom_RWOffsetSurface() = default; void RWStepGeom_RWOffsetSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOrientedSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOrientedSurface.cxx index ac5405c4cb..c7e57e33ab 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOrientedSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOrientedSurface.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepGeom_RWOrientedSurface::RWStepGeom_RWOrientedSurface() {} +RWStepGeom_RWOrientedSurface::RWStepGeom_RWOrientedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOuterBoundaryCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOuterBoundaryCurve.cxx index 3540c036a8..3d5a091bb1 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOuterBoundaryCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWOuterBoundaryCurve.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWOuterBoundaryCurve::RWStepGeom_RWOuterBoundaryCurve() {} +RWStepGeom_RWOuterBoundaryCurve::RWStepGeom_RWOuterBoundaryCurve() = default; void RWStepGeom_RWOuterBoundaryCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWParabola.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWParabola.cxx index d31f379529..b9fe9d2073 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWParabola.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWParabola.cxx @@ -17,7 +17,7 @@ #include #include -RWStepGeom_RWParabola::RWStepGeom_RWParabola() {} +RWStepGeom_RWParabola::RWStepGeom_RWParabola() = default; void RWStepGeom_RWParabola::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPcurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPcurve.cxx index 3fc27eafa2..08b7f501c3 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPcurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPcurve.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWPcurve::RWStepGeom_RWPcurve() {} +RWStepGeom_RWPcurve::RWStepGeom_RWPcurve() = default; void RWStepGeom_RWPcurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlacement.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlacement.cxx index 30f2ef2951..2ce18d0358 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlacement.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlacement.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWPlacement::RWStepGeom_RWPlacement() {} +RWStepGeom_RWPlacement::RWStepGeom_RWPlacement() = default; void RWStepGeom_RWPlacement::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlane.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlane.cxx index e4fe6af1c3..260871523d 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlane.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPlane.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWPlane::RWStepGeom_RWPlane() {} +RWStepGeom_RWPlane::RWStepGeom_RWPlane() = default; void RWStepGeom_RWPlane::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPoint.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPoint.cxx index a382a8abe5..1da7234d87 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPoint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPoint.cxx @@ -16,7 +16,7 @@ #include #include -RWStepGeom_RWPoint::RWStepGeom_RWPoint() {} +RWStepGeom_RWPoint::RWStepGeom_RWPoint() = default; void RWStepGeom_RWPoint::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnCurve.cxx index 355278799b..c9d0ba4e72 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnCurve.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWPointOnCurve::RWStepGeom_RWPointOnCurve() {} +RWStepGeom_RWPointOnCurve::RWStepGeom_RWPointOnCurve() = default; void RWStepGeom_RWPointOnCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnSurface.cxx index d4ef31214d..cdf7e34f22 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointOnSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWPointOnSurface::RWStepGeom_RWPointOnSurface() {} +RWStepGeom_RWPointOnSurface::RWStepGeom_RWPointOnSurface() = default; void RWStepGeom_RWPointOnSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointReplica.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointReplica.cxx index 53402084dc..d9305ac305 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointReplica.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPointReplica.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWPointReplica::RWStepGeom_RWPointReplica() {} +RWStepGeom_RWPointReplica::RWStepGeom_RWPointReplica() = default; void RWStepGeom_RWPointReplica::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPolyline.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPolyline.cxx index 9ae6baed9e..b8c1c9f443 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPolyline.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWPolyline.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWPolyline::RWStepGeom_RWPolyline() {} +RWStepGeom_RWPolyline::RWStepGeom_RWPolyline() = default; void RWStepGeom_RWPolyline::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurve.cxx index 15db017154..3bd135c011 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurve.cxx @@ -20,7 +20,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" -RWStepGeom_RWQuasiUniformCurve::RWStepGeom_RWQuasiUniformCurve() {} +RWStepGeom_RWQuasiUniformCurve::RWStepGeom_RWQuasiUniformCurve() = default; void RWStepGeom_RWQuasiUniformCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx index dac42972e6..6eb5b7b123 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx @@ -23,9 +23,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve:: - RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve() -{ -} + RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve() = default; void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurface.cxx index 16f83b27e6..38fd44b70c 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurface.cxx @@ -20,7 +20,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" -RWStepGeom_RWQuasiUniformSurface::RWStepGeom_RWQuasiUniformSurface() {} +RWStepGeom_RWQuasiUniformSurface::RWStepGeom_RWQuasiUniformSurface() = default; void RWStepGeom_RWQuasiUniformSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx index 055722fd72..417532880f 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx @@ -23,9 +23,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface:: - RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface() -{ -} + RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface() = default; void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineCurve.cxx index d211ddf89f..1d90e7ca2e 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineCurve.cxx @@ -23,7 +23,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" -RWStepGeom_RWRationalBSplineCurve::RWStepGeom_RWRationalBSplineCurve() {} +RWStepGeom_RWRationalBSplineCurve::RWStepGeom_RWRationalBSplineCurve() = default; void RWStepGeom_RWRationalBSplineCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineSurface.cxx index 1b1fd2f0d8..067ffa8789 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRationalBSplineSurface.cxx @@ -23,7 +23,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" -RWStepGeom_RWRationalBSplineSurface::RWStepGeom_RWRationalBSplineSurface() {} +RWStepGeom_RWRationalBSplineSurface::RWStepGeom_RWRationalBSplineSurface() = default; void RWStepGeom_RWRationalBSplineSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularCompositeSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularCompositeSurface.cxx index 03446771ff..4300a44c81 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularCompositeSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularCompositeSurface.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWRectangularCompositeSurface::RWStepGeom_RWRectangularCompositeSurface() {} +RWStepGeom_RWRectangularCompositeSurface::RWStepGeom_RWRectangularCompositeSurface() = default; void RWStepGeom_RWRectangularCompositeSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularTrimmedSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularTrimmedSurface.cxx index d86fe766ee..076a2a7233 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularTrimmedSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWRectangularTrimmedSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWRectangularTrimmedSurface::RWStepGeom_RWRectangularTrimmedSurface() {} +RWStepGeom_RWRectangularTrimmedSurface::RWStepGeom_RWRectangularTrimmedSurface() = default; void RWStepGeom_RWRectangularTrimmedSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWReparametrisedCompositeCurveSegment.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWReparametrisedCompositeCurveSegment.cxx index aeb0a21d0a..4a57345b21 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWReparametrisedCompositeCurveSegment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWReparametrisedCompositeCurveSegment.cxx @@ -21,9 +21,8 @@ #include "RWStepGeom_RWTransitionCode.pxx" -RWStepGeom_RWReparametrisedCompositeCurveSegment::RWStepGeom_RWReparametrisedCompositeCurveSegment() -{ -} +RWStepGeom_RWReparametrisedCompositeCurveSegment:: + RWStepGeom_RWReparametrisedCompositeCurveSegment() = default; void RWStepGeom_RWReparametrisedCompositeCurveSegment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSeamCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSeamCurve.cxx index aeb2c39552..93be70bf14 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSeamCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSeamCurve.cxx @@ -20,7 +20,7 @@ #include "RWStepGeom_RWPreferredSurfaceCurveRepresentation.pxx" -RWStepGeom_RWSeamCurve::RWStepGeom_RWSeamCurve() {} +RWStepGeom_RWSeamCurve::RWStepGeom_RWSeamCurve() = default; void RWStepGeom_RWSeamCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSphericalSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSphericalSurface.cxx index bb9d027b9c..4490220cc2 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSphericalSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSphericalSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWSphericalSurface::RWStepGeom_RWSphericalSurface() {} +RWStepGeom_RWSphericalSurface::RWStepGeom_RWSphericalSurface() = default; void RWStepGeom_RWSphericalSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSuParameters.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSuParameters.cxx index 172151a307..d6bee394ad 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSuParameters.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSuParameters.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepGeom_RWSuParameters::RWStepGeom_RWSuParameters() {} +RWStepGeom_RWSuParameters::RWStepGeom_RWSuParameters() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurface.cxx index df7d48e1e4..e0c3b31d94 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurface.cxx @@ -16,7 +16,7 @@ #include #include -RWStepGeom_RWSurface::RWStepGeom_RWSurface() {} +RWStepGeom_RWSurface::RWStepGeom_RWSurface() = default; void RWStepGeom_RWSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurve.cxx index c215a50793..618e0dad3f 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurve.cxx @@ -21,7 +21,7 @@ #include "RWStepGeom_RWPreferredSurfaceCurveRepresentation.pxx" -RWStepGeom_RWSurfaceCurve::RWStepGeom_RWSurfaceCurve() {} +RWStepGeom_RWSurfaceCurve::RWStepGeom_RWSurfaceCurve() = default; void RWStepGeom_RWSurfaceCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx index 29f29dd9b3..8d902975bf 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx @@ -31,7 +31,7 @@ #include "RWStepGeom_RWPreferredSurfaceCurveRepresentation.pxx" -RWStepGeom_RWSurfaceCurveAndBoundedCurve::RWStepGeom_RWSurfaceCurveAndBoundedCurve() {} +RWStepGeom_RWSurfaceCurveAndBoundedCurve::RWStepGeom_RWSurfaceCurveAndBoundedCurve() = default; void RWStepGeom_RWSurfaceCurveAndBoundedCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfLinearExtrusion.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfLinearExtrusion.cxx index fadc8c92d6..4c03dbf9f1 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfLinearExtrusion.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfLinearExtrusion.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWSurfaceOfLinearExtrusion::RWStepGeom_RWSurfaceOfLinearExtrusion() {} +RWStepGeom_RWSurfaceOfLinearExtrusion::RWStepGeom_RWSurfaceOfLinearExtrusion() = default; void RWStepGeom_RWSurfaceOfLinearExtrusion::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfRevolution.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfRevolution.cxx index d9fe16c0ae..06c6fc315c 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfRevolution.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceOfRevolution.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWSurfaceOfRevolution::RWStepGeom_RWSurfaceOfRevolution() {} +RWStepGeom_RWSurfaceOfRevolution::RWStepGeom_RWSurfaceOfRevolution() = default; void RWStepGeom_RWSurfaceOfRevolution::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfacePatch.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfacePatch.cxx index 5380c668e2..c196ade889 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfacePatch.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfacePatch.cxx @@ -22,7 +22,7 @@ #include "RWStepGeom_RWTransitionCode.pxx" -RWStepGeom_RWSurfacePatch::RWStepGeom_RWSurfacePatch() {} +RWStepGeom_RWSurfacePatch::RWStepGeom_RWSurfacePatch() = default; void RWStepGeom_RWSurfacePatch::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceReplica.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceReplica.cxx index 043b1d66cb..470eb96a5a 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceReplica.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSurfaceReplica.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWSurfaceReplica::RWStepGeom_RWSurfaceReplica() {} +RWStepGeom_RWSurfaceReplica::RWStepGeom_RWSurfaceReplica() = default; void RWStepGeom_RWSurfaceReplica::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSweptSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSweptSurface.cxx index 435241767c..d902803ccf 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSweptSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWSweptSurface.cxx @@ -18,7 +18,7 @@ #include #include -RWStepGeom_RWSweptSurface::RWStepGeom_RWSweptSurface() {} +RWStepGeom_RWSweptSurface::RWStepGeom_RWSweptSurface() = default; void RWStepGeom_RWSweptSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWToroidalSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWToroidalSurface.cxx index 9ff036eada..460f48c65a 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWToroidalSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWToroidalSurface.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWToroidalSurface::RWStepGeom_RWToroidalSurface() {} +RWStepGeom_RWToroidalSurface::RWStepGeom_RWToroidalSurface() = default; void RWStepGeom_RWToroidalSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTrimmedCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTrimmedCurve.cxx index 7a702e655d..9983dac1ff 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTrimmedCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWTrimmedCurve.cxx @@ -24,7 +24,7 @@ #include "RWStepGeom_RWTrimmingPreference.pxx" -RWStepGeom_RWTrimmedCurve::RWStepGeom_RWTrimmedCurve() {} +RWStepGeom_RWTrimmedCurve::RWStepGeom_RWTrimmedCurve() = default; void RWStepGeom_RWTrimmedCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurve.cxx index edaba56c1d..e43a9c8816 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurve.cxx @@ -20,7 +20,7 @@ #include "RWStepGeom_RWBSplineCurveForm.pxx" -RWStepGeom_RWUniformCurve::RWStepGeom_RWUniformCurve() {} +RWStepGeom_RWUniformCurve::RWStepGeom_RWUniformCurve() = default; void RWStepGeom_RWUniformCurve::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx index bf9799b012..d163aabee5 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx @@ -24,9 +24,8 @@ #include -RWStepGeom_RWUniformCurveAndRationalBSplineCurve::RWStepGeom_RWUniformCurveAndRationalBSplineCurve() -{ -} +RWStepGeom_RWUniformCurveAndRationalBSplineCurve:: + RWStepGeom_RWUniformCurveAndRationalBSplineCurve() = default; void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurface.cxx index 73fd1d2577..c91b319991 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurface.cxx @@ -20,7 +20,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" -RWStepGeom_RWUniformSurface::RWStepGeom_RWUniformSurface() {} +RWStepGeom_RWUniformSurface::RWStepGeom_RWUniformSurface() = default; void RWStepGeom_RWUniformSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx index fb21c4fc2f..f2dc47a919 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx @@ -25,9 +25,7 @@ #include "RWStepGeom_RWBSplineSurfaceForm.pxx" RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface:: - RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface() -{ -} + RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface() = default; void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWVector.cxx b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWVector.cxx index 81701bd764..50b8c45851 100644 --- a/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWVector.cxx +++ b/src/DataExchange/TKDESTEP/RWStepGeom/RWStepGeom_RWVector.cxx @@ -19,7 +19,7 @@ #include #include -RWStepGeom_RWVector::RWStepGeom_RWVector() {} +RWStepGeom_RWVector::RWStepGeom_RWVector() = default; void RWStepGeom_RWVector::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinPairAndOrderKinPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinPairAndOrderKinPair.cxx index c467e59073..c19034fa55 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinPairAndOrderKinPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinPairAndOrderKinPair.cxx @@ -43,9 +43,7 @@ //================================================================================================= RWStepKinematics_RWActuatedKinPairAndOrderKinPair:: - RWStepKinematics_RWActuatedKinPairAndOrderKinPair() -{ -} + RWStepKinematics_RWActuatedKinPairAndOrderKinPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinematicPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinematicPair.cxx index 03520dfebb..f75aa50667 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinematicPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWActuatedKinematicPair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWActuatedKinematicPair::RWStepKinematics_RWActuatedKinematicPair() {} +RWStepKinematics_RWActuatedKinematicPair::RWStepKinematics_RWActuatedKinematicPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWContextDependentKinematicLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWContextDependentKinematicLinkRepresentation.cxx index eb56b0216e..3bd0ea0aba 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWContextDependentKinematicLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWContextDependentKinematicLinkRepresentation.cxx @@ -26,9 +26,7 @@ //================================================================================================= RWStepKinematics_RWContextDependentKinematicLinkRepresentation:: - RWStepKinematics_RWContextDependentKinematicLinkRepresentation() -{ -} + RWStepKinematics_RWContextDependentKinematicLinkRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPair.cxx index fc641333fd..757cbf94c1 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWCylindricalPair::RWStepKinematics_RWCylindricalPair() {} +RWStepKinematics_RWCylindricalPair::RWStepKinematics_RWCylindricalPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairValue.cxx index 2c12b76669..9c1fa7a455 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWCylindricalPairValue::RWStepKinematics_RWCylindricalPairValue() {} +RWStepKinematics_RWCylindricalPairValue::RWStepKinematics_RWCylindricalPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairWithRange.cxx index 13b5f09bea..9c6b32cc74 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWCylindricalPairWithRange.cxx @@ -28,7 +28,8 @@ //================================================================================================= -RWStepKinematics_RWCylindricalPairWithRange::RWStepKinematics_RWCylindricalPairWithRange() {} +RWStepKinematics_RWCylindricalPairWithRange::RWStepKinematics_RWCylindricalPairWithRange() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWFullyConstrainedPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWFullyConstrainedPair.cxx index d1d05981aa..8726ade1ee 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWFullyConstrainedPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWFullyConstrainedPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWFullyConstrainedPair::RWStepKinematics_RWFullyConstrainedPair() {} +RWStepKinematics_RWFullyConstrainedPair::RWStepKinematics_RWFullyConstrainedPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPair.cxx index 9b0fc566c5..543d759d74 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWGearPair::RWStepKinematics_RWGearPair() {} +RWStepKinematics_RWGearPair::RWStepKinematics_RWGearPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairValue.cxx index fa90830159..1b169ee1e1 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWGearPairValue::RWStepKinematics_RWGearPairValue() {} +RWStepKinematics_RWGearPairValue::RWStepKinematics_RWGearPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairWithRange.cxx index ce322ae640..e292c78a1f 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWGearPairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWGearPairWithRange::RWStepKinematics_RWGearPairWithRange() {} +RWStepKinematics_RWGearPairWithRange::RWStepKinematics_RWGearPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWHomokineticPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWHomokineticPair.cxx index a4299da3f6..a61634bfd5 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWHomokineticPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWHomokineticPair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWHomokineticPair::RWStepKinematics_RWHomokineticPair() {} +RWStepKinematics_RWHomokineticPair::RWStepKinematics_RWHomokineticPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicJoint.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicJoint.cxx index 3b2bd745ad..e40479a2e9 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicJoint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicJoint.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepKinematics_RWKinematicJoint::RWStepKinematics_RWKinematicJoint() {} +RWStepKinematics_RWKinematicJoint::RWStepKinematics_RWKinematicJoint() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLink.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLink.cxx index 625efaaf75..1e24d0f1d4 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLink.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLink.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepKinematics_RWKinematicLink::RWStepKinematics_RWKinematicLink() {} +RWStepKinematics_RWKinematicLink::RWStepKinematics_RWKinematicLink() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLinkRepresentationAssociation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLinkRepresentationAssociation.cxx index 697e9b8ca0..06f4a77a26 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLinkRepresentationAssociation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicLinkRepresentationAssociation.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepKinematics_RWKinematicLinkRepresentationAssociation:: - RWStepKinematics_RWKinematicLinkRepresentationAssociation() -{ -} + RWStepKinematics_RWKinematicLinkRepresentationAssociation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicPropertyMechanismRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicPropertyMechanismRepresentation.cxx index d1106ce779..47c01ac439 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicPropertyMechanismRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicPropertyMechanismRepresentation.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepKinematics_RWKinematicPropertyMechanismRepresentation:: - RWStepKinematics_RWKinematicPropertyMechanismRepresentation() -{ -} + RWStepKinematics_RWKinematicPropertyMechanismRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyDirectedStructure.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyDirectedStructure.cxx index fa0c0bf0ed..7853fcb11c 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyDirectedStructure.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyDirectedStructure.cxx @@ -30,9 +30,7 @@ //================================================================================================= RWStepKinematics_RWKinematicTopologyDirectedStructure:: - RWStepKinematics_RWKinematicTopologyDirectedStructure() -{ -} + RWStepKinematics_RWKinematicTopologyDirectedStructure() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyNetworkStructure.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyNetworkStructure.cxx index 29ad2e6949..22bc39e2b1 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyNetworkStructure.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyNetworkStructure.cxx @@ -30,9 +30,7 @@ //================================================================================================= RWStepKinematics_RWKinematicTopologyNetworkStructure:: - RWStepKinematics_RWKinematicTopologyNetworkStructure() -{ -} + RWStepKinematics_RWKinematicTopologyNetworkStructure() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyStructure.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyStructure.cxx index bfb8915668..be0619316f 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyStructure.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWKinematicTopologyStructure.cxx @@ -28,7 +28,8 @@ //================================================================================================= -RWStepKinematics_RWKinematicTopologyStructure::RWStepKinematics_RWKinematicTopologyStructure() {} +RWStepKinematics_RWKinematicTopologyStructure::RWStepKinematics_RWKinematicTopologyStructure() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx index 018582f044..0e9b5ab20b 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPinionPair.cxx @@ -28,7 +28,8 @@ //================================================================================================= -RWStepKinematics_RWLinearFlexibleAndPinionPair::RWStepKinematics_RWLinearFlexibleAndPinionPair() {} +RWStepKinematics_RWLinearFlexibleAndPinionPair::RWStepKinematics_RWLinearFlexibleAndPinionPair() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx index bb8f0d6e3b..6ad85223ad 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair.cxx @@ -29,9 +29,7 @@ //================================================================================================= RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair:: - RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair() -{ -} + RWStepKinematics_RWLinearFlexibleAndPlanarCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx index c6820fd97e..d370d4b679 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLinearFlexibleLinkRepresentation.cxx @@ -30,9 +30,7 @@ //================================================================================================= RWStepKinematics_RWLinearFlexibleLinkRepresentation:: - RWStepKinematics_RWLinearFlexibleLinkRepresentation() -{ -} + RWStepKinematics_RWLinearFlexibleLinkRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPair.cxx index daacbd8e04..2e9316e282 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWLowOrderKinematicPair::RWStepKinematics_RWLowOrderKinematicPair() {} +RWStepKinematics_RWLowOrderKinematicPair::RWStepKinematics_RWLowOrderKinematicPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairValue.cxx index d176d0fc16..46712a83a4 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairValue.cxx @@ -26,7 +26,8 @@ //================================================================================================= -RWStepKinematics_RWLowOrderKinematicPairValue::RWStepKinematics_RWLowOrderKinematicPairValue() {} +RWStepKinematics_RWLowOrderKinematicPairValue::RWStepKinematics_RWLowOrderKinematicPairValue() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairWithRange.cxx index f8d31fef7d..d9b8d11964 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWLowOrderKinematicPairWithRange.cxx @@ -29,9 +29,7 @@ //================================================================================================= RWStepKinematics_RWLowOrderKinematicPairWithRange:: - RWStepKinematics_RWLowOrderKinematicPairWithRange() -{ -} + RWStepKinematics_RWLowOrderKinematicPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismRepresentation.cxx index d7febb9699..89605a182c 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismRepresentation.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepKinematics_RWMechanismRepresentation::RWStepKinematics_RWMechanismRepresentation() {} +RWStepKinematics_RWMechanismRepresentation::RWStepKinematics_RWMechanismRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismStateRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismStateRepresentation.cxx index 3d88720f05..541779b614 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismStateRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWMechanismStateRepresentation.cxx @@ -24,9 +24,8 @@ //================================================================================================= -RWStepKinematics_RWMechanismStateRepresentation::RWStepKinematics_RWMechanismStateRepresentation() -{ -} +RWStepKinematics_RWMechanismStateRepresentation::RWStepKinematics_RWMechanismStateRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWOrientedJoint.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWOrientedJoint.cxx index db4d3774d0..f560add65b 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWOrientedJoint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWOrientedJoint.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWOrientedJoint::RWStepKinematics_RWOrientedJoint() {} +RWStepKinematics_RWOrientedJoint::RWStepKinematics_RWOrientedJoint() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPairRepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPairRepresentationRelationship.cxx index debc94c909..ebc04d17af 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPairRepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPairRepresentationRelationship.cxx @@ -29,9 +29,7 @@ //================================================================================================= RWStepKinematics_RWPairRepresentationRelationship:: - RWStepKinematics_RWPairRepresentationRelationship() -{ -} + RWStepKinematics_RWPairRepresentationRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePair.cxx index fd56ed116b..09bc85a747 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWPlanarCurvePair::RWStepKinematics_RWPlanarCurvePair() {} +RWStepKinematics_RWPlanarCurvePair::RWStepKinematics_RWPlanarCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePairRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePairRange.cxx index 0c99cd327a..fc47a6b22d 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePairRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarCurvePairRange.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepKinematics_RWPlanarCurvePairRange::RWStepKinematics_RWPlanarCurvePairRange() {} +RWStepKinematics_RWPlanarCurvePairRange::RWStepKinematics_RWPlanarCurvePairRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPair.cxx index 1cbef01c93..32c2cbf238 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWPlanarPair::RWStepKinematics_RWPlanarPair() {} +RWStepKinematics_RWPlanarPair::RWStepKinematics_RWPlanarPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairValue.cxx index 764f5874e5..4cd01ef25e 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWPlanarPairValue::RWStepKinematics_RWPlanarPairValue() {} +RWStepKinematics_RWPlanarPairValue::RWStepKinematics_RWPlanarPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairWithRange.cxx index 311d118360..14b116937f 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPlanarPairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWPlanarPairWithRange::RWStepKinematics_RWPlanarPairWithRange() {} +RWStepKinematics_RWPlanarPairWithRange::RWStepKinematics_RWPlanarPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePair.cxx index eae97b8caa..1696f728b8 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWPointOnPlanarCurvePair::RWStepKinematics_RWPointOnPlanarCurvePair() {} +RWStepKinematics_RWPointOnPlanarCurvePair::RWStepKinematics_RWPointOnPlanarCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairValue.cxx index 7ed36e7362..12ce8229a6 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairValue.cxx @@ -27,7 +27,8 @@ //================================================================================================= -RWStepKinematics_RWPointOnPlanarCurvePairValue::RWStepKinematics_RWPointOnPlanarCurvePairValue() {} +RWStepKinematics_RWPointOnPlanarCurvePairValue::RWStepKinematics_RWPointOnPlanarCurvePairValue() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairWithRange.cxx index d3dc7d6d1f..1eda5d101c 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnPlanarCurvePairWithRange.cxx @@ -31,9 +31,7 @@ //================================================================================================= RWStepKinematics_RWPointOnPlanarCurvePairWithRange:: - RWStepKinematics_RWPointOnPlanarCurvePairWithRange() -{ -} + RWStepKinematics_RWPointOnPlanarCurvePairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePair.cxx index 8d0efdb9d7..dae26bf62e 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWPointOnSurfacePair::RWStepKinematics_RWPointOnSurfacePair() {} +RWStepKinematics_RWPointOnSurfacePair::RWStepKinematics_RWPointOnSurfacePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairValue.cxx index 0d72905eb0..ae36e0a376 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairValue.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWPointOnSurfacePairValue::RWStepKinematics_RWPointOnSurfacePairValue() {} +RWStepKinematics_RWPointOnSurfacePairValue::RWStepKinematics_RWPointOnSurfacePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairWithRange.cxx index 48b89c2ea5..b86ce58aeb 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPointOnSurfacePairWithRange.cxx @@ -30,7 +30,8 @@ //================================================================================================= -RWStepKinematics_RWPointOnSurfacePairWithRange::RWStepKinematics_RWPointOnSurfacePairWithRange() {} +RWStepKinematics_RWPointOnSurfacePairWithRange::RWStepKinematics_RWPointOnSurfacePairWithRange() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPair.cxx index 8d8c4b96c2..03a5b247fc 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWPrismaticPair::RWStepKinematics_RWPrismaticPair() {} +RWStepKinematics_RWPrismaticPair::RWStepKinematics_RWPrismaticPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairValue.cxx index ab49893a8c..4d32b2a4f6 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWPrismaticPairValue::RWStepKinematics_RWPrismaticPairValue() {} +RWStepKinematics_RWPrismaticPairValue::RWStepKinematics_RWPrismaticPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairWithRange.cxx index 8d3971859e..4e58268e10 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWPrismaticPairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWPrismaticPairWithRange::RWStepKinematics_RWPrismaticPairWithRange() {} +RWStepKinematics_RWPrismaticPairWithRange::RWStepKinematics_RWPrismaticPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionKinematics.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionKinematics.cxx index 48d29cd6aa..6c7fc83688 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionKinematics.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionKinematics.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepKinematics_RWProductDefinitionKinematics::RWStepKinematics_RWProductDefinitionKinematics() {} +RWStepKinematics_RWProductDefinitionKinematics::RWStepKinematics_RWProductDefinitionKinematics() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionRelationshipKinematics.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionRelationshipKinematics.cxx index ee7997e408..b17fb18318 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionRelationshipKinematics.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWProductDefinitionRelationshipKinematics.cxx @@ -26,9 +26,7 @@ //================================================================================================= RWStepKinematics_RWProductDefinitionRelationshipKinematics:: - RWStepKinematics_RWProductDefinitionRelationshipKinematics() -{ -} + RWStepKinematics_RWProductDefinitionRelationshipKinematics() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPair.cxx index 22bac0b96f..c34c264cc7 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWRackAndPinionPair::RWStepKinematics_RWRackAndPinionPair() {} +RWStepKinematics_RWRackAndPinionPair::RWStepKinematics_RWRackAndPinionPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairValue.cxx index fc485d34b9..e1d61c54d3 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWRackAndPinionPairValue::RWStepKinematics_RWRackAndPinionPairValue() {} +RWStepKinematics_RWRackAndPinionPairValue::RWStepKinematics_RWRackAndPinionPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairWithRange.cxx index fd6f5a5e8f..5a80a04dc1 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRackAndPinionPairWithRange.cxx @@ -28,7 +28,8 @@ //================================================================================================= -RWStepKinematics_RWRackAndPinionPairWithRange::RWStepKinematics_RWRackAndPinionPairWithRange() {} +RWStepKinematics_RWRackAndPinionPairWithRange::RWStepKinematics_RWRackAndPinionPairWithRange() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePair.cxx index 2e4f49465d..6b3b100442 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWRevolutePair::RWStepKinematics_RWRevolutePair() {} +RWStepKinematics_RWRevolutePair::RWStepKinematics_RWRevolutePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairValue.cxx index 70adaec97d..17dd0366fa 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWRevolutePairValue::RWStepKinematics_RWRevolutePairValue() {} +RWStepKinematics_RWRevolutePairValue::RWStepKinematics_RWRevolutePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairWithRange.cxx index e7eb9301ac..d0c608dc0c 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRevolutePairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWRevolutePairWithRange::RWStepKinematics_RWRevolutePairWithRange() {} +RWStepKinematics_RWRevolutePairWithRange::RWStepKinematics_RWRevolutePairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRigidLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRigidLinkRepresentation.cxx index bcc760ec8c..45f78bf0fa 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRigidLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRigidLinkRepresentation.cxx @@ -29,7 +29,7 @@ //================================================================================================= -RWStepKinematics_RWRigidLinkRepresentation::RWStepKinematics_RWRigidLinkRepresentation() {} +RWStepKinematics_RWRigidLinkRepresentation::RWStepKinematics_RWRigidLinkRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePair.cxx index 2fb590c58f..1ee472d9f3 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWRollingCurvePair::RWStepKinematics_RWRollingCurvePair() {} +RWStepKinematics_RWRollingCurvePair::RWStepKinematics_RWRollingCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePairValue.cxx index 2c6467cd2a..de9694be69 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingCurvePairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWRollingCurvePairValue::RWStepKinematics_RWRollingCurvePairValue() {} +RWStepKinematics_RWRollingCurvePairValue::RWStepKinematics_RWRollingCurvePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePair.cxx index aa0f1780c6..79bfb5cddd 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWRollingSurfacePair::RWStepKinematics_RWRollingSurfacePair() {} +RWStepKinematics_RWRollingSurfacePair::RWStepKinematics_RWRollingSurfacePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePairValue.cxx index 432f21cd63..df597caaf7 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRollingSurfacePairValue.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWRollingSurfacePairValue::RWStepKinematics_RWRollingSurfacePairValue() {} +RWStepKinematics_RWRollingSurfacePairValue::RWStepKinematics_RWRollingSurfacePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRotationAboutDirection.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRotationAboutDirection.cxx index e7dedae6f6..dec12b53a0 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRotationAboutDirection.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWRotationAboutDirection.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWRotationAboutDirection::RWStepKinematics_RWRotationAboutDirection() {} +RWStepKinematics_RWRotationAboutDirection::RWStepKinematics_RWRotationAboutDirection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPair.cxx index 0c59540f84..a1500e89a2 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWScrewPair::RWStepKinematics_RWScrewPair() {} +RWStepKinematics_RWScrewPair::RWStepKinematics_RWScrewPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairValue.cxx index 2a0aeade72..6292e79779 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWScrewPairValue::RWStepKinematics_RWScrewPairValue() {} +RWStepKinematics_RWScrewPairValue::RWStepKinematics_RWScrewPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairWithRange.cxx index db6cadfb97..a2103fd0e8 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWScrewPairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWScrewPairWithRange::RWStepKinematics_RWScrewPairWithRange() {} +RWStepKinematics_RWScrewPairWithRange::RWStepKinematics_RWScrewPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePair.cxx index 508c56d301..ede551f692 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWSlidingCurvePair::RWStepKinematics_RWSlidingCurvePair() {} +RWStepKinematics_RWSlidingCurvePair::RWStepKinematics_RWSlidingCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePairValue.cxx index 283f5ea89a..d4d052e8a6 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingCurvePairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWSlidingCurvePairValue::RWStepKinematics_RWSlidingCurvePairValue() {} +RWStepKinematics_RWSlidingCurvePairValue::RWStepKinematics_RWSlidingCurvePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePair.cxx index 0290332ba1..8fc91ecb23 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWSlidingSurfacePair::RWStepKinematics_RWSlidingSurfacePair() {} +RWStepKinematics_RWSlidingSurfacePair::RWStepKinematics_RWSlidingSurfacePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePairValue.cxx index 9557f1a031..1ba9f8bb36 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSlidingSurfacePairValue.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWSlidingSurfacePairValue::RWStepKinematics_RWSlidingSurfacePairValue() {} +RWStepKinematics_RWSlidingSurfacePairValue::RWStepKinematics_RWSlidingSurfacePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPair.cxx index eef2dfad30..455be42369 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWSphericalPair::RWStepKinematics_RWSphericalPair() {} +RWStepKinematics_RWSphericalPair::RWStepKinematics_RWSphericalPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairValue.cxx index 095dd54aa8..aa07c0d73d 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWSphericalPairValue::RWStepKinematics_RWSphericalPairValue() {} +RWStepKinematics_RWSphericalPairValue::RWStepKinematics_RWSphericalPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPin.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPin.cxx index 86a61fdde7..0d95f6e333 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPin.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPin.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWSphericalPairWithPin::RWStepKinematics_RWSphericalPairWithPin() {} +RWStepKinematics_RWSphericalPairWithPin::RWStepKinematics_RWSphericalPairWithPin() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPinAndRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPinAndRange.cxx index b90ae5e849..0517c93551 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPinAndRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithPinAndRange.cxx @@ -28,9 +28,8 @@ //================================================================================================= -RWStepKinematics_RWSphericalPairWithPinAndRange::RWStepKinematics_RWSphericalPairWithPinAndRange() -{ -} +RWStepKinematics_RWSphericalPairWithPinAndRange::RWStepKinematics_RWSphericalPairWithPinAndRange() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithRange.cxx index e3549fa5d8..d94b6fb650 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSphericalPairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWSphericalPairWithRange::RWStepKinematics_RWSphericalPairWithRange() {} +RWStepKinematics_RWSphericalPairWithRange::RWStepKinematics_RWSphericalPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSurfacePairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSurfacePairWithRange.cxx index 5f30ecac5d..b7fd330f57 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSurfacePairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWSurfacePairWithRange.cxx @@ -30,7 +30,7 @@ //================================================================================================= -RWStepKinematics_RWSurfacePairWithRange::RWStepKinematics_RWSurfacePairWithRange() {} +RWStepKinematics_RWSurfacePairWithRange::RWStepKinematics_RWSurfacePairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPair.cxx index 5928d3a43e..2b0acb350e 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPair.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepKinematics_RWUnconstrainedPair::RWStepKinematics_RWUnconstrainedPair() {} +RWStepKinematics_RWUnconstrainedPair::RWStepKinematics_RWUnconstrainedPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPairValue.cxx index bdd080a07e..e47800fd6d 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUnconstrainedPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWUnconstrainedPairValue::RWStepKinematics_RWUnconstrainedPairValue() {} +RWStepKinematics_RWUnconstrainedPairValue::RWStepKinematics_RWUnconstrainedPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPair.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPair.cxx index 2f3a29afb6..4e183af808 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPair.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPair.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWUniversalPair::RWStepKinematics_RWUniversalPair() {} +RWStepKinematics_RWUniversalPair::RWStepKinematics_RWUniversalPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairValue.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairValue.cxx index f3582d4ed0..5bededff5d 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairValue.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepKinematics_RWUniversalPairValue::RWStepKinematics_RWUniversalPairValue() {} +RWStepKinematics_RWUniversalPairValue::RWStepKinematics_RWUniversalPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairWithRange.cxx b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairWithRange.cxx index a7fd098fcd..73bedd1c3d 100644 --- a/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairWithRange.cxx +++ b/src/DataExchange/TKDESTEP/RWStepKinematics/RWStepKinematics_RWUniversalPairWithRange.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepKinematics_RWUniversalPairWithRange::RWStepKinematics_RWUniversalPairWithRange() {} +RWStepKinematics_RWUniversalPairWithRange::RWStepKinematics_RWUniversalPairWithRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAllAroundShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAllAroundShapeAspect.cxx index a02f9b952a..6fb12cc2fb 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAllAroundShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAllAroundShapeAspect.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWAllAroundShapeAspect::RWStepRepr_RWAllAroundShapeAspect() {} +RWStepRepr_RWAllAroundShapeAspect::RWStepRepr_RWAllAroundShapeAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWApex.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWApex.cxx index ddfd09d1a3..ac0bbcfc98 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWApex.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWApex.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWApex::RWStepRepr_RWApex() {} +RWStepRepr_RWApex::RWStepRepr_RWApex() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsage.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsage.cxx index cdd87e4b1f..3d85b64d51 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsage.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepRepr_RWAssemblyComponentUsage::RWStepRepr_RWAssemblyComponentUsage() {} +RWStepRepr_RWAssemblyComponentUsage::RWStepRepr_RWAssemblyComponentUsage() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsageSubstitute.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsageSubstitute.cxx index 23a8f39f22..06ef95b613 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsageSubstitute.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWAssemblyComponentUsageSubstitute.cxx @@ -20,7 +20,8 @@ #include #include -RWStepRepr_RWAssemblyComponentUsageSubstitute::RWStepRepr_RWAssemblyComponentUsageSubstitute() {} +RWStepRepr_RWAssemblyComponentUsageSubstitute::RWStepRepr_RWAssemblyComponentUsageSubstitute() = + default; void RWStepRepr_RWAssemblyComponentUsageSubstitute::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBetweenShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBetweenShapeAspect.cxx index db3a30a913..4374b3debf 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBetweenShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBetweenShapeAspect.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWBetweenShapeAspect::RWStepRepr_RWBetweenShapeAspect() {} +RWStepRepr_RWBetweenShapeAspect::RWStepRepr_RWBetweenShapeAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBooleanRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBooleanRepresentationItem.cxx index e4b60a35b8..2651e2b767 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBooleanRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWBooleanRepresentationItem.cxx @@ -17,7 +17,7 @@ #include #include -RWStepRepr_RWBooleanRepresentationItem::RWStepRepr_RWBooleanRepresentationItem() {} +RWStepRepr_RWBooleanRepresentationItem::RWStepRepr_RWBooleanRepresentationItem() = default; void RWStepRepr_RWBooleanRepresentationItem::ReadStep( const occ::handle& theData, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCentreOfSymmetry.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCentreOfSymmetry.cxx index 9348845b6b..662bd24d33 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCentreOfSymmetry.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCentreOfSymmetry.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWCentreOfSymmetry::RWStepRepr_RWCentreOfSymmetry() {} +RWStepRepr_RWCentreOfSymmetry::RWStepRepr_RWCentreOfSymmetry() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCharacterizedRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCharacterizedRepresentation.cxx index 23ad0457a2..27cbd21e39 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCharacterizedRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCharacterizedRepresentation.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWCharacterizedRepresentation::RWStepRepr_RWCharacterizedRepresentation() {} +RWStepRepr_RWCharacterizedRepresentation::RWStepRepr_RWCharacterizedRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx index 051ee4a615..d793e9e759 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx @@ -23,9 +23,7 @@ //================================================================================================= RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp:: - RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp() -{ -} + RWStepRepr_RWCompGroupShAspAndCompShAspAndDatumFeatAndShAsp() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompShAspAndDatumFeatAndShAsp.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompShAspAndDatumFeatAndShAsp.cxx index 3393ebc066..9c71feb54e 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompShAspAndDatumFeatAndShAsp.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompShAspAndDatumFeatAndShAsp.cxx @@ -22,7 +22,7 @@ //================================================================================================= -RWStepRepr_RWCompShAspAndDatumFeatAndShAsp::RWStepRepr_RWCompShAspAndDatumFeatAndShAsp() {} +RWStepRepr_RWCompShAspAndDatumFeatAndShAsp::RWStepRepr_RWCompShAspAndDatumFeatAndShAsp() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeGroupShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeGroupShapeAspect.cxx index a30fe03de2..4cdd5ab201 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeGroupShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeGroupShapeAspect.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWCompositeGroupShapeAspect::RWStepRepr_RWCompositeGroupShapeAspect() {} +RWStepRepr_RWCompositeGroupShapeAspect::RWStepRepr_RWCompositeGroupShapeAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeShapeAspect.cxx index a07591f6af..03aa4c7bdc 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompositeShapeAspect.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWCompositeShapeAspect::RWStepRepr_RWCompositeShapeAspect() {} +RWStepRepr_RWCompositeShapeAspect::RWStepRepr_RWCompositeShapeAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompoundRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompoundRepresentationItem.cxx index 6839bfe03c..ebeb038281 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompoundRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWCompoundRepresentationItem.cxx @@ -22,7 +22,7 @@ #include #include -RWStepRepr_RWCompoundRepresentationItem::RWStepRepr_RWCompoundRepresentationItem() {} +RWStepRepr_RWCompoundRepresentationItem::RWStepRepr_RWCompoundRepresentationItem() = default; void RWStepRepr_RWCompoundRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationDesign.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationDesign.cxx index 648c589778..86c08ccaf7 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationDesign.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationDesign.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepRepr_RWConfigurationDesign::RWStepRepr_RWConfigurationDesign() {} +RWStepRepr_RWConfigurationDesign::RWStepRepr_RWConfigurationDesign() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationEffectivity.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationEffectivity.cxx index d0a54cbd02..d3cac212cd 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationEffectivity.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationEffectivity.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepRepr_RWConfigurationEffectivity::RWStepRepr_RWConfigurationEffectivity() {} +RWStepRepr_RWConfigurationEffectivity::RWStepRepr_RWConfigurationEffectivity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationItem.cxx index 2292b7992d..7917b3b924 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConfigurationItem.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepRepr_RWConfigurationItem::RWStepRepr_RWConfigurationItem() {} +RWStepRepr_RWConfigurationItem::RWStepRepr_RWConfigurationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentation.cxx index 8bfa6b1a79..0a38c56840 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentation.cxx @@ -24,9 +24,8 @@ //================================================================================================= -RWStepRepr_RWConstructiveGeometryRepresentation::RWStepRepr_RWConstructiveGeometryRepresentation() -{ -} +RWStepRepr_RWConstructiveGeometryRepresentation::RWStepRepr_RWConstructiveGeometryRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentationRelationship.cxx index e30dbc687e..8c440b1e98 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWConstructiveGeometryRepresentationRelationship.cxx @@ -21,9 +21,7 @@ #include RWStepRepr_RWConstructiveGeometryRepresentationRelationship:: - RWStepRepr_RWConstructiveGeometryRepresentationRelationship() -{ -} + RWStepRepr_RWConstructiveGeometryRepresentationRelationship() = default; void RWStepRepr_RWConstructiveGeometryRepresentationRelationship::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWContinuosShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWContinuosShapeAspect.cxx index 3e71720bee..3169723855 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWContinuosShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWContinuosShapeAspect.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWContinuosShapeAspect::RWStepRepr_RWContinuosShapeAspect() {} +RWStepRepr_RWContinuosShapeAspect::RWStepRepr_RWContinuosShapeAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDataEnvironment.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDataEnvironment.cxx index 1b0151968b..5ae9e3f8c8 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDataEnvironment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDataEnvironment.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepRepr_RWDataEnvironment::RWStepRepr_RWDataEnvironment() {} +RWStepRepr_RWDataEnvironment::RWStepRepr_RWDataEnvironment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDefinitionalRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDefinitionalRepresentation.cxx index fddd9a74b8..3661e2b2c1 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDefinitionalRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDefinitionalRepresentation.cxx @@ -22,7 +22,7 @@ #include #include -RWStepRepr_RWDefinitionalRepresentation::RWStepRepr_RWDefinitionalRepresentation() {} +RWStepRepr_RWDefinitionalRepresentation::RWStepRepr_RWDefinitionalRepresentation() = default; void RWStepRepr_RWDefinitionalRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDerivedShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDerivedShapeAspect.cxx index 3b818db5ab..7291edfad2 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDerivedShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDerivedShapeAspect.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWDerivedShapeAspect::RWStepRepr_RWDerivedShapeAspect() {} +RWStepRepr_RWDerivedShapeAspect::RWStepRepr_RWDerivedShapeAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDescriptiveRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDescriptiveRepresentationItem.cxx index 5c6fee30d8..a3339c28a7 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDescriptiveRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWDescriptiveRepresentationItem.cxx @@ -18,7 +18,7 @@ #include #include -RWStepRepr_RWDescriptiveRepresentationItem::RWStepRepr_RWDescriptiveRepresentationItem() {} +RWStepRepr_RWDescriptiveRepresentationItem::RWStepRepr_RWDescriptiveRepresentationItem() = default; void RWStepRepr_RWDescriptiveRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWExtension.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWExtension.cxx index 1d14bacb3a..b6f915f5ee 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWExtension.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWExtension.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWExtension::RWStepRepr_RWExtension() {} +RWStepRepr_RWExtension::RWStepRepr_RWExtension() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFeatureForDatumTargetRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFeatureForDatumTargetRelationship.cxx index 4f037b39c7..49f54ad2dd 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFeatureForDatumTargetRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFeatureForDatumTargetRelationship.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWFeatureForDatumTargetRelationship::RWStepRepr_RWFeatureForDatumTargetRelationship() {} +RWStepRepr_RWFeatureForDatumTargetRelationship::RWStepRepr_RWFeatureForDatumTargetRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFunctionallyDefinedTransformation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFunctionallyDefinedTransformation.cxx index 6c13ca6440..73bb7bcf2c 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFunctionallyDefinedTransformation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWFunctionallyDefinedTransformation.cxx @@ -18,7 +18,8 @@ #include #include -RWStepRepr_RWFunctionallyDefinedTransformation::RWStepRepr_RWFunctionallyDefinedTransformation() {} +RWStepRepr_RWFunctionallyDefinedTransformation::RWStepRepr_RWFunctionallyDefinedTransformation() = + default; void RWStepRepr_RWFunctionallyDefinedTransformation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGeometricAlignment.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGeometricAlignment.cxx index 9f6c853166..e109c223ce 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGeometricAlignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGeometricAlignment.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWGeometricAlignment::RWStepRepr_RWGeometricAlignment() {} +RWStepRepr_RWGeometricAlignment::RWStepRepr_RWGeometricAlignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUncertaintyAssignedContext.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUncertaintyAssignedContext.cxx index 9be03bd616..513d59df62 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUncertaintyAssignedContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUncertaintyAssignedContext.cxx @@ -19,7 +19,8 @@ #include #include -RWStepRepr_RWGlobalUncertaintyAssignedContext::RWStepRepr_RWGlobalUncertaintyAssignedContext() {} +RWStepRepr_RWGlobalUncertaintyAssignedContext::RWStepRepr_RWGlobalUncertaintyAssignedContext() = + default; void RWStepRepr_RWGlobalUncertaintyAssignedContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUnitAssignedContext.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUnitAssignedContext.cxx index ff8578c8c5..6a61fc79e4 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUnitAssignedContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWGlobalUnitAssignedContext.cxx @@ -19,7 +19,7 @@ #include #include -RWStepRepr_RWGlobalUnitAssignedContext::RWStepRepr_RWGlobalUnitAssignedContext() {} +RWStepRepr_RWGlobalUnitAssignedContext::RWStepRepr_RWGlobalUnitAssignedContext() = default; void RWStepRepr_RWGlobalUnitAssignedContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWIntegerRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWIntegerRepresentationItem.cxx index 5280042ceb..c895861c85 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWIntegerRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWIntegerRepresentationItem.cxx @@ -19,7 +19,7 @@ #include #include -RWStepRepr_RWIntegerRepresentationItem::RWStepRepr_RWIntegerRepresentationItem() {} +RWStepRepr_RWIntegerRepresentationItem::RWStepRepr_RWIntegerRepresentationItem() = default; void RWStepRepr_RWIntegerRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWItemDefinedTransformation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWItemDefinedTransformation.cxx index c15e30e637..80d10060a3 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWItemDefinedTransformation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWItemDefinedTransformation.cxx @@ -21,7 +21,7 @@ #include #include -RWStepRepr_RWItemDefinedTransformation::RWStepRepr_RWItemDefinedTransformation() {} +RWStepRepr_RWItemDefinedTransformation::RWStepRepr_RWItemDefinedTransformation() = default; void RWStepRepr_RWItemDefinedTransformation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMakeFromUsageOption.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMakeFromUsageOption.cxx index 9da6c3a1a6..c1da268d6d 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMakeFromUsageOption.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMakeFromUsageOption.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWMakeFromUsageOption::RWStepRepr_RWMakeFromUsageOption() {} +RWStepRepr_RWMakeFromUsageOption::RWStepRepr_RWMakeFromUsageOption() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMappedItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMappedItem.cxx index f110f2888d..18e4b93809 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMappedItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMappedItem.cxx @@ -19,7 +19,7 @@ #include #include -RWStepRepr_RWMappedItem::RWStepRepr_RWMappedItem() {} +RWStepRepr_RWMappedItem::RWStepRepr_RWMappedItem() = default; void RWStepRepr_RWMappedItem::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialDesignation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialDesignation.cxx index b99fbca027..78b3ad98c1 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialDesignation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialDesignation.cxx @@ -17,7 +17,7 @@ #include #include -RWStepRepr_RWMaterialDesignation::RWStepRepr_RWMaterialDesignation() {} +RWStepRepr_RWMaterialDesignation::RWStepRepr_RWMaterialDesignation() = default; void RWStepRepr_RWMaterialDesignation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialProperty.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialProperty.cxx index d082699935..8721616b1c 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialProperty.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialProperty.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWMaterialProperty::RWStepRepr_RWMaterialProperty() {} +RWStepRepr_RWMaterialProperty::RWStepRepr_RWMaterialProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialPropertyRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialPropertyRepresentation.cxx index 2ec3cd999b..bb68200e01 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialPropertyRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMaterialPropertyRepresentation.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepRepr_RWMaterialPropertyRepresentation::RWStepRepr_RWMaterialPropertyRepresentation() {} +RWStepRepr_RWMaterialPropertyRepresentation::RWStepRepr_RWMaterialPropertyRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMeasureRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMeasureRepresentationItem.cxx index 452f89d8a1..25849acf95 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMeasureRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMeasureRepresentationItem.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepRepr_RWMeasureRepresentationItem::RWStepRepr_RWMeasureRepresentationItem() {} +RWStepRepr_RWMeasureRepresentationItem::RWStepRepr_RWMeasureRepresentationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMechanicalDesignAndDraughtingRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMechanicalDesignAndDraughtingRelationship.cxx index 755ab7b44b..abf26e47ef 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMechanicalDesignAndDraughtingRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMechanicalDesignAndDraughtingRelationship.cxx @@ -20,9 +20,7 @@ #include RWStepRepr_RWMechanicalDesignAndDraughtingRelationship:: - RWStepRepr_RWMechanicalDesignAndDraughtingRelationship() -{ -} + RWStepRepr_RWMechanicalDesignAndDraughtingRelationship() = default; void RWStepRepr_RWMechanicalDesignAndDraughtingRelationship::ReadStep( const occ::handle& theData, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParallelOffset.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParallelOffset.cxx index a27f9d11de..8fd6a04739 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParallelOffset.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParallelOffset.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWParallelOffset::RWStepRepr_RWParallelOffset() {} +RWStepRepr_RWParallelOffset::RWStepRepr_RWParallelOffset() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParametricRepresentationContext.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParametricRepresentationContext.cxx index 4c49229d0e..6972471b45 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParametricRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParametricRepresentationContext.cxx @@ -16,7 +16,8 @@ #include #include -RWStepRepr_RWParametricRepresentationContext::RWStepRepr_RWParametricRepresentationContext() {} +RWStepRepr_RWParametricRepresentationContext::RWStepRepr_RWParametricRepresentationContext() = + default; void RWStepRepr_RWParametricRepresentationContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPerpendicularTo.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPerpendicularTo.cxx index b0c58e1441..a26b981e96 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPerpendicularTo.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPerpendicularTo.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWPerpendicularTo::RWStepRepr_RWPerpendicularTo() {} +RWStepRepr_RWPerpendicularTo::RWStepRepr_RWPerpendicularTo() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductConcept.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductConcept.cxx index 64e1409df5..d42434d4f5 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductConcept.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductConcept.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepRepr_RWProductConcept::RWStepRepr_RWProductConcept() {} +RWStepRepr_RWProductConcept::RWStepRepr_RWProductConcept() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductDefinitionShape.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductDefinitionShape.cxx index 55cdf732db..66477a9525 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductDefinitionShape.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWProductDefinitionShape.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWProductDefinitionShape::RWStepRepr_RWProductDefinitionShape() {} +RWStepRepr_RWProductDefinitionShape::RWStepRepr_RWProductDefinitionShape() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinition.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinition.cxx index aa907f0cdc..d837c05f63 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinition.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWPropertyDefinition::RWStepRepr_RWPropertyDefinition() {} +RWStepRepr_RWPropertyDefinition::RWStepRepr_RWPropertyDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRelationship.cxx index 2263556807..ee8448c387 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRelationship.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWPropertyDefinitionRelationship::RWStepRepr_RWPropertyDefinitionRelationship() {} +RWStepRepr_RWPropertyDefinitionRelationship::RWStepRepr_RWPropertyDefinitionRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRepresentation.cxx index ee94063f5f..c15df606e9 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWPropertyDefinitionRepresentation.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWPropertyDefinitionRepresentation::RWStepRepr_RWPropertyDefinitionRepresentation() {} +RWStepRepr_RWPropertyDefinitionRepresentation::RWStepRepr_RWPropertyDefinitionRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWQuantifiedAssemblyComponentUsage.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWQuantifiedAssemblyComponentUsage.cxx index 7e5c4b5ecd..5938ea6588 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWQuantifiedAssemblyComponentUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWQuantifiedAssemblyComponentUsage.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWQuantifiedAssemblyComponentUsage::RWStepRepr_RWQuantifiedAssemblyComponentUsage() {} +RWStepRepr_RWQuantifiedAssemblyComponentUsage::RWStepRepr_RWQuantifiedAssemblyComponentUsage() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRealRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRealRepresentationItem.cxx index d150e6ada6..d3dd905501 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRealRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRealRepresentationItem.cxx @@ -17,7 +17,7 @@ #include #include -RWStepRepr_RWRealRepresentationItem::RWStepRepr_RWRealRepresentationItem() {} +RWStepRepr_RWRealRepresentationItem::RWStepRepr_RWRealRepresentationItem() = default; void RWStepRepr_RWRealRepresentationItem::ReadStep( const occ::handle& theData, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnit.cxx index 83eb23c506..6200346d8c 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnit.cxx @@ -22,7 +22,8 @@ //================================================================================================= -RWStepRepr_RWReprItemAndLengthMeasureWithUnit::RWStepRepr_RWReprItemAndLengthMeasureWithUnit() {} +RWStepRepr_RWReprItemAndLengthMeasureWithUnit::RWStepRepr_RWReprItemAndLengthMeasureWithUnit() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI.cxx index 18ac0cabce..3d8ace5288 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI:: - RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI() -{ -} + RWStepRepr_RWReprItemAndLengthMeasureWithUnitAndQRI() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit.cxx index cf0de6a50e..7782ee85a8 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit:: - RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit() -{ -} + RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx index 7a27b34755..612d9f7f25 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI:: - RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI() -{ -} + RWStepRepr_RWReprItemAndPlaneAngleMeasureWithUnitAndQRI() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentation.cxx index 46630d4e6e..11de93ff0b 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentation.cxx @@ -20,7 +20,7 @@ #include #include -RWStepRepr_RWRepresentation::RWStepRepr_RWRepresentation() {} +RWStepRepr_RWRepresentation::RWStepRepr_RWRepresentation() = default; void RWStepRepr_RWRepresentation::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContext.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContext.cxx index 9bc9d0c3b4..492e21c1dd 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContext.cxx @@ -16,7 +16,7 @@ #include #include -RWStepRepr_RWRepresentationContext::RWStepRepr_RWRepresentationContext() {} +RWStepRepr_RWRepresentationContext::RWStepRepr_RWRepresentationContext() = default; void RWStepRepr_RWRepresentationContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContextReference.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContextReference.cxx index 4f34ff234f..1f73fcd29e 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContextReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationContextReference.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWRepresentationContextReference::RWStepRepr_RWRepresentationContextReference() {} +RWStepRepr_RWRepresentationContextReference::RWStepRepr_RWRepresentationContextReference() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationItem.cxx index 4ea806fd35..fad21e4dbf 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationItem.cxx @@ -16,7 +16,7 @@ #include #include -RWStepRepr_RWRepresentationItem::RWStepRepr_RWRepresentationItem() {} +RWStepRepr_RWRepresentationItem::RWStepRepr_RWRepresentationItem() = default; void RWStepRepr_RWRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationMap.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationMap.cxx index c0dbb2921f..22853cea40 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationMap.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationMap.cxx @@ -19,7 +19,7 @@ #include #include -RWStepRepr_RWRepresentationMap::RWStepRepr_RWRepresentationMap() {} +RWStepRepr_RWRepresentationMap::RWStepRepr_RWRepresentationMap() = default; void RWStepRepr_RWRepresentationMap::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationReference.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationReference.cxx index 4146453e08..7dc3fa3e76 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationReference.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationReference.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepRepr_RWRepresentationReference::RWStepRepr_RWRepresentationReference() {} +RWStepRepr_RWRepresentationReference::RWStepRepr_RWRepresentationReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationship.cxx index c2f3ceaba7..1a65c53aac 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationship.cxx @@ -20,7 +20,7 @@ #include #include -RWStepRepr_RWRepresentationRelationship::RWStepRepr_RWRepresentationRelationship() {} +RWStepRepr_RWRepresentationRelationship::RWStepRepr_RWRepresentationRelationship() = default; void RWStepRepr_RWRepresentationRelationship::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationshipWithTransformation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationshipWithTransformation.cxx index 4712c5cbcb..736822d70b 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationshipWithTransformation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWRepresentationRelationshipWithTransformation.cxx @@ -20,9 +20,7 @@ #include RWStepRepr_RWRepresentationRelationshipWithTransformation:: - RWStepRepr_RWRepresentationRelationshipWithTransformation() -{ -} + RWStepRepr_RWRepresentationRelationshipWithTransformation() = default; void RWStepRepr_RWRepresentationRelationshipWithTransformation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspect.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspect.cxx index a230c320f8..a2addd0431 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspect.cxx @@ -20,7 +20,7 @@ #include #include -RWStepRepr_RWShapeAspect::RWStepRepr_RWShapeAspect() {} +RWStepRepr_RWShapeAspect::RWStepRepr_RWShapeAspect() = default; void RWStepRepr_RWShapeAspect::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectDerivingRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectDerivingRelationship.cxx index 9f8e688723..d59b011536 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectDerivingRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectDerivingRelationship.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWShapeAspectDerivingRelationship::RWStepRepr_RWShapeAspectDerivingRelationship() {} +RWStepRepr_RWShapeAspectDerivingRelationship::RWStepRepr_RWShapeAspectDerivingRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectRelationship.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectRelationship.cxx index f045e569eb..83f0d66a6d 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectRelationship.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectRelationship.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWShapeAspectRelationship::RWStepRepr_RWShapeAspectRelationship() {} +RWStepRepr_RWShapeAspectRelationship::RWStepRepr_RWShapeAspectRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectTransition.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectTransition.cxx index 55a4f99be9..e3bbe12287 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectTransition.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeAspectTransition.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepRepr_RWShapeAspectTransition::RWStepRepr_RWShapeAspectTransition() {} +RWStepRepr_RWShapeAspectTransition::RWStepRepr_RWShapeAspectTransition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx index 58f8f89e55..cc23f72823 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx @@ -20,9 +20,7 @@ #include RWStepRepr_RWShapeRepresentationRelationshipWithTransformation:: - RWStepRepr_RWShapeRepresentationRelationshipWithTransformation() -{ -} + RWStepRepr_RWShapeRepresentationRelationshipWithTransformation() = default; void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWSpecifiedHigherUsageOccurrence.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWSpecifiedHigherUsageOccurrence.cxx index 354cb3e2d9..4371f9eaf0 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWSpecifiedHigherUsageOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWSpecifiedHigherUsageOccurrence.cxx @@ -24,7 +24,8 @@ //================================================================================================= -RWStepRepr_RWSpecifiedHigherUsageOccurrence::RWStepRepr_RWSpecifiedHigherUsageOccurrence() {} +RWStepRepr_RWSpecifiedHigherUsageOccurrence::RWStepRepr_RWSpecifiedHigherUsageOccurrence() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponseProperty.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponseProperty.cxx index f2cbb20d7a..d5d8013eef 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponseProperty.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponseProperty.cxx @@ -24,7 +24,7 @@ // #include //================================================================================================= -RWStepRepr_RWStructuralResponseProperty::RWStepRepr_RWStructuralResponseProperty() {} +RWStepRepr_RWStructuralResponseProperty::RWStepRepr_RWStructuralResponseProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation.cxx index b21367b8c9..7d3c325726 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation.cxx @@ -26,9 +26,7 @@ //================================================================================================= RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation:: - RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation() -{ -} + RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWTangent.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWTangent.cxx index ecfad749f6..dad7e84eb0 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWTangent.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWTangent.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepRepr_RWTangent::RWStepRepr_RWTangent() {} +RWStepRepr_RWTangent::RWStepRepr_RWTangent() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWValueRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWValueRepresentationItem.cxx index a6f15e3db8..4ac4b51fa2 100644 --- a/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWValueRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWValueRepresentationItem.cxx @@ -21,7 +21,7 @@ #include #include -RWStepRepr_RWValueRepresentationItem::RWStepRepr_RWValueRepresentationItem() {} +RWStepRepr_RWValueRepresentationItem::RWStepRepr_RWValueRepresentationItem() = default; void RWStepRepr_RWValueRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedBrepShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedBrepShapeRepresentation.cxx index f70f509154..166c009317 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedBrepShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedBrepShapeRepresentation.cxx @@ -20,7 +20,8 @@ #include #include -RWStepShape_RWAdvancedBrepShapeRepresentation::RWStepShape_RWAdvancedBrepShapeRepresentation() {} +RWStepShape_RWAdvancedBrepShapeRepresentation::RWStepShape_RWAdvancedBrepShapeRepresentation() = + default; void RWStepShape_RWAdvancedBrepShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedFace.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedFace.cxx index d3c7b72980..d9c2b2ebc2 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedFace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAdvancedFace.cxx @@ -22,7 +22,7 @@ #include #include -RWStepShape_RWAdvancedFace::RWStepShape_RWAdvancedFace() {} +RWStepShape_RWAdvancedFace::RWStepShape_RWAdvancedFace() = default; void RWStepShape_RWAdvancedFace::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularLocation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularLocation.cxx index d33838b601..c1714872ee 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularLocation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularLocation.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWAngularLocation::RWStepShape_RWAngularLocation() {} +RWStepShape_RWAngularLocation::RWStepShape_RWAngularLocation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularSize.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularSize.cxx index 560037eabd..902faa89df 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularSize.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWAngularSize.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWAngularSize::RWStepShape_RWAngularSize() {} +RWStepShape_RWAngularSize::RWStepShape_RWAngularSize() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBlock.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBlock.cxx index d80db3656c..7a9be25bfe 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBlock.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBlock.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWBlock::RWStepShape_RWBlock() {} +RWStepShape_RWBlock::RWStepShape_RWBlock() = default; void RWStepShape_RWBlock::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBooleanResult.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBooleanResult.cxx index 4b70568be2..fc7c0f1984 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBooleanResult.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBooleanResult.cxx @@ -21,7 +21,7 @@ #include "RWStepShape_RWBooleanOperator.pxx" -RWStepShape_RWBooleanResult::RWStepShape_RWBooleanResult() {} +RWStepShape_RWBooleanResult::RWStepShape_RWBooleanResult() = default; void RWStepShape_RWBooleanResult::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxDomain.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxDomain.cxx index ac14d5caf7..9ca3f1a3c8 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxDomain.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxDomain.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWBoxDomain::RWStepShape_RWBoxDomain() {} +RWStepShape_RWBoxDomain::RWStepShape_RWBoxDomain() = default; void RWStepShape_RWBoxDomain::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxedHalfSpace.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxedHalfSpace.cxx index 6e521e0ffd..bd8a6a8c9b 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxedHalfSpace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBoxedHalfSpace.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWBoxedHalfSpace::RWStepShape_RWBoxedHalfSpace() {} +RWStepShape_RWBoxedHalfSpace::RWStepShape_RWBoxedHalfSpace() = default; void RWStepShape_RWBoxedHalfSpace::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBrepWithVoids.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBrepWithVoids.cxx index 5c78baae1e..0abf6509b8 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBrepWithVoids.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWBrepWithVoids.cxx @@ -25,7 +25,7 @@ #include #include -RWStepShape_RWBrepWithVoids::RWStepShape_RWBrepWithVoids() {} +RWStepShape_RWBrepWithVoids::RWStepShape_RWBrepWithVoids() = default; void RWStepShape_RWBrepWithVoids::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWClosedShell.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWClosedShell.cxx index 0aad404eaa..f18042d239 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWClosedShell.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWClosedShell.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWClosedShell::RWStepShape_RWClosedShell() {} +RWStepShape_RWClosedShell::RWStepShape_RWClosedShell() = default; void RWStepShape_RWClosedShell::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCompoundShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCompoundShapeRepresentation.cxx index c3f9e7b64e..15ddfb8674 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCompoundShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCompoundShapeRepresentation.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepShape_RWCompoundShapeRepresentation::RWStepShape_RWCompoundShapeRepresentation() {} +RWStepShape_RWCompoundShapeRepresentation::RWStepShape_RWCompoundShapeRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedEdgeSet.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedEdgeSet.cxx index 7a2c726d4d..6220d3039b 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedEdgeSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedEdgeSet.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepShape_RWConnectedEdgeSet::RWStepShape_RWConnectedEdgeSet() {} +RWStepShape_RWConnectedEdgeSet::RWStepShape_RWConnectedEdgeSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSet.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSet.cxx index 98b905f0e7..f052fc128a 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSet.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWConnectedFaceSet::RWStepShape_RWConnectedFaceSet() {} +RWStepShape_RWConnectedFaceSet::RWStepShape_RWConnectedFaceSet() = default; void RWStepShape_RWConnectedFaceSet::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceShapeRepresentation.cxx index b3b73a8619..63eabd1211 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceShapeRepresentation.cxx @@ -26,7 +26,8 @@ //================================================================================================= -RWStepShape_RWConnectedFaceShapeRepresentation::RWStepShape_RWConnectedFaceShapeRepresentation() {} +RWStepShape_RWConnectedFaceShapeRepresentation::RWStepShape_RWConnectedFaceShapeRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSubSet.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSubSet.cxx index 5bcc468843..ed8dca0652 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSubSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWConnectedFaceSubSet.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepShape_RWConnectedFaceSubSet::RWStepShape_RWConnectedFaceSubSet() {} +RWStepShape_RWConnectedFaceSubSet::RWStepShape_RWConnectedFaceSubSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWContextDependentShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWContextDependentShapeRepresentation.cxx index c9bb8bad92..2120c1d26a 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWContextDependentShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWContextDependentShapeRepresentation.cxx @@ -23,9 +23,7 @@ //================================================================================================= RWStepShape_RWContextDependentShapeRepresentation:: - RWStepShape_RWContextDependentShapeRepresentation() -{ -} + RWStepShape_RWContextDependentShapeRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgShapeRepresentation.cxx index 01194b6f88..5d2f4ed7bc 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgShapeRepresentation.cxx @@ -20,7 +20,7 @@ #include #include -RWStepShape_RWCsgShapeRepresentation::RWStepShape_RWCsgShapeRepresentation() {} +RWStepShape_RWCsgShapeRepresentation::RWStepShape_RWCsgShapeRepresentation() = default; void RWStepShape_RWCsgShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgSolid.cxx index 105b6c58fe..87e6ebff4c 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWCsgSolid.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWCsgSolid::RWStepShape_RWCsgSolid() {} +RWStepShape_RWCsgSolid::RWStepShape_RWCsgSolid() = default; void RWStepShape_RWCsgSolid::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx index 4427d231d4..8f92e915eb 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx @@ -21,9 +21,7 @@ #include RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation:: - RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation() -{ -} + RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation() = default; void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalCharacteristicRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalCharacteristicRepresentation.cxx index 5139808b74..96c8c19d84 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalCharacteristicRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalCharacteristicRepresentation.cxx @@ -25,9 +25,7 @@ //================================================================================================= RWStepShape_RWDimensionalCharacteristicRepresentation:: - RWStepShape_RWDimensionalCharacteristicRepresentation() -{ -} + RWStepShape_RWDimensionalCharacteristicRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocation.cxx index ed2286805f..a04832a502 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocation.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWDimensionalLocation::RWStepShape_RWDimensionalLocation() {} +RWStepShape_RWDimensionalLocation::RWStepShape_RWDimensionalLocation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocationWithPath.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocationWithPath.cxx index 89fe11d84f..4a76897368 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocationWithPath.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalLocationWithPath.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWDimensionalLocationWithPath::RWStepShape_RWDimensionalLocationWithPath() {} +RWStepShape_RWDimensionalLocationWithPath::RWStepShape_RWDimensionalLocationWithPath() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSize.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSize.cxx index 198af4709f..cd1d86d796 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSize.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSize.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWDimensionalSize::RWStepShape_RWDimensionalSize() {} +RWStepShape_RWDimensionalSize::RWStepShape_RWDimensionalSize() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSizeWithPath.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSizeWithPath.cxx index 19e13394a6..31f2c323df 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSizeWithPath.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWDimensionalSizeWithPath.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWDimensionalSizeWithPath::RWStepShape_RWDimensionalSizeWithPath() {} +RWStepShape_RWDimensionalSizeWithPath::RWStepShape_RWDimensionalSizeWithPath() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdge.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdge.cxx index b8ed7f7032..e325126395 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdge.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWEdge::RWStepShape_RWEdge() {} +RWStepShape_RWEdge::RWStepShape_RWEdge() = default; void RWStepShape_RWEdge::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeModel.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeModel.cxx index 921aaf9138..170228db95 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeModel.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepShape_RWEdgeBasedWireframeModel::RWStepShape_RWEdgeBasedWireframeModel() {} +RWStepShape_RWEdgeBasedWireframeModel::RWStepShape_RWEdgeBasedWireframeModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeShapeRepresentation.cxx index d72a396ebc..fc199b374c 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeBasedWireframeShapeRepresentation.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepShape_RWEdgeBasedWireframeShapeRepresentation:: - RWStepShape_RWEdgeBasedWireframeShapeRepresentation() -{ -} + RWStepShape_RWEdgeBasedWireframeShapeRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeLoop.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeLoop.cxx index ed86741286..8a263da690 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeLoop.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWEdgeLoop.cxx @@ -22,7 +22,7 @@ #include #include -RWStepShape_RWEdgeLoop::RWStepShape_RWEdgeLoop() {} +RWStepShape_RWEdgeLoop::RWStepShape_RWEdgeLoop() = default; void RWStepShape_RWEdgeLoop::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedAreaSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedAreaSolid.cxx index f723e1bc4d..03413052c3 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedAreaSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedAreaSolid.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWExtrudedAreaSolid::RWStepShape_RWExtrudedAreaSolid() {} +RWStepShape_RWExtrudedAreaSolid::RWStepShape_RWExtrudedAreaSolid() = default; void RWStepShape_RWExtrudedAreaSolid::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedFaceSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedFaceSolid.cxx index 51c40000e3..af1c348ee3 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedFaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWExtrudedFaceSolid.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWExtrudedFaceSolid::RWStepShape_RWExtrudedFaceSolid() {} +RWStepShape_RWExtrudedFaceSolid::RWStepShape_RWExtrudedFaceSolid() = default; void RWStepShape_RWExtrudedFaceSolid::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFace.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFace.cxx index 7fa8d62ff3..9844f88285 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFace.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWFace::RWStepShape_RWFace() {} +RWStepShape_RWFace::RWStepShape_RWFace() = default; void RWStepShape_RWFace::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBasedSurfaceModel.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBasedSurfaceModel.cxx index 36157ce8a8..a716ad945f 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBasedSurfaceModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBasedSurfaceModel.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepShape_RWFaceBasedSurfaceModel::RWStepShape_RWFaceBasedSurfaceModel() {} +RWStepShape_RWFaceBasedSurfaceModel::RWStepShape_RWFaceBasedSurfaceModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBound.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBound.cxx index c7f8706d78..4620b073a1 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBound.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceBound.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWFaceBound::RWStepShape_RWFaceBound() {} +RWStepShape_RWFaceBound::RWStepShape_RWFaceBound() = default; void RWStepShape_RWFaceBound::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceOuterBound.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceOuterBound.cxx index eb8fd27c17..79415234db 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceOuterBound.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceOuterBound.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWFaceOuterBound::RWStepShape_RWFaceOuterBound() {} +RWStepShape_RWFaceOuterBound::RWStepShape_RWFaceOuterBound() = default; void RWStepShape_RWFaceOuterBound::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceSurface.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceSurface.cxx index 786d09592a..a92550642e 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceSurface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFaceSurface.cxx @@ -22,7 +22,7 @@ #include #include -RWStepShape_RWFaceSurface::RWStepShape_RWFaceSurface() {} +RWStepShape_RWFaceSurface::RWStepShape_RWFaceSurface() = default; void RWStepShape_RWFaceSurface::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrep.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrep.cxx index 81a0ad6a49..59425299ce 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrep.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrep.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWFacetedBrep::RWStepShape_RWFacetedBrep() {} +RWStepShape_RWFacetedBrep::RWStepShape_RWFacetedBrep() = default; void RWStepShape_RWFacetedBrep::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx index e88e7743f1..9f709a9735 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx @@ -23,7 +23,7 @@ #include #include -RWStepShape_RWFacetedBrepAndBrepWithVoids::RWStepShape_RWFacetedBrepAndBrepWithVoids() {} +RWStepShape_RWFacetedBrepAndBrepWithVoids::RWStepShape_RWFacetedBrepAndBrepWithVoids() = default; void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepShapeRepresentation.cxx index 88c40f5114..ec6ecf48cc 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWFacetedBrepShapeRepresentation.cxx @@ -20,7 +20,8 @@ #include #include -RWStepShape_RWFacetedBrepShapeRepresentation::RWStepShape_RWFacetedBrepShapeRepresentation() {} +RWStepShape_RWFacetedBrepShapeRepresentation::RWStepShape_RWFacetedBrepShapeRepresentation() = + default; void RWStepShape_RWFacetedBrepShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricCurveSet.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricCurveSet.cxx index 0ae2442675..3ce6abf8f1 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricCurveSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricCurveSet.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWGeometricCurveSet::RWStepShape_RWGeometricCurveSet() {} +RWStepShape_RWGeometricCurveSet::RWStepShape_RWGeometricCurveSet() = default; void RWStepShape_RWGeometricCurveSet::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricSet.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricSet.cxx index b63aed36f2..c73ac560bc 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricSet.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWGeometricSet::RWStepShape_RWGeometricSet() {} +RWStepShape_RWGeometricSet::RWStepShape_RWGeometricSet() = default; void RWStepShape_RWGeometricSet::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation.cxx index 65b1fe3015..1baa0912e5 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation.cxx @@ -21,9 +21,7 @@ #include RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation:: - RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation() -{ -} + RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation() = default; void RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation.cxx index 5840f7cb8d..6960ac421f 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation.cxx @@ -21,9 +21,7 @@ #include RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation:: - RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation() -{ -} + RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation() = default; void RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWHalfSpaceSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWHalfSpaceSolid.cxx index 435321788d..22f55edcb9 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWHalfSpaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWHalfSpaceSolid.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWHalfSpaceSolid::RWStepShape_RWHalfSpaceSolid() {} +RWStepShape_RWHalfSpaceSolid::RWStepShape_RWHalfSpaceSolid() = default; void RWStepShape_RWHalfSpaceSolid::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLimitsAndFits.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLimitsAndFits.cxx index f8fc40ee03..85ac2a84d0 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLimitsAndFits.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLimitsAndFits.cxx @@ -16,7 +16,7 @@ #include #include -RWStepShape_RWLimitsAndFits::RWStepShape_RWLimitsAndFits() {} +RWStepShape_RWLimitsAndFits::RWStepShape_RWLimitsAndFits() = default; void RWStepShape_RWLimitsAndFits::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoop.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoop.cxx index 62f75eef40..860bfeee91 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoop.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoop.cxx @@ -16,7 +16,7 @@ #include #include -RWStepShape_RWLoop::RWStepShape_RWLoop() {} +RWStepShape_RWLoop::RWStepShape_RWLoop() = default; void RWStepShape_RWLoop::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoopAndPath.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoopAndPath.cxx index d7e13e4399..ecddce594b 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoopAndPath.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWLoopAndPath.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWLoopAndPath::RWStepShape_RWLoopAndPath() {} +RWStepShape_RWLoopAndPath::RWStepShape_RWLoopAndPath() = default; void RWStepShape_RWLoopAndPath::ReadStep(const occ::handle& data, const int num0, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSolidBrep.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSolidBrep.cxx index efb8461d6a..8ae25cf76a 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSolidBrep.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSolidBrep.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWManifoldSolidBrep::RWStepShape_RWManifoldSolidBrep() {} +RWStepShape_RWManifoldSolidBrep::RWStepShape_RWManifoldSolidBrep() = default; void RWStepShape_RWManifoldSolidBrep::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSurfaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSurfaceShapeRepresentation.cxx index 08277ae65c..5dead4ef5a 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSurfaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWManifoldSurfaceShapeRepresentation.cxx @@ -20,9 +20,8 @@ #include #include -RWStepShape_RWManifoldSurfaceShapeRepresentation::RWStepShape_RWManifoldSurfaceShapeRepresentation() -{ -} +RWStepShape_RWManifoldSurfaceShapeRepresentation:: + RWStepShape_RWManifoldSurfaceShapeRepresentation() = default; void RWStepShape_RWManifoldSurfaceShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureQualification.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureQualification.cxx index 590f9dc3ba..0860dad770 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureQualification.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureQualification.cxx @@ -21,7 +21,7 @@ #include #include -RWStepShape_RWMeasureQualification::RWStepShape_RWMeasureQualification() {} +RWStepShape_RWMeasureQualification::RWStepShape_RWMeasureQualification() = default; void RWStepShape_RWMeasureQualification::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx index b657dbad92..1fd1db3d66 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx @@ -23,9 +23,7 @@ #include RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem:: - RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem() -{ -} + RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem() = default; void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWNonManifoldSurfaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWNonManifoldSurfaceShapeRepresentation.cxx index 219181b18e..8f88113a31 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWNonManifoldSurfaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWNonManifoldSurfaceShapeRepresentation.cxx @@ -27,9 +27,7 @@ //================================================================================================= RWStepShape_RWNonManifoldSurfaceShapeRepresentation:: - RWStepShape_RWNonManifoldSurfaceShapeRepresentation() -{ -} + RWStepShape_RWNonManifoldSurfaceShapeRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOpenShell.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOpenShell.cxx index 7c2b9a8950..a3e46b2ec9 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOpenShell.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOpenShell.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWOpenShell::RWStepShape_RWOpenShell() {} +RWStepShape_RWOpenShell::RWStepShape_RWOpenShell() = default; void RWStepShape_RWOpenShell::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedClosedShell.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedClosedShell.cxx index c38b8d5faf..85b27ddb29 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedClosedShell.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedClosedShell.cxx @@ -17,7 +17,7 @@ #include #include -RWStepShape_RWOrientedClosedShell::RWStepShape_RWOrientedClosedShell() {} +RWStepShape_RWOrientedClosedShell::RWStepShape_RWOrientedClosedShell() = default; void RWStepShape_RWOrientedClosedShell::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedEdge.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedEdge.cxx index 5b1866e029..6cfb04588e 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedEdge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedEdge.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWOrientedEdge::RWStepShape_RWOrientedEdge() {} +RWStepShape_RWOrientedEdge::RWStepShape_RWOrientedEdge() = default; void RWStepShape_RWOrientedEdge::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedFace.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedFace.cxx index a6a7d868a3..e6e409ddf0 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedFace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedFace.cxx @@ -17,7 +17,7 @@ #include #include -RWStepShape_RWOrientedFace::RWStepShape_RWOrientedFace() {} +RWStepShape_RWOrientedFace::RWStepShape_RWOrientedFace() = default; void RWStepShape_RWOrientedFace::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedOpenShell.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedOpenShell.cxx index c76d010573..d45e9bc7cd 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedOpenShell.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedOpenShell.cxx @@ -17,7 +17,7 @@ #include #include -RWStepShape_RWOrientedOpenShell::RWStepShape_RWOrientedOpenShell() {} +RWStepShape_RWOrientedOpenShell::RWStepShape_RWOrientedOpenShell() = default; void RWStepShape_RWOrientedOpenShell::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedPath.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedPath.cxx index a05a05ed81..de4e0f0138 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedPath.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWOrientedPath.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWOrientedPath::RWStepShape_RWOrientedPath() {} +RWStepShape_RWOrientedPath::RWStepShape_RWOrientedPath() = default; void RWStepShape_RWOrientedPath::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPath.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPath.cxx index 35b74399f6..6357546f20 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPath.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPath.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWPath::RWStepShape_RWPath() {} +RWStepShape_RWPath::RWStepShape_RWPath() = default; void RWStepShape_RWPath::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPlusMinusTolerance.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPlusMinusTolerance.cxx index 5e78993360..e8340b587d 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPlusMinusTolerance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPlusMinusTolerance.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWPlusMinusTolerance::RWStepShape_RWPlusMinusTolerance() {} +RWStepShape_RWPlusMinusTolerance::RWStepShape_RWPlusMinusTolerance() = default; void RWStepShape_RWPlusMinusTolerance::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPointRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPointRepresentation.cxx index 5bd420d88b..4591e9ab90 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPointRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPointRepresentation.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepShape_RWPointRepresentation::RWStepShape_RWPointRepresentation() {} +RWStepShape_RWPointRepresentation::RWStepShape_RWPointRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPolyLoop.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPolyLoop.cxx index 1fc79a2b21..ba27d2a567 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPolyLoop.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPolyLoop.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWPolyLoop::RWStepShape_RWPolyLoop() {} +RWStepShape_RWPolyLoop::RWStepShape_RWPolyLoop() = default; void RWStepShape_RWPolyLoop::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPrecisionQualifier.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPrecisionQualifier.cxx index 526b7d2dca..a0889e7b84 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPrecisionQualifier.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWPrecisionQualifier.cxx @@ -16,7 +16,7 @@ #include #include -RWStepShape_RWPrecisionQualifier::RWStepShape_RWPrecisionQualifier() {} +RWStepShape_RWPrecisionQualifier::RWStepShape_RWPrecisionQualifier() = default; void RWStepShape_RWPrecisionQualifier::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWQualifiedRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWQualifiedRepresentationItem.cxx index 82efa9e4b3..4c91a22304 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWQualifiedRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWQualifiedRepresentationItem.cxx @@ -20,7 +20,7 @@ #include #include -RWStepShape_RWQualifiedRepresentationItem::RWStepShape_RWQualifiedRepresentationItem() {} +RWStepShape_RWQualifiedRepresentationItem::RWStepShape_RWQualifiedRepresentationItem() = default; void RWStepShape_RWQualifiedRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedAreaSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedAreaSolid.cxx index 51e935e25c..10c34e48de 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedAreaSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedAreaSolid.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWRevolvedAreaSolid::RWStepShape_RWRevolvedAreaSolid() {} +RWStepShape_RWRevolvedAreaSolid::RWStepShape_RWRevolvedAreaSolid() = default; void RWStepShape_RWRevolvedAreaSolid::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedFaceSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedFaceSolid.cxx index 91f6437bdd..5feb84cde0 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedFaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRevolvedFaceSolid.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWRevolvedFaceSolid::RWStepShape_RWRevolvedFaceSolid() {} +RWStepShape_RWRevolvedFaceSolid::RWStepShape_RWRevolvedFaceSolid() = default; void RWStepShape_RWRevolvedFaceSolid::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightAngularWedge.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightAngularWedge.cxx index dd8519650c..f3226e25c3 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightAngularWedge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightAngularWedge.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWRightAngularWedge::RWStepShape_RWRightAngularWedge() {} +RWStepShape_RWRightAngularWedge::RWStepShape_RWRightAngularWedge() = default; void RWStepShape_RWRightAngularWedge::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCone.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCone.cxx index f809009c3f..130c0a74fe 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCone.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCone.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWRightCircularCone::RWStepShape_RWRightCircularCone() {} +RWStepShape_RWRightCircularCone::RWStepShape_RWRightCircularCone() = default; void RWStepShape_RWRightCircularCone::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCylinder.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCylinder.cxx index 3a526e53dc..e4052f811a 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCylinder.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWRightCircularCylinder.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWRightCircularCylinder::RWStepShape_RWRightCircularCylinder() {} +RWStepShape_RWRightCircularCylinder::RWStepShape_RWRightCircularCylinder() = default; void RWStepShape_RWRightCircularCylinder::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSeamEdge.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSeamEdge.cxx index 0e5df3c99c..d910cdd60a 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSeamEdge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSeamEdge.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepShape_RWSeamEdge::RWStepShape_RWSeamEdge() {} +RWStepShape_RWSeamEdge::RWStepShape_RWSeamEdge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDefinitionRepresentation.cxx index 5c556a1776..c6415328f5 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDefinitionRepresentation.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepShape_RWShapeDefinitionRepresentation::RWStepShape_RWShapeDefinitionRepresentation() {} +RWStepShape_RWShapeDefinitionRepresentation::RWStepShape_RWShapeDefinitionRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDimensionRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDimensionRepresentation.cxx index 17e3422998..235768fa0d 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDimensionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeDimensionRepresentation.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepShape_RWShapeDimensionRepresentation::RWStepShape_RWShapeDimensionRepresentation() {} +RWStepShape_RWShapeDimensionRepresentation::RWStepShape_RWShapeDimensionRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentation.cxx index 99bdeb8621..85ba72d6e9 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentation.cxx @@ -20,7 +20,7 @@ #include #include -RWStepShape_RWShapeRepresentation::RWStepShape_RWShapeRepresentation() {} +RWStepShape_RWShapeRepresentation::RWStepShape_RWShapeRepresentation() = default; void RWStepShape_RWShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentationWithParameters.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentationWithParameters.cxx index 6e1014f83b..97220f68a0 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentationWithParameters.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShapeRepresentationWithParameters.cxx @@ -26,9 +26,8 @@ //================================================================================================= -RWStepShape_RWShapeRepresentationWithParameters::RWStepShape_RWShapeRepresentationWithParameters() -{ -} +RWStepShape_RWShapeRepresentationWithParameters::RWStepShape_RWShapeRepresentationWithParameters() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShellBasedSurfaceModel.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShellBasedSurfaceModel.cxx index 8cb753ecc3..7c7b94f03d 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShellBasedSurfaceModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWShellBasedSurfaceModel.cxx @@ -19,7 +19,7 @@ #include #include -RWStepShape_RWShellBasedSurfaceModel::RWStepShape_RWShellBasedSurfaceModel() {} +RWStepShape_RWShellBasedSurfaceModel::RWStepShape_RWShellBasedSurfaceModel() = default; void RWStepShape_RWShellBasedSurfaceModel::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidModel.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidModel.cxx index 1589f8a181..91cb5b12d5 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidModel.cxx @@ -16,7 +16,7 @@ #include #include -RWStepShape_RWSolidModel::RWStepShape_RWSolidModel() {} +RWStepShape_RWSolidModel::RWStepShape_RWSolidModel() = default; void RWStepShape_RWSolidModel::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidReplica.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidReplica.cxx index 284377ae6b..58f4ab6876 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidReplica.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSolidReplica.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWSolidReplica::RWStepShape_RWSolidReplica() {} +RWStepShape_RWSolidReplica::RWStepShape_RWSolidReplica() = default; void RWStepShape_RWSolidReplica::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSphere.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSphere.cxx index 1eb435505b..fb0791d9ae 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSphere.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSphere.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWSphere::RWStepShape_RWSphere() {} +RWStepShape_RWSphere::RWStepShape_RWSphere() = default; void RWStepShape_RWSphere::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubedge.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubedge.cxx index a198ba6c6a..392d1ddf5d 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubedge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubedge.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepShape_RWSubedge::RWStepShape_RWSubedge() {} +RWStepShape_RWSubedge::RWStepShape_RWSubedge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubface.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubface.cxx index 1a911a3a24..61878d91bb 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubface.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSubface.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepShape_RWSubface::RWStepShape_RWSubface() {} +RWStepShape_RWSubface::RWStepShape_RWSubface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptAreaSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptAreaSolid.cxx index 2bf6a21d31..e37e8a37f6 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptAreaSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptAreaSolid.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWSweptAreaSolid::RWStepShape_RWSweptAreaSolid() {} +RWStepShape_RWSweptAreaSolid::RWStepShape_RWSweptAreaSolid() = default; void RWStepShape_RWSweptAreaSolid::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptFaceSolid.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptFaceSolid.cxx index 9c15ad4929..7b7309c334 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptFaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWSweptFaceSolid.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWSweptFaceSolid::RWStepShape_RWSweptFaceSolid() {} +RWStepShape_RWSweptFaceSolid::RWStepShape_RWSweptFaceSolid() = default; void RWStepShape_RWSweptFaceSolid::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWToleranceValue.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWToleranceValue.cxx index 7307e34546..d64729f4ef 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWToleranceValue.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWToleranceValue.cxx @@ -20,7 +20,7 @@ #include #include -RWStepShape_RWToleranceValue::RWStepShape_RWToleranceValue() {} +RWStepShape_RWToleranceValue::RWStepShape_RWToleranceValue() = default; void RWStepShape_RWToleranceValue::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTopologicalRepresentationItem.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTopologicalRepresentationItem.cxx index 3a16d73880..654f5bf044 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTopologicalRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTopologicalRepresentationItem.cxx @@ -16,7 +16,8 @@ #include #include -RWStepShape_RWTopologicalRepresentationItem::RWStepShape_RWTopologicalRepresentationItem() {} +RWStepShape_RWTopologicalRepresentationItem::RWStepShape_RWTopologicalRepresentationItem() = + default; void RWStepShape_RWTopologicalRepresentationItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTorus.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTorus.cxx index c5334c7d34..9e7c9aea09 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTorus.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTorus.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWTorus::RWStepShape_RWTorus() {} +RWStepShape_RWTorus::RWStepShape_RWTorus() = default; void RWStepShape_RWTorus::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTransitionalShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTransitionalShapeRepresentation.cxx index 504a63202f..fddfdca0c9 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTransitionalShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTransitionalShapeRepresentation.cxx @@ -20,7 +20,8 @@ #include #include -RWStepShape_RWTransitionalShapeRepresentation::RWStepShape_RWTransitionalShapeRepresentation() {} +RWStepShape_RWTransitionalShapeRepresentation::RWStepShape_RWTransitionalShapeRepresentation() = + default; void RWStepShape_RWTransitionalShapeRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTypeQualifier.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTypeQualifier.cxx index 29b1e430c4..1f5003cff3 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTypeQualifier.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWTypeQualifier.cxx @@ -16,7 +16,7 @@ #include #include -RWStepShape_RWTypeQualifier::RWStepShape_RWTypeQualifier() {} +RWStepShape_RWTypeQualifier::RWStepShape_RWTypeQualifier() = default; void RWStepShape_RWTypeQualifier::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWValueFormatTypeQualifier.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWValueFormatTypeQualifier.cxx index fa314d18cd..491443dc8e 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWValueFormatTypeQualifier.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWValueFormatTypeQualifier.cxx @@ -21,7 +21,7 @@ //================================================================================================= -RWStepShape_RWValueFormatTypeQualifier::RWStepShape_RWValueFormatTypeQualifier() {} +RWStepShape_RWValueFormatTypeQualifier::RWStepShape_RWValueFormatTypeQualifier() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertex.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertex.cxx index fc1c939a6e..1e4945a4f9 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertex.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertex.cxx @@ -16,7 +16,7 @@ #include #include -RWStepShape_RWVertex::RWStepShape_RWVertex() {} +RWStepShape_RWVertex::RWStepShape_RWVertex() = default; void RWStepShape_RWVertex::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexLoop.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexLoop.cxx index 64f297f9c4..2c6b3590dc 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexLoop.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexLoop.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWVertexLoop::RWStepShape_RWVertexLoop() {} +RWStepShape_RWVertexLoop::RWStepShape_RWVertexLoop() = default; void RWStepShape_RWVertexLoop::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexPoint.cxx b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexPoint.cxx index 7e210620a4..af2cd84992 100644 --- a/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexPoint.cxx +++ b/src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWVertexPoint.cxx @@ -18,7 +18,7 @@ #include #include -RWStepShape_RWVertexPoint::RWStepShape_RWVertexPoint() {} +RWStepShape_RWVertexPoint::RWStepShape_RWVertexPoint() = default; void RWStepShape_RWVertexPoint::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrence.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrence.cxx index 52d7cd4bba..4ea4064d59 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrence.cxx @@ -22,7 +22,7 @@ //================================================================================================= -RWStepVisual_RWAnnotationCurveOccurrence::RWStepVisual_RWAnnotationCurveOccurrence() {} +RWStepVisual_RWAnnotationCurveOccurrence::RWStepVisual_RWAnnotationCurveOccurrence() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx index 0e941e6834..cc6515cc42 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem.cxx @@ -23,9 +23,7 @@ //================================================================================================= RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem:: - RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem() -{ -} + RWStepVisual_RWAnnotationCurveOccurrenceAndGeomReprItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillArea.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillArea.cxx index 71593a10a7..e13adf0415 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillArea.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillArea.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepVisual_RWAnnotationFillArea::RWStepVisual_RWAnnotationFillArea() {} +RWStepVisual_RWAnnotationFillArea::RWStepVisual_RWAnnotationFillArea() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillAreaOccurrence.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillAreaOccurrence.cxx index 62ff19b9f7..81bd17ca9f 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillAreaOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationFillAreaOccurrence.cxx @@ -23,7 +23,8 @@ //================================================================================================= -RWStepVisual_RWAnnotationFillAreaOccurrence::RWStepVisual_RWAnnotationFillAreaOccurrence() {} +RWStepVisual_RWAnnotationFillAreaOccurrence::RWStepVisual_RWAnnotationFillAreaOccurrence() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationOccurrence.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationOccurrence.cxx index 6bade38d7f..31899cfea2 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationOccurrence.cxx @@ -22,7 +22,7 @@ //================================================================================================= -RWStepVisual_RWAnnotationOccurrence::RWStepVisual_RWAnnotationOccurrence() {} +RWStepVisual_RWAnnotationOccurrence::RWStepVisual_RWAnnotationOccurrence() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationPlane.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationPlane.cxx index fedd2e26f3..6a313c3edf 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationPlane.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAnnotationPlane.cxx @@ -22,7 +22,7 @@ //================================================================================================= -RWStepVisual_RWAnnotationPlane::RWStepVisual_RWAnnotationPlane() {} +RWStepVisual_RWAnnotationPlane::RWStepVisual_RWAnnotationPlane() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAreaInSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAreaInSet.cxx index cfe8d05e77..3bb3cf3aa6 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAreaInSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWAreaInSet.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWAreaInSet::RWStepVisual_RWAreaInSet() {} +RWStepVisual_RWAreaInSet::RWStepVisual_RWAreaInSet() = default; void RWStepVisual_RWAreaInSet::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWBackgroundColour.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWBackgroundColour.cxx index 02ecd5b7bf..7f99224f29 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWBackgroundColour.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWBackgroundColour.cxx @@ -17,7 +17,7 @@ #include #include -RWStepVisual_RWBackgroundColour::RWStepVisual_RWBackgroundColour() {} +RWStepVisual_RWBackgroundColour::RWStepVisual_RWBackgroundColour() = default; void RWStepVisual_RWBackgroundColour::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraImage.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraImage.cxx index 60e82bf84a..5f24a40f81 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraImage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraImage.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWCameraImage::RWStepVisual_RWCameraImage() {} +RWStepVisual_RWCameraImage::RWStepVisual_RWCameraImage() = default; void RWStepVisual_RWCameraImage::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModel.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModel.cxx index 54d72bd3d9..705ec07837 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModel.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWCameraModel::RWStepVisual_RWCameraModel() {} +RWStepVisual_RWCameraModel::RWStepVisual_RWCameraModel() = default; void RWStepVisual_RWCameraModel::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD2.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD2.cxx index cdc9040b71..35d11ff14c 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD2.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD2.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWCameraModelD2::RWStepVisual_RWCameraModelD2() {} +RWStepVisual_RWCameraModelD2::RWStepVisual_RWCameraModelD2() = default; void RWStepVisual_RWCameraModelD2::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3.cxx index 7ab5c3842e..01271be585 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWCameraModelD3::RWStepVisual_RWCameraModelD3() {} +RWStepVisual_RWCameraModelD3::RWStepVisual_RWCameraModelD3() = default; void RWStepVisual_RWCameraModelD3::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClipping.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClipping.cxx index f2f3b9e032..a1bd05f665 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClipping.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClipping.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepVisual_RWCameraModelD3MultiClipping::RWStepVisual_RWCameraModelD3MultiClipping() {} +RWStepVisual_RWCameraModelD3MultiClipping::RWStepVisual_RWCameraModelD3MultiClipping() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingIntersection.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingIntersection.cxx index 45dd5a8f34..aab947c1cc 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingIntersection.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingIntersection.cxx @@ -26,9 +26,7 @@ //================================================================================================= RWStepVisual_RWCameraModelD3MultiClippingIntersection:: - RWStepVisual_RWCameraModelD3MultiClippingIntersection() -{ -} + RWStepVisual_RWCameraModelD3MultiClippingIntersection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingUnion.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingUnion.cxx index 540be60e62..23fe2d3bab 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingUnion.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraModelD3MultiClippingUnion.cxx @@ -25,7 +25,8 @@ //================================================================================================= -RWStepVisual_RWCameraModelD3MultiClippingUnion::RWStepVisual_RWCameraModelD3MultiClippingUnion() {} +RWStepVisual_RWCameraModelD3MultiClippingUnion::RWStepVisual_RWCameraModelD3MultiClippingUnion() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraUsage.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraUsage.cxx index cde98fd31a..bd2b64ba9d 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCameraUsage.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWCameraUsage::RWStepVisual_RWCameraUsage() {} +RWStepVisual_RWCameraUsage::RWStepVisual_RWCameraUsage() = default; void RWStepVisual_RWCameraUsage::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx index ed3bf2f79a..6232bf5bf8 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel.cxx @@ -24,9 +24,7 @@ //================================================================================================= RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel:: - RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel() -{ -} + RWStepVisual_RWCharacterizedObjAndRepresentationAndDraughtingModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColour.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColour.cxx index 9f819bd70c..7868aa6608 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColour.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColour.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWColour::RWStepVisual_RWColour() {} +RWStepVisual_RWColour::RWStepVisual_RWColour() = default; void RWStepVisual_RWColour::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourRgb.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourRgb.cxx index 84eede9097..1f6a1f93c0 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourRgb.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourRgb.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWColourRgb::RWStepVisual_RWColourRgb() {} +RWStepVisual_RWColourRgb::RWStepVisual_RWColourRgb() = default; void RWStepVisual_RWColourRgb::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourSpecification.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourSpecification.cxx index f3e5a2a9b0..2cccf5ff70 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourSpecification.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWColourSpecification.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWColourSpecification::RWStepVisual_RWColourSpecification() {} +RWStepVisual_RWColourSpecification::RWStepVisual_RWColourSpecification() = default; void RWStepVisual_RWColourSpecification::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.cxx index 39eb899c9b..6515ccd82f 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.cxx @@ -32,7 +32,7 @@ //================================================================================================= -RWStepVisual_RWComplexTriangulatedFace::RWStepVisual_RWComplexTriangulatedFace() {} +RWStepVisual_RWComplexTriangulatedFace::RWStepVisual_RWComplexTriangulatedFace() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.cxx index 9545a25c84..7adc948ce0 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.cxx @@ -31,7 +31,8 @@ //================================================================================================= -RWStepVisual_RWComplexTriangulatedSurfaceSet::RWStepVisual_RWComplexTriangulatedSurfaceSet() {} +RWStepVisual_RWComplexTriangulatedSurfaceSet::RWStepVisual_RWComplexTriangulatedSurfaceSet() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeText.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeText.cxx index bdb1d2a772..9ba11ba730 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeText.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeText.cxx @@ -21,7 +21,7 @@ #include #include -RWStepVisual_RWCompositeText::RWStepVisual_RWCompositeText() {} +RWStepVisual_RWCompositeText::RWStepVisual_RWCompositeText() = default; void RWStepVisual_RWCompositeText::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeTextWithExtent.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeTextWithExtent.cxx index 039b469c10..fee62ef01a 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeTextWithExtent.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCompositeTextWithExtent.cxx @@ -22,7 +22,7 @@ #include #include -RWStepVisual_RWCompositeTextWithExtent::RWStepVisual_RWCompositeTextWithExtent() {} +RWStepVisual_RWCompositeTextWithExtent::RWStepVisual_RWCompositeTextWithExtent() = default; void RWStepVisual_RWCompositeTextWithExtent::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentInvisibility.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentInvisibility.cxx index 07b96bdf7d..c085803cfd 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentInvisibility.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentInvisibility.cxx @@ -22,7 +22,8 @@ #include #include -RWStepVisual_RWContextDependentInvisibility::RWStepVisual_RWContextDependentInvisibility() {} +RWStepVisual_RWContextDependentInvisibility::RWStepVisual_RWContextDependentInvisibility() = + default; void RWStepVisual_RWContextDependentInvisibility::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentOverRidingStyledItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentOverRidingStyledItem.cxx index 5c9ff1ebf5..08a713be83 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentOverRidingStyledItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWContextDependentOverRidingStyledItem.cxx @@ -24,9 +24,7 @@ #include RWStepVisual_RWContextDependentOverRidingStyledItem:: - RWStepVisual_RWContextDependentOverRidingStyledItem() -{ -} + RWStepVisual_RWContextDependentOverRidingStyledItem() = default; void RWStepVisual_RWContextDependentOverRidingStyledItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCoordinatesList.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCoordinatesList.cxx index 8fbe2c3daf..cbed007b96 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCoordinatesList.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCoordinatesList.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepVisual_RWCoordinatesList::RWStepVisual_RWCoordinatesList() {} +RWStepVisual_RWCoordinatesList::RWStepVisual_RWCoordinatesList() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.cxx index 3e9bbabb18..72ba8c4f0d 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepVisual_RWCubicBezierTessellatedEdge::RWStepVisual_RWCubicBezierTessellatedEdge() {} +RWStepVisual_RWCubicBezierTessellatedEdge::RWStepVisual_RWCubicBezierTessellatedEdge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.cxx index d722dcfa4c..6008a08421 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.cxx @@ -31,7 +31,7 @@ //================================================================================================= -RWStepVisual_RWCubicBezierTriangulatedFace::RWStepVisual_RWCubicBezierTriangulatedFace() {} +RWStepVisual_RWCubicBezierTriangulatedFace::RWStepVisual_RWCubicBezierTriangulatedFace() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyle.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyle.cxx index a3205b4f8a..3e987ebc2d 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyle.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyle.cxx @@ -22,7 +22,7 @@ // #include //================================================================================================= -RWStepVisual_RWCurveStyle::RWStepVisual_RWCurveStyle() {} +RWStepVisual_RWCurveStyle::RWStepVisual_RWCurveStyle() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFont.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFont.cxx index 4711a05f05..ead5aaf6f2 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFont.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFont.cxx @@ -21,7 +21,7 @@ #include #include -RWStepVisual_RWCurveStyleFont::RWStepVisual_RWCurveStyleFont() {} +RWStepVisual_RWCurveStyleFont::RWStepVisual_RWCurveStyleFont() = default; void RWStepVisual_RWCurveStyleFont::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFontPattern.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFontPattern.cxx index d4a6ffbfb3..adb2a5e269 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFontPattern.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWCurveStyleFontPattern.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWCurveStyleFontPattern::RWStepVisual_RWCurveStyleFontPattern() {} +RWStepVisual_RWCurveStyleFontPattern::RWStepVisual_RWCurveStyleFontPattern() = default; void RWStepVisual_RWCurveStyleFontPattern::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingCallout.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingCallout.cxx index 23dbd2a5f4..97c8d10695 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingCallout.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingCallout.cxx @@ -22,7 +22,7 @@ //================================================================================================= -RWStepVisual_RWDraughtingCallout::RWStepVisual_RWDraughtingCallout() {} +RWStepVisual_RWDraughtingCallout::RWStepVisual_RWDraughtingCallout() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingModel.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingModel.cxx index 55006ad943..cf439e7aa4 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingModel.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingModel.cxx @@ -25,7 +25,7 @@ //================================================================================================= -RWStepVisual_RWDraughtingModel::RWStepVisual_RWDraughtingModel() {} +RWStepVisual_RWDraughtingModel::RWStepVisual_RWDraughtingModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedColour.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedColour.cxx index 63630f29ff..5939987d84 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedColour.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedColour.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWDraughtingPreDefinedColour::RWStepVisual_RWDraughtingPreDefinedColour() {} +RWStepVisual_RWDraughtingPreDefinedColour::RWStepVisual_RWDraughtingPreDefinedColour() = default; void RWStepVisual_RWDraughtingPreDefinedColour::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedCurveFont.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedCurveFont.cxx index ce669314eb..ffd422608c 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedCurveFont.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWDraughtingPreDefinedCurveFont.cxx @@ -16,7 +16,8 @@ #include #include -RWStepVisual_RWDraughtingPreDefinedCurveFont::RWStepVisual_RWDraughtingPreDefinedCurveFont() {} +RWStepVisual_RWDraughtingPreDefinedCurveFont::RWStepVisual_RWDraughtingPreDefinedCurveFont() = + default; void RWStepVisual_RWDraughtingPreDefinedCurveFont::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWExternallyDefinedCurveFont.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWExternallyDefinedCurveFont.cxx index e04bf6c3d2..12570acf7d 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWExternallyDefinedCurveFont.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWExternallyDefinedCurveFont.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepVisual_RWExternallyDefinedCurveFont::RWStepVisual_RWExternallyDefinedCurveFont() {} +RWStepVisual_RWExternallyDefinedCurveFont::RWStepVisual_RWExternallyDefinedCurveFont() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyle.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyle.cxx index d65821f19d..404adb8616 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyle.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyle.cxx @@ -21,7 +21,7 @@ #include #include -RWStepVisual_RWFillAreaStyle::RWStepVisual_RWFillAreaStyle() {} +RWStepVisual_RWFillAreaStyle::RWStepVisual_RWFillAreaStyle() = default; void RWStepVisual_RWFillAreaStyle::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyleColour.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyleColour.cxx index 553f92991b..dec21611c2 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyleColour.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWFillAreaStyleColour.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWFillAreaStyleColour::RWStepVisual_RWFillAreaStyleColour() {} +RWStepVisual_RWFillAreaStyleColour::RWStepVisual_RWFillAreaStyleColour() = default; void RWStepVisual_RWFillAreaStyleColour::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWInvisibility.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWInvisibility.cxx index 89d6d0af7f..61ee48fe47 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWInvisibility.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWInvisibility.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWInvisibility::RWStepVisual_RWInvisibility() {} +RWStepVisual_RWInvisibility::RWStepVisual_RWInvisibility() = default; void RWStepVisual_RWInvisibility::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationArea.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationArea.cxx index 87638d1eb8..d2d1fa2af1 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationArea.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationArea.cxx @@ -20,9 +20,7 @@ #include RWStepVisual_RWMechanicalDesignGeometricPresentationArea:: - RWStepVisual_RWMechanicalDesignGeometricPresentationArea() -{ -} + RWStepVisual_RWMechanicalDesignGeometricPresentationArea() = default; void RWStepVisual_RWMechanicalDesignGeometricPresentationArea::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation.cxx index 4aa6ed9e9e..353a415030 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation.cxx @@ -20,9 +20,7 @@ #include RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation:: - RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation() -{ -} + RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation() = default; void RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWOverRidingStyledItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWOverRidingStyledItem.cxx index 24f71edfd9..6cbf9b018a 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWOverRidingStyledItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWOverRidingStyledItem.cxx @@ -20,7 +20,7 @@ #include #include -RWStepVisual_RWOverRidingStyledItem::RWStepVisual_RWOverRidingStyledItem() {} +RWStepVisual_RWOverRidingStyledItem::RWStepVisual_RWOverRidingStyledItem() = default; void RWStepVisual_RWOverRidingStyledItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarBox.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarBox.cxx index c2fcc6c3e7..fb4b6f27c7 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarBox.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarBox.cxx @@ -17,7 +17,7 @@ #include #include -RWStepVisual_RWPlanarBox::RWStepVisual_RWPlanarBox() {} +RWStepVisual_RWPlanarBox::RWStepVisual_RWPlanarBox() = default; void RWStepVisual_RWPlanarBox::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarExtent.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarExtent.cxx index 9796dd7c63..851b19a2dd 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarExtent.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPlanarExtent.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWPlanarExtent::RWStepVisual_RWPlanarExtent() {} +RWStepVisual_RWPlanarExtent::RWStepVisual_RWPlanarExtent() = default; void RWStepVisual_RWPlanarExtent::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPointStyle.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPointStyle.cxx index 2c8f076283..85fdbf0812 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPointStyle.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPointStyle.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWPointStyle::RWStepVisual_RWPointStyle() {} +RWStepVisual_RWPointStyle::RWStepVisual_RWPointStyle() = default; void RWStepVisual_RWPointStyle::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedColour.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedColour.cxx index ef81396366..311037ff73 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedColour.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedColour.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWPreDefinedColour::RWStepVisual_RWPreDefinedColour() {} +RWStepVisual_RWPreDefinedColour::RWStepVisual_RWPreDefinedColour() = default; void RWStepVisual_RWPreDefinedColour::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedCurveFont.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedCurveFont.cxx index 6ac720f4ac..62333c0ea6 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedCurveFont.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedCurveFont.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWPreDefinedCurveFont::RWStepVisual_RWPreDefinedCurveFont() {} +RWStepVisual_RWPreDefinedCurveFont::RWStepVisual_RWPreDefinedCurveFont() = default; void RWStepVisual_RWPreDefinedCurveFont::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedItem.cxx index 364d459d11..2ea7f58ed7 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPreDefinedItem.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWPreDefinedItem::RWStepVisual_RWPreDefinedItem() {} +RWStepVisual_RWPreDefinedItem::RWStepVisual_RWPreDefinedItem() = default; void RWStepVisual_RWPreDefinedItem::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationArea.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationArea.cxx index 5f67fbc514..f8e23fc4ac 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationArea.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationArea.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWPresentationArea::RWStepVisual_RWPresentationArea() {} +RWStepVisual_RWPresentationArea::RWStepVisual_RWPresentationArea() = default; void RWStepVisual_RWPresentationArea::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerAssignment.cxx index de105b049f..da27d19034 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerAssignment.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWPresentationLayerAssignment::RWStepVisual_RWPresentationLayerAssignment() {} +RWStepVisual_RWPresentationLayerAssignment::RWStepVisual_RWPresentationLayerAssignment() = default; void RWStepVisual_RWPresentationLayerAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerUsage.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerUsage.cxx index dada758e98..964ac38f3a 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerUsage.cxx @@ -20,7 +20,7 @@ #include #include -RWStepVisual_RWPresentationLayerUsage::RWStepVisual_RWPresentationLayerUsage() {} +RWStepVisual_RWPresentationLayerUsage::RWStepVisual_RWPresentationLayerUsage() = default; void RWStepVisual_RWPresentationLayerUsage::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationRepresentation.cxx index d61439ffa9..da4d14c7bb 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationRepresentation.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWPresentationRepresentation::RWStepVisual_RWPresentationRepresentation() {} +RWStepVisual_RWPresentationRepresentation::RWStepVisual_RWPresentationRepresentation() = default; void RWStepVisual_RWPresentationRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSet.cxx index 3b6d92a7ba..365705a8ed 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSet.cxx @@ -16,7 +16,7 @@ #include #include -RWStepVisual_RWPresentationSet::RWStepVisual_RWPresentationSet() {} +RWStepVisual_RWPresentationSet::RWStepVisual_RWPresentationSet() = default; void RWStepVisual_RWPresentationSet::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSize.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSize.cxx index 299cc6277c..831885d8e1 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSize.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationSize.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWPresentationSize::RWStepVisual_RWPresentationSize() {} +RWStepVisual_RWPresentationSize::RWStepVisual_RWPresentationSize() = default; void RWStepVisual_RWPresentationSize::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleAssignment.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleAssignment.cxx index 64d8cca096..23ce6f7576 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleAssignment.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleAssignment.cxx @@ -20,7 +20,7 @@ #include #include -RWStepVisual_RWPresentationStyleAssignment::RWStepVisual_RWPresentationStyleAssignment() {} +RWStepVisual_RWPresentationStyleAssignment::RWStepVisual_RWPresentationStyleAssignment() = default; void RWStepVisual_RWPresentationStyleAssignment::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleByContext.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleByContext.cxx index 5ee27f189f..9f2c07f82c 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleByContext.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationStyleByContext.cxx @@ -21,7 +21,7 @@ #include #include -RWStepVisual_RWPresentationStyleByContext::RWStepVisual_RWPresentationStyleByContext() {} +RWStepVisual_RWPresentationStyleByContext::RWStepVisual_RWPresentationStyleByContext() = default; void RWStepVisual_RWPresentationStyleByContext::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationView.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationView.cxx index 26c5f8b482..0c2899cc3e 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationView.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationView.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWPresentationView::RWStepVisual_RWPresentationView() {} +RWStepVisual_RWPresentationView::RWStepVisual_RWPresentationView() = default; void RWStepVisual_RWPresentationView::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentedItemRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentedItemRepresentation.cxx index e5d4bf327f..92ebd789e1 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentedItemRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentedItemRepresentation.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWPresentedItemRepresentation::RWStepVisual_RWPresentedItemRepresentation() {} +RWStepVisual_RWPresentedItemRepresentation::RWStepVisual_RWPresentedItemRepresentation() = default; void RWStepVisual_RWPresentedItemRepresentation::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWStyledItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWStyledItem.cxx index 7787a43b02..1dc7246b76 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWStyledItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWStyledItem.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWStyledItem::RWStepVisual_RWStyledItem() {} +RWStepVisual_RWStyledItem::RWStepVisual_RWStyledItem() = default; void RWStepVisual_RWStyledItem::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceSideStyle.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceSideStyle.cxx index bd0c6bf1c0..605d479b75 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceSideStyle.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceSideStyle.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWSurfaceSideStyle::RWStepVisual_RWSurfaceSideStyle() {} +RWStepVisual_RWSurfaceSideStyle::RWStepVisual_RWSurfaceSideStyle() = default; void RWStepVisual_RWSurfaceSideStyle::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleBoundary.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleBoundary.cxx index 5a1051e344..3853b040a8 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleBoundary.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleBoundary.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWSurfaceStyleBoundary::RWStepVisual_RWSurfaceStyleBoundary() {} +RWStepVisual_RWSurfaceStyleBoundary::RWStepVisual_RWSurfaceStyleBoundary() = default; void RWStepVisual_RWSurfaceStyleBoundary::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleControlGrid.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleControlGrid.cxx index b22a378409..f2b8d83b83 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleControlGrid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleControlGrid.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWSurfaceStyleControlGrid::RWStepVisual_RWSurfaceStyleControlGrid() {} +RWStepVisual_RWSurfaceStyleControlGrid::RWStepVisual_RWSurfaceStyleControlGrid() = default; void RWStepVisual_RWSurfaceStyleControlGrid::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleFillArea.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleFillArea.cxx index f121d26a56..af32e35ab3 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleFillArea.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleFillArea.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWSurfaceStyleFillArea::RWStepVisual_RWSurfaceStyleFillArea() {} +RWStepVisual_RWSurfaceStyleFillArea::RWStepVisual_RWSurfaceStyleFillArea() = default; void RWStepVisual_RWSurfaceStyleFillArea::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleParameterLine.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleParameterLine.cxx index d3e411975b..8ee64fdc17 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleParameterLine.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleParameterLine.cxx @@ -20,7 +20,7 @@ #include #include -RWStepVisual_RWSurfaceStyleParameterLine::RWStepVisual_RWSurfaceStyleParameterLine() {} +RWStepVisual_RWSurfaceStyleParameterLine::RWStepVisual_RWSurfaceStyleParameterLine() = default; void RWStepVisual_RWSurfaceStyleParameterLine::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbient.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbient.cxx index 3453fc9e77..36c16588f6 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbient.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbient.cxx @@ -23,7 +23,8 @@ //================================================================================================= -RWStepVisual_RWSurfaceStyleReflectanceAmbient::RWStepVisual_RWSurfaceStyleReflectanceAmbient() {} +RWStepVisual_RWSurfaceStyleReflectanceAmbient::RWStepVisual_RWSurfaceStyleReflectanceAmbient() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse.cxx index c0626c00af..8198bdd623 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse.cxx @@ -21,9 +21,7 @@ //================================================================================================= RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse:: - RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse() -{ -} + RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular.cxx index 5d714a37d0..967397d02a 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular.cxx @@ -22,9 +22,7 @@ //================================================================================================= RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular:: - RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular() -{ -} + RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRendering.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRendering.cxx index 30f06bfa08..583245e7a6 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRendering.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRendering.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepVisual_RWSurfaceStyleRendering::RWStepVisual_RWSurfaceStyleRendering() {} +RWStepVisual_RWSurfaceStyleRendering::RWStepVisual_RWSurfaceStyleRendering() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRenderingWithProperties.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRenderingWithProperties.cxx index 55dfddb786..07a4eeb5ad 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRenderingWithProperties.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleRenderingWithProperties.cxx @@ -28,9 +28,7 @@ //================================================================================================= RWStepVisual_RWSurfaceStyleRenderingWithProperties:: - RWStepVisual_RWSurfaceStyleRenderingWithProperties() -{ -} + RWStepVisual_RWSurfaceStyleRenderingWithProperties() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSegmentationCurve.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSegmentationCurve.cxx index ae92f0a306..a39dd23fd8 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSegmentationCurve.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSegmentationCurve.cxx @@ -18,7 +18,8 @@ #include #include -RWStepVisual_RWSurfaceStyleSegmentationCurve::RWStepVisual_RWSurfaceStyleSegmentationCurve() {} +RWStepVisual_RWSurfaceStyleSegmentationCurve::RWStepVisual_RWSurfaceStyleSegmentationCurve() = + default; void RWStepVisual_RWSurfaceStyleSegmentationCurve::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSilhouette.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSilhouette.cxx index efd2009284..5f4a17d91c 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSilhouette.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleSilhouette.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWSurfaceStyleSilhouette::RWStepVisual_RWSurfaceStyleSilhouette() {} +RWStepVisual_RWSurfaceStyleSilhouette::RWStepVisual_RWSurfaceStyleSilhouette() = default; void RWStepVisual_RWSurfaceStyleSilhouette::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleTransparent.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleTransparent.cxx index e29b9d6e86..1b3fb641a4 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleTransparent.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleTransparent.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepVisual_RWSurfaceStyleTransparent::RWStepVisual_RWSurfaceStyleTransparent() {} +RWStepVisual_RWSurfaceStyleTransparent::RWStepVisual_RWSurfaceStyleTransparent() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleUsage.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleUsage.cxx index cdb2d8cfc7..ec77492290 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleUsage.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleUsage.cxx @@ -21,7 +21,7 @@ #include "RWStepVisual_RWSurfaceSide.pxx" -RWStepVisual_RWSurfaceStyleUsage::RWStepVisual_RWSurfaceStyleUsage() {} +RWStepVisual_RWSurfaceStyleUsage::RWStepVisual_RWSurfaceStyleUsage() = default; void RWStepVisual_RWSurfaceStyleUsage::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplate.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplate.cxx index 0a3e105130..b11d2308f7 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplate.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplate.cxx @@ -19,7 +19,7 @@ #include #include -RWStepVisual_RWTemplate::RWStepVisual_RWTemplate() {} +RWStepVisual_RWTemplate::RWStepVisual_RWTemplate() = default; void RWStepVisual_RWTemplate::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplateInstance.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplateInstance.cxx index 704894574b..5c4c3167d3 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplateInstance.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTemplateInstance.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWTemplateInstance::RWStepVisual_RWTemplateInstance() {} +RWStepVisual_RWTemplateInstance::RWStepVisual_RWTemplateInstance() = default; void RWStepVisual_RWTemplateInstance::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedAnnotationOccurrence.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedAnnotationOccurrence.cxx index 9d4ec19c29..e85e70e3c2 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedAnnotationOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedAnnotationOccurrence.cxx @@ -22,7 +22,8 @@ //================================================================================================= -RWStepVisual_RWTessellatedAnnotationOccurrence::RWStepVisual_RWTessellatedAnnotationOccurrence() {} +RWStepVisual_RWTessellatedAnnotationOccurrence::RWStepVisual_RWTessellatedAnnotationOccurrence() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.cxx index 043476aab6..af66938440 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.cxx @@ -30,7 +30,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedConnectingEdge::RWStepVisual_RWTessellatedConnectingEdge() {} +RWStepVisual_RWTessellatedConnectingEdge::RWStepVisual_RWTessellatedConnectingEdge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedCurveSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedCurveSet.cxx index a44c0ff859..d5b7e1268d 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedCurveSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedCurveSet.cxx @@ -24,7 +24,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedCurveSet::RWStepVisual_RWTessellatedCurveSet() {} +RWStepVisual_RWTessellatedCurveSet::RWStepVisual_RWTessellatedCurveSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedEdge.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedEdge.cxx index 50f5c92ae0..ad4e0fe9bd 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedEdge.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedEdge.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedEdge::RWStepVisual_RWTessellatedEdge() {} +RWStepVisual_RWTessellatedEdge::RWStepVisual_RWTessellatedEdge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedGeometricSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedGeometricSet.cxx index a13148904e..cdf616d9f4 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedGeometricSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedGeometricSet.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedGeometricSet::RWStepVisual_RWTessellatedGeometricSet() {} +RWStepVisual_RWTessellatedGeometricSet::RWStepVisual_RWTessellatedGeometricSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedItem.cxx index 668c040063..05d95dc846 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedItem.cxx @@ -18,7 +18,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedItem::RWStepVisual_RWTessellatedItem() {} +RWStepVisual_RWTessellatedItem::RWStepVisual_RWTessellatedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedPointSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedPointSet.cxx index 29d78249f4..b9d4cd54d0 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedPointSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedPointSet.cxx @@ -27,7 +27,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedPointSet::RWStepVisual_RWTessellatedPointSet() {} +RWStepVisual_RWTessellatedPointSet::RWStepVisual_RWTessellatedPointSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.cxx index 991cb276aa..b94fd9b74f 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.cxx @@ -27,7 +27,8 @@ //================================================================================================= -RWStepVisual_RWTessellatedShapeRepresentation::RWStepVisual_RWTessellatedShapeRepresentation() {} +RWStepVisual_RWTessellatedShapeRepresentation::RWStepVisual_RWTessellatedShapeRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.cxx index e7a91fa0a9..38cfaebc8a 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.cxx @@ -28,9 +28,7 @@ //================================================================================================= RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters:: - RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters() -{ -} + RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShell.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShell.cxx index 443f45fedd..435592ae48 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShell.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedShell.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedShell::RWStepVisual_RWTessellatedShell() {} +RWStepVisual_RWTessellatedShell::RWStepVisual_RWTessellatedShell() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedSolid.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedSolid.cxx index 9f465344c4..adcf060e59 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedSolid.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedSolid.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedSolid::RWStepVisual_RWTessellatedSolid() {} +RWStepVisual_RWTessellatedSolid::RWStepVisual_RWTessellatedSolid() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.cxx index bf6155a039..b9db46367b 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedStructuredItem::RWStepVisual_RWTessellatedStructuredItem() {} +RWStepVisual_RWTessellatedStructuredItem::RWStepVisual_RWTessellatedStructuredItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedVertex.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedVertex.cxx index 228e1540d8..c89a098f33 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedVertex.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedVertex.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedVertex::RWStepVisual_RWTessellatedVertex() {} +RWStepVisual_RWTessellatedVertex::RWStepVisual_RWTessellatedVertex() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedWire.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedWire.cxx index 1f0c6bf52e..861ad39bfa 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedWire.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTessellatedWire.cxx @@ -26,7 +26,7 @@ //================================================================================================= -RWStepVisual_RWTessellatedWire::RWStepVisual_RWTessellatedWire() {} +RWStepVisual_RWTessellatedWire::RWStepVisual_RWTessellatedWire() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextLiteral.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextLiteral.cxx index a78c1d7646..ad6e43b553 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextLiteral.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextLiteral.cxx @@ -21,7 +21,7 @@ #include "RWStepVisual_RWTextPath.pxx" -RWStepVisual_RWTextLiteral::RWStepVisual_RWTextLiteral() {} +RWStepVisual_RWTextLiteral::RWStepVisual_RWTextLiteral() = default; void RWStepVisual_RWTextLiteral::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyle.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyle.cxx index 2bc42ef1c5..6966a41b1d 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyle.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyle.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWTextStyle::RWStepVisual_RWTextStyle() {} +RWStepVisual_RWTextStyle::RWStepVisual_RWTextStyle() = default; void RWStepVisual_RWTextStyle::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleForDefinedFont.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleForDefinedFont.cxx index 63f166b0af..42233fbfa8 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleForDefinedFont.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleForDefinedFont.cxx @@ -18,7 +18,7 @@ #include #include -RWStepVisual_RWTextStyleForDefinedFont::RWStepVisual_RWTextStyleForDefinedFont() {} +RWStepVisual_RWTextStyleForDefinedFont::RWStepVisual_RWTextStyleForDefinedFont() = default; void RWStepVisual_RWTextStyleForDefinedFont::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleWithBoxCharacteristics.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleWithBoxCharacteristics.cxx index aa89fb5abb..347d60125e 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleWithBoxCharacteristics.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTextStyleWithBoxCharacteristics.cxx @@ -20,7 +20,8 @@ #include #include -RWStepVisual_RWTextStyleWithBoxCharacteristics::RWStepVisual_RWTextStyleWithBoxCharacteristics() {} +RWStepVisual_RWTextStyleWithBoxCharacteristics::RWStepVisual_RWTextStyleWithBoxCharacteristics() = + default; void RWStepVisual_RWTextStyleWithBoxCharacteristics::ReadStep( const occ::handle& data, diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedFace.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedFace.cxx index 643f83c86d..5fdf26e9e0 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedFace.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedFace.cxx @@ -31,7 +31,7 @@ //================================================================================================= -RWStepVisual_RWTriangulatedFace::RWStepVisual_RWTriangulatedFace() {} +RWStepVisual_RWTriangulatedFace::RWStepVisual_RWTriangulatedFace() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedSurfaceSet.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedSurfaceSet.cxx index 3aabc6c7d3..bde773b472 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedSurfaceSet.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWTriangulatedSurfaceSet.cxx @@ -28,7 +28,7 @@ //================================================================================================= -RWStepVisual_RWTriangulatedSurfaceSet::RWStepVisual_RWTriangulatedSurfaceSet() {} +RWStepVisual_RWTriangulatedSurfaceSet::RWStepVisual_RWTriangulatedSurfaceSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWViewVolume.cxx b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWViewVolume.cxx index 2633c49284..4eeb05375b 100644 --- a/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWViewVolume.cxx +++ b/src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWViewVolume.cxx @@ -22,7 +22,7 @@ #include "RWStepVisual_RWCentralOrParallel.pxx" -RWStepVisual_RWViewVolume::RWStepVisual_RWViewVolume() {} +RWStepVisual_RWViewVolume::RWStepVisual_RWViewVolume() = default; void RWStepVisual_RWViewVolume::ReadStep(const occ::handle& data, const int num, diff --git a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_ActorWrite.hxx b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_ActorWrite.hxx index 190b6a83bd..c7a5f47374 100644 --- a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_ActorWrite.hxx +++ b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_ActorWrite.hxx @@ -35,8 +35,8 @@ public: //! Check whether shape S is assembly //! Returns True if shape is registered in assemblies map - Standard_EXPORT virtual bool IsAssembly(const occ::handle& theModel, - TopoDS_Shape& S) const override; + Standard_EXPORT bool IsAssembly(const occ::handle& theModel, + TopoDS_Shape& S) const override; //! Set standard mode of work //! In standard mode Actor (default) behaves exactly as its diff --git a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_GDTProperty.cxx b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_GDTProperty.cxx index 84ae7ee5ae..7595be1a0e 100644 --- a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_GDTProperty.cxx +++ b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_GDTProperty.cxx @@ -301,7 +301,7 @@ occ::handle GenerateTessellatedCurveSet( //================================================================================================= -STEPCAFControl_GDTProperty::STEPCAFControl_GDTProperty() {} +STEPCAFControl_GDTProperty::STEPCAFControl_GDTProperty() = default; //================================================================================================= @@ -1316,7 +1316,7 @@ occ::handle STEPCAFControl_GDTProperty::GetGeomTo case XCAFDimTolObjects_GeomToleranceType_Straightness: return new StepDimTol_StraightnessTolerance(); default: - return NULL; + return nullptr; } } @@ -1374,7 +1374,7 @@ occ::handle> STEPCAFContr { if ((theModifiers.Length() == 0) && (theModifWithVal == XCAFDimTolObjects_DatumModifWithValue_None)) - return NULL; + return nullptr; int aModifNb = theModifiers.Length(); if (theModifWithVal != XCAFDimTolObjects_DatumModifWithValue_None) aModifNb++; diff --git a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx index c8aa5ae2c6..65ad4f040f 100644 --- a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx +++ b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx @@ -538,7 +538,7 @@ bool STEPCAFControl_Reader::Transfer(STEPControl_Reader& reader if (num <= 0) return false; - Message_ProgressScope aPSRoot(theProgress, NULL, 2); + Message_ProgressScope aPSRoot(theProgress, nullptr, 2); if (nroot) { @@ -548,7 +548,7 @@ bool STEPCAFControl_Reader::Transfer(STEPControl_Reader& reader } else { - Message_ProgressScope aPS(aPSRoot.Next(), NULL, num); + Message_ProgressScope aPS(aPSRoot.Next(), nullptr, num); for (i = 1; i <= num && aPS.More(); i++) reader.TransferOneRoot(i, aPS.Next()); } @@ -634,7 +634,7 @@ bool STEPCAFControl_Reader::Transfer(STEPControl_Reader& reader // and fill map SDR -> extern file STEPConstruct_ExternRefs ExtRefs(reader.WS()); ExtRefs.LoadExternRefs(); - Message_ProgressScope aPSE(aPSRoot.Next(), NULL, ExtRefs.NbExternRefs()); + Message_ProgressScope aPSE(aPSRoot.Next(), nullptr, ExtRefs.NbExternRefs()); for (i = 1; i <= ExtRefs.NbExternRefs() && aPSE.More(); i++) { Message_ProgressRange aRange = aPSE.Next(); @@ -1572,7 +1572,7 @@ bool STEPCAFControl_Reader::ReadNames( if (PD.IsNull()) continue; occ::handle Prod = - (!PD->Formation().IsNull() ? PD->Formation()->OfProduct() : NULL); + (!PD->Formation().IsNull() ? PD->Formation()->OfProduct() : nullptr); if (Prod.IsNull()) name = new TCollection_HAsciiString; else if (!Prod->Name().IsNull() && Prod->Name()->UsefullLength() > 0) @@ -2511,7 +2511,7 @@ void readAnnotation(const occ::handle& theTR, aName->LowerCase(); if (!aName->Search(new TCollection_HAsciiString("pmi representation to presentation link"))) { - aDMIA = NULL; + aDMIA = nullptr; } } if (aDMIA.IsNull() || aDMIA->NbIdentifiedItem() == 0) @@ -2672,7 +2672,7 @@ void readConnectionPoints(const occ::handle& double aFact = 1.; - occ::handle aSDR = NULL; + occ::handle aSDR = nullptr; for (Interface_EntityIterator anIt = aGraph.Sharings(theGDT); aSDR.IsNull() && anIt.More(); anIt.Next()) { @@ -2700,7 +2700,7 @@ void readConnectionPoints(const occ::handle& occ::down_cast(aDim->AppliesTo()); if (aDSA.IsNull()) return; - occ::handle aGISU = NULL; + occ::handle aGISU = nullptr; for (Interface_EntityIterator anIt = aGraph.Sharings(aDSA); aGISU.IsNull() && anIt.More(); anIt.Next()) { @@ -2729,8 +2729,8 @@ void readConnectionPoints(const occ::handle& occ::down_cast(aDim->RelatedShapeAspect()); if (aDSA1.IsNull() && aDSA2.IsNull()) return; - occ::handle aGISU1 = NULL; - occ::handle aGISU2 = NULL; + occ::handle aGISU1 = nullptr; + occ::handle aGISU2 = nullptr; if (!aDSA1.IsNull()) { for (Interface_EntityIterator anIt = aGraph.Sharings(aDSA1); aGISU1.IsNull() && anIt.More(); @@ -2918,7 +2918,7 @@ static void collectShapeAspect(const occ::handle& if (theSA->IsKind(STANDARD_TYPE(StepRepr_DerivedShapeAspect))) { Interface_EntityIterator anIter = aGraph.Sharings(theSA); - occ::handle aSADR = NULL; + occ::handle aSADR = nullptr; for (; aSADR.IsNull() && anIter.More(); anIter.Next()) { aSADR = occ::down_cast(anIter.Value()); diff --git a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.cxx b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.cxx index 953511da69..a9528634dd 100644 --- a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.cxx +++ b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.cxx @@ -495,7 +495,7 @@ bool STEPCAFControl_Writer::Perform(const occ::handle& theDoc, const char* theFileName, const Message_ProgressRange& theProgress) { - if (!Transfer(theDoc, STEPControl_AsIs, 0L, theProgress)) + if (!Transfer(theDoc, STEPControl_AsIs, nullptr, theProgress)) return false; return Write(theFileName) == IFSelect_RetDone; } @@ -507,7 +507,7 @@ bool STEPCAFControl_Writer::Perform(const occ::handle& theDoc, const DESTEP_Parameters& theParams, const Message_ProgressRange& theProgress) { - if (!Transfer(theDoc, theParams, STEPControl_AsIs, 0L, theProgress)) + if (!Transfer(theDoc, theParams, STEPControl_AsIs, nullptr, theProgress)) return false; return Write(theFileName) == IFSelect_RetDone; } @@ -518,7 +518,7 @@ bool STEPCAFControl_Writer::Perform(const occ::handle& theDoc, const TCollection_AsciiString& theFileName, const Message_ProgressRange& theProgress) { - if (!Transfer(theDoc, STEPControl_AsIs, 0L, theProgress)) + if (!Transfer(theDoc, STEPControl_AsIs, nullptr, theProgress)) return false; return Write(theFileName.ToCString()) == IFSelect_RetDone; } @@ -714,7 +714,7 @@ bool STEPCAFControl_Writer::transfer(STEPControl_Writer& theW else { // translate final solids - Message_ProgressScope aPS1(aRange, NULL, 2); + Message_ProgressScope aPS1(aRange, nullptr, 2); TopoDS_Shape aSass = transferExternFiles(aCurL, theMode, aSubLabels, aLocalFactors, theIsMulti, aPS1.Next()); if (aPS1.UserBreak()) @@ -893,7 +893,7 @@ TopoDS_Shape STEPCAFControl_Writer::transferExternFiles(const TDF_Label& aStepWriter.Model()->InternalParameters.WriteAssembly; aStepWriter.Model()->InternalParameters.WriteAssembly = DESTEP_Parameters::WriteMode_Assembly_Off; - const char* anIsMulti = 0; + const char* anIsMulti = nullptr; anExtFile->SetTransferStatus( transfer(aStepWriter, aLabelSeq, theMode, anIsMulti, true, theProgress)); aStepWriter.Model()->InternalParameters.WriteAssembly = anAssemblymode; @@ -919,7 +919,7 @@ TopoDS_Shape STEPCAFControl_Writer::transferExternFiles(const TDF_Label& XCAFDoc_ShapeTool::GetComponents(theLabel, aCompLabels, false); theLabels.Append(aLabel); - Message_ProgressScope aPS(theProgress, NULL, aCompLabels.Length()); + Message_ProgressScope aPS(theProgress, nullptr, aCompLabels.Length()); // Iterate on requested shapes for (NCollection_Sequence::Iterator aLabelIter(aCompLabels); aLabelIter.More() && aPS.More(); @@ -1326,7 +1326,7 @@ static void MakeSTEPStyles( theDPDCs, theColRGBs, theShTool, - (aHasOwn ? &aStyle : 0), + (aHasOwn ? &aStyle : nullptr), false, theVisMaterialMode); } @@ -1428,7 +1428,7 @@ bool STEPCAFControl_Writer::writeColors(const occ::handle TopoDS_Shape aSub = XCAFDoc_ShapeTool::GetShape(aSeqValue); XCAFPrs_Style* aMapStyle = aSettings.ChangeSeek(aSub); - if (aMapStyle == NULL) + if (aMapStyle == nullptr) aSettings.Add(aSub, aStyle); else *aMapStyle = aStyle; @@ -1450,7 +1450,7 @@ bool STEPCAFControl_Writer::writeColors(const occ::handle DPDCs, ColRGBs, aSTool, - 0, + nullptr, anIsComponent, GetVisualMaterialMode()); @@ -1761,11 +1761,11 @@ bool STEPCAFControl_Writer::writeMetadataForLabel(const occ::handle& theModel, - const occ::handle theShapeDefRep, - const occ::handle& theProdDef, - const occ::handle& theItem) const + const TCollection_AsciiString& theKey, + const occ::handle& theModel, + const occ::handle& theShapeDefRep, + const occ::handle& theProdDef, + const occ::handle& theItem) const { // Empty string to use for empty values: const occ::handle anEmptyStr = new TCollection_HAsciiString(""); @@ -2596,7 +2596,7 @@ static occ::handle FindPDS( occ::handle& theRC) { if (theEnt.IsNull()) - return NULL; + return nullptr; occ::handle aPDS; // try to find shape_representation in sharings @@ -2747,7 +2747,7 @@ static occ::handle CreateDimValue( const char* theMeasureName, const bool theIsAngle, const bool theIsQualified = false, - const occ::handle& theQRI = NULL) + const occ::handle& theQRI = nullptr) { occ::handle aReprItem = new StepRepr_RepresentationItem(); aReprItem->Init(new TCollection_HAsciiString(theName)); @@ -2813,7 +2813,7 @@ occ::handle STEPCAFControl_Writer::writeShapeAspect( const occ::handle& aFP = aTW->FinderProcess(); const occ::handle aHGraph = theWS->HGraph(); if (aHGraph.IsNull()) - return NULL; + return nullptr; Interface_Graph aGraph = aHGraph->Graph(); TopLoc_Location aLoc; @@ -2823,7 +2823,7 @@ occ::handle STEPCAFControl_Writer::writeShapeAspect( { Message::SendTrace() << "Warning: Cannot find RI for " << theShape.TShape()->DynamicType()->Name() << "\n"; - return NULL; + return nullptr; } occ::handle aPDS; @@ -2831,7 +2831,7 @@ occ::handle STEPCAFControl_Writer::writeShapeAspect( occ::handle anEnt = aSeqRI.Value(1); aPDS = FindPDS(aGraph, anEnt, aRC); if (aPDS.IsNull()) - return NULL; + return nullptr; theRC = aRC; // Shape_Aspect @@ -2869,7 +2869,7 @@ occ::handle STEPCAFControl_Writer::writeShapeAspect( aSDR = occ::down_cast(anEntity); } if (aSDR.IsNull()) - return NULL; + return nullptr; // Set entities to model aGISU->Init(aName, aDescription, aDefinition, aSDR->UsedRepresentation(), anReprItems); @@ -3001,7 +3001,7 @@ occ::handle STEPCAFControl_Writer::writeDatumAP242( const occ::handle& aFP = aTW->FinderProcess(); const occ::handle aHGraph = theWS->HGraph(); if (aHGraph.IsNull()) - return NULL; + return nullptr; Interface_Graph aGraph = aHGraph->Graph(); occ::handle aSA; @@ -3058,10 +3058,10 @@ occ::handle STEPCAFControl_Writer::writeDatumAP242( // Find if datum has datum targets and get common datum attributes occ::handle aDatumAttr; if (!theDatumL.FindAttribute(XCAFDoc_Datum::GetID(), aDatumAttr)) - return NULL; + return nullptr; occ::handle anObject = aDatumAttr->GetObject(); if (anObject.IsNull()) - return NULL; + return nullptr; bool isSimpleDatum = !anObject->IsDatumTarget(); occ::handle anIdentifier = anObject->GetName(); occ::handle aTargetId = @@ -3165,7 +3165,7 @@ occ::handle STEPCAFControl_Writer::writeDatumAP242( occ::handle aPD = new StepRepr_PropertyDefinition(); StepRepr_CharacterizedDefinition aCDefinition; aCDefinition.SetValue(aPDTF); - aPD->Init(new TCollection_HAsciiString(), false, NULL, aCDefinition); + aPD->Init(new TCollection_HAsciiString(), false, nullptr, aCDefinition); if (anObject->HasDatumTargetParams()) { // write all parameters of datum target @@ -3239,7 +3239,7 @@ occ::handle STEPCAFControl_Writer::writeDatumAP242( { occ::handle aFFDTR = new StepRepr_FeatureForDatumTargetRelationship(); - aFFDTR->Init(new TCollection_HAsciiString(), false, NULL, aSASeq.Value(1), aDatumTarget); + aFFDTR->Init(new TCollection_HAsciiString(), false, nullptr, aSASeq.Value(1), aDatumTarget); aModel->AddWithRefs(aFFDTR); } else if (aSASeq.Length() > 1) @@ -3261,7 +3261,7 @@ occ::handle STEPCAFControl_Writer::writeDatumAP242( } occ::handle aFFDTR = new StepRepr_FeatureForDatumTargetRelationship(); - aFFDTR->Init(new TCollection_HAsciiString(), false, NULL, aCompSA, aDatumTarget); + aFFDTR->Init(new TCollection_HAsciiString(), false, nullptr, aCompSA, aDatumTarget); aModel->AddWithRefs(aFFDTR); } aSA = aDatumTarget; @@ -3284,7 +3284,7 @@ occ::handle STEPCAFControl_Writer::writeDatumAP242( if (!aSA.IsNull()) { occ::handle aSAR = new StepRepr_ShapeAspectRelationship(); - aSAR->Init(new TCollection_HAsciiString(), false, NULL, aSA, aDatum); + aSAR->Init(new TCollection_HAsciiString(), false, nullptr, aSA, aDatum); aModel->AddWithRefs(aSAR); } @@ -3466,7 +3466,7 @@ static void WriteDimValues(const occ::handle& aCoords->SetValue(3, aDir.Z()); anAxis->Init(new TCollection_HAsciiString(), aCoords); anOrientation - ->Init(new TCollection_HAsciiString("orientation"), aLoc, true, anAxis, false, NULL); + ->Init(new TCollection_HAsciiString("orientation"), aLoc, true, anAxis, false, nullptr); aValues->SetValue(aValIt, anOrientation); aValIt++; } @@ -3654,14 +3654,14 @@ static occ::handle> Write const occ::handle& aModel = theWS->Model(); const occ::handle aHGraph = theWS->HGraph(); if (aHGraph.IsNull()) - return NULL; + return nullptr; Interface_Graph aGraph = aHGraph->Graph(); occ::handle aGTAttr; if (!theGeomTolL.FindAttribute(XCAFDoc_GeomTolerance::GetID(), aGTAttr)) - return NULL; + return nullptr; occ::handle anObject = aGTAttr->GetObject(); if (anObject.IsNull()) - return NULL; + return nullptr; // Unit StepBasic_Unit aUnit = GetUnit(theRC); @@ -3682,7 +3682,7 @@ static occ::handle> Write aMaxDatumNum = std::max(aMaxDatumNum, aDatumObj->GetPosition()); } if (aMaxDatumNum == 0) - return NULL; + return nullptr; occ::handle>> aConstituents = @@ -3936,7 +3936,7 @@ void STEPCAFControl_Writer::writeToleranceZone( new StepDimTol_RunoutZoneOrientation(); anOrientation->Init(aPAMWU); occ::handle aDefinition = new StepDimTol_RunoutZoneDefinition(); - aDefinition->Init(aZone, NULL, anOrientation); + aDefinition->Init(aZone, nullptr, anOrientation); aModel->AddWithRefs(aDefinition); aModel->AddWithRefs(anOrientation); aModel->AddWithRefs(aPAMWU); @@ -4001,7 +4001,7 @@ void STEPCAFControl_Writer::writeGeomTolerance( aModel->AddWithRefs(aCSA); } occ::handle aSAR = new StepRepr_ShapeAspectRelationship(); - aSAR->Init(new TCollection_HAsciiString(), false, NULL, aCSA, aSA); + aSAR->Init(new TCollection_HAsciiString(), false, nullptr, aCSA, aSA); aModel->AddWithRefs(aSAR); } aMainSA = aCSA; @@ -4555,7 +4555,7 @@ bool STEPCAFControl_Writer::writeDGTsAP242(const occ::handle aCurvColor = aStyles.EncodeColor(Quantity_NOC_WHITE); - occ::handle anItem = NULL; + occ::handle anItem = nullptr; myGDTPrsCurveStyle->SetValue( 1, aStyles.MakeColorPSA(anItem, aCurvColor, aCurvColor, STEPConstruct_RenderingProperties())); @@ -4768,7 +4768,7 @@ bool STEPCAFControl_Writer::writeDGTsAP242(const occ::handle aDim = new StepShape_DimensionalLocation(); aDim->Init(STEPCAFControl_GDTProperty::GetDimTypeName(aDimType), false, - NULL, + nullptr, aFirstSA, aSecondSA); aDimension.SetValue(aDim); @@ -4793,7 +4793,7 @@ bool STEPCAFControl_Writer::writeDGTsAP242(const occ::handleInit(new TCollection_HAsciiString(), false, NULL, aFirstSA, aSecondSA, aRelator); + aDim->Init(new TCollection_HAsciiString(), false, nullptr, aFirstSA, aSecondSA, aRelator); aDimension.SetValue(aDim); } else if (aDimType == XCAFDimTolObjects_DimensionType_Location_WithPath) @@ -4803,7 +4803,7 @@ bool STEPCAFControl_Writer::writeDGTsAP242(const occ::handle aPathSA = writeShapeAspect(theWS, aDimensionL, anObject->GetPath(), dummyRC, dummyGISU); - aDim->Init(new TCollection_HAsciiString(), false, NULL, aFirstSA, aSecondSA, aPathSA); + aDim->Init(new TCollection_HAsciiString(), false, nullptr, aFirstSA, aSecondSA, aPathSA); aDimension.SetValue(aDim); } else if (XCAFDimTolObjects_DimensionObject::IsDimensionalSize(aDimType)) diff --git a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.hxx b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.hxx index 2298d0799f..edcf841657 100644 --- a/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.hxx +++ b/src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.hxx @@ -94,7 +94,7 @@ public: //! Returns True if translation is OK Standard_EXPORT bool Transfer(const occ::handle& theDoc, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const Message_ProgressRange& theProgress = Message_ProgressRange()); //! Transfers a document (or single label) to a STEP model @@ -110,13 +110,13 @@ public: Standard_EXPORT bool Transfer(const occ::handle& theDoc, const DESTEP_Parameters& theParams, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const Message_ProgressRange& theProgress = Message_ProgressRange()); //! Method to transfer part of the document specified by label Standard_EXPORT bool Transfer(const TDF_Label& theLabel, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const Message_ProgressRange& theProgress = Message_ProgressRange()); //! Method to transfer part of the document specified by label @@ -125,14 +125,14 @@ public: Standard_EXPORT bool Transfer(const TDF_Label& theLabel, const DESTEP_Parameters& theParams, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const Message_ProgressRange& theProgress = Message_ProgressRange()); //! Method to writing sequence of root assemblies //! or part of the file specified by use by one label Standard_EXPORT bool Transfer(const NCollection_Sequence& theLabelSeq, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const Message_ProgressRange& theProgress = Message_ProgressRange()); //! Method to writing sequence of root assemblies @@ -142,7 +142,7 @@ public: Standard_EXPORT bool Transfer(const NCollection_Sequence& theLabelSeq, const DESTEP_Parameters& theParams, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const Message_ProgressRange& theProgress = Message_ProgressRange()); Standard_EXPORT bool Perform(const occ::handle& theDoc, @@ -288,7 +288,7 @@ protected: bool transfer(STEPControl_Writer& theWriter, const NCollection_Sequence& theLabels, const STEPControl_StepModelType theMode = STEPControl_AsIs, - const char* theIsMulti = 0, + const char* theIsMulti = nullptr, const bool isExternFile = false, const Message_ProgressRange& theProgress = Message_ProgressRange()); @@ -334,11 +334,11 @@ protected: //! @param theProdDef The product definition. //! @param theItem The representation item to write. void writeMetadataRepresentationItem( - const TCollection_AsciiString& theKey, - const occ::handle& theModel, - const occ::handle theShapeDefRep, - const occ::handle& theProdDef, - const occ::handle& theItem) const; + const TCollection_AsciiString& theKey, + const occ::handle& theModel, + const occ::handle& theShapeDefRep, + const occ::handle& theProdDef, + const occ::handle& theItem) const; //! Write D>s assigned to specified labels, to STEP model bool writeDGTs(const occ::handle& theWS, diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx index 032383adbc..84778d0918 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_AP203Context.cxx @@ -170,7 +170,7 @@ occ::handle STEPConstruct_AP203Context:: if (!user.IsEmpty()) { struct passwd* aPwd = getpwnam(user.ToCString()); - if (aPwd != NULL) + if (aPwd != nullptr) { user = aPwd->pw_gecos; } @@ -529,7 +529,7 @@ void STEPConstruct_AP203Context::InitPart(const STEPConstruct_Part& SDRTool) { occ::handle PC = new StepBasic_ProductCategory; occ::handle PCName = new TCollection_HAsciiString("part"); - PC->Init(PCName, false, 0); + PC->Init(PCName, false, nullptr); myProductCategoryRelationship = new StepBasic_ProductCategoryRelationship; occ::handle PCRName = new TCollection_HAsciiString(""); diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Assembly.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Assembly.cxx index 540f3ce98a..da8f29488a 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Assembly.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Assembly.cxx @@ -38,7 +38,7 @@ // Relationship //================================================================================================= -STEPConstruct_Assembly::STEPConstruct_Assembly() {} +STEPConstruct_Assembly::STEPConstruct_Assembly() = default; //================================================================================================= @@ -170,7 +170,7 @@ occ::handle STEPConstruct_Assembly::GetNAU CDSR->RepresentedProductRelation()->Definition().ProductDefinitionRelationship(); return occ::down_cast(PDR); } - return 0; + return nullptr; } //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ContextTool.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ContextTool.cxx index df1ab5f7f3..04267074cd 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ContextTool.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ContextTool.cxx @@ -37,14 +37,14 @@ #include #include -#include "stdio.h" +#include // #include //: i3 //: j4 //================================================================================================= -STEPConstruct_ContextTool::STEPConstruct_ContextTool() {} +STEPConstruct_ContextTool::STEPConstruct_ContextTool() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ExternRefs.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ExternRefs.cxx index c346f070aa..e5d1a7f8a9 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ExternRefs.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ExternRefs.cxx @@ -60,7 +60,7 @@ //================================================================================================= -STEPConstruct_ExternRefs::STEPConstruct_ExternRefs() {} +STEPConstruct_ExternRefs::STEPConstruct_ExternRefs() = default; //================================================================================================= @@ -305,7 +305,7 @@ const char* STEPConstruct_ExternRefs::FileName(const int num) const { occ::handle DocFile; occ::handle AEIA; - const char* aCStringFileName = 0; + const char* aCStringFileName = nullptr; if (myDocFiles.Length() >= num && !myDocFiles.Value(num).IsNull()) DocFile = occ::down_cast(myDocFiles.Value(num)); else if (myIsAP214(num) == 1) @@ -379,7 +379,7 @@ const char* STEPConstruct_ExternRefs::FileName(const int num) const aCStringFileName = aFilename->ToCString(); // ptv 29.01.2003 file trj4_xr1-tc-214.stp entity #71 have id "#71" if (aCStringFileName && aCStringFileName[0] == '#') - aCStringFileName = 0; + aCStringFileName = nullptr; } if (!aCStringFileName || !aCStringFileName[0]) { @@ -402,7 +402,7 @@ const char* STEPConstruct_ExternRefs::FileName(const int num) const } } } - const char* oldFileName = 0; + const char* oldFileName = nullptr; // compute true path to the extern file OSD_Path mainfile(WS()->LoadedFile()); mainfile.SetName(""); @@ -417,7 +417,7 @@ const char* STEPConstruct_ExternRefs::FileName(const int num) const if (!OSD_File(fullname).Exists()) { oldFileName = aCStringFileName; - aCStringFileName = 0; + aCStringFileName = nullptr; } } if (!aCStringFileName || !aCStringFileName[0]) @@ -949,7 +949,7 @@ void STEPConstruct_ExternRefs::checkAP214Shared() // create new ProductRelatedProductCategory for all extern files. occ::handle PRPCname = new TCollection_HAsciiString("document"); mySharedPRPC = new StepBasic_ProductRelatedProductCategory; - mySharedPRPC->Init(PRPCname, false, EmptyString, 0); + mySharedPRPC->Init(PRPCname, false, EmptyString, nullptr); } if (mySharedDocType.IsNull()) { diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Part.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Part.cxx index 270151c29d..e098c6fdf0 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Part.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Part.cxx @@ -170,7 +170,7 @@ void STEPConstruct_Part::MakeSDR(const occ::handle>> PRPCproducts = new NCollection_HArray1>(1, 1); PRPCproducts->SetValue(1, P); - myPRPC->Init(PRPCName, false, 0, PRPCproducts); + myPRPC->Init(PRPCName, false, nullptr, PRPCproducts); myDone = true; } @@ -202,7 +202,7 @@ occ::handle STEPConstruct_Part::SDRValu occ::handle STEPConstruct_Part::SRValue() const { if (!myDone) - return 0; + return nullptr; return occ::down_cast(mySDR->UsedRepresentation()); } diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Styles.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Styles.cxx index e08bb158da..ea5fc9266a 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Styles.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Styles.cxx @@ -222,7 +222,7 @@ bool ProcessAsCurveStyle(const StepVisual_PresentationStyleSelect& thePSS, //================================================================================================= -STEPConstruct_Styles::STEPConstruct_Styles() {} +STEPConstruct_Styles::STEPConstruct_Styles() = default; //================================================================================================= @@ -744,7 +744,7 @@ bool STEPConstruct_Styles::GetColors(const occ::handle& t occ::handle STEPConstruct_Styles::EncodeColor(const Quantity_Color& C) { // detect if color corresponds to one of pre-defined colors - const char* cName = 0; + const char* cName = nullptr; if (C == Quantity_Color(Quantity_NOC_GREEN)) cName = "green"; else if (C == Quantity_Color(Quantity_NOC_RED)) @@ -790,7 +790,7 @@ occ::handle STEPConstruct_Styles::EncodeColor( NCollection_DataMap>& ColRGBs) { // detect if color corresponds to one of pre-defined colors - const char* cName = 0; + const char* cName = nullptr; if (C == Quantity_Color(Quantity_NOC_GREEN)) cName = "green"; else if (C == Quantity_Color(Quantity_NOC_RED)) diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Tool.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Tool.cxx index 784b78c607..49158984fd 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Tool.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Tool.cxx @@ -20,7 +20,7 @@ //================================================================================================= -STEPConstruct_Tool::STEPConstruct_Tool() {} +STEPConstruct_Tool::STEPConstruct_Tool() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx index 98a4450383..e6fc973db8 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx @@ -74,7 +74,7 @@ void STEPConstruct_UnitContext::Init(const double Tol3 // Units : LengthUnit and PlaneAngleUnit (no SolidAngleUnit applicable) occ::handle lengthUnit; - const char* uName = 0; + const char* uName = nullptr; bool hasPref = true; StepBasic_SiPrefix siPref = StepBasic_spMilli; double aScale = 1.; diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ValidationProps.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ValidationProps.cxx index 2d1bffd59e..42312cd138 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ValidationProps.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ValidationProps.cxx @@ -56,7 +56,7 @@ //================================================================================================= -STEPConstruct_ValidationProps::STEPConstruct_ValidationProps() {} +STEPConstruct_ValidationProps::STEPConstruct_ValidationProps() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx index 66846476df..6181fefa0d 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx @@ -675,7 +675,7 @@ occ::handle STEPControl_ActorRead::TransferEntity( if (rep.IsNull()) continue; - Message_ProgressScope aPS1(PS.Next(), NULL, 2); + Message_ProgressScope aPS1(PS.Next(), nullptr, 2); // translate SDR representation bool isBound = true; @@ -819,7 +819,7 @@ occ::handle STEPControl_ActorRead::TransferEntity( if (IsDepend) { - Message_ProgressScope aPS(theProgress, NULL, 2); + Message_ProgressScope aPS(theProgress, nullptr, 2); if (!PD.IsNull()) { @@ -1209,7 +1209,7 @@ occ::handle STEPControl_ActorRead::TransferEntity( bool iatrsf = ComputeSRRWT(und, TP, Trsf, theLocalFactors); // Transfert : que faut-il prendre au juste ? - Message_ProgressScope aPS(theProgress, NULL, 2); + Message_ProgressScope aPS(theProgress, nullptr, 2); for (int i = 1; i <= 2 && aPS.More(); i++) { Message_ProgressRange aRange = aPS.Next(); @@ -1339,7 +1339,7 @@ occ::handle STEPControl_ActorRead::TransferEntity( BRep_Builder aBuilder; aBuilder.MakeCompound(aComp); - Message_ProgressScope aPS(theProgress, NULL, 2); + Message_ProgressScope aPS(theProgress, nullptr, 2); for (int anIndex = 1; anIndex <= 2; anIndex++) { Message_ProgressRange aRange = aPS.Next(); @@ -1460,7 +1460,7 @@ occ::handle STEPControl_ActorRead::OldWay( } } - Message_ProgressScope aPSRoot(theProgress, NULL, 2); + Message_ProgressScope aPSRoot(theProgress, nullptr, 2); #ifdef TRANSLOG if (TP->TraceLevel() > 2) @@ -1755,7 +1755,7 @@ occ::handle STEPControl_ActorRead::TransferEntity( occ::handle maprep = occ::down_cast(mapit->MappingSource()->MappedRepresentation()); bool isBound = false; - Message_ProgressScope aPSRoot(theProgress, NULL, 2); + Message_ProgressScope aPSRoot(theProgress, nullptr, 2); occ::handle binder = TP->Find(maprep); if (binder.IsNull()) binder = TransferEntity(maprep, TP, theLocalFactors, isBound, false, theProgress); diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.hxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.hxx index d4d6812453..40cf79e6f7 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.hxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.hxx @@ -64,9 +64,9 @@ class STEPControl_ActorRead : public Transfer_ActorOfTransientProcess public: Standard_EXPORT STEPControl_ActorRead(const occ::handle& theModel); - Standard_EXPORT virtual bool Recognize(const occ::handle& start) override; + Standard_EXPORT bool Recognize(const occ::handle& start) override; - Standard_EXPORT virtual occ::handle Transfer( + Standard_EXPORT occ::handle Transfer( const occ::handle& start, const occ::handle& TP, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.cxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.cxx index 1b3b86ab4e..1de28ded6b 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.cxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.cxx @@ -590,12 +590,12 @@ occ::handle STEPControl_ActorWrite::Transfer( aLocalFactors.InitializeFactors(aLFactor, (anglemode <= 1 ? 1. : M_PI / 180.), 1.); // create SDR STEPConstruct_Part SDRTool; - SDRTool.MakeSDR(0, myContext.GetProductName(), myContext.GetAPD()->Application(), model); + SDRTool.MakeSDR(nullptr, myContext.GetProductName(), myContext.GetAPD()->Application(), model); occ::handle sdr = SDRTool.SDRValue(); // transfer shape occ::handle resbind = - TransferShape(mapper, sdr, FP, aLocalFactors, 0L, true, theProgress); + TransferShape(mapper, sdr, FP, aLocalFactors, nullptr, true, theProgress); // occ::handle resultat; // FP->GetTypedTransient (resbind,STANDARD_TYPE(StepShape_ShapeRepresentation),resultat); @@ -760,7 +760,7 @@ occ::handle STEPControl_ActorWrite::TransferShape( if (IsAssembly(aStepModel, theShape)) return TransferCompound(start, SDR0, FP, theLocalFactors, theProgress); - Message_ProgressScope aPSRoot(theProgress, NULL, 2); + Message_ProgressScope aPSRoot(theProgress, nullptr, 2); // [BEGIN] Separate manifold topology from non-manifold in group mode 0 (ssv; 18.11.2010) bool isNMMode = aStepModel->InternalParameters.WriteNonmanifold != 0; @@ -869,7 +869,7 @@ occ::handle STEPControl_ActorWrite::TransferShape( else { STEPConstruct_Part SDRTool; - SDRTool.MakeSDR(0, + SDRTool.MakeSDR(nullptr, myContext.GetProductName(), myContext.GetAPD()->Application(), aStepModel); @@ -881,7 +881,7 @@ occ::handle STEPControl_ActorWrite::TransferShape( // Complete SDR with shape representations. // NOTE: aNMBinder is connected now with this SDR. It will be added to the resulting // binder in the end of this invocation of TransferShape - Message_ProgressScope aPS(aPSRoot.Next(), NULL, aNMItemsNb); + Message_ProgressScope aPS(aPSRoot.Next(), nullptr, aNMItemsNb); for (int i = 1; i <= aNMItemsNb && aPS.More(); i++) { occ::handle aMapper = @@ -1025,7 +1025,7 @@ occ::handle STEPControl_ActorWrite::TransferShape( // ptv 10.11.00: allow to write empty Compound: if (GroupMode() >0) ItemSeq->Append(myContext.GetDefaultAxis()); STEPControl_StepModelType trmode = mymode; - Message_ProgressScope aPS(aPSRoot.Next(), NULL, nbs); + Message_ProgressScope aPS(aPSRoot.Next(), nullptr, nbs); for (int i = 1; i <= nbs && aPS.More(); i++) { TopoDS_Shape xShape = RepItemSeq->Value(i); @@ -1049,7 +1049,7 @@ occ::handle STEPControl_ActorWrite::TransferShape( } } - Message_ProgressScope aPS1(aPS.Next(), NULL, 2); + Message_ProgressScope aPS1(aPS.Next(), nullptr, 2); TopoDS_Shape aShape = xShape; @@ -1665,7 +1665,7 @@ occ::handle STEPControl_ActorWrite::TransferCompound( new NCollection_HSequence>(); ItemSeq->Append(myContext.GetDefaultAxis()); myContext.NextLevel(); - Message_ProgressScope aPS(theProgress, NULL, nbs); + Message_ProgressScope aPS(theProgress, nullptr, nbs); for (i = 1; i <= nbs && aPS.More(); i++) { occ::handle subs = @@ -1766,7 +1766,10 @@ occ::handle STEPControl_ActorWrite::TransferSubShape( SDRTool.ReadSDR(sdr); else { - SDRTool.MakeSDR(0, myContext.GetProductName(), myContext.GetAPD()->Application(), aStepModel); + SDRTool.MakeSDR(nullptr, + myContext.GetProductName(), + myContext.GetAPD()->Application(), + aStepModel); sdr = SDRTool.SDRValue(); } // resultat = GetCasted(StepShape_ShapeRepresentation,sdr->UsedRepresentation()); diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.hxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.hxx index b372379264..64de154a92 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.hxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorWrite.hxx @@ -43,9 +43,9 @@ class STEPControl_ActorWrite : public Transfer_ActorOfFinderProcess public: Standard_EXPORT STEPControl_ActorWrite(); - Standard_EXPORT virtual bool Recognize(const occ::handle& start) override; + Standard_EXPORT bool Recognize(const occ::handle& start) override; - Standard_EXPORT virtual occ::handle Transfer( + Standard_EXPORT occ::handle Transfer( const occ::handle& start, const occ::handle& FP, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -56,7 +56,7 @@ public: occ::handle& AX1, const occ::handle& FP, const StepData_Factors& theLocalFactors = StepData_Factors(), - const occ::handle>& shapeGroup = NULL, + const occ::handle>& shapeGroup = nullptr, const bool isManifold = true, const Message_ProgressRange& theProgress = Message_ProgressRange()); @@ -65,7 +65,7 @@ public: const occ::handle& SDR, const occ::handle& FP, const StepData_Factors& theLocalFactors = StepData_Factors(), - const occ::handle>& shapeGroup = NULL, + const occ::handle>& shapeGroup = nullptr, const bool isManifold = true, const Message_ProgressRange& theProgress = Message_ProgressRange()); diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Controller.hxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Controller.hxx index 3dd9b5af49..168aad79b4 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Controller.hxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Controller.hxx @@ -45,7 +45,7 @@ public: Standard_EXPORT occ::handle ActorRead( const occ::handle& theModel) const override; - Standard_EXPORT virtual void Customise(occ::handle& WS) override; + Standard_EXPORT void Customise(occ::handle& WS) override; //! Takes one Shape and transfers it to the InterfaceModel //! (already created by NewModel for instance) @@ -53,7 +53,7 @@ public: //! Returns a status : 0 OK 1 No result 2 Fail -1 bad modeshape //! -2 bad model (requires a StepModel) //! modeshape : 1 Facetted BRep, 2 Shell, 3 Manifold Solid - Standard_EXPORT virtual IFSelect_ReturnStatus TransferWriteShape( + Standard_EXPORT IFSelect_ReturnStatus TransferWriteShape( const TopoDS_Shape& shape, const occ::handle& FP, const occ::handle& model, diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Reader.hxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Reader.hxx index f83bf52a63..21037a6f2a 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Reader.hxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_Reader.hxx @@ -85,11 +85,11 @@ public: //! Loads a file and returns the read status //! Zero for a Model which compies with the Controller - Standard_EXPORT virtual IFSelect_ReturnStatus ReadFile(const char* filename) override; + Standard_EXPORT IFSelect_ReturnStatus ReadFile(const char* filename) override; //! Loads a file from stream and returns the read status - Standard_EXPORT virtual IFSelect_ReturnStatus ReadStream(const char* theName, - std::istream& theIStream) override; + Standard_EXPORT IFSelect_ReturnStatus ReadStream(const char* theName, + std::istream& theIStream) override; //! Loads a file and returns the read status //! Zero for a Model which compies with the Controller @@ -111,7 +111,7 @@ public: //! Determines the list of root entities from Model which are candidate for //! a transfer to a Shape (type of entities is PRODUCT) - Standard_EXPORT virtual int NbRootsForTransfer() override; + Standard_EXPORT int NbRootsForTransfer() override; //! Returns sequence of all unit names for shape representations //! found in file @@ -132,12 +132,11 @@ protected: //! Returns default parameters for shape fixing. //! This method is used by the base class to get default parameters for shape fixing. //! @return default parameters for shape fixing. - Standard_EXPORT virtual DE_ShapeFixParameters GetDefaultShapeFixParameters() const override; + Standard_EXPORT DE_ShapeFixParameters GetDefaultShapeFixParameters() const override; //! Returns default flags for shape processing. //! @return Default flags for shape processing. - Standard_EXPORT virtual ShapeProcess::OperationsFlags GetDefaultShapeProcessFlags() - const override; + Standard_EXPORT ShapeProcess::OperationsFlags GetDefaultShapeProcessFlags() const override; private: //! Returns units for length, angle and solidangle for shape representations diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyComponent.cxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyComponent.cxx index d0770460dd..01229d67de 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyComponent.cxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyComponent.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(STEPSelections_AssemblyComponent, Standard_Transient) -STEPSelections_AssemblyComponent::STEPSelections_AssemblyComponent() {} +STEPSelections_AssemblyComponent::STEPSelections_AssemblyComponent() = default; STEPSelections_AssemblyComponent::STEPSelections_AssemblyComponent( const occ::handle& sdr, diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyLink.cxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyLink.cxx index fb3ca2488d..ce938ba63f 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyLink.cxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyLink.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(STEPSelections_AssemblyLink, Standard_Transient) -STEPSelections_AssemblyLink::STEPSelections_AssemblyLink() {} +STEPSelections_AssemblyLink::STEPSelections_AssemblyLink() = default; STEPSelections_AssemblyLink::STEPSelections_AssemblyLink( const occ::handle& nauo, diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.cxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.cxx index b82dc0fa58..187bf57576 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.cxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.cxx @@ -27,9 +27,8 @@ IMPLEMENT_STANDARD_RTTIEXT(STEPSelections_SelectDerived, StepSelect_StepType) STEPSelections_SelectDerived::STEPSelections_SelectDerived() - : StepSelect_StepType() -{ -} + + = default; static occ::handle GetStepType(const occ::handle& module, const TCollection_AsciiString& type) diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.hxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.hxx index b7a2e52bae..b9b1a47313 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.hxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectDerived.hxx @@ -31,10 +31,10 @@ class STEPSelections_SelectDerived : public StepSelect_StepType public: Standard_EXPORT STEPSelections_SelectDerived(); - Standard_EXPORT virtual bool Matches(const occ::handle& ent, - const occ::handle& model, - const TCollection_AsciiString& text, - const bool exact) const override; + Standard_EXPORT bool Matches(const occ::handle& ent, + const occ::handle& model, + const TCollection_AsciiString& text, + const bool exact) const override; DEFINE_STANDARD_RTTIEXT(STEPSelections_SelectDerived, StepSelect_StepType) }; diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.cxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.cxx index 2f0a71fb3a..d4fe72725e 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.cxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(STEPSelections_SelectForTransfer, XSControl_SelectFor //================================================================================================= -STEPSelections_SelectForTransfer::STEPSelections_SelectForTransfer() {} +STEPSelections_SelectForTransfer::STEPSelections_SelectForTransfer() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.hxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.hxx index 32c928445c..bb62f67371 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.hxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectForTransfer.hxx @@ -32,8 +32,7 @@ public: Standard_EXPORT STEPSelections_SelectForTransfer(const occ::handle& TR); - Standard_EXPORT virtual Interface_EntityIterator RootResult( - const Interface_Graph& G) const override; + Standard_EXPORT Interface_EntityIterator RootResult(const Interface_Graph& G) const override; DEFINE_STANDARD_RTTIEXT(STEPSelections_SelectForTransfer, XSControl_SelectForTransfer) }; diff --git a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectInstances.hxx b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectInstances.hxx index ecd51770b7..6c539466df 100644 --- a/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectInstances.hxx +++ b/src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_SelectInstances.hxx @@ -46,7 +46,7 @@ public: DEFINE_STANDARD_RTTIEXT(STEPSelections_SelectInstances, IFSelect_SelectExplore) protected: - Standard_EXPORT virtual bool HasUniqueResult() const override; + Standard_EXPORT bool HasUniqueResult() const override; }; #endif // _STEPSelections_SelectInstances_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.cxx index 5dc38c2e29..af55cc9eae 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.cxx @@ -32,7 +32,7 @@ //================================================================================================= -StepAP203_ApprovedItem::StepAP203_ApprovedItem() {} +StepAP203_ApprovedItem::StepAP203_ApprovedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.hxx index dcb7e007c8..a2a3b5d123 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ApprovedItem.hxx @@ -58,7 +58,7 @@ public: //! 10 -> Certification from StepBasic //! 11 -> Contract from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinitionFormation (or Null if another type) Standard_EXPORT occ::handle ProductDefinitionFormation() diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignApproval.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignApproval.cxx index c798cbcf33..f7ab803091 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignApproval.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignApproval.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignApproval, StepBasic_ApprovalAssignm //================================================================================================= -StepAP203_CcDesignApproval::StepAP203_CcDesignApproval() {} +StepAP203_CcDesignApproval::StepAP203_CcDesignApproval() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignCertification.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignCertification.cxx index 04ad66e77a..77d3c22e8a 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignCertification.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignCertification.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignCertification, StepBasic_Certificat //================================================================================================= -StepAP203_CcDesignCertification::StepAP203_CcDesignCertification() {} +StepAP203_CcDesignCertification::StepAP203_CcDesignCertification() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignContract.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignContract.cxx index 12defe5dcc..152dba4b62 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignContract.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignContract.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignContract, StepBasic_ContractAssignm //================================================================================================= -StepAP203_CcDesignContract::StepAP203_CcDesignContract() {} +StepAP203_CcDesignContract::StepAP203_CcDesignContract() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cxx index 7c751ebff1..9b79fff7e4 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignDateAndTimeAssignment, StepBasic_Da //================================================================================================= -StepAP203_CcDesignDateAndTimeAssignment::StepAP203_CcDesignDateAndTimeAssignment() {} +StepAP203_CcDesignDateAndTimeAssignment::StepAP203_CcDesignDateAndTimeAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cxx index f988731eb1..6276633134 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cxx @@ -26,9 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignPersonAndOrganizationAssignment, //================================================================================================= StepAP203_CcDesignPersonAndOrganizationAssignment:: - StepAP203_CcDesignPersonAndOrganizationAssignment() -{ -} + StepAP203_CcDesignPersonAndOrganizationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSecurityClassification.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSecurityClassification.cxx index 9d81dcf7a2..4aaab990ab 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSecurityClassification.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSecurityClassification.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignSecurityClassification, //================================================================================================= -StepAP203_CcDesignSecurityClassification::StepAP203_CcDesignSecurityClassification() {} +StepAP203_CcDesignSecurityClassification::StepAP203_CcDesignSecurityClassification() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSpecificationReference.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSpecificationReference.cxx index 686c2588a6..f9b2d5de72 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSpecificationReference.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CcDesignSpecificationReference.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_CcDesignSpecificationReference, StepBasic_D //================================================================================================= -StepAP203_CcDesignSpecificationReference::StepAP203_CcDesignSpecificationReference() {} +StepAP203_CcDesignSpecificationReference::StepAP203_CcDesignSpecificationReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.cxx index 66dcbacd9a..2b00f38152 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepAP203_CertifiedItem::StepAP203_CertifiedItem() {} +StepAP203_CertifiedItem::StepAP203_CertifiedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.hxx index 4a3008d1b1..764ec82524 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_CertifiedItem.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of CertifiedItem select type //! 1 -> SuppliedPartRelationship from StepRepr //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as SuppliedPartRelationship (or Null if another type) Standard_EXPORT occ::handle SuppliedPartRelationship() const; diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_Change.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_Change.cxx index 111cdba023..94d9bb4c1c 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_Change.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_Change.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_Change, StepBasic_ActionAssignment) //================================================================================================= -StepAP203_Change::StepAP203_Change() {} +StepAP203_Change::StepAP203_Change() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequest.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequest.cxx index 8532b10407..d1ed2418b8 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequest.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequest.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_ChangeRequest, StepBasic_ActionRequestAssig //================================================================================================= -StepAP203_ChangeRequest::StepAP203_ChangeRequest() {} +StepAP203_ChangeRequest::StepAP203_ChangeRequest() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.cxx index 9eec5cd22a..66bc90659e 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepAP203_ChangeRequestItem::StepAP203_ChangeRequestItem() {} +StepAP203_ChangeRequestItem::StepAP203_ChangeRequestItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.hxx index 557ffbf75a..5464e0a701 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ChangeRequestItem.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of ChangeRequestItem select type //! 1 -> ProductDefinitionFormation from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinitionFormation (or Null if another type) Standard_EXPORT occ::handle ProductDefinitionFormation() diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.cxx index 487490550b..856bf9392c 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepAP203_ClassifiedItem::StepAP203_ClassifiedItem() {} +StepAP203_ClassifiedItem::StepAP203_ClassifiedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.hxx index 61ad3f768d..baf9df19b2 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ClassifiedItem.hxx @@ -40,7 +40,7 @@ public: //! 1 -> ProductDefinitionFormation from StepBasic //! 2 -> AssemblyComponentUsage from StepRepr //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinitionFormation (or Null if another type) Standard_EXPORT occ::handle ProductDefinitionFormation() diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.cxx index 2f08e78875..8c56201d3f 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepAP203_ContractedItem::StepAP203_ContractedItem() {} +StepAP203_ContractedItem::StepAP203_ContractedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.hxx index 8668156d9f..2f873fa933 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_ContractedItem.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of ContractedItem select type //! 1 -> ProductDefinitionFormation from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinitionFormation (or Null if another type) Standard_EXPORT occ::handle ProductDefinitionFormation() diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.cxx index 0d10927afa..92e6afc532 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.cxx @@ -30,7 +30,7 @@ //================================================================================================= -StepAP203_DateTimeItem::StepAP203_DateTimeItem() {} +StepAP203_DateTimeItem::StepAP203_DateTimeItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.hxx index dabcc85c3a..3c8930269b 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_DateTimeItem.hxx @@ -54,7 +54,7 @@ public: //! 8 -> SecurityClassification from StepBasic //! 9 -> Certification from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinition (or Null if another type) Standard_EXPORT occ::handle ProductDefinition() const; diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.cxx index 685e00987b..8d913e15b5 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.cxx @@ -31,7 +31,7 @@ //================================================================================================= -StepAP203_PersonOrganizationItem::StepAP203_PersonOrganizationItem() {} +StepAP203_PersonOrganizationItem::StepAP203_PersonOrganizationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.hxx index 210238eeea..1708e99deb 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_PersonOrganizationItem.hxx @@ -56,7 +56,7 @@ public: //! 9 -> Contract from StepBasic //! 10 -> SecurityClassification from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as Change (or Null if another type) Standard_EXPORT occ::handle Change() const; diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.cxx index 2d8e76e3b0..a74e4ea24e 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepAP203_SpecifiedItem::StepAP203_SpecifiedItem() {} +StepAP203_SpecifiedItem::StepAP203_SpecifiedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.hxx index f5a16f6f44..11068ec6da 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_SpecifiedItem.hxx @@ -40,7 +40,7 @@ public: //! 1 -> ProductDefinition from StepBasic //! 2 -> ShapeAspect from StepRepr //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinition (or Null if another type) Standard_EXPORT occ::handle ProductDefinition() const; diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequest.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequest.cxx index 6df8e02a53..444673f83c 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequest.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequest.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_StartRequest, StepBasic_ActionRequestAssign //================================================================================================= -StepAP203_StartRequest::StepAP203_StartRequest() {} +StepAP203_StartRequest::StepAP203_StartRequest() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.cxx index f1e988a5dd..2fac99f758 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepAP203_StartRequestItem::StepAP203_StartRequestItem() {} +StepAP203_StartRequestItem::StepAP203_StartRequestItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.hxx index d3a567e89b..c7670254ac 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartRequestItem.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of StartRequestItem select type //! 1 -> ProductDefinitionFormation from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinitionFormation (or Null if another type) Standard_EXPORT occ::handle ProductDefinitionFormation() diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartWork.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartWork.cxx index fa8b4b412d..d9a8539776 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartWork.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_StartWork.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP203_StartWork, StepBasic_ActionAssignment) //================================================================================================= -StepAP203_StartWork::StepAP203_StartWork() {} +StepAP203_StartWork::StepAP203_StartWork() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.cxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.cxx index 0195c1aa46..efda9e1ffd 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepAP203_WorkItem::StepAP203_WorkItem() {} +StepAP203_WorkItem::StepAP203_WorkItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.hxx b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.hxx index 23ebac00c1..fdae97d022 100644 --- a/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP203/StepAP203_WorkItem.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of WorkItem select type //! 1 -> ProductDefinitionFormation from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinitionFormation (or Null if another type) Standard_EXPORT occ::handle ProductDefinitionFormation() diff --git a/src/DataExchange/TKDESTEP/StepAP209/StepAP209_Construct.cxx b/src/DataExchange/TKDESTEP/StepAP209/StepAP209_Construct.cxx index d3ca1c1b43..44c2fb6e4e 100644 --- a/src/DataExchange/TKDESTEP/StepAP209/StepAP209_Construct.cxx +++ b/src/DataExchange/TKDESTEP/StepAP209/StepAP209_Construct.cxx @@ -103,7 +103,7 @@ // #include <.hxx> //================================================================================================= -StepAP209_Construct::StepAP209_Construct() {} +StepAP209_Construct::StepAP209_Construct() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedApprovalAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedApprovalAssignment.cxx index c3dd53b35c..6d2cafd83e 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedApprovalAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedApprovalAssignment.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedApprovalAssignment, StepBasic_ApprovalAssignment) -StepAP214_AppliedApprovalAssignment::StepAP214_AppliedApprovalAssignment() {} +StepAP214_AppliedApprovalAssignment::StepAP214_AppliedApprovalAssignment() = default; void StepAP214_AppliedApprovalAssignment::Init( const occ::handle& aAssignedApproval, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAndTimeAssignment.cxx index df00c27f97..fb9e0d964b 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAndTimeAssignment.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedDateAndTimeAssignment, StepBasic_DateAndTimeAssignment) -StepAP214_AppliedDateAndTimeAssignment::StepAP214_AppliedDateAndTimeAssignment() {} +StepAP214_AppliedDateAndTimeAssignment::StepAP214_AppliedDateAndTimeAssignment() = default; void StepAP214_AppliedDateAndTimeAssignment::Init( const occ::handle& aAssignedDateAndTime, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAssignment.cxx index 046358ce14..b065bf4a2f 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDateAssignment.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedDateAssignment, StepBasic_DateAssignment) -StepAP214_AppliedDateAssignment::StepAP214_AppliedDateAssignment() {} +StepAP214_AppliedDateAssignment::StepAP214_AppliedDateAssignment() = default; void StepAP214_AppliedDateAssignment::Init( const occ::handle& aAssignedDate, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDocumentReference.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDocumentReference.cxx index a16189c3fa..13f438da08 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDocumentReference.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedDocumentReference.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedDocumentReference, StepBasic_DocumentReference) -StepAP214_AppliedDocumentReference::StepAP214_AppliedDocumentReference() {} +StepAP214_AppliedDocumentReference::StepAP214_AppliedDocumentReference() = default; void StepAP214_AppliedDocumentReference::Init( const occ::handle& aAssignedDocument, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedExternalIdentificationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedExternalIdentificationAssignment.cxx index 0b16ba75c1..cd95e4e4e8 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedExternalIdentificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedExternalIdentificationAssignment.cxx @@ -26,9 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedExternalIdentificationAssignment, //================================================================================================= StepAP214_AppliedExternalIdentificationAssignment:: - StepAP214_AppliedExternalIdentificationAssignment() -{ -} + StepAP214_AppliedExternalIdentificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedGroupAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedGroupAssignment.cxx index 9bf28d5723..39a1988da0 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedGroupAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedGroupAssignment.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedGroupAssignment, StepBasic_GroupAssi //================================================================================================= -StepAP214_AppliedGroupAssignment::StepAP214_AppliedGroupAssignment() {} +StepAP214_AppliedGroupAssignment::StepAP214_AppliedGroupAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedOrganizationAssignment.cxx index 2bc6098aa7..f97d5786cf 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedOrganizationAssignment.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedOrganizationAssignment, StepBasic_OrganizationAssignment) -StepAP214_AppliedOrganizationAssignment::StepAP214_AppliedOrganizationAssignment() {} +StepAP214_AppliedOrganizationAssignment::StepAP214_AppliedOrganizationAssignment() = default; void StepAP214_AppliedOrganizationAssignment::Init( const occ::handle& aAssignedOrganization, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPersonAndOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPersonAndOrganizationAssignment.cxx index 57c29c8170..4bc7dedaf9 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPersonAndOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPersonAndOrganizationAssignment.cxx @@ -19,9 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedPersonAndOrganizationAssignment, StepBasic_PersonAndOrganizationAssignment) -StepAP214_AppliedPersonAndOrganizationAssignment::StepAP214_AppliedPersonAndOrganizationAssignment() -{ -} +StepAP214_AppliedPersonAndOrganizationAssignment:: + StepAP214_AppliedPersonAndOrganizationAssignment() = default; void StepAP214_AppliedPersonAndOrganizationAssignment::Init( const occ::handle& aAssignedPersonAndOrganization, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPresentedItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPresentedItem.cxx index 8ceb1c28d4..80bb965379 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPresentedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedPresentedItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedPresentedItem, StepVisual_PresentedItem) -StepAP214_AppliedPresentedItem::StepAP214_AppliedPresentedItem() {} +StepAP214_AppliedPresentedItem::StepAP214_AppliedPresentedItem() = default; void StepAP214_AppliedPresentedItem::Init( const occ::handle>& aItems) diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedSecurityClassificationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedSecurityClassificationAssignment.cxx index 601dbbb040..609890a744 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedSecurityClassificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AppliedSecurityClassificationAssignment.cxx @@ -19,9 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AppliedSecurityClassificationAssignment, StepBasic_SecurityClassificationAssignment) StepAP214_AppliedSecurityClassificationAssignment:: - StepAP214_AppliedSecurityClassificationAssignment() -{ -} + StepAP214_AppliedSecurityClassificationAssignment() = default; void StepAP214_AppliedSecurityClassificationAssignment::Init( const occ::handle& aAssignedSecurityClassification, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.cxx index 786acd6a57..efecdc097a 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.cxx @@ -34,7 +34,7 @@ #include #include -StepAP214_ApprovalItem::StepAP214_ApprovalItem() {} +StepAP214_ApprovalItem::StepAP214_ApprovalItem() = default; int StepAP214_ApprovalItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.hxx index ef36fafa5a..2ae90b8f27 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ApprovalItem.hxx @@ -77,7 +77,7 @@ public: //! 20 -> Representation //! 21 -> ShapeAspectRelationship //! 0 else - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AssemblyComponentUsageSubstitute (Null if another type) Standard_EXPORT virtual occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAndTimeAssignment.cxx index 7f8d56656a..944048476f 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAndTimeAssignment.cxx @@ -19,9 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignActualDateAndTimeAssignment, StepBasic_DateAndTimeAssignment) -StepAP214_AutoDesignActualDateAndTimeAssignment::StepAP214_AutoDesignActualDateAndTimeAssignment() -{ -} +StepAP214_AutoDesignActualDateAndTimeAssignment::StepAP214_AutoDesignActualDateAndTimeAssignment() = + default; void StepAP214_AutoDesignActualDateAndTimeAssignment::Init( const occ::handle& aAssignedDateAndTime, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAssignment.cxx index 562f2470d1..8f88901b5b 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignActualDateAssignment.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignActualDateAssignment, StepBasic_DateAssignment) -StepAP214_AutoDesignActualDateAssignment::StepAP214_AutoDesignActualDateAssignment() {} +StepAP214_AutoDesignActualDateAssignment::StepAP214_AutoDesignActualDateAssignment() = default; void StepAP214_AutoDesignActualDateAssignment::Init( const occ::handle& aAssignedDate, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignApprovalAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignApprovalAssignment.cxx index 46b366d0ca..0c5aeab88e 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignApprovalAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignApprovalAssignment.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignApprovalAssignment, StepBasic_ApprovalAssignment) -StepAP214_AutoDesignApprovalAssignment::StepAP214_AutoDesignApprovalAssignment() {} +StepAP214_AutoDesignApprovalAssignment::StepAP214_AutoDesignApprovalAssignment() = default; void StepAP214_AutoDesignApprovalAssignment::Init( const occ::handle& aAssignedApproval, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonAssignment.cxx index 13b2c52b1e..fab1286a8a 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonAssignment.cxx @@ -19,7 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignDateAndPersonAssignment, StepBasic_PersonAndOrganizationAssignment) -StepAP214_AutoDesignDateAndPersonAssignment::StepAP214_AutoDesignDateAndPersonAssignment() {} +StepAP214_AutoDesignDateAndPersonAssignment::StepAP214_AutoDesignDateAndPersonAssignment() = + default; void StepAP214_AutoDesignDateAndPersonAssignment::Init( const occ::handle& aAssignedPersonAndOrganization, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.cxx index 3a9774f4df..3124ca98bf 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.cxx @@ -23,7 +23,7 @@ #include #include -StepAP214_AutoDesignDateAndPersonItem::StepAP214_AutoDesignDateAndPersonItem() {} +StepAP214_AutoDesignDateAndPersonItem::StepAP214_AutoDesignDateAndPersonItem() = default; int StepAP214_AutoDesignDateAndPersonItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.hxx index c04dbeafab..0b9ac24e7d 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndPersonItem.hxx @@ -53,7 +53,7 @@ public: //! 8 ProductDefinitionRelationship from StepBasic, //! 9 ProductDefinitionWithAssociatedDocuments from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; Standard_EXPORT occ::handle AutoDesignOrganizationAssignment() const; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.cxx index 0a696e4f3d..68cfcc79b6 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.cxx @@ -18,7 +18,7 @@ #include #include -StepAP214_AutoDesignDateAndTimeItem::StepAP214_AutoDesignDateAndTimeItem() {} +StepAP214_AutoDesignDateAndTimeItem::StepAP214_AutoDesignDateAndTimeItem() = default; int StepAP214_AutoDesignDateAndTimeItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.hxx index 1e17ef6654..24f1d1624b 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDateAndTimeItem.hxx @@ -40,7 +40,7 @@ public: //! 1 -> ApprovalPersonOrganization //! 2 -> AutoDesignDateAndPersonAssignment //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ApprovalPersonOrganization (Null if another type) Standard_EXPORT occ::handle ApprovalPersonOrganization() diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.cxx index 6410051389..63dfeb163b 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.cxx @@ -18,7 +18,7 @@ #include #include -StepAP214_AutoDesignDatedItem::StepAP214_AutoDesignDatedItem() {} +StepAP214_AutoDesignDatedItem::StepAP214_AutoDesignDatedItem() = default; int StepAP214_AutoDesignDatedItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.hxx index 9f6076bed4..641ca35000 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDatedItem.hxx @@ -40,7 +40,7 @@ public: //! 1 -> ApprovalPersonOrganization //! 2 -> AutoDesignDateAndPersonAssignment //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ApprovalPersonOrganization (Null if another type) Standard_EXPORT occ::handle ApprovalPersonOrganization() diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDocumentReference.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDocumentReference.cxx index 3437156208..e7024f6deb 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDocumentReference.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignDocumentReference.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignDocumentReference, StepBasic_DocumentReference) -StepAP214_AutoDesignDocumentReference::StepAP214_AutoDesignDocumentReference() {} +StepAP214_AutoDesignDocumentReference::StepAP214_AutoDesignDocumentReference() = default; void StepAP214_AutoDesignDocumentReference::Init( const occ::handle& aAssignedDocument, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.cxx index 4846becce5..aa6833b885 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.cxx @@ -22,7 +22,7 @@ #include #include -StepAP214_AutoDesignGeneralOrgItem::StepAP214_AutoDesignGeneralOrgItem() {} +StepAP214_AutoDesignGeneralOrgItem::StepAP214_AutoDesignGeneralOrgItem() = default; int StepAP214_AutoDesignGeneralOrgItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.hxx index 1c77b6e3f0..b560698c34 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGeneralOrgItem.hxx @@ -51,7 +51,7 @@ public: //! 7 ExternallyDefinedRepresentation from StepRepr, //! 8 AutoDesignDocumentReference from StepAP214, //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Product (Null if another type) Standard_EXPORT occ::handle Product() const; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupAssignment.cxx index 0bc952d407..bb4ca49e5c 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupAssignment.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignGroupAssignment, StepBasic_GroupAssignment) -StepAP214_AutoDesignGroupAssignment::StepAP214_AutoDesignGroupAssignment() {} +StepAP214_AutoDesignGroupAssignment::StepAP214_AutoDesignGroupAssignment() = default; void StepAP214_AutoDesignGroupAssignment::Init( const occ::handle& aAssignedGroup, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.cxx index b18003f29f..54561c6a92 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.cxx @@ -25,7 +25,7 @@ #include #include -StepAP214_AutoDesignGroupedItem::StepAP214_AutoDesignGroupedItem() {} +StepAP214_AutoDesignGroupedItem::StepAP214_AutoDesignGroupedItem() = default; int StepAP214_AutoDesignGroupedItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.hxx index 9f3aa0dae7..ccd57daf79 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignGroupedItem.hxx @@ -57,7 +57,7 @@ public: //! 10 -> ShapeRepresentation //! 11 -> TemplateInstance //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AdvancedBrepShapeRepresentation (Null if another type) Standard_EXPORT occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAndTimeAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAndTimeAssignment.cxx index 7627a37f5a..045011ace3 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAndTimeAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAndTimeAssignment.cxx @@ -18,9 +18,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignNominalDateAndTimeAssignment, StepBasic_DateAndTimeAssignment) -StepAP214_AutoDesignNominalDateAndTimeAssignment::StepAP214_AutoDesignNominalDateAndTimeAssignment() -{ -} +StepAP214_AutoDesignNominalDateAndTimeAssignment:: + StepAP214_AutoDesignNominalDateAndTimeAssignment() = default; void StepAP214_AutoDesignNominalDateAndTimeAssignment::Init( const occ::handle& aAssignedDateAndTime, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAssignment.cxx index 5670457c12..48a701f263 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignNominalDateAssignment.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignNominalDateAssignment, StepBasic_DateAssignment) -StepAP214_AutoDesignNominalDateAssignment::StepAP214_AutoDesignNominalDateAssignment() {} +StepAP214_AutoDesignNominalDateAssignment::StepAP214_AutoDesignNominalDateAssignment() = default; void StepAP214_AutoDesignNominalDateAssignment::Init( const occ::handle& aAssignedDate, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationAssignment.cxx index 4d2007f3f6..b345d6714b 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationAssignment.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignOrganizationAssignment, StepBasic_OrganizationAssignment) -StepAP214_AutoDesignOrganizationAssignment::StepAP214_AutoDesignOrganizationAssignment() {} +StepAP214_AutoDesignOrganizationAssignment::StepAP214_AutoDesignOrganizationAssignment() = default; void StepAP214_AutoDesignOrganizationAssignment::Init( const occ::handle& aAssignedOrganization, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.cxx index f64502346c..f5b77f5b6d 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.cxx @@ -17,7 +17,7 @@ #include #include -StepAP214_AutoDesignOrganizationItem::StepAP214_AutoDesignOrganizationItem() {} +StepAP214_AutoDesignOrganizationItem::StepAP214_AutoDesignOrganizationItem() = default; int StepAP214_AutoDesignOrganizationItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.hxx index e38b4af349..8533bd3b1f 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignOrganizationItem.hxx @@ -34,7 +34,7 @@ public: Standard_EXPORT StepAP214_AutoDesignOrganizationItem(); - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const override; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; Standard_EXPORT occ::handle Document() const; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPersonAndOrganizationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPersonAndOrganizationAssignment.cxx index 1c72c915d6..e153e03b31 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPersonAndOrganizationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPersonAndOrganizationAssignment.cxx @@ -19,9 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignPersonAndOrganizationAssignment, StepBasic_PersonAndOrganizationAssignment) StepAP214_AutoDesignPersonAndOrganizationAssignment:: - StepAP214_AutoDesignPersonAndOrganizationAssignment() -{ -} + StepAP214_AutoDesignPersonAndOrganizationAssignment() = default; void StepAP214_AutoDesignPersonAndOrganizationAssignment::Init( const occ::handle& aAssignedPersonAndOrganization, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItem.cxx index 86121f9415..19cc5659a2 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignPresentedItem, StepVisual_PresentedItem) -StepAP214_AutoDesignPresentedItem::StepAP214_AutoDesignPresentedItem() {} +StepAP214_AutoDesignPresentedItem::StepAP214_AutoDesignPresentedItem() = default; void StepAP214_AutoDesignPresentedItem::Init( const occ::handle>& aItems) diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.cxx index 22f59ad430..f209b0fc1f 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.cxx @@ -21,7 +21,7 @@ #include #include -StepAP214_AutoDesignPresentedItemSelect::StepAP214_AutoDesignPresentedItemSelect() {} +StepAP214_AutoDesignPresentedItemSelect::StepAP214_AutoDesignPresentedItemSelect() = default; int StepAP214_AutoDesignPresentedItemSelect::CaseNum( const occ::handle& ent) const diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.hxx index 12c5c20518..3f505e1408 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignPresentedItemSelect.hxx @@ -47,7 +47,7 @@ public: //! 5 -> ShapeAspect //! 6 -> DocumentRelationship, //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ProductDefinitionRelationship (Null if another type) Standard_EXPORT occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.cxx index c885cd8e32..4c2048849f 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.cxx @@ -29,7 +29,7 @@ #include #include -StepAP214_AutoDesignReferencingItem::StepAP214_AutoDesignReferencingItem() {} +StepAP214_AutoDesignReferencingItem::StepAP214_AutoDesignReferencingItem() = default; int StepAP214_AutoDesignReferencingItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.hxx index 0e97ef637a..9d05981c7c 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignReferencingItem.hxx @@ -63,7 +63,7 @@ public: //! 13 RepresentationRelationship from StepRepr, //! 14 ShapeAspect from StepRepr //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; Standard_EXPORT occ::handle Approval() const; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignSecurityClassificationAssignment.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignSecurityClassificationAssignment.cxx index f9920b2516..352ee74135 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignSecurityClassificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_AutoDesignSecurityClassificationAssignment.cxx @@ -20,9 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_AutoDesignSecurityClassificationAssignment, StepBasic_SecurityClassificationAssignment) StepAP214_AutoDesignSecurityClassificationAssignment:: - StepAP214_AutoDesignSecurityClassificationAssignment() -{ -} + StepAP214_AutoDesignSecurityClassificationAssignment() = default; void StepAP214_AutoDesignSecurityClassificationAssignment::Init( const occ::handle& aAssignedSecurityClassification, diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Class.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Class.cxx index 5ccc4605b6..db55ba127c 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Class.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Class.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_Class, StepBasic_Group) //================================================================================================= -StepAP214_Class::StepAP214_Class() {} +StepAP214_Class::StepAP214_Class() = default; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.cxx index f3d6adea40..f36515c59d 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.cxx @@ -31,7 +31,7 @@ #include #include -StepAP214_DateAndTimeItem::StepAP214_DateAndTimeItem() {} +StepAP214_DateAndTimeItem::StepAP214_DateAndTimeItem() = default; int StepAP214_DateAndTimeItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.hxx index bae2723e6e..e3b0972f9c 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateAndTimeItem.hxx @@ -54,7 +54,7 @@ public: //! 15 -> ShapeRepresentation //! 16 -> SecurityClassification //! 0 else - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const override; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ApprovalPersonOrganization (Null if another type) Standard_EXPORT occ::handle ApprovalPersonOrganization() diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.cxx index 5f8c2075d8..5de9a929bf 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.cxx @@ -31,7 +31,7 @@ #include #include -StepAP214_DateItem::StepAP214_DateItem() {} +StepAP214_DateItem::StepAP214_DateItem() = default; int StepAP214_DateItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.hxx index 8a9b57f56b..eb2d622129 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DateItem.hxx @@ -56,7 +56,7 @@ public: //! 16 -> AppliedSecurityClassificationAssignment //! 17 -> Document //! 0 else - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const override; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ApprovalPersonOrganization (Null if another type) Standard_EXPORT occ::handle ApprovalPersonOrganization() diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.cxx index d591010ea3..ecced6fb4d 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.cxx @@ -34,7 +34,7 @@ #include #include -StepAP214_DocumentReferenceItem::StepAP214_DocumentReferenceItem() {} +StepAP214_DocumentReferenceItem::StepAP214_DocumentReferenceItem() = default; int StepAP214_DocumentReferenceItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.hxx index ed66f7a98a..59d6ce77b9 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_DocumentReferenceItem.hxx @@ -54,7 +54,7 @@ public: Standard_EXPORT StepAP214_DocumentReferenceItem(); //! Recognizes a DocumentReferenceItem Kind Entity that is : - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Approval (Null if another type) Standard_EXPORT occ::handle Approval() const; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.cxx index 1fa03ed1fd..4340e9f14e 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.cxx @@ -35,7 +35,7 @@ //================================================================================================= -StepAP214_ExternalIdentificationItem::StepAP214_ExternalIdentificationItem() {} +StepAP214_ExternalIdentificationItem::StepAP214_ExternalIdentificationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.hxx index db442d8197..1de42158da 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternalIdentificationItem.hxx @@ -65,7 +65,7 @@ public: //! 14 -> DateAndTimeAssignment from StepBasic //! 15 -> DateAssignment from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as DocumentFile (or Null if another type) Standard_EXPORT occ::handle DocumentFile() const; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedClass.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedClass.cxx index d74bf4f276..9964cb559c 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedClass.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedClass.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_ExternallyDefinedClass, StepAP214_Class) //================================================================================================= -StepAP214_ExternallyDefinedClass::StepAP214_ExternallyDefinedClass() {} +StepAP214_ExternallyDefinedClass::StepAP214_ExternallyDefinedClass() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedGeneralProperty.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedGeneralProperty.cxx index e73af7436d..adf2fd1c59 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedGeneralProperty.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_ExternallyDefinedGeneralProperty.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_ExternallyDefinedGeneralProperty, StepBasic //================================================================================================= -StepAP214_ExternallyDefinedGeneralProperty::StepAP214_ExternallyDefinedGeneralProperty() {} +StepAP214_ExternallyDefinedGeneralProperty::StepAP214_ExternallyDefinedGeneralProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.cxx index 81b399d0fd..db77d04ccd 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.cxx @@ -29,7 +29,7 @@ #include #include -StepAP214_GroupItem::StepAP214_GroupItem() {} +StepAP214_GroupItem::StepAP214_GroupItem() = default; int StepAP214_GroupItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.hxx index e762abda36..6a6dc435c7 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_GroupItem.hxx @@ -63,7 +63,7 @@ public: //! 13 -> StyledItem //! 14 -> TopologicalRepresentationItem //! 0 else - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a GeometricRepresentationItem (Null if another type) Standard_EXPORT virtual occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.cxx index bdcf1978c0..dcf0275cc8 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.cxx @@ -30,7 +30,7 @@ #include #include -StepAP214_OrganizationItem::StepAP214_OrganizationItem() {} +StepAP214_OrganizationItem::StepAP214_OrganizationItem() = default; int StepAP214_OrganizationItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.hxx index d8aaf48681..68a255fac2 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_OrganizationItem.hxx @@ -37,7 +37,7 @@ public: Standard_EXPORT StepAP214_OrganizationItem(); //! Recognizes a OrganizationItem Kind Entity that is : - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const override; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AppliedOrganizationAssignment (Null if another type) Standard_EXPORT occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.cxx index efa9e1a0db..e867e0c664 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.cxx @@ -30,7 +30,7 @@ #include #include -StepAP214_PersonAndOrganizationItem::StepAP214_PersonAndOrganizationItem() {} +StepAP214_PersonAndOrganizationItem::StepAP214_PersonAndOrganizationItem() = default; int StepAP214_PersonAndOrganizationItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.hxx index afc97c9023..1af25b51d2 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PersonAndOrganizationItem.hxx @@ -53,7 +53,7 @@ public: //! 14 -> AppliedSecurityClassificationAssignment //! 15 -> Approval //! 0 else - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const override; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AppliedOrganizationAssignment (Null if another type) Standard_EXPORT occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.cxx index 5433e2708a..2cf0d62685 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.cxx @@ -17,7 +17,7 @@ #include #include -StepAP214_PresentedItemSelect::StepAP214_PresentedItemSelect() {} +StepAP214_PresentedItemSelect::StepAP214_PresentedItemSelect() = default; int StepAP214_PresentedItemSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.hxx index e7bc3c8150..b898961eb8 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_PresentedItemSelect.hxx @@ -39,7 +39,7 @@ public: //! 1 -> ProductDefinition, //! 2 -> ProductDefinitionRelationship, //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ProductDefinitionRelationship (Null if another type) Standard_EXPORT occ::handle diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Protocol.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Protocol.hxx index 8e2cd04ce3..15591c7ab3 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Protocol.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_Protocol.hxx @@ -34,16 +34,16 @@ public: Standard_EXPORT StepAP214_Protocol(); //! Returns a Case Number for each of the StepAP214 Entities - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; - Standard_EXPORT virtual const char* SchemaName( + Standard_EXPORT const char* SchemaName( const occ::handle& theModel) const override; //! Returns count of Protocol used as Resources (level one) - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given its rank (between 1 and NbResources) - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; DEFINE_STANDARD_RTTIEXT(StepAP214_Protocol, StepData_Protocol) }; diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_RepItemGroup.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_RepItemGroup.cxx index 3bfc256582..8509e03f52 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_RepItemGroup.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_RepItemGroup.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP214_RepItemGroup, StepBasic_Group) //================================================================================================= -StepAP214_RepItemGroup::StepAP214_RepItemGroup() {} +StepAP214_RepItemGroup::StepAP214_RepItemGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.cxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.cxx index 67fdc0752a..00624868f1 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.cxx @@ -34,7 +34,7 @@ #include #include -StepAP214_SecurityClassificationItem::StepAP214_SecurityClassificationItem() {} +StepAP214_SecurityClassificationItem::StepAP214_SecurityClassificationItem() = default; int StepAP214_SecurityClassificationItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.hxx b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.hxx index d93e0b6205..52e79381e5 100644 --- a/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepAP214/StepAP214_SecurityClassificationItem.hxx @@ -66,7 +66,7 @@ public: //! 21 -> ShapeRepresentation //! 22 -> VersionedActionRequest //! 0 else - Standard_EXPORT virtual int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Action (Null if another type) Standard_EXPORT virtual occ::handle Action() const; diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_DraughtingModelItemAssociation.cxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_DraughtingModelItemAssociation.cxx index a48c7db523..4949b91d03 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_DraughtingModelItemAssociation.cxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_DraughtingModelItemAssociation.cxx @@ -18,4 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP242_DraughtingModelItemAssociation, StepAP242_ItemIdentifiedRepresentationUsage) -StepAP242_DraughtingModelItemAssociation::StepAP242_DraughtingModelItemAssociation() {} +StepAP242_DraughtingModelItemAssociation::StepAP242_DraughtingModelItemAssociation() = default; diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_GeometricItemSpecificUsage.cxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_GeometricItemSpecificUsage.cxx index 70078c7bb0..ed5643faa4 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_GeometricItemSpecificUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_GeometricItemSpecificUsage.cxx @@ -18,4 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP242_GeometricItemSpecificUsage, StepAP242_ItemIdentifiedRepresentationUsage) -StepAP242_GeometricItemSpecificUsage::StepAP242_GeometricItemSpecificUsage() {} +StepAP242_GeometricItemSpecificUsage::StepAP242_GeometricItemSpecificUsage() = default; diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttribute.cxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttribute.cxx index 1dafbb6ab8..9fc85796a4 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttribute.cxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttribute.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP242_IdAttribute, Standard_Transient) //================================================================================================= -StepAP242_IdAttribute::StepAP242_IdAttribute() {} +StepAP242_IdAttribute::StepAP242_IdAttribute() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.cxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.cxx index ba37957b23..23bf436344 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.cxx @@ -29,7 +29,7 @@ //================================================================================================= -StepAP242_IdAttributeSelect::StepAP242_IdAttributeSelect() {} +StepAP242_IdAttributeSelect::StepAP242_IdAttributeSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.hxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.hxx index d09b057248..4330c1989a 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_IdAttributeSelect.hxx @@ -57,7 +57,7 @@ public: //! 11 -> ShapeAspect //! 12 -> ShapeAspectRelationship //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Action (Null if another type) Standard_EXPORT occ::handle Action() const; diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsage.cxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsage.cxx index 248a2e8cec..1bf72615ae 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsage.cxx @@ -24,7 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepAP242_ItemIdentifiedRepresentationUsage, Standard //================================================================================================= -StepAP242_ItemIdentifiedRepresentationUsage::StepAP242_ItemIdentifiedRepresentationUsage() {} +StepAP242_ItemIdentifiedRepresentationUsage::StepAP242_ItemIdentifiedRepresentationUsage() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.cxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.cxx index 1f912ac1b7..4a0cc4a59e 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.cxx @@ -36,9 +36,7 @@ //================================================================================================= StepAP242_ItemIdentifiedRepresentationUsageDefinition:: - StepAP242_ItemIdentifiedRepresentationUsageDefinition() -{ -} + StepAP242_ItemIdentifiedRepresentationUsageDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx index 85fcaad838..36ff3bfcae 100644 --- a/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx +++ b/src/DataExchange/TKDESTEP/StepAP242/StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx @@ -68,7 +68,7 @@ public: //! 16 -> ShapeAspect //! 17 -> ShapeAspectRelationship //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AppliedApprovalAssignment (Null if another type) Standard_EXPORT occ::handle AppliedApprovalAssignment() diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionAssignment.cxx index 538cf2b749..618555b69b 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionAssignment.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ActionAssignment, Standard_Transient) //================================================================================================= -StepBasic_ActionAssignment::StepBasic_ActionAssignment() {} +StepBasic_ActionAssignment::StepBasic_ActionAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestAssignment.cxx index ae7fea0ecd..2cea2473cb 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestAssignment.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ActionRequestAssignment, Standard_Transient //================================================================================================= -StepBasic_ActionRequestAssignment::StepBasic_ActionRequestAssignment() {} +StepBasic_ActionRequestAssignment::StepBasic_ActionRequestAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestSolution.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestSolution.cxx index 571bed895c..4c05815a5f 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestSolution.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ActionRequestSolution.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ActionRequestSolution, Standard_Transient) //================================================================================================= -StepBasic_ActionRequestSolution::StepBasic_ActionRequestSolution() {} +StepBasic_ActionRequestSolution::StepBasic_ActionRequestSolution() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Address.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Address.cxx index cf6fb21c0e..384b5169a8 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Address.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Address.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Address, Standard_Transient) -StepBasic_Address::StepBasic_Address() {} +StepBasic_Address::StepBasic_Address() = default; void StepBasic_Address::Init(const bool hasAinternalLocation, const occ::handle& aInternalLocation, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContext.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContext.cxx index d72ea0d918..f2b58571b2 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContext.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContext.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApplicationContext, Standard_Transient) -StepBasic_ApplicationContext::StepBasic_ApplicationContext() {} +StepBasic_ApplicationContext::StepBasic_ApplicationContext() = default; void StepBasic_ApplicationContext::Init(const occ::handle& aApplication) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContextElement.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContextElement.cxx index 0afa4a9213..8c78aeba37 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContextElement.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationContextElement.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApplicationContextElement, Standard_Transient) -StepBasic_ApplicationContextElement::StepBasic_ApplicationContextElement() {} +StepBasic_ApplicationContextElement::StepBasic_ApplicationContextElement() = default; void StepBasic_ApplicationContextElement::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx index c916bea4c8..22fe5a80b3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApplicationProtocolDefinition, Standard_Transient) -StepBasic_ApplicationProtocolDefinition::StepBasic_ApplicationProtocolDefinition() {} +StepBasic_ApplicationProtocolDefinition::StepBasic_ApplicationProtocolDefinition() = default; void StepBasic_ApplicationProtocolDefinition::Init( const occ::handle& aStatus, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Approval.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Approval.cxx index d84589f652..5a3671fdaf 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Approval.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Approval.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Approval, Standard_Transient) -StepBasic_Approval::StepBasic_Approval() {} +StepBasic_Approval::StepBasic_Approval() = default; void StepBasic_Approval::Init(const occ::handle& aStatus, const occ::handle& aLevel) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalDateTime.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalDateTime.cxx index da0e323908..9a35c205f6 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalDateTime.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalDateTime.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApprovalDateTime, Standard_Transient) -StepBasic_ApprovalDateTime::StepBasic_ApprovalDateTime() {} +StepBasic_ApprovalDateTime::StepBasic_ApprovalDateTime() = default; void StepBasic_ApprovalDateTime::Init(const StepBasic_DateTimeSelect& aDateTime, const occ::handle& aDatedApproval) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalPersonOrganization.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalPersonOrganization.cxx index 7724ecf864..c3f49fd070 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalPersonOrganization.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalPersonOrganization.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApprovalPersonOrganization, Standard_Transient) -StepBasic_ApprovalPersonOrganization::StepBasic_ApprovalPersonOrganization() {} +StepBasic_ApprovalPersonOrganization::StepBasic_ApprovalPersonOrganization() = default; void StepBasic_ApprovalPersonOrganization::Init( const StepBasic_PersonOrganizationSelect& aPersonOrganization, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRelationship.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRelationship.cxx index 3bc0fd9a29..e1a0ccc853 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRelationship.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApprovalRelationship, Standard_Transient) -StepBasic_ApprovalRelationship::StepBasic_ApprovalRelationship() {} +StepBasic_ApprovalRelationship::StepBasic_ApprovalRelationship() = default; void StepBasic_ApprovalRelationship::Init(const occ::handle& aName, const occ::handle& aDescription, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRole.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRole.cxx index b1cf250385..8895e76111 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRole.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalRole.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApprovalRole, Standard_Transient) -StepBasic_ApprovalRole::StepBasic_ApprovalRole() {} +StepBasic_ApprovalRole::StepBasic_ApprovalRole() = default; void StepBasic_ApprovalRole::Init(const occ::handle& aRole) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalStatus.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalStatus.cxx index 7a69cfa1fd..254f27b378 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalStatus.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ApprovalStatus.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ApprovalStatus, Standard_Transient) -StepBasic_ApprovalStatus::StepBasic_ApprovalStatus() {} +StepBasic_ApprovalStatus::StepBasic_ApprovalStatus() = default; void StepBasic_ApprovalStatus::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_AreaUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_AreaUnit.cxx index 0e81ac6bc8..0dd30d4342 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_AreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_AreaUnit.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_AreaUnit, StepBasic_NamedUnit) -StepBasic_AreaUnit::StepBasic_AreaUnit() {} +StepBasic_AreaUnit::StepBasic_AreaUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CalendarDate.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CalendarDate.cxx index 514f05be09..9397fee496 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CalendarDate.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CalendarDate.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_CalendarDate, StepBasic_Date) -StepBasic_CalendarDate::StepBasic_CalendarDate() {} +StepBasic_CalendarDate::StepBasic_CalendarDate() = default; void StepBasic_CalendarDate::Init(const int aYearComponent, const int aDayComponent, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Certification.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Certification.cxx index 18fb4a3031..3a1aec6cef 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Certification.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Certification.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Certification, Standard_Transient) //================================================================================================= -StepBasic_Certification::StepBasic_Certification() {} +StepBasic_Certification::StepBasic_Certification() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationAssignment.cxx index d386d0112f..7a6f167b99 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationAssignment.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_CertificationAssignment, Standard_Transient //================================================================================================= -StepBasic_CertificationAssignment::StepBasic_CertificationAssignment() {} +StepBasic_CertificationAssignment::StepBasic_CertificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationType.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationType.cxx index 54615a9f51..3341ca7a2e 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationType.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CertificationType.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_CertificationType, Standard_Transient) //================================================================================================= -StepBasic_CertificationType::StepBasic_CertificationType() {} +StepBasic_CertificationType::StepBasic_CertificationType() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Contract.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Contract.cxx index 37b1279b8d..0116ff1ef3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Contract.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Contract.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Contract, Standard_Transient) //================================================================================================= -StepBasic_Contract::StepBasic_Contract() {} +StepBasic_Contract::StepBasic_Contract() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractAssignment.cxx index 209f3c13ae..0c2e332795 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractAssignment.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ContractAssignment, Standard_Transient) //================================================================================================= -StepBasic_ContractAssignment::StepBasic_ContractAssignment() {} +StepBasic_ContractAssignment::StepBasic_ContractAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractType.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractType.cxx index 7a01cfcdf1..b77c8cdf6c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractType.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ContractType.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ContractType, Standard_Transient) //================================================================================================= -StepBasic_ContractType::StepBasic_ContractType() {} +StepBasic_ContractType::StepBasic_ContractType() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnit.cxx index 58d55c6a90..e8b7d1a335 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnit.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnit, StepBasic_NamedUnit) -StepBasic_ConversionBasedUnit::StepBasic_ConversionBasedUnit() {} +StepBasic_ConversionBasedUnit::StepBasic_ConversionBasedUnit() = default; void StepBasic_ConversionBasedUnit::Init( const occ::handle& aDimensions, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cxx index be55be86d3..75c7acd923 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndAreaUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndAreaUnit::StepBasic_ConversionBasedUnitAndAreaUnit() {} +StepBasic_ConversionBasedUnitAndAreaUnit::StepBasic_ConversionBasedUnitAndAreaUnit() = default; void StepBasic_ConversionBasedUnitAndAreaUnit::SetAreaUnit( const occ::handle& anAreaUnit) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx index 310f2831b5..e24706c40c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndLengthUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndLengthUnit::StepBasic_ConversionBasedUnitAndLengthUnit() {} +StepBasic_ConversionBasedUnitAndLengthUnit::StepBasic_ConversionBasedUnitAndLengthUnit() = default; void StepBasic_ConversionBasedUnitAndLengthUnit::Init( const occ::handle& aDimensions, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx index c103c44f26..85a5a472ce 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndMassUnit, StepBasic_C //================================================================================================= -StepBasic_ConversionBasedUnitAndMassUnit::StepBasic_ConversionBasedUnitAndMassUnit() {} +StepBasic_ConversionBasedUnitAndMassUnit::StepBasic_ConversionBasedUnitAndMassUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx index 9b6d8b0edd..5cb4f1de0e 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx @@ -21,7 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndPlaneAngleUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndPlaneAngleUnit::StepBasic_ConversionBasedUnitAndPlaneAngleUnit() {} +StepBasic_ConversionBasedUnitAndPlaneAngleUnit::StepBasic_ConversionBasedUnitAndPlaneAngleUnit() = + default; void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::Init( const occ::handle& aDimensions, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx index a149e5fc10..a0e360534e 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndRatioUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndRatioUnit::StepBasic_ConversionBasedUnitAndRatioUnit() {} +StepBasic_ConversionBasedUnitAndRatioUnit::StepBasic_ConversionBasedUnitAndRatioUnit() = default; void StepBasic_ConversionBasedUnitAndRatioUnit::Init( const occ::handle& aDimensions, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx index 2ab23c4dea..dacb46f22c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx @@ -21,7 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndSolidAngleUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndSolidAngleUnit::StepBasic_ConversionBasedUnitAndSolidAngleUnit() {} +StepBasic_ConversionBasedUnitAndSolidAngleUnit::StepBasic_ConversionBasedUnitAndSolidAngleUnit() = + default; void StepBasic_ConversionBasedUnitAndSolidAngleUnit::Init( const occ::handle& aDimensions, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx index 304a98cd50..c6fd89fcc7 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndTimeUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndTimeUnit::StepBasic_ConversionBasedUnitAndTimeUnit() {} +StepBasic_ConversionBasedUnitAndTimeUnit::StepBasic_ConversionBasedUnitAndTimeUnit() = default; void StepBasic_ConversionBasedUnitAndTimeUnit::Init( const occ::handle& aDimensions, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cxx index 62c3ee2ec0..6c74e714e5 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ConversionBasedUnitAndVolumeUnit, StepBasic_ConversionBasedUnit) -StepBasic_ConversionBasedUnitAndVolumeUnit::StepBasic_ConversionBasedUnitAndVolumeUnit() {} +StepBasic_ConversionBasedUnitAndVolumeUnit::StepBasic_ConversionBasedUnitAndVolumeUnit() = default; void StepBasic_ConversionBasedUnitAndVolumeUnit::SetVolumeUnit( const occ::handle& aVolumeUnit) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cxx index 46efe4db11..1a61b5f409 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_CoordinatedUniversalTimeOffset, Standard_Transient) -StepBasic_CoordinatedUniversalTimeOffset::StepBasic_CoordinatedUniversalTimeOffset() {} +StepBasic_CoordinatedUniversalTimeOffset::StepBasic_CoordinatedUniversalTimeOffset() = default; void StepBasic_CoordinatedUniversalTimeOffset::Init(const int aHourOffset, const bool hasAminuteOffset, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Date.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Date.cxx index 53dbff730f..30da0aa622 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Date.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Date.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Date, Standard_Transient) -StepBasic_Date::StepBasic_Date() {} +StepBasic_Date::StepBasic_Date() = default; void StepBasic_Date::Init(const int aYearComponent) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateAndTime.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateAndTime.cxx index e41d4498b4..89d219985f 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateAndTime.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateAndTime.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DateAndTime, Standard_Transient) -StepBasic_DateAndTime::StepBasic_DateAndTime() {} +StepBasic_DateAndTime::StepBasic_DateAndTime() = default; void StepBasic_DateAndTime::Init(const occ::handle& aDateComponent, const occ::handle& aTimeComponent) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateRole.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateRole.cxx index c2106ecc60..3a567ca561 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateRole.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateRole.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DateRole, Standard_Transient) -StepBasic_DateRole::StepBasic_DateRole() {} +StepBasic_DateRole::StepBasic_DateRole() = default; void StepBasic_DateRole::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeRole.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeRole.cxx index bdd47f128d..16405733e9 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeRole.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeRole.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DateTimeRole, Standard_Transient) -StepBasic_DateTimeRole::StepBasic_DateTimeRole() {} +StepBasic_DateTimeRole::StepBasic_DateTimeRole() = default; void StepBasic_DateTimeRole::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.cxx index d04bb9ccf9..36e8f405db 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.cxx @@ -18,7 +18,7 @@ #include #include -StepBasic_DateTimeSelect::StepBasic_DateTimeSelect() {} +StepBasic_DateTimeSelect::StepBasic_DateTimeSelect() = default; int StepBasic_DateTimeSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.hxx index d91a244e20..d41a9cb190 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DateTimeSelect.hxx @@ -41,7 +41,7 @@ public: //! 2 -> LocalTime //! 3 -> DateAndTime //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Date (Null if another type) Standard_EXPORT occ::handle Date() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnit.cxx index 44d7bc070d..43a6bdcf8b 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnit.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DerivedUnit, Standard_Transient) -StepBasic_DerivedUnit::StepBasic_DerivedUnit() {} +StepBasic_DerivedUnit::StepBasic_DerivedUnit() = default; void StepBasic_DerivedUnit::Init( const occ::handle>>& elements) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnitElement.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnitElement.cxx index e109a99fde..f00eab67af 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnitElement.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DerivedUnitElement.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DerivedUnitElement, Standard_Transient) -StepBasic_DerivedUnitElement::StepBasic_DerivedUnitElement() {} +StepBasic_DerivedUnitElement::StepBasic_DerivedUnitElement() = default; void StepBasic_DerivedUnitElement::Init(const occ::handle& aUnit, const double aExponent) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DesignContext.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DesignContext.cxx index ad28e0c2d7..357b738b66 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DesignContext.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DesignContext.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DesignContext, StepBasic_ProductDefinitionContext) -StepBasic_DesignContext::StepBasic_DesignContext() {} +StepBasic_DesignContext::StepBasic_DesignContext() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DigitalDocument.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DigitalDocument.cxx index b1f4bc7b30..86e1068a57 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DigitalDocument.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DigitalDocument.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DigitalDocument, StepBasic_Document) -StepBasic_DigitalDocument::StepBasic_DigitalDocument() {} +StepBasic_DigitalDocument::StepBasic_DigitalDocument() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DimensionalExponents.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DimensionalExponents.cxx index 5a51207ee2..622c0a4d0c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DimensionalExponents.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DimensionalExponents.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DimensionalExponents, Standard_Transient) -StepBasic_DimensionalExponents::StepBasic_DimensionalExponents() {} +StepBasic_DimensionalExponents::StepBasic_DimensionalExponents() = default; void StepBasic_DimensionalExponents::Init(const double aLengthExponent, const double aMassExponent, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentProductEquivalence.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentProductEquivalence.cxx index bc3d143088..f92d2fce87 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentProductEquivalence.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentProductEquivalence.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DocumentProductEquivalence, //================================================================================================= -StepBasic_DocumentProductEquivalence::StepBasic_DocumentProductEquivalence() {} +StepBasic_DocumentProductEquivalence::StepBasic_DocumentProductEquivalence() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRelationship.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRelationship.cxx index 17b1747f69..81c16b3cb2 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRelationship.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DocumentRelationship, Standard_Transient) -StepBasic_DocumentRelationship::StepBasic_DocumentRelationship() {} +StepBasic_DocumentRelationship::StepBasic_DocumentRelationship() = default; void StepBasic_DocumentRelationship::Init(const occ::handle& aName, const occ::handle& aDescription, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRepresentationType.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRepresentationType.cxx index c9bf4dea41..eb058d23f8 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRepresentationType.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentRepresentationType.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DocumentRepresentationType, Standard_Transi //================================================================================================= -StepBasic_DocumentRepresentationType::StepBasic_DocumentRepresentationType() {} +StepBasic_DocumentRepresentationType::StepBasic_DocumentRepresentationType() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentType.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentType.cxx index 7d7282b372..f6643b9aeb 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentType.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentType.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DocumentType, Standard_Transient) -StepBasic_DocumentType::StepBasic_DocumentType() {} +StepBasic_DocumentType::StepBasic_DocumentType() = default; void StepBasic_DocumentType::Init(const occ::handle& apdt) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentUsageConstraint.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentUsageConstraint.cxx index 33b861e819..4f21adae15 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentUsageConstraint.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_DocumentUsageConstraint.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_DocumentUsageConstraint, Standard_Transient) -StepBasic_DocumentUsageConstraint::StepBasic_DocumentUsageConstraint() {} +StepBasic_DocumentUsageConstraint::StepBasic_DocumentUsageConstraint() = default; void StepBasic_DocumentUsageConstraint::Init(const occ::handle& aSource, const occ::handle& ase, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Effectivity.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Effectivity.cxx index d61a3ffae1..9d31786bf2 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Effectivity.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Effectivity.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Effectivity, Standard_Transient) -StepBasic_Effectivity::StepBasic_Effectivity() {} +StepBasic_Effectivity::StepBasic_Effectivity() = default; void StepBasic_Effectivity::Init(const occ::handle& aid) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EffectivityAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EffectivityAssignment.cxx index 4b4fac8efc..f82a28866b 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EffectivityAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EffectivityAssignment.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_EffectivityAssignment, Standard_Transient) //================================================================================================= -StepBasic_EffectivityAssignment::StepBasic_EffectivityAssignment() {} +StepBasic_EffectivityAssignment::StepBasic_EffectivityAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EulerAngles.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EulerAngles.cxx index 5715b4060b..23b4b85169 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EulerAngles.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_EulerAngles.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_EulerAngles, Standard_Transient) //================================================================================================= -StepBasic_EulerAngles::StepBasic_EulerAngles() {} +StepBasic_EulerAngles::StepBasic_EulerAngles() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalIdentificationAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalIdentificationAssignment.cxx index bf30353213..f999a2f4f5 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalIdentificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalIdentificationAssignment.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ExternalIdentificationAssignment, //================================================================================================= -StepBasic_ExternalIdentificationAssignment::StepBasic_ExternalIdentificationAssignment() {} +StepBasic_ExternalIdentificationAssignment::StepBasic_ExternalIdentificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalSource.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalSource.cxx index 5bda457bd9..e0535a9925 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalSource.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternalSource.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ExternalSource, Standard_Transient) //================================================================================================= -StepBasic_ExternalSource::StepBasic_ExternalSource() {} +StepBasic_ExternalSource::StepBasic_ExternalSource() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternallyDefinedItem.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternallyDefinedItem.cxx index 92b85d4e9f..67132404e6 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternallyDefinedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ExternallyDefinedItem.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ExternallyDefinedItem, Standard_Transient) //================================================================================================= -StepBasic_ExternallyDefinedItem::StepBasic_ExternallyDefinedItem() {} +StepBasic_ExternallyDefinedItem::StepBasic_ExternallyDefinedItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyAssociation.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyAssociation.cxx index 0af88f8fd8..0d9be8b43e 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyAssociation.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyAssociation.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_GeneralPropertyAssociation, Standard_Transi //================================================================================================= -StepBasic_GeneralPropertyAssociation::StepBasic_GeneralPropertyAssociation() {} +StepBasic_GeneralPropertyAssociation::StepBasic_GeneralPropertyAssociation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyRelationship.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyRelationship.cxx index efe77df2cf..637e41ebd3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GeneralPropertyRelationship.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_GeneralPropertyRelationship, Standard_Trans //================================================================================================= -StepBasic_GeneralPropertyRelationship::StepBasic_GeneralPropertyRelationship() {} +StepBasic_GeneralPropertyRelationship::StepBasic_GeneralPropertyRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GroupAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GroupAssignment.cxx index 6d723f51e0..2511f76616 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GroupAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_GroupAssignment.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_GroupAssignment, Standard_Transient) //================================================================================================= -StepBasic_GroupAssignment::StepBasic_GroupAssignment() {} +StepBasic_GroupAssignment::StepBasic_GroupAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_IdentificationAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_IdentificationAssignment.cxx index 5d52ea2d7d..0e62e33568 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_IdentificationAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_IdentificationAssignment.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_IdentificationAssignment, Standard_Transien //================================================================================================= -StepBasic_IdentificationAssignment::StepBasic_IdentificationAssignment() {} +StepBasic_IdentificationAssignment::StepBasic_IdentificationAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthMeasureWithUnit.cxx index 23b965ee54..74dd29cf68 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthMeasureWithUnit.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_LengthMeasureWithUnit, StepBasic_MeasureWithUnit) -StepBasic_LengthMeasureWithUnit::StepBasic_LengthMeasureWithUnit() {} +StepBasic_LengthMeasureWithUnit::StepBasic_LengthMeasureWithUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthUnit.cxx index c501892999..9c54e64a6a 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LengthUnit.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_LengthUnit, StepBasic_NamedUnit) -StepBasic_LengthUnit::StepBasic_LengthUnit() {} +StepBasic_LengthUnit::StepBasic_LengthUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LocalTime.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LocalTime.cxx index 72ac7141a8..0521226ec0 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LocalTime.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_LocalTime.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_LocalTime, Standard_Transient) -StepBasic_LocalTime::StepBasic_LocalTime() {} +StepBasic_LocalTime::StepBasic_LocalTime() = default; void StepBasic_LocalTime::Init(const int aHourComponent, const bool hasAminuteComponent, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassMeasureWithUnit.cxx index b03f814095..9418291ad5 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassMeasureWithUnit.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_MassMeasureWithUnit, StepBasic_MeasureWithUnit) -StepBasic_MassMeasureWithUnit::StepBasic_MassMeasureWithUnit() {} +StepBasic_MassMeasureWithUnit::StepBasic_MassMeasureWithUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassUnit.cxx index 91ba4f7019..81c89aec1f 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MassUnit.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_MassUnit, StepBasic_NamedUnit) //================================================================================================= -StepBasic_MassUnit::StepBasic_MassUnit() {} +StepBasic_MassUnit::StepBasic_MassUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureValueMember.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureValueMember.hxx index 69ba8617f1..32a4aa4c34 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureValueMember.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureValueMember.hxx @@ -35,11 +35,11 @@ class StepBasic_MeasureValueMember : public StepData_SelectReal public: Standard_EXPORT StepBasic_MeasureValueMember(); - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; DEFINE_STANDARD_RTTIEXT(StepBasic_MeasureValueMember, StepData_SelectReal) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureWithUnit.cxx index 273f3e13b0..5ad375ba97 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MeasureWithUnit.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_MeasureWithUnit, Standard_Transient) //================================================================================================= -StepBasic_MeasureWithUnit::StepBasic_MeasureWithUnit() {} +StepBasic_MeasureWithUnit::StepBasic_MeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MechanicalContext.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MechanicalContext.cxx index 329994f8f8..cedb769f1c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MechanicalContext.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_MechanicalContext.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_MechanicalContext, StepBasic_ProductContext) -StepBasic_MechanicalContext::StepBasic_MechanicalContext() {} +StepBasic_MechanicalContext::StepBasic_MechanicalContext() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NameAssignment.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NameAssignment.cxx index c6652db11a..43b4abdf33 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NameAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NameAssignment.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_NameAssignment, Standard_Transient) //================================================================================================= -StepBasic_NameAssignment::StepBasic_NameAssignment() {} +StepBasic_NameAssignment::StepBasic_NameAssignment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NamedUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NamedUnit.cxx index f9bad1cca8..88387254fd 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NamedUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_NamedUnit.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_NamedUnit, Standard_Transient) -StepBasic_NamedUnit::StepBasic_NamedUnit() {} +StepBasic_NamedUnit::StepBasic_NamedUnit() = default; void StepBasic_NamedUnit::Init(const occ::handle& aDimensions) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrdinalDate.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrdinalDate.cxx index 54331ebe46..efa02256e2 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrdinalDate.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrdinalDate.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_OrdinalDate, StepBasic_Date) -StepBasic_OrdinalDate::StepBasic_OrdinalDate() {} +StepBasic_OrdinalDate::StepBasic_OrdinalDate() = default; void StepBasic_OrdinalDate::Init(const int aYearComponent, const int aDayComponent) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Organization.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Organization.cxx index 6942fcce30..9eec7dd7b1 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Organization.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Organization.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Organization, Standard_Transient) -StepBasic_Organization::StepBasic_Organization() {} +StepBasic_Organization::StepBasic_Organization() = default; void StepBasic_Organization::Init(const bool hasAid, const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationRole.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationRole.cxx index a8be1f5e21..0cbadd97ff 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationRole.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationRole.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_OrganizationRole, Standard_Transient) -StepBasic_OrganizationRole::StepBasic_OrganizationRole() {} +StepBasic_OrganizationRole::StepBasic_OrganizationRole() = default; void StepBasic_OrganizationRole::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationalAddress.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationalAddress.cxx index 120bb22db0..8ae70cd052 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationalAddress.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_OrganizationalAddress.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_OrganizationalAddress, StepBasic_Address) -StepBasic_OrganizationalAddress::StepBasic_OrganizationalAddress() {} +StepBasic_OrganizationalAddress::StepBasic_OrganizationalAddress() = default; void StepBasic_OrganizationalAddress::Init( const bool hasAinternalLocation, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Person.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Person.cxx index 123f012afe..91e7fd9231 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Person.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Person.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Person, Standard_Transient) -StepBasic_Person::StepBasic_Person() {} +StepBasic_Person::StepBasic_Person() = default; void StepBasic_Person::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganization.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganization.cxx index 7e91b8582e..5d6a0179e3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganization.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganization.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_PersonAndOrganization, Standard_Transient) -StepBasic_PersonAndOrganization::StepBasic_PersonAndOrganization() {} +StepBasic_PersonAndOrganization::StepBasic_PersonAndOrganization() = default; void StepBasic_PersonAndOrganization::Init( const occ::handle& aThePerson, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganizationRole.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganizationRole.cxx index 58c065f011..e05cdc6402 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganizationRole.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonAndOrganizationRole.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_PersonAndOrganizationRole, Standard_Transient) -StepBasic_PersonAndOrganizationRole::StepBasic_PersonAndOrganizationRole() {} +StepBasic_PersonAndOrganizationRole::StepBasic_PersonAndOrganizationRole() = default; void StepBasic_PersonAndOrganizationRole::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.cxx index ef47b93a6a..bf4577b8c2 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.cxx @@ -18,7 +18,7 @@ #include #include -StepBasic_PersonOrganizationSelect::StepBasic_PersonOrganizationSelect() {} +StepBasic_PersonOrganizationSelect::StepBasic_PersonOrganizationSelect() = default; int StepBasic_PersonOrganizationSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.hxx index a697250573..a794523f77 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonOrganizationSelect.hxx @@ -41,7 +41,7 @@ public: //! 2 -> Organization //! 3 -> PersonAndOrganization //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Person (Null if another type) Standard_EXPORT occ::handle Person() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonalAddress.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonalAddress.cxx index ca7ee90f5b..b218e9516e 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonalAddress.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PersonalAddress.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_PersonalAddress, StepBasic_Address) -StepBasic_PersonalAddress::StepBasic_PersonalAddress() {} +StepBasic_PersonalAddress::StepBasic_PersonalAddress() = default; void StepBasic_PersonalAddress::Init( const bool hasAinternalLocation, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PhysicallyModeledProductDefinition.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PhysicallyModeledProductDefinition.cxx index f4254310a2..efc9103bef 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PhysicallyModeledProductDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PhysicallyModeledProductDefinition.cxx @@ -17,4 +17,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_PhysicallyModeledProductDefinition, StepBasic_ProductDefinition) -StepBasic_PhysicallyModeledProductDefinition::StepBasic_PhysicallyModeledProductDefinition() {} +StepBasic_PhysicallyModeledProductDefinition::StepBasic_PhysicallyModeledProductDefinition() = + default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleMeasureWithUnit.cxx index 77ccb7ab26..b423f0951c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleMeasureWithUnit.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_PlaneAngleMeasureWithUnit, StepBasic_MeasureWithUnit) -StepBasic_PlaneAngleMeasureWithUnit::StepBasic_PlaneAngleMeasureWithUnit() {} +StepBasic_PlaneAngleMeasureWithUnit::StepBasic_PlaneAngleMeasureWithUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleUnit.cxx index 87ac34a127..5021a16fa8 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_PlaneAngleUnit.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_PlaneAngleUnit, StepBasic_NamedUnit) -StepBasic_PlaneAngleUnit::StepBasic_PlaneAngleUnit() {} +StepBasic_PlaneAngleUnit::StepBasic_PlaneAngleUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Product.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Product.cxx index 7329ecba5f..b98704e6c6 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Product.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Product.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_Product, Standard_Transient) -StepBasic_Product::StepBasic_Product() {} +StepBasic_Product::StepBasic_Product() = default; void StepBasic_Product::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductCategory.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductCategory.cxx index c8f87fdad5..47d5fffdd9 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductCategory.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductCategory.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductCategory, Standard_Transient) -StepBasic_ProductCategory::StepBasic_ProductCategory() {} +StepBasic_ProductCategory::StepBasic_ProductCategory() = default; void StepBasic_ProductCategory::Init(const occ::handle& aName, const bool hasAdescription, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductConceptContext.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductConceptContext.cxx index 220cf0c3e9..156d1c51ae 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductConceptContext.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductConceptContext.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductConceptContext, StepBasic_Applicatio //================================================================================================= -StepBasic_ProductConceptContext::StepBasic_ProductConceptContext() {} +StepBasic_ProductConceptContext::StepBasic_ProductConceptContext() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductContext.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductContext.cxx index 44f1d15088..c03e8c44d3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductContext.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductContext.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductContext, StepBasic_ApplicationContextElement) -StepBasic_ProductContext::StepBasic_ProductContext() {} +StepBasic_ProductContext::StepBasic_ProductContext() = default; void StepBasic_ProductContext::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinition.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinition.cxx index ed9a7af59f..c2d6390b60 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinition.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinition, Standard_Transient) -StepBasic_ProductDefinition::StepBasic_ProductDefinition() {} +StepBasic_ProductDefinition::StepBasic_ProductDefinition() = default; void StepBasic_ProductDefinition::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionContext.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionContext.cxx index b8a384fb07..f8d580134a 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionContext.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionContext.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionContext, StepBasic_ApplicationContextElement) -StepBasic_ProductDefinitionContext::StepBasic_ProductDefinitionContext() {} +StepBasic_ProductDefinitionContext::StepBasic_ProductDefinitionContext() = default; void StepBasic_ProductDefinitionContext::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionEffectivity.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionEffectivity.cxx index bc9015ed7a..c6400791c9 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionEffectivity.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionEffectivity.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionEffectivity, StepBasic_Effectivity) -StepBasic_ProductDefinitionEffectivity::StepBasic_ProductDefinitionEffectivity() {} +StepBasic_ProductDefinitionEffectivity::StepBasic_ProductDefinitionEffectivity() = default; void StepBasic_ProductDefinitionEffectivity::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormation.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormation.cxx index a292a9668d..ca4a21f535 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormation.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormation.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionFormation, Standard_Transient) -StepBasic_ProductDefinitionFormation::StepBasic_ProductDefinitionFormation() {} +StepBasic_ProductDefinitionFormation::StepBasic_ProductDefinitionFormation() = default; void StepBasic_ProductDefinitionFormation::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationRelationship.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationRelationship.cxx index e73b44945f..f9463fad85 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationRelationship.cxx @@ -23,9 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionFormationRelationship, Sta //================================================================================================= -StepBasic_ProductDefinitionFormationRelationship::StepBasic_ProductDefinitionFormationRelationship() -{ -} +StepBasic_ProductDefinitionFormationRelationship:: + StepBasic_ProductDefinitionFormationRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationWithSpecifiedSource.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationWithSpecifiedSource.cxx index 958802cf1d..b6ac7e75df 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationWithSpecifiedSource.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionFormationWithSpecifiedSource.cxx @@ -19,9 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionFormationWithSpecifiedSour StepBasic_ProductDefinitionFormation) StepBasic_ProductDefinitionFormationWithSpecifiedSource:: - StepBasic_ProductDefinitionFormationWithSpecifiedSource() -{ -} + StepBasic_ProductDefinitionFormationWithSpecifiedSource() = default; void StepBasic_ProductDefinitionFormationWithSpecifiedSource::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.cxx index b28a0084dc..1d2cb216d1 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.cxx @@ -21,7 +21,7 @@ //================================================================================================= -StepBasic_ProductDefinitionOrReference::StepBasic_ProductDefinitionOrReference() {} +StepBasic_ProductDefinitionOrReference::StepBasic_ProductDefinitionOrReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.hxx index 51d50a0bae..a0f6752142 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionOrReference.hxx @@ -40,7 +40,7 @@ public: //! 2 -> ProductDefinitionReference //! 3 -> ProductDefinitionReferenceWithLocalPresentation //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ProductDefinition (Null if another type) Standard_EXPORT occ::handle ProductDefinition() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReference.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReference.cxx index 078bbb1b8c..027527fade 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReference.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReference.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionReference, Standard_Transi //================================================================================================= -StepBasic_ProductDefinitionReference::StepBasic_ProductDefinitionReference() {} +StepBasic_ProductDefinitionReference::StepBasic_ProductDefinitionReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReferenceWithLocalRepresentation.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReferenceWithLocalRepresentation.cxx index f1f0bca254..d034087abd 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReferenceWithLocalRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionReferenceWithLocalRepresentation.cxx @@ -22,9 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionReferenceWithLocalRepresen //================================================================================================= StepBasic_ProductDefinitionReferenceWithLocalRepresentation:: - StepBasic_ProductDefinitionReferenceWithLocalRepresentation() -{ -} + StepBasic_ProductDefinitionReferenceWithLocalRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionWithAssociatedDocuments.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionWithAssociatedDocuments.cxx index 70383c512a..10a58210a0 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionWithAssociatedDocuments.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductDefinitionWithAssociatedDocuments.cxx @@ -20,9 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionWithAssociatedDocuments, StepBasic_ProductDefinition) StepBasic_ProductDefinitionWithAssociatedDocuments:: - StepBasic_ProductDefinitionWithAssociatedDocuments() -{ -} + StepBasic_ProductDefinitionWithAssociatedDocuments() = default; void StepBasic_ProductDefinitionWithAssociatedDocuments::Init( const occ::handle& aId, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.cxx index 90481ec8f8..6f84d2c0be 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepBasic_ProductOrFormationOrDefinition::StepBasic_ProductOrFormationOrDefinition() {} +StepBasic_ProductOrFormationOrDefinition::StepBasic_ProductOrFormationOrDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.hxx index 73fbe82aba..f801f4f128 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductOrFormationOrDefinition.hxx @@ -41,7 +41,7 @@ public: //! 2 -> ProductDefinitionFormation from StepBasic //! 3 -> ProductDefinition from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as Product (or Null if another type) Standard_EXPORT occ::handle Product() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductRelatedProductCategory.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductRelatedProductCategory.cxx index b06f0f368e..0d36b15ac6 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductRelatedProductCategory.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductRelatedProductCategory.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductRelatedProductCategory, StepBasic_ProductCategory) -StepBasic_ProductRelatedProductCategory::StepBasic_ProductRelatedProductCategory() {} +StepBasic_ProductRelatedProductCategory::StepBasic_ProductRelatedProductCategory() = default; void StepBasic_ProductRelatedProductCategory::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductType.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductType.cxx index 3953dd68fb..eea15a5690 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductType.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ProductType.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductType, StepBasic_ProductRelatedProductCategory) -StepBasic_ProductType::StepBasic_ProductType() {} +StepBasic_ProductType::StepBasic_ProductType() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioMeasureWithUnit.cxx index 4dcc5a2885..c66309d04c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioMeasureWithUnit.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_RatioMeasureWithUnit, StepBasic_MeasureWithUnit) -StepBasic_RatioMeasureWithUnit::StepBasic_RatioMeasureWithUnit() {} +StepBasic_RatioMeasureWithUnit::StepBasic_RatioMeasureWithUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioUnit.cxx index afd8254ce8..b7bb54c6fb 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RatioUnit.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_RatioUnit, StepBasic_NamedUnit) -StepBasic_RatioUnit::StepBasic_RatioUnit() {} +StepBasic_RatioUnit::StepBasic_RatioUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleAssociation.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleAssociation.cxx index 14125ea747..f85e99dc15 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleAssociation.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleAssociation.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_RoleAssociation, Standard_Transient) //================================================================================================= -StepBasic_RoleAssociation::StepBasic_RoleAssociation() {} +StepBasic_RoleAssociation::StepBasic_RoleAssociation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.cxx index ca8be04c9f..fb6b3218e7 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.cxx @@ -31,7 +31,7 @@ //================================================================================================= -StepBasic_RoleSelect::StepBasic_RoleSelect() {} +StepBasic_RoleSelect::StepBasic_RoleSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.hxx index 977cb88ea5..ec1373b945 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_RoleSelect.hxx @@ -57,7 +57,7 @@ public: //! 10 -> NameAssignment from StepBasic //! 11 -> SecurityClassificationAssignment from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ActionAssignment (or Null if another type) Standard_EXPORT occ::handle ActionAssignment() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassification.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassification.cxx index 6417d33cb0..51e2131630 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassification.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassification.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SecurityClassification, Standard_Transient) -StepBasic_SecurityClassification::StepBasic_SecurityClassification() {} +StepBasic_SecurityClassification::StepBasic_SecurityClassification() = default; void StepBasic_SecurityClassification::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassificationLevel.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassificationLevel.cxx index ee39a52dc2..00c2f7cf44 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassificationLevel.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SecurityClassificationLevel.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SecurityClassificationLevel, Standard_Transient) -StepBasic_SecurityClassificationLevel::StepBasic_SecurityClassificationLevel() {} +StepBasic_SecurityClassificationLevel::StepBasic_SecurityClassificationLevel() = default; void StepBasic_SecurityClassificationLevel::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.cxx index 4d15dd6d7d..ba4cd45ce3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnit, StepBasic_NamedUnit) -StepBasic_SiUnit::StepBasic_SiUnit() {} +StepBasic_SiUnit::StepBasic_SiUnit() = default; void StepBasic_SiUnit::Init(const bool hasAprefix, const StepBasic_SiPrefix aPrefix, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.hxx index 85db22b52b..6b32be56c4 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnit.hxx @@ -48,10 +48,10 @@ public: Standard_EXPORT StepBasic_SiUnitName Name() const; - Standard_EXPORT virtual void SetDimensions( + Standard_EXPORT void SetDimensions( const occ::handle& aDimensions) override; - Standard_EXPORT virtual occ::handle Dimensions() const override; + Standard_EXPORT occ::handle Dimensions() const override; DEFINE_STANDARD_RTTIEXT(StepBasic_SiUnit, StepBasic_NamedUnit) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndAreaUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndAreaUnit.cxx index 21e295c612..2d52f28031 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndAreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndAreaUnit.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndAreaUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndAreaUnit::StepBasic_SiUnitAndAreaUnit() {} +StepBasic_SiUnitAndAreaUnit::StepBasic_SiUnitAndAreaUnit() = default; void StepBasic_SiUnitAndAreaUnit::SetAreaUnit(const occ::handle& anAreaUnit) { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndLengthUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndLengthUnit.cxx index 75e73f2cd9..c6437e7129 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndLengthUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndLengthUnit.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndLengthUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndLengthUnit::StepBasic_SiUnitAndLengthUnit() {} +StepBasic_SiUnitAndLengthUnit::StepBasic_SiUnitAndLengthUnit() = default; void StepBasic_SiUnitAndLengthUnit::Init(const bool hasAprefix, const StepBasic_SiPrefix aPrefix, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndMassUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndMassUnit.cxx index f9835a224b..57de98c2f9 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndMassUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndMassUnit.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndMassUnit, StepBasic_SiUnit) //================================================================================================= -StepBasic_SiUnitAndMassUnit::StepBasic_SiUnitAndMassUnit() {} +StepBasic_SiUnitAndMassUnit::StepBasic_SiUnitAndMassUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndPlaneAngleUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndPlaneAngleUnit.cxx index a2127e5329..611d252672 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndPlaneAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndPlaneAngleUnit.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndPlaneAngleUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndPlaneAngleUnit::StepBasic_SiUnitAndPlaneAngleUnit() {} +StepBasic_SiUnitAndPlaneAngleUnit::StepBasic_SiUnitAndPlaneAngleUnit() = default; void StepBasic_SiUnitAndPlaneAngleUnit::Init(const bool hasAprefix, const StepBasic_SiPrefix aPrefix, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndRatioUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndRatioUnit.cxx index 4461597fa9..59d018bcae 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndRatioUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndRatioUnit.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndRatioUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndRatioUnit::StepBasic_SiUnitAndRatioUnit() {} +StepBasic_SiUnitAndRatioUnit::StepBasic_SiUnitAndRatioUnit() = default; void StepBasic_SiUnitAndRatioUnit::Init(const bool hasAprefix, const StepBasic_SiPrefix aPrefix, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndSolidAngleUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndSolidAngleUnit.cxx index 4436db9ee4..b8ddadf017 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndSolidAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndSolidAngleUnit.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndSolidAngleUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndSolidAngleUnit::StepBasic_SiUnitAndSolidAngleUnit() {} +StepBasic_SiUnitAndSolidAngleUnit::StepBasic_SiUnitAndSolidAngleUnit() = default; void StepBasic_SiUnitAndSolidAngleUnit::Init(const bool hasAprefix, const StepBasic_SiPrefix aPrefix, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndThermodynamicTemperatureUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndThermodynamicTemperatureUnit.cxx index 0dbcbcbc9b..631c6f8daf 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndThermodynamicTemperatureUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndThermodynamicTemperatureUnit.cxx @@ -20,9 +20,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndThermodynamicTemperatureUnit, Step //================================================================================================= -StepBasic_SiUnitAndThermodynamicTemperatureUnit::StepBasic_SiUnitAndThermodynamicTemperatureUnit() -{ -} +StepBasic_SiUnitAndThermodynamicTemperatureUnit::StepBasic_SiUnitAndThermodynamicTemperatureUnit() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndTimeUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndTimeUnit.cxx index 9e11b33b28..6a32954cf7 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndTimeUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndTimeUnit.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndTimeUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndTimeUnit::StepBasic_SiUnitAndTimeUnit() {} +StepBasic_SiUnitAndTimeUnit::StepBasic_SiUnitAndTimeUnit() = default; void StepBasic_SiUnitAndTimeUnit::Init(const bool hasAprefix, const StepBasic_SiPrefix aPrefix, diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndVolumeUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndVolumeUnit.cxx index c40470af5c..8e1ccb848d 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndVolumeUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SiUnitAndVolumeUnit.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SiUnitAndVolumeUnit, StepBasic_SiUnit) -StepBasic_SiUnitAndVolumeUnit::StepBasic_SiUnitAndVolumeUnit() {} +StepBasic_SiUnitAndVolumeUnit::StepBasic_SiUnitAndVolumeUnit() = default; void StepBasic_SiUnitAndVolumeUnit::SetVolumeUnit( const occ::handle& aVolumeUnit) diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.cxx index 68a0bd9135..a7af02d02a 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SizeMember, StepData_SelectReal) -StepBasic_SizeMember::StepBasic_SizeMember() {} +StepBasic_SizeMember::StepBasic_SizeMember() = default; bool StepBasic_SizeMember::HasName() const { diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.hxx index b0b17e7ae8..b620b391a3 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeMember.hxx @@ -30,11 +30,11 @@ class StepBasic_SizeMember : public StepData_SelectReal public: Standard_EXPORT StepBasic_SizeMember(); - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; DEFINE_STANDARD_RTTIEXT(StepBasic_SizeMember, StepData_SelectReal) }; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.cxx index c48e55a830..e88f348974 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.cxx @@ -18,7 +18,7 @@ //================================================================================================= -StepBasic_SizeSelect::StepBasic_SizeSelect() {} +StepBasic_SizeSelect::StepBasic_SizeSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.hxx index eda40f98b8..038298494c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SizeSelect.hxx @@ -40,12 +40,12 @@ public: Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns a SizeMember (POSITIVE_LENGTH_MEASURE) as preferred - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Recognizes a SelectMember as Real, named as PARAMETER_VALUE //! 1 -> PositiveLengthMeasure i.e. Real //! 0 else (i.e. Entity) - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; Standard_EXPORT void SetRealValue(const double aReal); diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleMeasureWithUnit.cxx index f27910a5bb..9b5c0128fa 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleMeasureWithUnit.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SolidAngleMeasureWithUnit, StepBasic_MeasureWithUnit) -StepBasic_SolidAngleMeasureWithUnit::StepBasic_SolidAngleMeasureWithUnit() {} +StepBasic_SolidAngleMeasureWithUnit::StepBasic_SolidAngleMeasureWithUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleUnit.cxx index 39c702a065..c00f190f9c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SolidAngleUnit.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_SolidAngleUnit, StepBasic_NamedUnit) -StepBasic_SolidAngleUnit::StepBasic_SolidAngleUnit() {} +StepBasic_SolidAngleUnit::StepBasic_SolidAngleUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.cxx index 89608cb8fe..0aa2e69c7f 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepBasic_SourceItem::StepBasic_SourceItem() {} +StepBasic_SourceItem::StepBasic_SourceItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.hxx index 13c1763283..1b9f9a5dbd 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_SourceItem.hxx @@ -40,7 +40,7 @@ public: //! 0 else Standard_EXPORT int CaseNum(const occ::handle& ent) const override; - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Returns Value as Identifier (or Null if another type) Standard_EXPORT occ::handle Identifier() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ThermodynamicTemperatureUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ThermodynamicTemperatureUnit.cxx index abcc1a6165..d3b10153c7 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ThermodynamicTemperatureUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_ThermodynamicTemperatureUnit.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ThermodynamicTemperatureUnit, StepBasic_Nam //================================================================================================= -StepBasic_ThermodynamicTemperatureUnit::StepBasic_ThermodynamicTemperatureUnit() {} +StepBasic_ThermodynamicTemperatureUnit::StepBasic_ThermodynamicTemperatureUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeMeasureWithUnit.cxx index 4e6d6b2aa8..2ff738e5e4 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeMeasureWithUnit.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_TimeMeasureWithUnit, StepBasic_MeasureWithUnit) -StepBasic_TimeMeasureWithUnit::StepBasic_TimeMeasureWithUnit() {} +StepBasic_TimeMeasureWithUnit::StepBasic_TimeMeasureWithUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeUnit.cxx index c3215effcd..27b0c9095c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_TimeUnit.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_TimeUnit, StepBasic_NamedUnit) -StepBasic_TimeUnit::StepBasic_TimeUnit() {} +StepBasic_TimeUnit::StepBasic_TimeUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_UncertaintyMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_UncertaintyMeasureWithUnit.cxx index 10fdbc4dcb..2838fd9c11 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_UncertaintyMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_UncertaintyMeasureWithUnit.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_UncertaintyMeasureWithUnit, StepBasic_Measu //================================================================================================= -StepBasic_UncertaintyMeasureWithUnit::StepBasic_UncertaintyMeasureWithUnit() {} +StepBasic_UncertaintyMeasureWithUnit::StepBasic_UncertaintyMeasureWithUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.cxx index 3be7903bb2..06da7478a4 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepBasic_Unit::StepBasic_Unit() {} +StepBasic_Unit::StepBasic_Unit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.hxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.hxx index bfefd737d3..5cdd552c4d 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.hxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_Unit.hxx @@ -39,7 +39,7 @@ public: //! Recognizes a type of Unit Entity //! 1 -> NamedUnit //! 2 -> DerivedUnit - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a NamedUnit (Null if another type) Standard_EXPORT occ::handle NamedUnit() const; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_VolumeUnit.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_VolumeUnit.cxx index 6c18260851..15f2c2879c 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_VolumeUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_VolumeUnit.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_VolumeUnit, StepBasic_NamedUnit) -StepBasic_VolumeUnit::StepBasic_VolumeUnit() {} +StepBasic_VolumeUnit::StepBasic_VolumeUnit() = default; diff --git a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_WeekOfYearAndDayDate.cxx b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_WeekOfYearAndDayDate.cxx index 900a84034f..6b481827ab 100644 --- a/src/DataExchange/TKDESTEP/StepBasic/StepBasic_WeekOfYearAndDayDate.cxx +++ b/src/DataExchange/TKDESTEP/StepBasic/StepBasic_WeekOfYearAndDayDate.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepBasic_WeekOfYearAndDayDate, StepBasic_Date) -StepBasic_WeekOfYearAndDayDate::StepBasic_WeekOfYearAndDayDate() {} +StepBasic_WeekOfYearAndDayDate::StepBasic_WeekOfYearAndDayDate() = default; void StepBasic_WeekOfYearAndDayDate::Init(const int aYearComponent, const int aWeekComponent, diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_ECDescr.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_ECDescr.cxx index 3e9a924cf8..05b6dc670d 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_ECDescr.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_ECDescr.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepData_ECDescr, StepData_EDescr) -StepData_ECDescr::StepData_ECDescr() {} +StepData_ECDescr::StepData_ECDescr() = default; void StepData_ECDescr::Add(const occ::handle& member) { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FieldList.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_FieldList.cxx index cb80ab6597..5393b7c5ba 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FieldList.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FieldList.cxx @@ -18,9 +18,9 @@ static StepData_Field nulfild; -StepData_FieldList::~StepData_FieldList() {} +StepData_FieldList::~StepData_FieldList() = default; -StepData_FieldList::StepData_FieldList() {} +StepData_FieldList::StepData_FieldList() = default; int StepData_FieldList::NbFields() const { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.cxx index a949ac5a4d..9418428d50 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.cxx @@ -14,7 +14,7 @@ #include #include -StepData_FieldList1::StepData_FieldList1() {} +StepData_FieldList1::StepData_FieldList1() = default; int StepData_FieldList1::NbFields() const { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.hxx index cabb51956c..be282502fc 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FieldList1.hxx @@ -34,14 +34,14 @@ public: Standard_EXPORT StepData_FieldList1(); //! Returns the count of fields. Here, returns 1 - Standard_EXPORT virtual int NbFields() const override; + Standard_EXPORT int NbFields() const override; //! Returns the field n0 between 1 and NbFields (read only) - Standard_EXPORT virtual const StepData_Field& Field(const int num) const override; + Standard_EXPORT const StepData_Field& Field(const int num) const override; //! Returns the field n0 between 1 and NbFields, in order to //! modify its content - Standard_EXPORT virtual StepData_Field& CField(const int num) override; + Standard_EXPORT StepData_Field& CField(const int num) override; private: StepData_Field thefield; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FieldListD.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_FieldListD.hxx index 144f27a7e6..4cc0f2ed21 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FieldListD.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FieldListD.hxx @@ -43,14 +43,14 @@ public: Standard_EXPORT void SetNb(const int nb); //! Returns the count of fields. Here, returns starting - Standard_EXPORT virtual int NbFields() const override; + Standard_EXPORT int NbFields() const override; //! Returns the field n0 between 1 and NbFields (read only) - Standard_EXPORT virtual const StepData_Field& Field(const int num) const override; + Standard_EXPORT const StepData_Field& Field(const int num) const override; //! Returns the field n0 between 1 and NbFields, in order to //! modify its content - Standard_EXPORT virtual StepData_Field& CField(const int num) override; + Standard_EXPORT StepData_Field& CField(const int num) override; private: occ::handle> thefields; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FieldListN.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_FieldListN.hxx index 80741a3035..28b1f57b8b 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FieldListN.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FieldListN.hxx @@ -38,14 +38,14 @@ public: Standard_EXPORT StepData_FieldListN(const int nb); //! Returns the count of fields. Here, returns starting - Standard_EXPORT virtual int NbFields() const override; + Standard_EXPORT int NbFields() const override; //! Returns the field n0 between 1 and NbFields (read only) - Standard_EXPORT virtual const StepData_Field& Field(const int num) const override; + Standard_EXPORT const StepData_Field& Field(const int num) const override; //! Returns the field n0 between 1 and NbFields, in order to //! modify its content - Standard_EXPORT virtual StepData_Field& CField(const int num) override; + Standard_EXPORT StepData_Field& CField(const int num) override; private: NCollection_Array1 thefields; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.cxx index 29c0b65fa9..ed911a3688 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.cxx @@ -24,7 +24,7 @@ static const char* thename = ""; // Empty schema name for file protocols // Protocol factory created on demand with other Protocols -StepData_FileProtocol::StepData_FileProtocol() {} +StepData_FileProtocol::StepData_FileProtocol() = default; void StepData_FileProtocol::Add(const occ::handle& protocol) { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.hxx index 17196c0dda..88c9bef18a 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_FileProtocol.hxx @@ -48,25 +48,25 @@ public: //! Gives the count of Protocols used as Resource (can be zero) //! i.e. the count of Protocol recorded by calling the method Add - Standard_EXPORT virtual int NbResources() const override; + Standard_EXPORT int NbResources() const override; //! Returns a Resource, given a rank. Here, rank of calling Add - Standard_EXPORT virtual occ::handle Resource(const int num) const override; + Standard_EXPORT occ::handle Resource(const int num) const override; //! Returns a Case Number, specific of each recognized Type //! Here, NO Type at all is recognized properly : all Types are //! recognized by the resources - Standard_EXPORT virtual int TypeNumber(const occ::handle& atype) const override; + Standard_EXPORT int TypeNumber(const occ::handle& atype) const override; //! Calls GlobalCheck for each of its recorded resources - Standard_EXPORT virtual bool GlobalCheck(const Interface_Graph& G, - occ::handle& ach) const override; + Standard_EXPORT bool GlobalCheck(const Interface_Graph& G, + occ::handle& ach) const override; //! Returns the Schema Name attached to each class of Protocol //! To be redefined by each sub-class //! Here, SchemaName returns "" (empty String) //! was C++ : return const - Standard_EXPORT virtual const char* SchemaName( + Standard_EXPORT const char* SchemaName( const occ::handle& theModel) const override; DEFINE_STANDARD_RTTIEXT(StepData_FileProtocol, StepData_Protocol) diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_GeneralModule.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_GeneralModule.hxx index 0ef61e6cb4..496ca8f875 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_GeneralModule.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_GeneralModule.hxx @@ -35,15 +35,15 @@ class StepData_GeneralModule : public Interface_GeneralModule public: //! Specific filling of the list of Entities shared by an Entity //! . Can use the internal utility method Share, below - Standard_EXPORT virtual void FillSharedCase(const int casenum, - const occ::handle& ent, - Interface_EntityIterator& iter) const override = 0; + Standard_EXPORT void FillSharedCase(const int casenum, + const occ::handle& ent, + Interface_EntityIterator& iter) const override = 0; //! Specific Checking of an Entity - Standard_EXPORT virtual void CheckCase(const int casenum, - const occ::handle& ent, - const Interface_ShareTool& shares, - occ::handle& ach) const override = 0; + Standard_EXPORT void CheckCase(const int casenum, + const occ::handle& ent, + const Interface_ShareTool& shares, + occ::handle& ach) const override = 0; //! Specific Copy ("Deep") from to (same type) //! by using a TransferControl which provides its working Map. @@ -52,10 +52,10 @@ public: //! A Default is provided which does nothing (must current case !) //! Already copied references (by CopyFrom) must remain unchanged //! Use method Search from TransferControl to work - Standard_EXPORT virtual void CopyCase(const int casenum, - const occ::handle& entfrom, - const occ::handle& entto, - Interface_CopyTool& TC) const override = 0; + Standard_EXPORT void CopyCase(const int casenum, + const occ::handle& entfrom, + const occ::handle& entto, + Interface_CopyTool& TC) const override = 0; DEFINE_STANDARD_RTTIEXT(StepData_GeneralModule, Interface_GeneralModule) }; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_GlobalNodeOfWriterLib_0.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_GlobalNodeOfWriterLib_0.cxx index 4b4deca8c6..78f83f200c 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_GlobalNodeOfWriterLib_0.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_GlobalNodeOfWriterLib_0.cxx @@ -24,7 +24,7 @@ #include #include -StepData_GlobalNodeOfWriterLib::StepData_GlobalNodeOfWriterLib() {} +StepData_GlobalNodeOfWriterLib::StepData_GlobalNodeOfWriterLib() = default; void StepData_GlobalNodeOfWriterLib::Add(const occ::handle& amodule, const occ::handle& aprotocol) diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_NodeOfWriterLib_0.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_NodeOfWriterLib_0.cxx index d7eaea9dd5..e6fc45b732 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_NodeOfWriterLib_0.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_NodeOfWriterLib_0.cxx @@ -24,7 +24,7 @@ #include #include -StepData_NodeOfWriterLib::StepData_NodeOfWriterLib() {} +StepData_NodeOfWriterLib::StepData_NodeOfWriterLib() = default; void StepData_NodeOfWriterLib::AddNode(const occ::handle& anode) { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.cxx index 2e932bdc09..b5fe0bf61d 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.cxx @@ -24,14 +24,14 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(StepData_Protocol, Interface_Protocol) // The base Protocol recognizes UnknownEntity // static TCollection_AsciiString thename("(DEFAULT)"); static const char* thename = "(DEFAULT)"; -StepData_Protocol::StepData_Protocol() {} +StepData_Protocol::StepData_Protocol() = default; int StepData_Protocol::NbResources() const { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.hxx index 760f6d929c..07fc89d972 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_Protocol.hxx @@ -53,7 +53,7 @@ public: //! Returns a unique positive number for any recognized entity //! Redefined to work by calling both TypeNumber and, for a //! Described Entity (late binding) DescrNumber - Standard_EXPORT virtual int CaseNumber(const occ::handle& obj) const override; + Standard_EXPORT int CaseNumber(const occ::handle& obj) const override; //! Returns a Case Number, specific of each recognized Type //! Here, only Unknown Entity is recognized diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.cxx index ef77c7fa35..f94b72bf02 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectArrReal, StepData_SelectNamed) //================================================================================================= -StepData_SelectArrReal::StepData_SelectArrReal() {} +StepData_SelectArrReal::StepData_SelectArrReal() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.hxx index 771022183c..c135155594 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectArrReal.hxx @@ -29,7 +29,7 @@ class StepData_SelectArrReal : public StepData_SelectNamed public: Standard_EXPORT StepData_SelectArrReal(); - Standard_EXPORT virtual int Kind() const override; + Standard_EXPORT int Kind() const override; Standard_EXPORT occ::handle> ArrReal() const; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectInt.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectInt.hxx index ab75c63f12..eb5475e27b 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectInt.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectInt.hxx @@ -33,13 +33,13 @@ class StepData_SelectInt : public StepData_SelectMember public: Standard_EXPORT StepData_SelectInt(); - Standard_EXPORT virtual int Kind() const override; + Standard_EXPORT int Kind() const override; - Standard_EXPORT virtual void SetKind(const int kind) override; + Standard_EXPORT void SetKind(const int kind) override; - Standard_EXPORT virtual int Int() const override; + Standard_EXPORT int Int() const override; - Standard_EXPORT virtual void SetInt(const int val) override; + Standard_EXPORT void SetInt(const int val) override; DEFINE_STANDARD_RTTIEXT(StepData_SelectInt, StepData_SelectMember) diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectMember.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectMember.cxx index 44e8419537..3d2291c231 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectMember.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectMember.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepData_SelectMember, Standard_Transient) #define KindReal 5 #define KindString 6 -StepData_SelectMember::StepData_SelectMember() {} +StepData_SelectMember::StepData_SelectMember() = default; bool StepData_SelectMember::HasName() const { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectNamed.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectNamed.hxx index 0ce7715513..c7ab2cdf69 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectNamed.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectNamed.hxx @@ -35,35 +35,35 @@ class StepData_SelectNamed : public StepData_SelectMember public: Standard_EXPORT StepData_SelectNamed(); - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; Standard_EXPORT const StepData_Field& Field() const; Standard_EXPORT StepData_Field& CField(); - Standard_EXPORT virtual int Kind() const override; + Standard_EXPORT int Kind() const override; - Standard_EXPORT virtual void SetKind(const int kind) override; + Standard_EXPORT void SetKind(const int kind) override; //! This internal method gives access to a value implemented by an //! Integer (to read it) - Standard_EXPORT virtual int Int() const override; + Standard_EXPORT int Int() const override; //! This internal method gives access to a value implemented by an //! Integer (to set it) - Standard_EXPORT virtual void SetInt(const int val) override; + Standard_EXPORT void SetInt(const int val) override; - Standard_EXPORT virtual double Real() const override; + Standard_EXPORT double Real() const override; - Standard_EXPORT virtual void SetReal(const double val) override; + Standard_EXPORT void SetReal(const double val) override; - Standard_EXPORT virtual const char* String() const override; + Standard_EXPORT const char* String() const override; - Standard_EXPORT virtual void SetString(const char* val) override; + Standard_EXPORT void SetString(const char* val) override; DEFINE_STANDARD_RTTIEXT(StepData_SelectNamed, StepData_SelectMember) diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectReal.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectReal.hxx index 9ee870531f..16b56fdefa 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectReal.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectReal.hxx @@ -33,11 +33,11 @@ class StepData_SelectReal : public StepData_SelectMember public: Standard_EXPORT StepData_SelectReal(); - Standard_EXPORT virtual int Kind() const override; + Standard_EXPORT int Kind() const override; - Standard_EXPORT virtual double Real() const override; + Standard_EXPORT double Real() const override; - Standard_EXPORT virtual void SetReal(const double val) override; + Standard_EXPORT void SetReal(const double val) override; DEFINE_STANDARD_RTTIEXT(StepData_SelectReal, StepData_SelectMember) diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_SelectType.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_SelectType.cxx index b6e0b86e22..234c651981 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_SelectType.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_SelectType.cxx @@ -228,4 +228,4 @@ void StepData_SelectType::SetReal(const double val, const char* name) thevalue = sm; } -StepData_SelectType::~StepData_SelectType() {} +StepData_SelectType::~StepData_SelectType() = default; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepDumper.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepDumper.cxx index 5317231814..c3ab1141ee 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepDumper.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepDumper.cxx @@ -25,7 +25,7 @@ #include #include -#include +#include // Constructor: Initialize STEP dumper with model, protocol, and output mode // mode > 0 sets label mode to 2 for enhanced entity labeling diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.cxx index 1b8ba01f2a..6a51ecca2d 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.cxx @@ -26,12 +26,12 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(StepData_StepModel, Interface_InterfaceModel) // File header: list of entities // Default constructor for STEP data model -StepData_StepModel::StepData_StepModel() {} +StepData_StepModel::StepData_StepModel() = default; occ::handle StepData_StepModel::Entity(const int num) const { diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.hxx index 07d0de721d..1a0a32bff5 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepModel.hxx @@ -68,7 +68,7 @@ public: Standard_EXPORT void AddHeaderEntity(const occ::handle& ent); //! Specific Check, checks Header Items with HeaderProtocol - Standard_EXPORT virtual void VerifyCheck(occ::handle& ach) const override; + Standard_EXPORT void VerifyCheck(occ::handle& ach) const override; //! Dumps the Header, with the Header Protocol of StepData. //! If the Header Protocol is not defined, for each Header Entity, diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.cxx index d42ea6bcf4..08d7517fdc 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.cxx @@ -46,7 +46,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(StepData_StepReaderData, Interface_FileReaderData) // The Header consists of entities analogous in principle to those diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.hxx index 6ec8ac24e4..c0fad6963a 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderData.hxx @@ -416,7 +416,7 @@ public: const bool errstat = false) const; //! Returns total count of Entities (including Header) - Standard_EXPORT virtual int NbEntities() const override; + Standard_EXPORT int NbEntities() const override; //! determines the first suitable record following a given one //! that is, skips SCOPE,ENDSCOPE and SUBLIST records diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderTool.hxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderTool.hxx index 0adc8974ac..7754d93e98 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderTool.hxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepReaderTool.hxx @@ -89,8 +89,7 @@ public: //! Ends file reading after reading all the entities //! Here, it binds in the model, Idents to Entities (for checks) - Standard_EXPORT virtual void EndRead( - const occ::handle& amodel) override; + Standard_EXPORT void EndRead(const occ::handle& amodel) override; private: occ::handle thereco; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_StepWriter.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_StepWriter.cxx index 4313b15a35..ccc780b29c 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_StepWriter.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_StepWriter.cxx @@ -35,7 +35,7 @@ #include #include -#include +#include #define StepLong 72 // StepLong: maximum length of a Step file line diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_AngularityTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_AngularityTolerance.cxx index cd5b6bcd56..ff6723af5f 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_AngularityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_AngularityTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_AngularityTolerance, //================================================================================================= -StepDimTol_AngularityTolerance::StepDimTol_AngularityTolerance() {} +StepDimTol_AngularityTolerance::StepDimTol_AngularityTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CircularRunoutTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CircularRunoutTolerance.cxx index 5dd99e2ab0..e56c816e6d 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CircularRunoutTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CircularRunoutTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_CircularRunoutTolerance, //================================================================================================= -StepDimTol_CircularRunoutTolerance::StepDimTol_CircularRunoutTolerance() {} +StepDimTol_CircularRunoutTolerance::StepDimTol_CircularRunoutTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CoaxialityTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CoaxialityTolerance.cxx index bee547e8db..2157529c92 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CoaxialityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CoaxialityTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_CoaxialityTolerance, //================================================================================================= -StepDimTol_CoaxialityTolerance::StepDimTol_CoaxialityTolerance() {} +StepDimTol_CoaxialityTolerance::StepDimTol_CoaxialityTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CommonDatum.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CommonDatum.cxx index 8bb119e25d..a6dc67931b 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CommonDatum.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CommonDatum.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_CommonDatum, StepRepr_CompositeShapeAspect //================================================================================================= -StepDimTol_CommonDatum::StepDimTol_CommonDatum() {} +StepDimTol_CommonDatum::StepDimTol_CommonDatum() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ConcentricityTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ConcentricityTolerance.cxx index b70dfed6ed..3b418917bb 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ConcentricityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ConcentricityTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ConcentricityTolerance, //================================================================================================= -StepDimTol_ConcentricityTolerance::StepDimTol_ConcentricityTolerance() {} +StepDimTol_ConcentricityTolerance::StepDimTol_ConcentricityTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CylindricityTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CylindricityTolerance.cxx index e5cd0da02a..ccf0a1ba98 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CylindricityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_CylindricityTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_CylindricityTolerance, StepDimTol_Geometri //================================================================================================= -StepDimTol_CylindricityTolerance::StepDimTol_CylindricityTolerance() {} +StepDimTol_CylindricityTolerance::StepDimTol_CylindricityTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_Datum.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_Datum.cxx index c288f773ab..315a0e55db 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_Datum.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_Datum.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_Datum, StepRepr_ShapeAspect) //================================================================================================= -StepDimTol_Datum::StepDimTol_Datum() {} +StepDimTol_Datum::StepDimTol_Datum() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumFeature.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumFeature.cxx index 938e81e288..bdc620043a 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumFeature.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumFeature.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumFeature, StepRepr_ShapeAspect) //================================================================================================= -StepDimTol_DatumFeature::StepDimTol_DatumFeature() {} +StepDimTol_DatumFeature::StepDimTol_DatumFeature() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.cxx index 58adf29602..661b5e8294 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepDimTol_DatumOrCommonDatum::StepDimTol_DatumOrCommonDatum() {} +StepDimTol_DatumOrCommonDatum::StepDimTol_DatumOrCommonDatum() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.hxx index 753998881b..67da17ad7c 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumOrCommonDatum.hxx @@ -40,7 +40,7 @@ public: //! 1 -> Datum //! 2 -> CommonDatumList //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Datum (Null if another type) Standard_EXPORT occ::handle Datum() const; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReference.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReference.cxx index 04743c4bac..3d107feeff 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReference.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReference.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumReference, Standard_Transient) //================================================================================================= -StepDimTol_DatumReference::StepDimTol_DatumReference() {} +StepDimTol_DatumReference::StepDimTol_DatumReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceCompartment.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceCompartment.cxx index 53fb6e9061..3d1d4915cd 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceCompartment.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceCompartment.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumReferenceCompartment, StepDimTol_Gene //================================================================================================= -StepDimTol_DatumReferenceCompartment::StepDimTol_DatumReferenceCompartment() {} +StepDimTol_DatumReferenceCompartment::StepDimTol_DatumReferenceCompartment() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceElement.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceElement.cxx index 3208cf54d5..47b4696cc7 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceElement.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceElement.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumReferenceElement, StepDimTol_GeneralD //================================================================================================= -StepDimTol_DatumReferenceElement::StepDimTol_DatumReferenceElement() {} +StepDimTol_DatumReferenceElement::StepDimTol_DatumReferenceElement() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.cxx index c278d1bde3..9275f6c654 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepDimTol_DatumReferenceModifier::StepDimTol_DatumReferenceModifier() {} +StepDimTol_DatumReferenceModifier::StepDimTol_DatumReferenceModifier() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.hxx index b7eb38087e..501d4e3668 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifier.hxx @@ -38,7 +38,7 @@ public: //! 1 -> DatumReferenceModifierWithValue //! 2 -> SimpleDatumReferenceModifierMember //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a DatumReferenceModifierWithValue (Null if another type) Standard_EXPORT occ::handle diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifierWithValue.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifierWithValue.cxx index 38b10fc7f3..786279f819 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifierWithValue.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumReferenceModifierWithValue.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumReferenceModifierWithValue, Standard_ //================================================================================================= -StepDimTol_DatumReferenceModifierWithValue::StepDimTol_DatumReferenceModifierWithValue() {} +StepDimTol_DatumReferenceModifierWithValue::StepDimTol_DatumReferenceModifierWithValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystem.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystem.cxx index ec4743fec4..f837fc7c01 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystem.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumSystem, StepRepr_ShapeAspect) //================================================================================================= -StepDimTol_DatumSystem::StepDimTol_DatumSystem() {} +StepDimTol_DatumSystem::StepDimTol_DatumSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.cxx index 7e34503e9a..71a1c592c1 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepDimTol_DatumSystemOrReference::StepDimTol_DatumSystemOrReference() {} +StepDimTol_DatumSystemOrReference::StepDimTol_DatumSystemOrReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.hxx index 6e0ceace1e..aa2c0069e1 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumSystemOrReference.hxx @@ -39,7 +39,7 @@ public: //! 1 -> DatumSystem //! 2 -> DatumReference //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a DatumSystem (Null if another type) Standard_EXPORT occ::handle DatumSystem() const; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumTarget.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumTarget.cxx index 33fe13b347..affccf43db 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumTarget.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_DatumTarget.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_DatumTarget, StepRepr_ShapeAspect) //================================================================================================= -StepDimTol_DatumTarget::StepDimTol_DatumTarget() {} +StepDimTol_DatumTarget::StepDimTol_DatumTarget() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_FlatnessTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_FlatnessTolerance.cxx index d11add870b..d92908c182 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_FlatnessTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_FlatnessTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_FlatnessTolerance, StepDimTol_GeometricTol //================================================================================================= -StepDimTol_FlatnessTolerance::StepDimTol_FlatnessTolerance() {} +StepDimTol_FlatnessTolerance::StepDimTol_FlatnessTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeneralDatumReference.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeneralDatumReference.cxx index f0168bfe4e..02829f6764 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeneralDatumReference.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeneralDatumReference.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeneralDatumReference, StepRepr_ShapeAspec //================================================================================================= -StepDimTol_GeneralDatumReference::StepDimTol_GeneralDatumReference() {} +StepDimTol_GeneralDatumReference::StepDimTol_GeneralDatumReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRef.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRef.cxx index b982c25762..b08b36c69e 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRef.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRef.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRef, StepDimTol_Geome //================================================================================================= -StepDimTol_GeoTolAndGeoTolWthDatRef::StepDimTol_GeoTolAndGeoTolWthDatRef() {} +StepDimTol_GeoTolAndGeoTolWthDatRef::StepDimTol_GeoTolAndGeoTolWthDatRef() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx index 289e3d11d0..52825c29cb 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx @@ -27,9 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol //================================================================================================= StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol:: - StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol() -{ -} + StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx index f23412068f..d353b7352a 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx @@ -26,9 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod, //================================================================================================= StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod:: - StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod() -{ -} + StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx index e3bee1ed31..d7f9f8f093 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx @@ -25,9 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPos //================================================================================================= StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol:: - StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol() -{ -} + StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx index 87cf8ed592..d905d0e8a2 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx @@ -25,9 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol, //================================================================================================= StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol:: - StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol() -{ -} + StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMaxTol.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMaxTol.cxx index d64cdef474..1de20a70c7 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMaxTol.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMaxTol.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthMaxTol, StepDimTol_GeoTo //================================================================================================= -StepDimTol_GeoTolAndGeoTolWthMaxTol::StepDimTol_GeoTolAndGeoTolWthMaxTol() {} +StepDimTol_GeoTolAndGeoTolWthMaxTol::StepDimTol_GeoTolAndGeoTolWthMaxTol() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMod.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMod.cxx index b1bb364f08..cf8e560096 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMod.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMod.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthMod, StepDimTol_Geometri //================================================================================================= -StepDimTol_GeoTolAndGeoTolWthMod::StepDimTol_GeoTolAndGeoTolWthMod() {} +StepDimTol_GeoTolAndGeoTolWthMod::StepDimTol_GeoTolAndGeoTolWthMod() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricTolerance.cxx index d38962d083..f91c4fcefc 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricTolerance.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricTolerance, Standard_Transient) //================================================================================================= -StepDimTol_GeometricTolerance::StepDimTol_GeometricTolerance() {} +StepDimTol_GeometricTolerance::StepDimTol_GeometricTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceRelationship.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceRelationship.cxx index 87dc116d33..58adfcad28 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceRelationship.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceRelationship, Standard_T //================================================================================================= -StepDimTol_GeometricToleranceRelationship::StepDimTol_GeometricToleranceRelationship() {} +StepDimTol_GeometricToleranceRelationship::StepDimTol_GeometricToleranceRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.cxx index e6237112ae..e3613a41dc 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepDimTol_GeometricToleranceTarget::StepDimTol_GeometricToleranceTarget() {} +StepDimTol_GeometricToleranceTarget::StepDimTol_GeometricToleranceTarget() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.hxx index 638f482910..6fa94dd7e7 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceTarget.hxx @@ -43,7 +43,7 @@ public: //! 3 -> ProductDefinitionShape //! 4 -> ShapeAspect //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a DimensionalLocation (Null if another type) Standard_EXPORT occ::handle DimensionalLocation() const; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDatumReference.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDatumReference.cxx index ccbe98468b..686250fbee 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDatumReference.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDatumReference.cxx @@ -26,9 +26,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithDatumReference, //================================================================================================= -StepDimTol_GeometricToleranceWithDatumReference::StepDimTol_GeometricToleranceWithDatumReference() -{ -} +StepDimTol_GeometricToleranceWithDatumReference::StepDimTol_GeometricToleranceWithDatumReference() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedAreaUnit.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedAreaUnit.cxx index 809dc65207..488a7092b0 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedAreaUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedAreaUnit.cxx @@ -20,9 +20,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithDefinedAreaUnit, //================================================================================================= -StepDimTol_GeometricToleranceWithDefinedAreaUnit::StepDimTol_GeometricToleranceWithDefinedAreaUnit() -{ -} +StepDimTol_GeometricToleranceWithDefinedAreaUnit:: + StepDimTol_GeometricToleranceWithDefinedAreaUnit() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedUnit.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedUnit.cxx index 5b31e783ce..51a4049a28 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedUnit.cxx @@ -23,7 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithDefinedUnit, //================================================================================================= -StepDimTol_GeometricToleranceWithDefinedUnit::StepDimTol_GeometricToleranceWithDefinedUnit() {} +StepDimTol_GeometricToleranceWithDefinedUnit::StepDimTol_GeometricToleranceWithDefinedUnit() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithMaximumTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithMaximumTolerance.cxx index 2bdb30598d..798dd2075c 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithMaximumTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithMaximumTolerance.cxx @@ -24,9 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithMaximumTolerance, //================================================================================================= StepDimTol_GeometricToleranceWithMaximumTolerance:: - StepDimTol_GeometricToleranceWithMaximumTolerance() -{ -} + StepDimTol_GeometricToleranceWithMaximumTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithModifiers.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithModifiers.cxx index 3d6c61bb8e..e578729c3d 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithModifiers.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithModifiers.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithModifiers, //================================================================================================= -StepDimTol_GeometricToleranceWithModifiers::StepDimTol_GeometricToleranceWithModifiers() {} +StepDimTol_GeometricToleranceWithModifiers::StepDimTol_GeometricToleranceWithModifiers() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_LineProfileTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_LineProfileTolerance.cxx index 39f9173c53..01801b0410 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_LineProfileTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_LineProfileTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_LineProfileTolerance, StepDimTol_Geometric //================================================================================================= -StepDimTol_LineProfileTolerance::StepDimTol_LineProfileTolerance() {} +StepDimTol_LineProfileTolerance::StepDimTol_LineProfileTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ModifiedGeometricTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ModifiedGeometricTolerance.cxx index dc1475e917..3d91a587a2 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ModifiedGeometricTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ModifiedGeometricTolerance.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ModifiedGeometricTolerance, StepDimTol_Geo //================================================================================================= -StepDimTol_ModifiedGeometricTolerance::StepDimTol_ModifiedGeometricTolerance() {} +StepDimTol_ModifiedGeometricTolerance::StepDimTol_ModifiedGeometricTolerance() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_NonUniformZoneDefinition.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_NonUniformZoneDefinition.cxx index 054ba7c113..05e10bea5e 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_NonUniformZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_NonUniformZoneDefinition.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_NonUniformZoneDefinition, StepDimTol_Toler //================================================================================================= -StepDimTol_NonUniformZoneDefinition::StepDimTol_NonUniformZoneDefinition() {} +StepDimTol_NonUniformZoneDefinition::StepDimTol_NonUniformZoneDefinition() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ParallelismTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ParallelismTolerance.cxx index 11390cec63..789a808a2b 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ParallelismTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ParallelismTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ParallelismTolerance, //================================================================================================= -StepDimTol_ParallelismTolerance::StepDimTol_ParallelismTolerance() {} +StepDimTol_ParallelismTolerance::StepDimTol_ParallelismTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PerpendicularityTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PerpendicularityTolerance.cxx index 7d5e6a0ebc..0ffc740ba3 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PerpendicularityTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PerpendicularityTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_PerpendicularityTolerance, //================================================================================================= -StepDimTol_PerpendicularityTolerance::StepDimTol_PerpendicularityTolerance() {} +StepDimTol_PerpendicularityTolerance::StepDimTol_PerpendicularityTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PlacedDatumTargetFeature.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PlacedDatumTargetFeature.cxx index 20d9bd1237..64e0765125 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PlacedDatumTargetFeature.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PlacedDatumTargetFeature.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_PlacedDatumTargetFeature, StepDimTol_Datum //================================================================================================= -StepDimTol_PlacedDatumTargetFeature::StepDimTol_PlacedDatumTargetFeature() {} +StepDimTol_PlacedDatumTargetFeature::StepDimTol_PlacedDatumTargetFeature() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PositionTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PositionTolerance.cxx index 2f767c1b4e..2db03bb5d4 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PositionTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_PositionTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_PositionTolerance, StepDimTol_GeometricTol //================================================================================================= -StepDimTol_PositionTolerance::StepDimTol_PositionTolerance() {} +StepDimTol_PositionTolerance::StepDimTol_PositionTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ProjectedZoneDefinition.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ProjectedZoneDefinition.cxx index 46303ddfaa..fb4fa53086 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ProjectedZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ProjectedZoneDefinition.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ProjectedZoneDefinition, StepDimTol_Tolera //================================================================================================= -StepDimTol_ProjectedZoneDefinition::StepDimTol_ProjectedZoneDefinition() {} +StepDimTol_ProjectedZoneDefinition::StepDimTol_ProjectedZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RoundnessTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RoundnessTolerance.cxx index aa7641a456..39bc0faa01 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RoundnessTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RoundnessTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_RoundnessTolerance, StepDimTol_GeometricTo //================================================================================================= -StepDimTol_RoundnessTolerance::StepDimTol_RoundnessTolerance() {} +StepDimTol_RoundnessTolerance::StepDimTol_RoundnessTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneDefinition.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneDefinition.cxx index 81c54e6487..cde13550d1 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneDefinition.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_RunoutZoneDefinition, StepDimTol_Tolerance //================================================================================================= -StepDimTol_RunoutZoneDefinition::StepDimTol_RunoutZoneDefinition() {} +StepDimTol_RunoutZoneDefinition::StepDimTol_RunoutZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneOrientation.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneOrientation.cxx index 292ed78681..a80926064f 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneOrientation.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_RunoutZoneOrientation.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_RunoutZoneOrientation, Standard_Transient) //================================================================================================= -StepDimTol_RunoutZoneOrientation::StepDimTol_RunoutZoneOrientation() {} +StepDimTol_RunoutZoneOrientation::StepDimTol_RunoutZoneOrientation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.cxx index 9f512462f9..c2e58d6f2c 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepDimTol_ShapeToleranceSelect::StepDimTol_ShapeToleranceSelect() {} +StepDimTol_ShapeToleranceSelect::StepDimTol_ShapeToleranceSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.hxx index 234845348d..8cfe4b2991 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ShapeToleranceSelect.hxx @@ -39,7 +39,7 @@ public: //! 1 -> GeometricTolerance from StepDimTol //! 2 -> PlusMinusTolerance from StepShape //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as GeometricTolerance (or Null if another type) Standard_EXPORT occ::handle GeometricTolerance() const; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.cxx index 531b5bbc67..e1d755ffe2 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.cxx @@ -44,7 +44,8 @@ static StepData_EnumTool tool(".ANY_CROSS_SECTION.", //================================================================================================= -StepDimTol_SimpleDatumReferenceModifierMember::StepDimTol_SimpleDatumReferenceModifierMember() {} +StepDimTol_SimpleDatumReferenceModifierMember::StepDimTol_SimpleDatumReferenceModifierMember() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.hxx index d77b1d442a..c1aa27131d 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.hxx @@ -33,17 +33,17 @@ class StepDimTol_SimpleDatumReferenceModifierMember : public StepData_SelectInt public: Standard_EXPORT StepDimTol_SimpleDatumReferenceModifierMember(); - virtual bool HasName() const override { return true; } + bool HasName() const override { return true; } - virtual const char* Name() const override { return "SIMPLE_DATUM_REFERENCE_MODIFIER"; } + const char* Name() const override { return "SIMPLE_DATUM_REFERENCE_MODIFIER"; } - virtual bool SetName(const char* /*theName*/) override { return true; } + bool SetName(const char* /*theName*/) override { return true; } int Kind() const override { return 4; } - Standard_EXPORT virtual const char* EnumText() const override; + Standard_EXPORT const char* EnumText() const override; - Standard_EXPORT virtual void SetEnumText(const int theValue, const char* theText) override; + Standard_EXPORT void SetEnumText(const int theValue, const char* theText) override; Standard_EXPORT void SetValue(const StepDimTol_SimpleDatumReferenceModifier theValue); diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_StraightnessTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_StraightnessTolerance.cxx index 9272db5e65..c1dac28c38 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_StraightnessTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_StraightnessTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_StraightnessTolerance, StepDimTol_Geometri //================================================================================================= -StepDimTol_StraightnessTolerance::StepDimTol_StraightnessTolerance() {} +StepDimTol_StraightnessTolerance::StepDimTol_StraightnessTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SurfaceProfileTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SurfaceProfileTolerance.cxx index db533e704f..0ba98e3e20 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SurfaceProfileTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SurfaceProfileTolerance.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_SurfaceProfileTolerance, StepDimTol_Geomet //================================================================================================= -StepDimTol_SurfaceProfileTolerance::StepDimTol_SurfaceProfileTolerance() {} +StepDimTol_SurfaceProfileTolerance::StepDimTol_SurfaceProfileTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SymmetryTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SymmetryTolerance.cxx index 419dc259e3..c10483979b 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SymmetryTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_SymmetryTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_SymmetryTolerance, //================================================================================================= -StepDimTol_SymmetryTolerance::StepDimTol_SymmetryTolerance() {} +StepDimTol_SymmetryTolerance::StepDimTol_SymmetryTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZone.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZone.cxx index f848a1d112..f0bfb9c04a 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZone.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZone.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ToleranceZone, StepRepr_ShapeAspect) //================================================================================================= -StepDimTol_ToleranceZone::StepDimTol_ToleranceZone() {} +StepDimTol_ToleranceZone::StepDimTol_ToleranceZone() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneDefinition.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneDefinition.cxx index 764c632e8c..464538970f 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneDefinition.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ToleranceZoneDefinition, Standard_Transien //================================================================================================= -StepDimTol_ToleranceZoneDefinition::StepDimTol_ToleranceZoneDefinition() {} +StepDimTol_ToleranceZoneDefinition::StepDimTol_ToleranceZoneDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneForm.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneForm.cxx index ac390f9a45..87ec995c91 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneForm.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneForm.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_ToleranceZoneForm, Standard_Transient) //================================================================================================= -StepDimTol_ToleranceZoneForm::StepDimTol_ToleranceZoneForm() {} +StepDimTol_ToleranceZoneForm::StepDimTol_ToleranceZoneForm() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.cxx index 73dbc0c4d0..b282ce6b4b 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepDimTol_ToleranceZoneTarget::StepDimTol_ToleranceZoneTarget() {} +StepDimTol_ToleranceZoneTarget::StepDimTol_ToleranceZoneTarget() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.hxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.hxx index 1a1b05c4bf..8c1fe3a4b3 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.hxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ToleranceZoneTarget.hxx @@ -43,7 +43,7 @@ public: //! 3 -> GeometricTolerance //! 4 -> GeneralDatumReference //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a DimensionalLocation (Null if another type) Standard_EXPORT occ::handle DimensionalLocation() const; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_TotalRunoutTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_TotalRunoutTolerance.cxx index 4580b0e60c..e963c3d3c6 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_TotalRunoutTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_TotalRunoutTolerance.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_TotalRunoutTolerance, //================================================================================================= -StepDimTol_TotalRunoutTolerance::StepDimTol_TotalRunoutTolerance() {} +StepDimTol_TotalRunoutTolerance::StepDimTol_TotalRunoutTolerance() = default; diff --git a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_UnequallyDisposedGeometricTolerance.cxx b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_UnequallyDisposedGeometricTolerance.cxx index 1606c3a55a..63079a6a4d 100644 --- a/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_UnequallyDisposedGeometricTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_UnequallyDisposedGeometricTolerance.cxx @@ -23,7 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepDimTol_UnequallyDisposedGeometricTolerance, //================================================================================================= -StepDimTol_UnequallyDisposedGeometricTolerance::StepDimTol_UnequallyDisposedGeometricTolerance() {} +StepDimTol_UnequallyDisposedGeometricTolerance::StepDimTol_UnequallyDisposedGeometricTolerance() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_AnalysisItemWithinRepresentation.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_AnalysisItemWithinRepresentation.cxx index e8dbe306f5..2cdcbdf5fe 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_AnalysisItemWithinRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_AnalysisItemWithinRepresentation.cxx @@ -24,7 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_AnalysisItemWithinRepresentation, Standar //================================================================================================= -StepElement_AnalysisItemWithinRepresentation::StepElement_AnalysisItemWithinRepresentation() {} +StepElement_AnalysisItemWithinRepresentation::StepElement_AnalysisItemWithinRepresentation() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_Curve3dElementDescriptor.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_Curve3dElementDescriptor.cxx index cfe3b1524c..c0d39f2911 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_Curve3dElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_Curve3dElementDescriptor.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_Curve3dElementDescriptor, StepElement_Ele //================================================================================================= -StepElement_Curve3dElementDescriptor::StepElement_Curve3dElementDescriptor() {} +StepElement_Curve3dElementDescriptor::StepElement_Curve3dElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementEndReleasePacket.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementEndReleasePacket.cxx index f4d4c27722..91d3c09f64 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementEndReleasePacket.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementEndReleasePacket.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_CurveElementEndReleasePacket, Standard_Tr //================================================================================================= -StepElement_CurveElementEndReleasePacket::StepElement_CurveElementEndReleasePacket() {} +StepElement_CurveElementEndReleasePacket::StepElement_CurveElementEndReleasePacket() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.cxx index 0eb0f61d75..82595dcbe5 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.cxx @@ -26,7 +26,7 @@ static const char* anApp = "APPLICATION_DEFINED_DEGREE_OF_FREEDOM"; //================================================================================================= -StepElement_CurveElementFreedom::StepElement_CurveElementFreedom() {} +StepElement_CurveElementFreedom::StepElement_CurveElementFreedom() = default; //================================================================================================= @@ -144,13 +144,13 @@ occ::handle StepElement_CurveElementFreedom:: occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("APPLICATION_DEFINED_DEGREE_OF_FREEDOM"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle val = new TCollection_HAsciiString; val->AssignCat(SelMem->String()); return val; diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.hxx index 74d8165859..4eb5c1a1be 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedom.hxx @@ -44,10 +44,10 @@ public: //! 1 -> EnumeratedCurveElementFreedom //! 2 -> ApplicationDefinedDegreeOfFreedom //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type CurveElementFreedomMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for EnumeratedCurveElementFreedom Standard_EXPORT void SetEnumeratedCurveElementFreedom( diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedomMember.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedomMember.hxx index d30e870528..3a878b51f6 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedomMember.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementFreedomMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepElement_CurveElementFreedomMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepElement_CurveElementFreedomMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.cxx index 4156a95758..11f5e7ed7b 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepElement_CurveElementPurpose::StepElement_CurveElementPurpose() {} +StepElement_CurveElementPurpose::StepElement_CurveElementPurpose() = default; //================================================================================================= @@ -138,13 +138,13 @@ occ::handle StepElement_CurveElementPurpose:: occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("APPLICATION_DEFINED_ELEMENT_PURPOSE"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle val = new TCollection_HAsciiString; val->AssignCat(SelMem->String()); return val; diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.hxx index f8f4e4fbe9..005f37a64c 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurpose.hxx @@ -44,10 +44,10 @@ public: //! 1 -> EnumeratedCurveElementPurpose //! 2 -> ApplicationDefinedElementPurpose //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type CurveElementPurposeMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for EnumeratedCurveElementPurpose Standard_EXPORT void SetEnumeratedCurveElementPurpose( diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurposeMember.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurposeMember.hxx index c09d51e2b6..9e910faaaa 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurposeMember.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementPurposeMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepElement_CurveElementPurposeMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepElement_CurveElementPurposeMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDefinition.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDefinition.cxx index 1bb582c2bd..c48b74594f 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDefinition.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_CurveElementSectionDefinition, Standard_T //================================================================================================= -StepElement_CurveElementSectionDefinition::StepElement_CurveElementSectionDefinition() {} +StepElement_CurveElementSectionDefinition::StepElement_CurveElementSectionDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDerivedDefinitions.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDerivedDefinitions.cxx index 54e7fb890c..4768d4c690 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDerivedDefinitions.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_CurveElementSectionDerivedDefinitions.cxx @@ -25,9 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_CurveElementSectionDerivedDefinitions, //================================================================================================= StepElement_CurveElementSectionDerivedDefinitions:: - StepElement_CurveElementSectionDerivedDefinitions() -{ -} + StepElement_CurveElementSectionDerivedDefinitions() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.cxx index db13f3d629..3122aa7682 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepElement_ElementAspect::StepElement_ElementAspect() {} +StepElement_ElementAspect::StepElement_ElementAspect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.hxx index 00b842ba24..ba48d1270e 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspect.hxx @@ -52,10 +52,10 @@ public: //! 9 -> Surface2dEdge //! 10 -> CurveEdge //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type ElementAspectMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for ElementVolume Standard_EXPORT void SetElementVolume(const StepElement_ElementVolume aVal); diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspectMember.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspectMember.hxx index aea0e4e259..c0a09afe9f 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspectMember.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementAspectMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepElement_ElementAspectMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepElement_ElementAspectMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementDescriptor.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementDescriptor.cxx index 2055aefe4c..069af9c4a8 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementDescriptor.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_ElementDescriptor, Standard_Transient) //================================================================================================= -StepElement_ElementDescriptor::StepElement_ElementDescriptor() {} +StepElement_ElementDescriptor::StepElement_ElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementMaterial.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementMaterial.cxx index 11a620d4a5..31363e54ff 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementMaterial.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_ElementMaterial.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_ElementMaterial, Standard_Transient) //================================================================================================= -StepElement_ElementMaterial::StepElement_ElementMaterial() {} +StepElement_ElementMaterial::StepElement_ElementMaterial() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx index 05be61c9a7..fd87ed7dd5 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.cxx @@ -26,7 +26,7 @@ static const char* anUV = "UNSPECIFIED_VALUE"; //================================================================================================= -StepElement_MeasureOrUnspecifiedValue::StepElement_MeasureOrUnspecifiedValue() {} +StepElement_MeasureOrUnspecifiedValue::StepElement_MeasureOrUnspecifiedValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.hxx index 6c6bb05906..1782a6eabb 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValue.hxx @@ -43,10 +43,10 @@ public: //! 1 -> ContextDependentMeasure //! 2 -> UnspecifiedValue //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type MeasureOrUnspecifiedValueMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for ContextDependentMeasure Standard_EXPORT void SetContextDependentMeasure(const double aVal); diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValueMember.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValueMember.hxx index 4db3046bbb..4b0af151b1 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValueMember.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_MeasureOrUnspecifiedValueMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepElement_MeasureOrUnspecifiedValueMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepElement_MeasureOrUnspecifiedValueMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_Surface3dElementDescriptor.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_Surface3dElementDescriptor.cxx index 4dda51b26f..4ca20673e4 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_Surface3dElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_Surface3dElementDescriptor.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_Surface3dElementDescriptor, StepElement_E //================================================================================================= -StepElement_Surface3dElementDescriptor::StepElement_Surface3dElementDescriptor() {} +StepElement_Surface3dElementDescriptor::StepElement_Surface3dElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementProperty.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementProperty.cxx index f2dbc6b60a..5855b725b1 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementProperty.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementProperty.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_SurfaceElementProperty, Standard_Transien //================================================================================================= -StepElement_SurfaceElementProperty::StepElement_SurfaceElementProperty() {} +StepElement_SurfaceElementProperty::StepElement_SurfaceElementProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.cxx index bbc28c66f3..ecce70051e 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepElement_SurfaceElementPurpose::StepElement_SurfaceElementPurpose() {} +StepElement_SurfaceElementPurpose::StepElement_SurfaceElementPurpose() = default; //================================================================================================= @@ -132,13 +132,13 @@ occ::handle StepElement_SurfaceElementPurpose:: occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("ApplicationDefinedElementPurpose"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle val = new TCollection_HAsciiString; val->AssignCat(SelMem->String()); return val; diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.hxx index 37875a26f4..2e4f4e1d6d 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurpose.hxx @@ -44,10 +44,10 @@ public: //! 1 -> EnumeratedSurfaceElementPurpose //! 2 -> ApplicationDefinedElementPurpose //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type SurfaceElementPurposeMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for EnumeratedSurfaceElementPurpose Standard_EXPORT void SetEnumeratedSurfaceElementPurpose( diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurposeMember.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurposeMember.hxx index 937e799bd2..3d696141ee 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurposeMember.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceElementPurposeMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepElement_SurfaceElementPurposeMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepElement_SurfaceElementPurposeMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSection.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSection.cxx index 88a0ad0635..7686e3cfe2 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSection.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSection.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_SurfaceSection, Standard_Transient) //================================================================================================= -StepElement_SurfaceSection::StepElement_SurfaceSection() {} +StepElement_SurfaceSection::StepElement_SurfaceSection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionField.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionField.cxx index e0bebb48a9..85353e1114 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionField.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionField.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_SurfaceSectionField, Standard_Transient) //================================================================================================= -StepElement_SurfaceSectionField::StepElement_SurfaceSectionField() {} +StepElement_SurfaceSectionField::StepElement_SurfaceSectionField() = default; diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldConstant.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldConstant.cxx index af04ce96e8..23a11f9a83 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldConstant.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldConstant.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_SurfaceSectionFieldConstant, StepElement_ //================================================================================================= -StepElement_SurfaceSectionFieldConstant::StepElement_SurfaceSectionFieldConstant() {} +StepElement_SurfaceSectionFieldConstant::StepElement_SurfaceSectionFieldConstant() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldVarying.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldVarying.cxx index ae130f550c..50104a0496 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldVarying.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_SurfaceSectionFieldVarying.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_SurfaceSectionFieldVarying, StepElement_S //================================================================================================= -StepElement_SurfaceSectionFieldVarying::StepElement_SurfaceSectionFieldVarying() {} +StepElement_SurfaceSectionFieldVarying::StepElement_SurfaceSectionFieldVarying() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_UniformSurfaceSection.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_UniformSurfaceSection.cxx index 1ef2d52ce8..51bfcbfac2 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_UniformSurfaceSection.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_UniformSurfaceSection.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_UniformSurfaceSection, StepElement_Surfac //================================================================================================= -StepElement_UniformSurfaceSection::StepElement_UniformSurfaceSection() {} +StepElement_UniformSurfaceSection::StepElement_UniformSurfaceSection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_Volume3dElementDescriptor.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_Volume3dElementDescriptor.cxx index 2490b6752f..be1ee2e2c2 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_Volume3dElementDescriptor.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_Volume3dElementDescriptor.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepElement_Volume3dElementDescriptor, StepElement_El //================================================================================================= -StepElement_Volume3dElementDescriptor::StepElement_Volume3dElementDescriptor() {} +StepElement_Volume3dElementDescriptor::StepElement_Volume3dElementDescriptor() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.cxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.cxx index ab13df3fcc..b0cbe9fd26 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.cxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepElement_VolumeElementPurpose::StepElement_VolumeElementPurpose() {} +StepElement_VolumeElementPurpose::StepElement_VolumeElementPurpose() = default; //================================================================================================= @@ -120,13 +120,13 @@ occ::handle StepElement_VolumeElementPurpose:: occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("ApplicationDefinedElementPurpose"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle val = new TCollection_HAsciiString; val->AssignCat(SelMem->String()); return val; diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.hxx index 72b3804fb0..036a5cc30c 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurpose.hxx @@ -44,10 +44,10 @@ public: //! 1 -> EnumeratedVolumeElementPurpose //! 2 -> ApplicationDefinedElementPurpose //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type VolumeElementPurposeMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for EnumeratedVolumeElementPurpose Standard_EXPORT void SetEnumeratedVolumeElementPurpose( diff --git a/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurposeMember.hxx b/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurposeMember.hxx index 62cf60bda7..0b7d0f1cee 100644 --- a/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurposeMember.hxx +++ b/src/DataExchange/TKDESTEP/StepElement/StepElement_VolumeElementPurposeMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepElement_VolumeElementPurposeMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepElement_VolumeElementPurposeMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedCurve3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedCurve3dElementCoordinateSystem.cxx index c5e9a846cb..3d826e7574 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedCurve3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedCurve3dElementCoordinateSystem.cxx @@ -24,7 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_AlignedCurve3dElementCoordinateSystem, //================================================================================================= -StepFEA_AlignedCurve3dElementCoordinateSystem::StepFEA_AlignedCurve3dElementCoordinateSystem() {} +StepFEA_AlignedCurve3dElementCoordinateSystem::StepFEA_AlignedCurve3dElementCoordinateSystem() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedSurface3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedSurface3dElementCoordinateSystem.cxx index c6a0209f7f..5c6cd0cbaf 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedSurface3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_AlignedSurface3dElementCoordinateSystem.cxx @@ -24,9 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_AlignedSurface3dElementCoordinateSystem, //================================================================================================= -StepFEA_AlignedSurface3dElementCoordinateSystem::StepFEA_AlignedSurface3dElementCoordinateSystem() -{ -} +StepFEA_AlignedSurface3dElementCoordinateSystem::StepFEA_AlignedSurface3dElementCoordinateSystem() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ArbitraryVolume3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ArbitraryVolume3dElementCoordinateSystem.cxx index 20b80af074..58f97cc390 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ArbitraryVolume3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ArbitraryVolume3dElementCoordinateSystem.cxx @@ -24,9 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ArbitraryVolume3dElementCoordinateSystem, //================================================================================================= -StepFEA_ArbitraryVolume3dElementCoordinateSystem::StepFEA_ArbitraryVolume3dElementCoordinateSystem() -{ -} +StepFEA_ArbitraryVolume3dElementCoordinateSystem:: + StepFEA_ArbitraryVolume3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ConstantSurface3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ConstantSurface3dElementCoordinateSystem.cxx index cf58a4bfd1..664e0959de 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ConstantSurface3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ConstantSurface3dElementCoordinateSystem.cxx @@ -23,9 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ConstantSurface3dElementCoordinateSystem, //================================================================================================= -StepFEA_ConstantSurface3dElementCoordinateSystem::StepFEA_ConstantSurface3dElementCoordinateSystem() -{ -} +StepFEA_ConstantSurface3dElementCoordinateSystem:: + StepFEA_ConstantSurface3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementProperty.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementProperty.cxx index a6ddd05509..dbc658a5eb 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementProperty.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementProperty.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementProperty, Standard_Transient) //================================================================================================= -StepFEA_Curve3dElementProperty::StepFEA_Curve3dElementProperty() {} +StepFEA_Curve3dElementProperty::StepFEA_Curve3dElementProperty() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementRepresentation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementRepresentation.cxx index b085fdaab9..8888580752 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Curve3dElementRepresentation.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementRepresentation, StepFEA_Element //================================================================================================= -StepFEA_Curve3dElementRepresentation::StepFEA_Curve3dElementRepresentation() {} +StepFEA_Curve3dElementRepresentation::StepFEA_Curve3dElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.cxx index f0e040a944..405129bd88 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepFEA_CurveElementEndCoordinateSystem::StepFEA_CurveElementEndCoordinateSystem() {} +StepFEA_CurveElementEndCoordinateSystem::StepFEA_CurveElementEndCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.hxx index e04526b537..eb5ccaf82f 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndCoordinateSystem.hxx @@ -41,7 +41,7 @@ public: //! 2 -> AlignedCurve3dElementCoordinateSystem from StepFEA //! 3 -> ParametricCurve3dElementCoordinateSystem from StepFEA //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as FeaAxis2Placement3d (or Null if another type) Standard_EXPORT occ::handle FeaAxis2Placement3d() const; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndOffset.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndOffset.cxx index 2a97f99019..69bd944762 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndOffset.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndOffset.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementEndOffset, Standard_Transient) //================================================================================================= -StepFEA_CurveElementEndOffset::StepFEA_CurveElementEndOffset() {} +StepFEA_CurveElementEndOffset::StepFEA_CurveElementEndOffset() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndRelease.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndRelease.cxx index f949d7ebf6..5a32dbeff6 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndRelease.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementEndRelease.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementEndRelease, Standard_Transient) //================================================================================================= -StepFEA_CurveElementEndRelease::StepFEA_CurveElementEndRelease() {} +StepFEA_CurveElementEndRelease::StepFEA_CurveElementEndRelease() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementInterval.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementInterval.cxx index 841967d861..d5ca989bfb 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementInterval.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementInterval.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementInterval, Standard_Transient) //================================================================================================= -StepFEA_CurveElementInterval::StepFEA_CurveElementInterval() {} +StepFEA_CurveElementInterval::StepFEA_CurveElementInterval() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalConstant.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalConstant.cxx index 96df04acc1..10de293274 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalConstant.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalConstant.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalConstant, StepFEA_CurveEl //================================================================================================= -StepFEA_CurveElementIntervalConstant::StepFEA_CurveElementIntervalConstant() {} +StepFEA_CurveElementIntervalConstant::StepFEA_CurveElementIntervalConstant() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalLinearlyVarying.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalLinearlyVarying.cxx index 6532ec8d85..76af136131 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalLinearlyVarying.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementIntervalLinearlyVarying.cxx @@ -25,7 +25,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalLinearlyVarying, //================================================================================================= -StepFEA_CurveElementIntervalLinearlyVarying::StepFEA_CurveElementIntervalLinearlyVarying() {} +StepFEA_CurveElementIntervalLinearlyVarying::StepFEA_CurveElementIntervalLinearlyVarying() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementLocation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementLocation.cxx index dc9c6f2d69..f414e2987a 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementLocation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_CurveElementLocation.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementLocation, Standard_Transient) //================================================================================================= -StepFEA_CurveElementLocation::StepFEA_CurveElementLocation() {} +StepFEA_CurveElementLocation::StepFEA_CurveElementLocation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.cxx index 1a3ce0ca65..4a352dbbd7 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepFEA_DegreeOfFreedom::StepFEA_DegreeOfFreedom() {} +StepFEA_DegreeOfFreedom::StepFEA_DegreeOfFreedom() = default; //================================================================================================= @@ -126,13 +126,13 @@ occ::handle StepFEA_DegreeOfFreedom::ApplicationDefine occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("APPLICATION_DEFINED_DEGREE_OF_FREEDOM"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle val = new TCollection_HAsciiString; val->AssignCat(SelMem->String()); return val; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.hxx index 0d0c3bce50..1a57525f3a 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedom.hxx @@ -44,10 +44,10 @@ public: //! 1 -> EnumeratedCurveElementFreedom //! 2 -> ApplicationDefinedDegreeOfFreedom //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type CurveElementFreedomMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Returns Value as EnumeratedDegreeOfFreedom (or Null if another type) Standard_EXPORT void SetEnumeratedDegreeOfFreedom(const StepFEA_EnumeratedDegreeOfFreedom aVal); diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedomMember.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedomMember.hxx index 301bbe3688..ee12725c4f 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedomMember.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DegreeOfFreedomMember.hxx @@ -31,16 +31,16 @@ public: Standard_EXPORT StepFEA_DegreeOfFreedomMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepFEA_DegreeOfFreedomMember, StepData_SelectNamed) diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DummyNode.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DummyNode.cxx index 359ee214a1..c11dcece9f 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DummyNode.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_DummyNode.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_DummyNode, StepFEA_NodeRepresentation) //================================================================================================= -StepFEA_DummyNode::StepFEA_DummyNode() {} +StepFEA_DummyNode::StepFEA_DummyNode() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGeometricRelationship.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGeometricRelationship.cxx index a039677568..6891a84a2e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGeometricRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGeometricRelationship.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship, Standard_Transi //================================================================================================= -StepFEA_ElementGeometricRelationship::StepFEA_ElementGeometricRelationship() {} +StepFEA_ElementGeometricRelationship::StepFEA_ElementGeometricRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGroup.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGroup.cxx index 14803d6b38..7d597694f3 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGroup.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementGroup.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementGroup, StepFEA_FeaGroup) //================================================================================================= -StepFEA_ElementGroup::StepFEA_ElementGroup() {} +StepFEA_ElementGroup::StepFEA_ElementGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.cxx index c015573290..3d4dbe6cac 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepFEA_ElementOrElementGroup::StepFEA_ElementOrElementGroup() {} +StepFEA_ElementOrElementGroup::StepFEA_ElementOrElementGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.hxx index 01962df3af..f65997450c 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementOrElementGroup.hxx @@ -39,7 +39,7 @@ public: //! 1 -> ElementRepresentation from StepFEA //! 2 -> ElementGroup from StepFEA //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ElementRepresentation (or Null if another type) Standard_EXPORT occ::handle ElementRepresentation() const; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementRepresentation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementRepresentation.cxx index aeb17e6580..32ec4eeca8 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ElementRepresentation.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementRepresentation, StepRepr_Representatio //================================================================================================= -StepFEA_ElementRepresentation::StepFEA_ElementRepresentation() {} +StepFEA_ElementRepresentation::StepFEA_ElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAreaDensity.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAreaDensity.cxx index 0d677a87ed..cf9891563a 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAreaDensity.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAreaDensity.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAreaDensity, StepFEA_FeaMaterialPropertyRe //================================================================================================= -StepFEA_FeaAreaDensity::StepFEA_FeaAreaDensity() {} +StepFEA_FeaAreaDensity::StepFEA_FeaAreaDensity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAxis2Placement3d.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAxis2Placement3d.cxx index b55fa8c10e..1d7400e07e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAxis2Placement3d.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaAxis2Placement3d.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d, StepGeom_Axis2Placement3 //================================================================================================= -StepFEA_FeaAxis2Placement3d::StepFEA_FeaAxis2Placement3d() {} +StepFEA_FeaAxis2Placement3d::StepFEA_FeaAxis2Placement3d() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaCurveSectionGeometricRelationship.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaCurveSectionGeometricRelationship.cxx index 576eca47bc..dfea620297 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaCurveSectionGeometricRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaCurveSectionGeometricRelationship.cxx @@ -24,7 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaCurveSectionGeometricRelationship, Standar //================================================================================================= -StepFEA_FeaCurveSectionGeometricRelationship::StepFEA_FeaCurveSectionGeometricRelationship() {} +StepFEA_FeaCurveSectionGeometricRelationship::StepFEA_FeaCurveSectionGeometricRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaGroup.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaGroup.cxx index ebed350337..304f257511 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaGroup.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaGroup.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaGroup, StepBasic_Group) //================================================================================================= -StepFEA_FeaGroup::StepFEA_FeaGroup() {} +StepFEA_FeaGroup::StepFEA_FeaGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaLinearElasticity.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaLinearElasticity.cxx index adba882bc7..b9d60749f7 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaLinearElasticity.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaLinearElasticity.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaLinearElasticity, //================================================================================================= -StepFEA_FeaLinearElasticity::StepFEA_FeaLinearElasticity() {} +StepFEA_FeaLinearElasticity::StepFEA_FeaLinearElasticity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMassDensity.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMassDensity.cxx index 64c453ae78..a3f718edec 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMassDensity.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMassDensity.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMassDensity, StepFEA_FeaMaterialPropertyRe //================================================================================================= -StepFEA_FeaMassDensity::StepFEA_FeaMassDensity() {} +StepFEA_FeaMassDensity::StepFEA_FeaMassDensity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentation.cxx index 639aeb865d..252b4ec9c7 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentation.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentation, //================================================================================================= -StepFEA_FeaMaterialPropertyRepresentation::StepFEA_FeaMaterialPropertyRepresentation() {} +StepFEA_FeaMaterialPropertyRepresentation::StepFEA_FeaMaterialPropertyRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentationItem.cxx index ad91cc60e1..28d3e1b33a 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMaterialPropertyRepresentationItem.cxx @@ -23,4 +23,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentationItem, //================================================================================================= -StepFEA_FeaMaterialPropertyRepresentationItem::StepFEA_FeaMaterialPropertyRepresentationItem() {} +StepFEA_FeaMaterialPropertyRepresentationItem::StepFEA_FeaMaterialPropertyRepresentationItem() = + default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel.cxx index 6cf0028e49..248c2d2c56 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModel, StepRepr_Representation) //================================================================================================= -StepFEA_FeaModel::StepFEA_FeaModel() {} +StepFEA_FeaModel::StepFEA_FeaModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel3d.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel3d.cxx index 0d4ec6af0b..2126d8d6dd 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel3d.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModel3d.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModel3d, StepFEA_FeaModel) //================================================================================================= -StepFEA_FeaModel3d::StepFEA_FeaModel3d() {} +StepFEA_FeaModel3d::StepFEA_FeaModel3d() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModelDefinition.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModelDefinition.cxx index 235a9c61e1..b28552fa5e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModelDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaModelDefinition.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModelDefinition, StepRepr_ShapeAspect) //================================================================================================= -StepFEA_FeaModelDefinition::StepFEA_FeaModelDefinition() {} +StepFEA_FeaModelDefinition::StepFEA_FeaModelDefinition() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMoistureAbsorption.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMoistureAbsorption.cxx index e91457afd5..7606cb994b 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMoistureAbsorption.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaMoistureAbsorption.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMoistureAbsorption, //================================================================================================= -StepFEA_FeaMoistureAbsorption::StepFEA_FeaMoistureAbsorption() {} +StepFEA_FeaMoistureAbsorption::StepFEA_FeaMoistureAbsorption() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaParametricPoint.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaParametricPoint.cxx index 3ee9957948..45e28fdcaf 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaParametricPoint.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaParametricPoint.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaParametricPoint, StepGeom_Point) //================================================================================================= -StepFEA_FeaParametricPoint::StepFEA_FeaParametricPoint() {} +StepFEA_FeaParametricPoint::StepFEA_FeaParametricPoint() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaRepresentationItem.cxx index 711c3aeb6e..7066afea8f 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaRepresentationItem.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaRepresentationItem, StepRepr_Representatio //================================================================================================= -StepFEA_FeaRepresentationItem::StepFEA_FeaRepresentationItem() {} +StepFEA_FeaRepresentationItem::StepFEA_FeaRepresentationItem() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSecantCoefficientOfLinearThermalExpansion.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSecantCoefficientOfLinearThermalExpansion.cxx index a1c14d9d87..8d2ac6802a 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSecantCoefficientOfLinearThermalExpansion.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSecantCoefficientOfLinearThermalExpansion.cxx @@ -25,9 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion, //================================================================================================= StepFEA_FeaSecantCoefficientOfLinearThermalExpansion:: - StepFEA_FeaSecantCoefficientOfLinearThermalExpansion() -{ -} + StepFEA_FeaSecantCoefficientOfLinearThermalExpansion() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellBendingStiffness.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellBendingStiffness.cxx index 572490f799..58514232f1 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellBendingStiffness.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellBendingStiffness.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellBendingStiffness, //================================================================================================= -StepFEA_FeaShellBendingStiffness::StepFEA_FeaShellBendingStiffness() {} +StepFEA_FeaShellBendingStiffness::StepFEA_FeaShellBendingStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneBendingCouplingStiffness.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneBendingCouplingStiffness.cxx index 49d5197943..dc8711c91b 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneBendingCouplingStiffness.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneBendingCouplingStiffness.cxx @@ -24,9 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneBendingCouplingStiffness, //================================================================================================= -StepFEA_FeaShellMembraneBendingCouplingStiffness::StepFEA_FeaShellMembraneBendingCouplingStiffness() -{ -} +StepFEA_FeaShellMembraneBendingCouplingStiffness:: + StepFEA_FeaShellMembraneBendingCouplingStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneStiffness.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneStiffness.cxx index a841d19465..6844fe366e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneStiffness.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellMembraneStiffness.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneStiffness, //================================================================================================= -StepFEA_FeaShellMembraneStiffness::StepFEA_FeaShellMembraneStiffness() {} +StepFEA_FeaShellMembraneStiffness::StepFEA_FeaShellMembraneStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellShearStiffness.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellShearStiffness.cxx index 085d4dbd09..7cd31c7b63 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellShearStiffness.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaShellShearStiffness.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellShearStiffness, //================================================================================================= -StepFEA_FeaShellShearStiffness::StepFEA_FeaShellShearStiffness() {} +StepFEA_FeaShellShearStiffness::StepFEA_FeaShellShearStiffness() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSurfaceSectionGeometricRelationship.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSurfaceSectionGeometricRelationship.cxx index 36a6cc80e3..29f8b8d56c 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSurfaceSectionGeometricRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaSurfaceSectionGeometricRelationship.cxx @@ -23,7 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSurfaceSectionGeometricRelationship, Stand //================================================================================================= -StepFEA_FeaSurfaceSectionGeometricRelationship::StepFEA_FeaSurfaceSectionGeometricRelationship() {} +StepFEA_FeaSurfaceSectionGeometricRelationship::StepFEA_FeaSurfaceSectionGeometricRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion.cxx index 1a35d6fc44..486a4087b7 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion.cxx @@ -25,9 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaTangentialCoefficientOfLinearThermalExpans //================================================================================================= StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion:: - StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion() -{ -} + StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomAndCoefficient.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomAndCoefficient.cxx index 4600595f8c..359921dc91 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomAndCoefficient.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomAndCoefficient.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FreedomAndCoefficient, Standard_Transient) //================================================================================================= -StepFEA_FreedomAndCoefficient::StepFEA_FreedomAndCoefficient() {} +StepFEA_FreedomAndCoefficient::StepFEA_FreedomAndCoefficient() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomsList.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomsList.cxx index 46013704ca..429c9b35ee 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomsList.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_FreedomsList.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FreedomsList, Standard_Transient) //================================================================================================= -StepFEA_FreedomsList::StepFEA_FreedomsList() {} +StepFEA_FreedomsList::StepFEA_FreedomsList() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_GeometricNode.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_GeometricNode.cxx index 1b26ba5288..0e1544eabc 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_GeometricNode.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_GeometricNode.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_GeometricNode, StepFEA_NodeRepresentation) //================================================================================================= -StepFEA_GeometricNode::StepFEA_GeometricNode() {} +StepFEA_GeometricNode::StepFEA_GeometricNode() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Node.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Node.cxx index af9232378f..f2c570bcc1 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Node.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Node.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Node, StepFEA_NodeRepresentation) //================================================================================================= -StepFEA_Node::StepFEA_Node() {} +StepFEA_Node::StepFEA_Node() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeDefinition.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeDefinition.cxx index 82b3aa9633..b3edafe439 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeDefinition.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_NodeDefinition, StepRepr_ShapeAspect) //================================================================================================= -StepFEA_NodeDefinition::StepFEA_NodeDefinition() {} +StepFEA_NodeDefinition::StepFEA_NodeDefinition() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeGroup.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeGroup.cxx index 33454a6765..8af054370a 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeGroup.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeGroup.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_NodeGroup, StepFEA_FeaGroup) //================================================================================================= -StepFEA_NodeGroup::StepFEA_NodeGroup() {} +StepFEA_NodeGroup::StepFEA_NodeGroup() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeRepresentation.cxx index 2391ecf39d..9da2a81bfd 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeRepresentation.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_NodeRepresentation, StepRepr_Representation) //================================================================================================= -StepFEA_NodeRepresentation::StepFEA_NodeRepresentation() {} +StepFEA_NodeRepresentation::StepFEA_NodeRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeSet.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeSet.cxx index ff9f11887f..b04791786e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeSet.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeSet.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_NodeSet, StepGeom_GeometricRepresentationItem //================================================================================================= -StepFEA_NodeSet::StepFEA_NodeSet() {} +StepFEA_NodeSet::StepFEA_NodeSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithSolutionCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithSolutionCoordinateSystem.cxx index b17558039f..f77a5aa7bb 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithSolutionCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithSolutionCoordinateSystem.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_NodeWithSolutionCoordinateSystem, StepFEA_Nod //================================================================================================= -StepFEA_NodeWithSolutionCoordinateSystem::StepFEA_NodeWithSolutionCoordinateSystem() {} +StepFEA_NodeWithSolutionCoordinateSystem::StepFEA_NodeWithSolutionCoordinateSystem() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithVector.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithVector.cxx index 888ce0264d..4724ec1b95 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithVector.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_NodeWithVector.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_NodeWithVector, StepFEA_Node) //================================================================================================= -StepFEA_NodeWithVector::StepFEA_NodeWithVector() {} +StepFEA_NodeWithVector::StepFEA_NodeWithVector() = default; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateDirection.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateDirection.cxx index 419fc6c407..fa44114b75 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateDirection.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateDirection.cxx @@ -25,9 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ParametricCurve3dElementCoordinateDirection, //================================================================================================= StepFEA_ParametricCurve3dElementCoordinateDirection:: - StepFEA_ParametricCurve3dElementCoordinateDirection() -{ -} + StepFEA_ParametricCurve3dElementCoordinateDirection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateSystem.cxx index f6b2ed0e93..b4ccba45c1 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricCurve3dElementCoordinateSystem.cxx @@ -24,9 +24,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ParametricCurve3dElementCoordinateSystem, //================================================================================================= -StepFEA_ParametricCurve3dElementCoordinateSystem::StepFEA_ParametricCurve3dElementCoordinateSystem() -{ -} +StepFEA_ParametricCurve3dElementCoordinateSystem:: + StepFEA_ParametricCurve3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricSurface3dElementCoordinateSystem.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricSurface3dElementCoordinateSystem.cxx index db94691d2b..8b1a6d8496 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricSurface3dElementCoordinateSystem.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_ParametricSurface3dElementCoordinateSystem.cxx @@ -24,9 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ParametricSurface3dElementCoordinateSystem, //================================================================================================= StepFEA_ParametricSurface3dElementCoordinateSystem:: - StepFEA_ParametricSurface3dElementCoordinateSystem() -{ -} + StepFEA_ParametricSurface3dElementCoordinateSystem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Surface3dElementRepresentation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Surface3dElementRepresentation.cxx index a6c25cf1c5..c8372e05b4 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Surface3dElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Surface3dElementRepresentation.cxx @@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Surface3dElementRepresentation, StepFEA_Eleme //================================================================================================= -StepFEA_Surface3dElementRepresentation::StepFEA_Surface3dElementRepresentation() {} +StepFEA_Surface3dElementRepresentation::StepFEA_Surface3dElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.cxx index 9c8c37e166..4d0cb7aee1 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.cxx @@ -25,7 +25,7 @@ //================================================================================================= -StepFEA_SymmetricTensor22d::StepFEA_SymmetricTensor22d() {} +StepFEA_SymmetricTensor22d::StepFEA_SymmetricTensor22d() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.hxx index 71baec88ce..4b66113917 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor22d.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of SymmetricTensor22d select type //! 1 -> HArray1OfReal from TColStd //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as AnisotropicSymmetricTensor22d (or Null if another type) Standard_EXPORT occ::handle> AnisotropicSymmetricTensor22d() const; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.cxx index a5f05f1b9a..b17b63d43e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepFEA_SymmetricTensor23d::StepFEA_SymmetricTensor23d() {} +StepFEA_SymmetricTensor23d::StepFEA_SymmetricTensor23d() = default; //================================================================================================= @@ -110,13 +110,13 @@ occ::handle> StepFEA_SymmetricTensor23d::Orthotropic occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("ORTHOTROPIC_SYMMETRIC_TENSOR2_3D"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle> val /* = SelMem->HArray1OfReal()*/; return val; } @@ -144,13 +144,13 @@ occ::handle> StepFEA_SymmetricTensor23d::Anisotropic occ::handle SelMem = occ::down_cast(Value()); if (SelMem.IsNull()) - return 0; + return nullptr; occ::handle name = new TCollection_HAsciiString; name->AssignCat(SelMem->Name()); occ::handle nameitem = new TCollection_HAsciiString("ANISOTROPIC_SYMMETRIC_TENSOR2_3D"); if (name->IsDifferent(nameitem)) - return 0; + return nullptr; occ::handle> val /*= SelMem->HArray1OfReal()*/; return val; } diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.hxx index da17c93c2d..00fb4ab748 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23d.hxx @@ -45,10 +45,10 @@ public: //! 2 -> OrthotropicSymmetricTensor23d //! 3 -> AnisotropicSymmetricTensor23d //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! Returns a new select member the type SymmetricTensor23dMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Set Value for IsotropicSymmetricTensor23d Standard_EXPORT void SetIsotropicSymmetricTensor23d(const double aVal); diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23dMember.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23dMember.hxx index f3935ce2f2..950783514d 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23dMember.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor23dMember.hxx @@ -32,16 +32,16 @@ public: Standard_EXPORT StepFEA_SymmetricTensor23dMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepFEA_SymmetricTensor23dMember, StepData_SelectArrReal) diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.cxx index b85ddf5b6a..c49d44ff21 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.cxx @@ -25,7 +25,7 @@ //================================================================================================= -StepFEA_SymmetricTensor42d::StepFEA_SymmetricTensor42d() {} +StepFEA_SymmetricTensor42d::StepFEA_SymmetricTensor42d() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.hxx index 6102f3550c..63ee2bb583 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor42d.hxx @@ -38,7 +38,7 @@ public: //! Recognizes a kind of SymmetricTensor42d select type //! 1 -> HArray1OfReal from TColStd //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as AnisotropicSymmetricTensor42d (or Null if another type) Standard_EXPORT occ::handle> AnisotropicSymmetricTensor42d() const; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.cxx index f346e082df..49518cd0db 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.cxx @@ -25,7 +25,7 @@ //================================================================================================= -StepFEA_SymmetricTensor43d::StepFEA_SymmetricTensor43d() {} +StepFEA_SymmetricTensor43d::StepFEA_SymmetricTensor43d() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.hxx index c2c2bc6d1d..a98ac2059e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43d.hxx @@ -47,9 +47,9 @@ public: //! 5 -> FeaColumnNormalisedOrthotropicSymmetricTensor43d //! 6 -> FeaColumnNormalisedMonoclinicSymmetricTensor43d //! 0 else - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Returns Value as AnisotropicSymmetricTensor43d (or Null if another type) Standard_EXPORT occ::handle> AnisotropicSymmetricTensor43d() const; diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43dMember.hxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43dMember.hxx index 5616ad0dd8..77c4adcb71 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43dMember.hxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_SymmetricTensor43dMember.hxx @@ -32,16 +32,16 @@ public: Standard_EXPORT StepFEA_SymmetricTensor43dMember(); //! Returns True if has name - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; //! Returns set name - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; //! Set name - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; //! Tells if the name of a SelectMember matches a given one; - Standard_EXPORT virtual bool Matches(const char* name) const override; + Standard_EXPORT bool Matches(const char* name) const override; DEFINE_STANDARD_RTTIEXT(StepFEA_SymmetricTensor43dMember, StepData_SelectArrReal) diff --git a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Volume3dElementRepresentation.cxx b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Volume3dElementRepresentation.cxx index a7b812b97a..9af09c5d7e 100644 --- a/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Volume3dElementRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepFEA/StepFEA_Volume3dElementRepresentation.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Volume3dElementRepresentation, StepFEA_Elemen //================================================================================================= -StepFEA_Volume3dElementRepresentation::StepFEA_Volume3dElementRepresentation() {} +StepFEA_Volume3dElementRepresentation::StepFEA_Volume3dElementRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepFile/StepFile_Read.cxx b/src/DataExchange/TKDESTEP/StepFile/StepFile_Read.cxx index 010c082ef1..b6dae62d88 100644 --- a/src/DataExchange/TKDESTEP/StepFile/StepFile_Read.cxx +++ b/src/DataExchange/TKDESTEP/StepFile/StepFile_Read.cxx @@ -40,7 +40,7 @@ #include "step.tab.hxx" -#include +#include #include #ifdef OCCT_DEBUG @@ -58,7 +58,7 @@ static std::mutex& GetGlobalReadMutex() void StepFile_Interrupt(const char* theErrorMessage, const bool theIsFail) { - if (theErrorMessage == NULL) + if (theErrorMessage == nullptr) return; Message_Messenger::StreamBuffer sout = theIsFail ? Message::SendFail() : Message::SendTrace(); @@ -135,7 +135,7 @@ static int StepFile_Read(const char* theName, { int nbarg; char* ident; - char* typrec = 0; + char* typrec = nullptr; aFileDataModel.GetRecordDescription(&ident, &typrec, &nbarg); undirec->SetRecord(nr, ident, typrec, nbarg); diff --git a/src/DataExchange/TKDESTEP/StepFile/StepFile_ReadData.cxx b/src/DataExchange/TKDESTEP/StepFile/StepFile_ReadData.cxx index 417af012cd..3e7ea9dc25 100644 --- a/src/DataExchange/TKDESTEP/StepFile/StepFile_ReadData.cxx +++ b/src/DataExchange/TKDESTEP/StepFile/StepFile_ReadData.cxx @@ -41,7 +41,7 @@ public: { } - ~Argument() {} + ~Argument() = default; public: Argument* myNext; //!< Next argument in the list for this record @@ -61,7 +61,7 @@ public: { } - ~Record() {} + ~Record() = default; public: Record* myNext; //!< Next record in the list @@ -124,9 +124,7 @@ private: //================================================================================================= StepFile_ReadData::StepFile_ReadData() - : myTextAlloc(), - myOtherAlloc(), - myModePrint(0), + : myModePrint(0), myNbRec(0), myNbHead(0), myNbPar(0), diff --git a/src/DataExchange/TKDESTEP/StepFile/lex.step.cxx b/src/DataExchange/TKDESTEP/StepFile/lex.step.cxx index 76efa5c283..29ad6645e2 100644 --- a/src/DataExchange/TKDESTEP/StepFile/lex.step.cxx +++ b/src/DataExchange/TKDESTEP/StepFile/lex.step.cxx @@ -1,10 +1,12 @@ // This file is part of Open CASCADE Technology software library. // This file is generated, do not modify it directly; edit source file step.lex instead. +// NOLINTBEGIN - Flex-generated file, do not modify with clang-tidy + // Pre-include stdlib.h to avoid redefinition of integer type macros (INT8_MIN and similar in // generated code) #if !defined(_MSC_VER) || (_MSC_VER >= 1600) // Visual Studio 2010+ - #include "stdint.h" + #include #endif #define YY_INT_ALIGNED short int @@ -121,7 +123,7 @@ typedef unsigned int flex_uint32_t; /* begin standard C++ headers. */ #include -#include +#include #include #include #include @@ -520,7 +522,6 @@ static const flex_int16_t yy_chk[373] = { #define YY_NO_INPUT 1 #include -#include "stdio.h" // Tell flex which function to define #ifdef YY_DECL @@ -712,7 +713,7 @@ YY_DECL { - while (/*CONSTCOND*/ 1) /* loops until end-of-file is reached */ + while (/*CONSTCOND*/ true) /* loops until end-of-file is reached */ { (yy_more_len) = 0; if ((yy_more_flag)) @@ -1254,7 +1255,7 @@ yyFlexLexer::yyFlexLexer(std::istream& arg_yyin, std::ostream& arg_yyout) */ void yyFlexLexer::ctor_common() { - yy_c_buf_p = 0; + yy_c_buf_p = nullptr; yy_init = 0; yy_start = 0; yy_flex_debug = 0; @@ -1268,9 +1269,9 @@ void yyFlexLexer::ctor_common() yy_more_offset = yy_prev_more_offset = 0; yy_start_stack_ptr = yy_start_stack_depth = 0; - yy_start_stack = NULL; + yy_start_stack = nullptr; - yy_buffer_stack = NULL; + yy_buffer_stack = nullptr; yy_buffer_stack_top = 0; yy_buffer_stack_max = 0; @@ -1741,7 +1742,7 @@ void yyFlexLexer::yy_delete_buffer(YY_BUFFER_STATE b) return; if (b == YY_CURRENT_BUFFER) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE)0; + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) nullptr; if (b->yy_is_our_buffer) yyfree((void*)b->yy_ch_buf); @@ -1812,7 +1813,7 @@ void yyFlexLexer::yy_flush_buffer(YY_BUFFER_STATE b) */ void yyFlexLexer::yypush_buffer_state(YY_BUFFER_STATE new_buffer) { - if (new_buffer == NULL) + if (new_buffer == nullptr) return; yyensure_buffer_stack(); @@ -1840,13 +1841,13 @@ void yyFlexLexer::yypush_buffer_state(YY_BUFFER_STATE new_buffer) * The next element becomes the new top. * */ -void yyFlexLexer::yypop_buffer_state(void) +void yyFlexLexer::yypop_buffer_state() { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER); - YY_CURRENT_BUFFER_LVALUE = NULL; + YY_CURRENT_BUFFER_LVALUE = nullptr; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); @@ -1860,7 +1861,7 @@ void yyFlexLexer::yypop_buffer_state(void) /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ -void yyFlexLexer::yyensure_buffer_stack(void) +void yyFlexLexer::yyensure_buffer_stack() { yy_size_t num_to_alloc; @@ -2019,3 +2020,5 @@ step::scanner::scanner(StepFile_ReadData* theDataModel, std::istream* in, std::o myDataModel(theDataModel) { } + +// NOLINTEND diff --git a/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx b/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx index c51542fc0e..5aad02e16e 100644 --- a/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx +++ b/src/DataExchange/TKDESTEP/StepFile/step.tab.cxx @@ -43,6 +43,8 @@ // This special exception was added by the Free Software Foundation in // version 2.2 of Bison. +// NOLINTBEGIN - Bison-generated file, do not modify with clang-tidy + // DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, // especially those whose name start with YY_ or yy_. They are // private implementation details that can be changed or removed. @@ -157,9 +159,9 @@ parser::parser(step::scanner* scanner_yyarg) { } -parser::~parser() {} +parser::~parser() = default; -parser::syntax_error::~syntax_error() YY_NOEXCEPT YY_NOTHROW {} +parser::syntax_error::~syntax_error() YY_NOEXCEPT YY_NOTHROW = default; /*---------------. | symbol kinds. | @@ -222,9 +224,8 @@ parser::by_kind::by_kind(by_kind&& that) #endif parser::by_kind::by_kind(const by_kind& that) - : kind_(that.kind_) -{ -} + + = default; parser::by_kind::by_kind(token_kind_type t) : kind_(yytranslate_(t)) @@ -255,7 +256,7 @@ parser::symbol_kind_type parser::by_kind::type_get() const YY_NOEXCEPT // by_state. parser::by_state::by_state() YY_NOEXCEPT : state(empty_state) {} -parser::by_state::by_state(const by_state& that) YY_NOEXCEPT : state(that.state) {} +parser::by_state::by_state(const by_state& that) YY_NOEXCEPT = default; void parser::by_state::clear() YY_NOEXCEPT { @@ -278,7 +279,7 @@ parser::symbol_kind_type parser::by_state::kind() const YY_NOEXCEPT return YY_CAST(symbol_kind_type, yystos_[+state]); } -parser::stack_symbol_type::stack_symbol_type() {} +parser::stack_symbol_type::stack_symbol_type() = default; parser::stack_symbol_type::stack_symbol_type(YY_RVREF(stack_symbol_type) that) : super_type(YY_MOVE(that.state), YY_MOVE(that.value)) @@ -1176,3 +1177,5 @@ void step::parser::error(const std::string& m) StepData->AddError(newmess); } + +// NOLINTEND diff --git a/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx b/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx index 4e01c413a2..b686843c87 100644 --- a/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx +++ b/src/DataExchange/TKDESTEP/StepFile/step.tab.hxx @@ -43,6 +43,8 @@ // This special exception was added by the Free Software Foundation in // version 2.2 of Bison. +// NOLINTBEGIN - Bison-generated file, do not modify with clang-tidy + /** ** \file StepFile/step.tab.hxx ** Define the step::parser class. @@ -817,7 +819,9 @@ namespace step class scanner : public stepFlexLexer { public: - explicit scanner(StepFile_ReadData* theDataModel, std::istream* in = 0, std::ostream* out = 0); + explicit scanner(StepFile_ReadData* theDataModel, + std::istream* in = nullptr, + std::ostream* out = nullptr); int lex(step::parser::semantic_type* yylval); @@ -826,4 +830,6 @@ public: }; // namespace step +// NOLINTEND + #endif // !YY_STEP_STEPFILE_STEP_TAB_HXX_INCLUDED diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis1Placement.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis1Placement.cxx index f82d6392df..8bec85b077 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis1Placement.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis1Placement.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Axis1Placement, StepGeom_Placement) -StepGeom_Axis1Placement::StepGeom_Axis1Placement() {} +StepGeom_Axis1Placement::StepGeom_Axis1Placement() = default; void StepGeom_Axis1Placement::Init(const occ::handle& aName, const occ::handle& aLocation, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.cxx index 065fa1d71c..5d8afe1538 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.cxx @@ -17,7 +17,7 @@ #include #include -StepGeom_Axis2Placement::StepGeom_Axis2Placement() {} +StepGeom_Axis2Placement::StepGeom_Axis2Placement() = default; int StepGeom_Axis2Placement::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.hxx index 4b1f399896..2485e1210c 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement.hxx @@ -39,7 +39,7 @@ public: //! 1 -> Axis2Placement2d //! 2 -> Axis2Placement3d //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Axis2Placement2d (Null if another type) Standard_EXPORT occ::handle Axis2Placement2d() const; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement2d.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement2d.cxx index 1b2a501d82..a144920f7b 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement2d.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement2d.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Axis2Placement2d, StepGeom_Placement) -StepGeom_Axis2Placement2d::StepGeom_Axis2Placement2d() {} +StepGeom_Axis2Placement2d::StepGeom_Axis2Placement2d() = default; void StepGeom_Axis2Placement2d::Init(const occ::handle& aName, const occ::handle& aLocation, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement3d.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement3d.cxx index 7edf49c5e7..a4727b1102 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement3d.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Axis2Placement3d.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Axis2Placement3d, StepGeom_Placement) -StepGeom_Axis2Placement3d::StepGeom_Axis2Placement3d() {} +StepGeom_Axis2Placement3d::StepGeom_Axis2Placement3d() = default; void StepGeom_Axis2Placement3d::Init(const occ::handle& aName, const occ::handle& aLocation, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurve.cxx index c126d8697e..5a7f1f278a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurve.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BSplineCurve, StepGeom_BoundedCurve) -StepGeom_BSplineCurve::StepGeom_BSplineCurve() {} +StepGeom_BSplineCurve::StepGeom_BSplineCurve() = default; void StepGeom_BSplineCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnots.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnots.cxx index 17193d6ac4..010c0edb38 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnots.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnots.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BSplineCurveWithKnots, StepGeom_BSplineCurve) -StepGeom_BSplineCurveWithKnots::StepGeom_BSplineCurveWithKnots() {} +StepGeom_BSplineCurveWithKnots::StepGeom_BSplineCurveWithKnots() = default; void StepGeom_BSplineCurveWithKnots::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.cxx index b4fe806b01..cf080f1560 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.cxx @@ -21,9 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve StepGeom_BSplineCurve) StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve:: - StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve() -{ -} + StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve() = default; void StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurface.cxx index fdad733e3d..adbe5dfc63 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BSplineSurface, StepGeom_BoundedSurface) -StepGeom_BSplineSurface::StepGeom_BSplineSurface() {} +StepGeom_BSplineSurface::StepGeom_BSplineSurface() = default; void StepGeom_BSplineSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnots.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnots.cxx index d4d1a6e8d6..9ff527588e 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnots.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnots.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BSplineSurfaceWithKnots, StepGeom_BSplineSurface) -StepGeom_BSplineSurfaceWithKnots::StepGeom_BSplineSurfaceWithKnots() {} +StepGeom_BSplineSurfaceWithKnots::StepGeom_BSplineSurfaceWithKnots() = default; void StepGeom_BSplineSurfaceWithKnots::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx index 317c0167a1..7815a5299e 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx @@ -21,9 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSur StepGeom_BSplineSurface) StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface:: - StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface() -{ -} + StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface() = default; void StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurve.cxx index 3f3a4aa46e..3509817f27 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BezierCurve, StepGeom_BSplineCurve) -StepGeom_BezierCurve::StepGeom_BezierCurve() {} +StepGeom_BezierCurve::StepGeom_BezierCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.cxx index f4be3f7d8d..458b388ca4 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.cxx @@ -19,7 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BezierCurveAndRationalBSplineCurve, StepGeom_BSplineCurve) -StepGeom_BezierCurveAndRationalBSplineCurve::StepGeom_BezierCurveAndRationalBSplineCurve() {} +StepGeom_BezierCurveAndRationalBSplineCurve::StepGeom_BezierCurveAndRationalBSplineCurve() = + default; void StepGeom_BezierCurveAndRationalBSplineCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurface.cxx index bd099de443..95ac746f43 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurface.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BezierSurface, StepGeom_BSplineSurface) -StepGeom_BezierSurface::StepGeom_BezierSurface() {} +StepGeom_BezierSurface::StepGeom_BezierSurface() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurfaceAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurfaceAndRationalBSplineSurface.cxx index 4f99969fd3..1dd2331180 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurfaceAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BezierSurfaceAndRationalBSplineSurface.cxx @@ -19,9 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BezierSurfaceAndRationalBSplineSurface, StepGeom_BSplineSurface) -StepGeom_BezierSurfaceAndRationalBSplineSurface::StepGeom_BezierSurfaceAndRationalBSplineSurface() -{ -} +StepGeom_BezierSurfaceAndRationalBSplineSurface::StepGeom_BezierSurfaceAndRationalBSplineSurface() = + default; void StepGeom_BezierSurfaceAndRationalBSplineSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundaryCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundaryCurve.cxx index 1551991882..ed5b0ca4a5 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundaryCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundaryCurve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BoundaryCurve, StepGeom_CompositeCurveOnSurface) -StepGeom_BoundaryCurve::StepGeom_BoundaryCurve() {} +StepGeom_BoundaryCurve::StepGeom_BoundaryCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedCurve.cxx index ce313d0b5a..20f5de0794 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedCurve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BoundedCurve, StepGeom_Curve) -StepGeom_BoundedCurve::StepGeom_BoundedCurve() {} +StepGeom_BoundedCurve::StepGeom_BoundedCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedSurface.cxx index 015108a70b..92572477fa 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_BoundedSurface.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_BoundedSurface, StepGeom_Surface) -StepGeom_BoundedSurface::StepGeom_BoundedSurface() {} +StepGeom_BoundedSurface::StepGeom_BoundedSurface() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianPoint.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianPoint.cxx index fe4d683a84..7db8fcda96 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianPoint.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianPoint.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CartesianPoint, StepGeom_Point) -StepGeom_CartesianPoint::StepGeom_CartesianPoint() {} +StepGeom_CartesianPoint::StepGeom_CartesianPoint() = default; void StepGeom_CartesianPoint::Init(const occ::handle& theName, const occ::handle>& aCoordinates) diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator.cxx index 6a5a2f6c2d..91ec06f035 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CartesianTransformationOperator, StepGeom_GeometricRepresentationItem) -StepGeom_CartesianTransformationOperator::StepGeom_CartesianTransformationOperator() {} +StepGeom_CartesianTransformationOperator::StepGeom_CartesianTransformationOperator() = default; void StepGeom_CartesianTransformationOperator::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator2d.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator2d.cxx index 2a50c15c68..8c9379eb05 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator2d.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator2d.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CartesianTransformationOperator2d, StepGeom_CartesianTransformationOperator) -StepGeom_CartesianTransformationOperator2d::StepGeom_CartesianTransformationOperator2d() {} +StepGeom_CartesianTransformationOperator2d::StepGeom_CartesianTransformationOperator2d() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator3d.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator3d.cxx index 5f61c2444f..d625fb9e76 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator3d.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CartesianTransformationOperator3d.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CartesianTransformationOperator3d, StepGeom_CartesianTransformationOperator) -StepGeom_CartesianTransformationOperator3d::StepGeom_CartesianTransformationOperator3d() {} +StepGeom_CartesianTransformationOperator3d::StepGeom_CartesianTransformationOperator3d() = default; void StepGeom_CartesianTransformationOperator3d::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Circle.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Circle.cxx index bdefeb3bd7..54cbf56b2a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Circle.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Circle.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Circle, StepGeom_Conic) -StepGeom_Circle::StepGeom_Circle() {} +StepGeom_Circle::StepGeom_Circle() = default; void StepGeom_Circle::Init(const occ::handle& aName, const StepGeom_Axis2Placement& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurve.cxx index 665de4175c..3c9da053d6 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurve.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CompositeCurve, StepGeom_BoundedCurve) -StepGeom_CompositeCurve::StepGeom_CompositeCurve() {} +StepGeom_CompositeCurve::StepGeom_CompositeCurve() = default; void StepGeom_CompositeCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveOnSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveOnSurface.cxx index 672295b391..f85b014517 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveOnSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveOnSurface.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CompositeCurveOnSurface, StepGeom_CompositeCurve) -StepGeom_CompositeCurveOnSurface::StepGeom_CompositeCurveOnSurface() {} +StepGeom_CompositeCurveOnSurface::StepGeom_CompositeCurveOnSurface() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveSegment.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveSegment.cxx index cffdd1a27f..322948d7a7 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveSegment.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CompositeCurveSegment.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CompositeCurveSegment, Standard_Transient) -StepGeom_CompositeCurveSegment::StepGeom_CompositeCurveSegment() {} +StepGeom_CompositeCurveSegment::StepGeom_CompositeCurveSegment() = default; void StepGeom_CompositeCurveSegment::Init(const StepGeom_TransitionCode aTransition, const bool aSameSense, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Conic.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Conic.cxx index b79aad778a..ebfff246e3 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Conic.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Conic.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Conic, StepGeom_Curve) -StepGeom_Conic::StepGeom_Conic() {} +StepGeom_Conic::StepGeom_Conic() = default; void StepGeom_Conic::Init(const occ::handle& aName, const StepGeom_Axis2Placement& aPosition) diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ConicalSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ConicalSurface.cxx index 9a7c381609..26160e35cc 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ConicalSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ConicalSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_ConicalSurface, StepGeom_ElementarySurface) -StepGeom_ConicalSurface::StepGeom_ConicalSurface() {} +StepGeom_ConicalSurface::StepGeom_ConicalSurface() = default; void StepGeom_ConicalSurface::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Curve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Curve.cxx index aee7d9bcdf..383592460f 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Curve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Curve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Curve, StepGeom_GeometricRepresentationItem) -StepGeom_Curve::StepGeom_Curve() {} +StepGeom_Curve::StepGeom_Curve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveBoundedSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveBoundedSurface.cxx index 5b44a208db..46389408e0 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveBoundedSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveBoundedSurface.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CurveBoundedSurface, StepGeom_BoundedSurface //================================================================================================= -StepGeom_CurveBoundedSurface::StepGeom_CurveBoundedSurface() {} +StepGeom_CurveBoundedSurface::StepGeom_CurveBoundedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.cxx index 9185f1165b..6ba5ef7347 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.cxx @@ -18,7 +18,7 @@ #include #include -StepGeom_CurveOnSurface::StepGeom_CurveOnSurface() {} +StepGeom_CurveOnSurface::StepGeom_CurveOnSurface() = default; int StepGeom_CurveOnSurface::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.hxx index 68b15d21a4..7a65bb84ab 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveOnSurface.hxx @@ -41,7 +41,7 @@ public: //! 2 -> SurfaceCurve //! 3 -> CompositeCurveOnSurface //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Pcurve (Null if another type) Standard_EXPORT occ::handle Pcurve() const; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveReplica.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveReplica.cxx index ec85758297..610aa3cf32 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveReplica.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CurveReplica.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CurveReplica, StepGeom_Curve) -StepGeom_CurveReplica::StepGeom_CurveReplica() {} +StepGeom_CurveReplica::StepGeom_CurveReplica() = default; void StepGeom_CurveReplica::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CylindricalSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CylindricalSurface.cxx index 9e385a45ff..a81286cc0e 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CylindricalSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_CylindricalSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_CylindricalSurface, StepGeom_ElementarySurface) -StepGeom_CylindricalSurface::StepGeom_CylindricalSurface() {} +StepGeom_CylindricalSurface::StepGeom_CylindricalSurface() = default; void StepGeom_CylindricalSurface::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegeneratePcurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegeneratePcurve.cxx index 75a86df105..b1b976d645 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegeneratePcurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegeneratePcurve.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_DegeneratePcurve, StepGeom_Point) -StepGeom_DegeneratePcurve::StepGeom_DegeneratePcurve() {} +StepGeom_DegeneratePcurve::StepGeom_DegeneratePcurve() = default; void StepGeom_DegeneratePcurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegenerateToroidalSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegenerateToroidalSurface.cxx index cf12346b5d..c30c9115ac 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegenerateToroidalSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_DegenerateToroidalSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_DegenerateToroidalSurface, StepGeom_ToroidalSurface) -StepGeom_DegenerateToroidalSurface::StepGeom_DegenerateToroidalSurface() {} +StepGeom_DegenerateToroidalSurface::StepGeom_DegenerateToroidalSurface() = default; void StepGeom_DegenerateToroidalSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Direction.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Direction.cxx index c68cbcdb8a..2778a42929 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Direction.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Direction.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Direction, StepGeom_GeometricRepresentationItem) -StepGeom_Direction::StepGeom_Direction() {} +StepGeom_Direction::StepGeom_Direction() = default; void StepGeom_Direction::Init(const occ::handle& theName, const occ::handle>& theDirectionRatios) diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ElementarySurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ElementarySurface.cxx index 61fc0ef5e4..56a40aaf13 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ElementarySurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ElementarySurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_ElementarySurface, StepGeom_Surface) -StepGeom_ElementarySurface::StepGeom_ElementarySurface() {} +StepGeom_ElementarySurface::StepGeom_ElementarySurface() = default; void StepGeom_ElementarySurface::Init(const occ::handle& aName, const occ::handle& aPosition) diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Ellipse.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Ellipse.cxx index 28df9f4897..7c9f2b8a1b 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Ellipse.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Ellipse.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Ellipse, StepGeom_Conic) -StepGeom_Ellipse::StepGeom_Ellipse() {} +StepGeom_Ellipse::StepGeom_Ellipse() = default; void StepGeom_Ellipse::Init(const occ::handle& aName, const StepGeom_Axis2Placement& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_EvaluatedDegeneratePcurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_EvaluatedDegeneratePcurve.cxx index d44c2e2de4..66fc8f0e5d 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_EvaluatedDegeneratePcurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_EvaluatedDegeneratePcurve.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_EvaluatedDegeneratePcurve, StepGeom_DegeneratePcurve) -StepGeom_EvaluatedDegeneratePcurve::StepGeom_EvaluatedDegeneratePcurve() {} +StepGeom_EvaluatedDegeneratePcurve::StepGeom_EvaluatedDegeneratePcurve() = default; void StepGeom_EvaluatedDegeneratePcurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx index a6ab14ab86..502d754567 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx @@ -27,9 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncert //================================================================================================= StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx:: - StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx() -{ -} + StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContext.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContext.cxx index 146064e880..3028aa91a1 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContext.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_GeometricRepresentationContext, StepRepr_RepresentationContext) -StepGeom_GeometricRepresentationContext::StepGeom_GeometricRepresentationContext() {} +StepGeom_GeometricRepresentationContext::StepGeom_GeometricRepresentationContext() = default; void StepGeom_GeometricRepresentationContext::Init( const occ::handle& aContextIdentifier, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.cxx index 97ddfe05f5..c5235c0a4c 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.cxx @@ -21,9 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_GeometricRepresentationContextAndGlobalUnitA StepRepr_RepresentationContext) StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext:: - StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext() -{ -} + StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext() = default; void StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext::Init( const occ::handle& aContextIdentifier, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cxx index b688297a89..13fbe23d70 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cxx @@ -23,9 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT( StepRepr_RepresentationContext) StepGeom_GeometricRepresentationContextAndParametricRepresentationContext:: - StepGeom_GeometricRepresentationContextAndParametricRepresentationContext() -{ -} + StepGeom_GeometricRepresentationContextAndParametricRepresentationContext() = default; void StepGeom_GeometricRepresentationContextAndParametricRepresentationContext::Init( const occ::handle& aContextIdentifier, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationItem.cxx index ce39dd118b..53b7277e9f 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeometricRepresentationItem.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_GeometricRepresentationItem, StepRepr_RepresentationItem) -StepGeom_GeometricRepresentationItem::StepGeom_GeometricRepresentationItem() {} +StepGeom_GeometricRepresentationItem::StepGeom_GeometricRepresentationItem() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Hyperbola.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Hyperbola.cxx index 8bf4e0cd4e..be63f382b0 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Hyperbola.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Hyperbola.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Hyperbola, StepGeom_Conic) -StepGeom_Hyperbola::StepGeom_Hyperbola() {} +StepGeom_Hyperbola::StepGeom_Hyperbola() = default; void StepGeom_Hyperbola::Init(const occ::handle& aName, const StepGeom_Axis2Placement& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_IntersectionCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_IntersectionCurve.cxx index 071cca492a..0ae858c3eb 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_IntersectionCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_IntersectionCurve.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_IntersectionCurve, StepGeom_SurfaceCurve) -StepGeom_IntersectionCurve::StepGeom_IntersectionCurve() {} +StepGeom_IntersectionCurve::StepGeom_IntersectionCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Line.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Line.cxx index 43d7f2aa27..034d7042a4 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Line.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Line.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Line, StepGeom_Curve) -StepGeom_Line::StepGeom_Line() {} +StepGeom_Line::StepGeom_Line() = default; void StepGeom_Line::Init(const occ::handle& aName, const occ::handle& aPnt, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetCurve3d.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetCurve3d.cxx index e11e62a049..7b23c6d832 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetCurve3d.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetCurve3d.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_OffsetCurve3d, StepGeom_Curve) -StepGeom_OffsetCurve3d::StepGeom_OffsetCurve3d() {} +StepGeom_OffsetCurve3d::StepGeom_OffsetCurve3d() = default; void StepGeom_OffsetCurve3d::Init(const occ::handle& aName, const occ::handle& aBasisCurve, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetSurface.cxx index d94cb9e658..612130a977 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OffsetSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_OffsetSurface, StepGeom_Surface) -StepGeom_OffsetSurface::StepGeom_OffsetSurface() {} +StepGeom_OffsetSurface::StepGeom_OffsetSurface() = default; void StepGeom_OffsetSurface::Init(const occ::handle& aName, const occ::handle& aBasisSurface, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OrientedSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OrientedSurface.cxx index 141f4dfba8..fad50c5c38 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OrientedSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OrientedSurface.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_OrientedSurface, StepGeom_Surface) //================================================================================================= -StepGeom_OrientedSurface::StepGeom_OrientedSurface() {} +StepGeom_OrientedSurface::StepGeom_OrientedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OuterBoundaryCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OuterBoundaryCurve.cxx index 65c88d2cc1..8e727c8be1 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OuterBoundaryCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_OuterBoundaryCurve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_OuterBoundaryCurve, StepGeom_BoundaryCurve) -StepGeom_OuterBoundaryCurve::StepGeom_OuterBoundaryCurve() {} +StepGeom_OuterBoundaryCurve::StepGeom_OuterBoundaryCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Parabola.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Parabola.cxx index eb40abe033..7406503296 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Parabola.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Parabola.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Parabola, StepGeom_Conic) -StepGeom_Parabola::StepGeom_Parabola() {} +StepGeom_Parabola::StepGeom_Parabola() = default; void StepGeom_Parabola::Init(const occ::handle& aName, const StepGeom_Axis2Placement& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Pcurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Pcurve.cxx index 9c32e2694d..f620175127 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Pcurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Pcurve.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Pcurve, StepGeom_Curve) -StepGeom_Pcurve::StepGeom_Pcurve() {} +StepGeom_Pcurve::StepGeom_Pcurve() = default; void StepGeom_Pcurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.cxx index 9a7042f009..ce5e088a04 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.cxx @@ -17,7 +17,7 @@ #include #include -StepGeom_PcurveOrSurface::StepGeom_PcurveOrSurface() {} +StepGeom_PcurveOrSurface::StepGeom_PcurveOrSurface() = default; int StepGeom_PcurveOrSurface::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.hxx index 4f11dd8311..75dc0c06ec 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PcurveOrSurface.hxx @@ -39,7 +39,7 @@ public: //! 1 -> Pcurve //! 2 -> Surface //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Pcurve (Null if another type) Standard_EXPORT occ::handle Pcurve() const; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Placement.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Placement.cxx index 50ef27dd62..ff91dc5084 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Placement.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Placement.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Placement, StepGeom_GeometricRepresentationItem) -StepGeom_Placement::StepGeom_Placement() {} +StepGeom_Placement::StepGeom_Placement() = default; void StepGeom_Placement::Init(const occ::handle& aName, const occ::handle& aLocation) diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Plane.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Plane.cxx index dac7b1b6fe..f631e7a90a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Plane.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Plane.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Plane, StepGeom_ElementarySurface) -StepGeom_Plane::StepGeom_Plane() {} +StepGeom_Plane::StepGeom_Plane() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Point.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Point.cxx index 50a6a16ab9..fcfe493727 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Point.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Point.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Point, StepGeom_GeometricRepresentationItem) -StepGeom_Point::StepGeom_Point() {} +StepGeom_Point::StepGeom_Point() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnCurve.cxx index a17287b050..3eed3f1249 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnCurve.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_PointOnCurve, StepGeom_Point) -StepGeom_PointOnCurve::StepGeom_PointOnCurve() {} +StepGeom_PointOnCurve::StepGeom_PointOnCurve() = default; void StepGeom_PointOnCurve::Init(const occ::handle& aName, const occ::handle& aBasisCurve, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnSurface.cxx index 54714a96af..ebb49f811d 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointOnSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_PointOnSurface, StepGeom_Point) -StepGeom_PointOnSurface::StepGeom_PointOnSurface() {} +StepGeom_PointOnSurface::StepGeom_PointOnSurface() = default; void StepGeom_PointOnSurface::Init(const occ::handle& aName, const occ::handle& aBasisSurface, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointReplica.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointReplica.cxx index 6ff7a45143..9946abb370 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointReplica.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_PointReplica.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_PointReplica, StepGeom_Point) -StepGeom_PointReplica::StepGeom_PointReplica() {} +StepGeom_PointReplica::StepGeom_PointReplica() = default; void StepGeom_PointReplica::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Polyline.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Polyline.cxx index 5e66ff5ab6..0d0bae0834 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Polyline.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Polyline.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Polyline, StepGeom_BoundedCurve) -StepGeom_Polyline::StepGeom_Polyline() {} +StepGeom_Polyline::StepGeom_Polyline() = default; void StepGeom_Polyline::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurve.cxx index d69f43bb57..234f12874c 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_QuasiUniformCurve, StepGeom_BSplineCurve) -StepGeom_QuasiUniformCurve::StepGeom_QuasiUniformCurve() {} +StepGeom_QuasiUniformCurve::StepGeom_QuasiUniformCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurveAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurveAndRationalBSplineCurve.cxx index 0f6a6039c1..264ac5e026 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurveAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformCurveAndRationalBSplineCurve.cxx @@ -20,9 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_QuasiUniformCurveAndRationalBSplineCurve, StepGeom_BSplineCurve) StepGeom_QuasiUniformCurveAndRationalBSplineCurve:: - StepGeom_QuasiUniformCurveAndRationalBSplineCurve() -{ -} + StepGeom_QuasiUniformCurveAndRationalBSplineCurve() = default; void StepGeom_QuasiUniformCurveAndRationalBSplineCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurface.cxx index 9b431ce342..5bbda710e2 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurface.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_QuasiUniformSurface, StepGeom_BSplineSurface) -StepGeom_QuasiUniformSurface::StepGeom_QuasiUniformSurface() {} +StepGeom_QuasiUniformSurface::StepGeom_QuasiUniformSurface() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.cxx index feffa23258..777e2d63d8 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.cxx @@ -21,9 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface StepGeom_BSplineSurface) StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface:: - StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface() -{ -} + StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface() = default; void StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineCurve.cxx index 97efb9a061..aaba1e36ad 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineCurve.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_RationalBSplineCurve, StepGeom_BSplineCurve) -StepGeom_RationalBSplineCurve::StepGeom_RationalBSplineCurve() {} +StepGeom_RationalBSplineCurve::StepGeom_RationalBSplineCurve() = default; void StepGeom_RationalBSplineCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineSurface.cxx index 28c2509778..7763ca7012 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RationalBSplineSurface.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_RationalBSplineSurface, StepGeom_BSplineSurface) -StepGeom_RationalBSplineSurface::StepGeom_RationalBSplineSurface() {} +StepGeom_RationalBSplineSurface::StepGeom_RationalBSplineSurface() = default; void StepGeom_RationalBSplineSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularCompositeSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularCompositeSurface.cxx index 8af299861c..a84d523b5a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularCompositeSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularCompositeSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_RectangularCompositeSurface, StepGeom_BoundedSurface) -StepGeom_RectangularCompositeSurface::StepGeom_RectangularCompositeSurface() {} +StepGeom_RectangularCompositeSurface::StepGeom_RectangularCompositeSurface() = default; void StepGeom_RectangularCompositeSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularTrimmedSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularTrimmedSurface.cxx index 1ec8643ec3..f870dc8d79 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularTrimmedSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_RectangularTrimmedSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_RectangularTrimmedSurface, StepGeom_BoundedSurface) -StepGeom_RectangularTrimmedSurface::StepGeom_RectangularTrimmedSurface() {} +StepGeom_RectangularTrimmedSurface::StepGeom_RectangularTrimmedSurface() = default; void StepGeom_RectangularTrimmedSurface::Init(const occ::handle& aName, const occ::handle& aBasisSurface, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ReparametrisedCompositeCurveSegment.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ReparametrisedCompositeCurveSegment.cxx index 1c8bb38aa4..2d3d602622 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ReparametrisedCompositeCurveSegment.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ReparametrisedCompositeCurveSegment.cxx @@ -18,7 +18,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_ReparametrisedCompositeCurveSegment, StepGeom_CompositeCurveSegment) -StepGeom_ReparametrisedCompositeCurveSegment::StepGeom_ReparametrisedCompositeCurveSegment() {} +StepGeom_ReparametrisedCompositeCurveSegment::StepGeom_ReparametrisedCompositeCurveSegment() = + default; void StepGeom_ReparametrisedCompositeCurveSegment::Init( const StepGeom_TransitionCode aTransition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SeamCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SeamCurve.cxx index 378dd784ce..bee36b24d6 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SeamCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SeamCurve.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SeamCurve, StepGeom_SurfaceCurve) -StepGeom_SeamCurve::StepGeom_SeamCurve() {} +StepGeom_SeamCurve::StepGeom_SeamCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SphericalSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SphericalSurface.cxx index 3e1d87b0f3..fd990d42f1 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SphericalSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SphericalSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SphericalSurface, StepGeom_ElementarySurface) -StepGeom_SphericalSurface::StepGeom_SphericalSurface() {} +StepGeom_SphericalSurface::StepGeom_SphericalSurface() = default; void StepGeom_SphericalSurface::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SuParameters.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SuParameters.cxx index 977e425fb6..5a354d3a52 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SuParameters.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SuParameters.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SuParameters, StepGeom_GeometricRepresentati //================================================================================================= -StepGeom_SuParameters::StepGeom_SuParameters() {} +StepGeom_SuParameters::StepGeom_SuParameters() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Surface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Surface.cxx index 4f266383b3..76a4217e3a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Surface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Surface.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Surface, StepGeom_GeometricRepresentationItem) -StepGeom_Surface::StepGeom_Surface() {} +StepGeom_Surface::StepGeom_Surface() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.cxx index c877c95884..742431b0b0 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepGeom_SurfaceBoundary::StepGeom_SurfaceBoundary() {} +StepGeom_SurfaceBoundary::StepGeom_SurfaceBoundary() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.hxx index 022763dde6..3809846b61 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceBoundary.hxx @@ -40,7 +40,7 @@ public: //! 1 -> BoundaryCurve from StepGeom //! 2 -> DegeneratePcurve from StepGeom //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as BoundaryCurve (or Null if another type) Standard_EXPORT occ::handle BoundaryCurve() const; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurve.cxx index 6e14fc118d..36701eb88a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurve.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SurfaceCurve, StepGeom_Curve) -StepGeom_SurfaceCurve::StepGeom_SurfaceCurve() {} +StepGeom_SurfaceCurve::StepGeom_SurfaceCurve() = default; void StepGeom_SurfaceCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurveAndBoundedCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurveAndBoundedCurve.cxx index 4b012b56cd..6ae560306f 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurveAndBoundedCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceCurveAndBoundedCurve.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SurfaceCurveAndBoundedCurve, StepGeom_SurfaceCurve) -StepGeom_SurfaceCurveAndBoundedCurve::StepGeom_SurfaceCurveAndBoundedCurve() {} +StepGeom_SurfaceCurveAndBoundedCurve::StepGeom_SurfaceCurveAndBoundedCurve() = default; occ::handle& StepGeom_SurfaceCurveAndBoundedCurve::BoundedCurve() { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfLinearExtrusion.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfLinearExtrusion.cxx index 00e34c84f4..ed845dca45 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfLinearExtrusion.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfLinearExtrusion.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SurfaceOfLinearExtrusion, StepGeom_SweptSurface) -StepGeom_SurfaceOfLinearExtrusion::StepGeom_SurfaceOfLinearExtrusion() {} +StepGeom_SurfaceOfLinearExtrusion::StepGeom_SurfaceOfLinearExtrusion() = default; void StepGeom_SurfaceOfLinearExtrusion::Init(const occ::handle& aName, const occ::handle& aSweptCurve, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfRevolution.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfRevolution.cxx index e1a8c0ba81..c5727da442 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfRevolution.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceOfRevolution.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SurfaceOfRevolution, StepGeom_SweptSurface) -StepGeom_SurfaceOfRevolution::StepGeom_SurfaceOfRevolution() {} +StepGeom_SurfaceOfRevolution::StepGeom_SurfaceOfRevolution() = default; void StepGeom_SurfaceOfRevolution::Init(const occ::handle& aName, const occ::handle& aSweptCurve, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfacePatch.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfacePatch.cxx index e023bb560d..185f9d3c95 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfacePatch.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfacePatch.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SurfacePatch, Standard_Transient) -StepGeom_SurfacePatch::StepGeom_SurfacePatch() {} +StepGeom_SurfacePatch::StepGeom_SurfacePatch() = default; void StepGeom_SurfacePatch::Init(const occ::handle& aParentSurface, const StepGeom_TransitionCode aUTransition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceReplica.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceReplica.cxx index cb30bdaa63..86868212a4 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceReplica.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SurfaceReplica.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SurfaceReplica, StepGeom_Surface) -StepGeom_SurfaceReplica::StepGeom_SurfaceReplica() {} +StepGeom_SurfaceReplica::StepGeom_SurfaceReplica() = default; void StepGeom_SurfaceReplica::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SweptSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SweptSurface.cxx index 1aeb2b195d..a3fa7f0fff 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SweptSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_SweptSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_SweptSurface, StepGeom_Surface) -StepGeom_SweptSurface::StepGeom_SweptSurface() {} +StepGeom_SweptSurface::StepGeom_SweptSurface() = default; void StepGeom_SweptSurface::Init(const occ::handle& aName, const occ::handle& aSweptCurve) diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ToroidalSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ToroidalSurface.cxx index 23ce3fe918..ac00b38b9c 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ToroidalSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_ToroidalSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_ToroidalSurface, StepGeom_ElementarySurface) -StepGeom_ToroidalSurface::StepGeom_ToroidalSurface() {} +StepGeom_ToroidalSurface::StepGeom_ToroidalSurface() = default; void StepGeom_ToroidalSurface::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmedCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmedCurve.cxx index 8d76e3df05..c4da8116a6 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmedCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmedCurve.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_TrimmedCurve, StepGeom_BoundedCurve) -StepGeom_TrimmedCurve::StepGeom_TrimmedCurve() {} +StepGeom_TrimmedCurve::StepGeom_TrimmedCurve() = default; void StepGeom_TrimmedCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.cxx index 6e24c9187b..e20e3dff4f 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_TrimmingMember, StepData_SelectReal) -StepGeom_TrimmingMember::StepGeom_TrimmingMember() {} +StepGeom_TrimmingMember::StepGeom_TrimmingMember() = default; bool StepGeom_TrimmingMember::HasName() const { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.hxx index d6bf3b21ee..d25fa3ca8a 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingMember.hxx @@ -30,11 +30,11 @@ class StepGeom_TrimmingMember : public StepData_SelectReal public: Standard_EXPORT StepGeom_TrimmingMember(); - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; DEFINE_STANDARD_RTTIEXT(StepGeom_TrimmingMember, StepData_SelectReal) }; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.cxx index dd9a8260c4..3899de6fc7 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.cxx @@ -18,7 +18,7 @@ #include #include -StepGeom_TrimmingSelect::StepGeom_TrimmingSelect() {} +StepGeom_TrimmingSelect::StepGeom_TrimmingSelect() = default; int StepGeom_TrimmingSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.hxx index 7e5c68a85d..04325b9feb 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_TrimmingSelect.hxx @@ -41,12 +41,12 @@ public: Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns a TrimmingMember (for PARAMETER_VALUE) as preferred - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Recognizes a SelectMember as Real, named as PARAMETER_VALUE //! 1 -> ParameterValue i.e. Real //! 0 else (i.e. Entity) - Standard_EXPORT virtual int CaseMem(const occ::handle& ent) const override; + Standard_EXPORT int CaseMem(const occ::handle& ent) const override; //! returns Value as a CartesianPoint (Null if another type) Standard_EXPORT occ::handle CartesianPoint() const; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurve.cxx index e55676015b..9b264a3331 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurve.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_UniformCurve, StepGeom_BSplineCurve) -StepGeom_UniformCurve::StepGeom_UniformCurve() {} +StepGeom_UniformCurve::StepGeom_UniformCurve() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurveAndRationalBSplineCurve.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurveAndRationalBSplineCurve.cxx index 013e395d60..cbd35c0ca0 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurveAndRationalBSplineCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformCurveAndRationalBSplineCurve.cxx @@ -19,7 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_UniformCurveAndRationalBSplineCurve, StepGeom_BSplineCurve) -StepGeom_UniformCurveAndRationalBSplineCurve::StepGeom_UniformCurveAndRationalBSplineCurve() {} +StepGeom_UniformCurveAndRationalBSplineCurve::StepGeom_UniformCurveAndRationalBSplineCurve() = + default; void StepGeom_UniformCurveAndRationalBSplineCurve::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurface.cxx index d4764223b0..a43b8928e1 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurface.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_UniformSurface, StepGeom_BSplineSurface) -StepGeom_UniformSurface::StepGeom_UniformSurface() {} +StepGeom_UniformSurface::StepGeom_UniformSurface() = default; diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurfaceAndRationalBSplineSurface.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurfaceAndRationalBSplineSurface.cxx index 181a98ead9..32db49f10e 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurfaceAndRationalBSplineSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_UniformSurfaceAndRationalBSplineSurface.cxx @@ -20,9 +20,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_UniformSurfaceAndRationalBSplineSurface, StepGeom_BSplineSurface) -StepGeom_UniformSurfaceAndRationalBSplineSurface::StepGeom_UniformSurfaceAndRationalBSplineSurface() -{ -} +StepGeom_UniformSurfaceAndRationalBSplineSurface:: + StepGeom_UniformSurfaceAndRationalBSplineSurface() = default; void StepGeom_UniformSurfaceAndRationalBSplineSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Vector.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Vector.cxx index e2100613ba..10c08b2ccc 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Vector.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_Vector.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepGeom_Vector, StepGeom_GeometricRepresentationItem) -StepGeom_Vector::StepGeom_Vector() {} +StepGeom_Vector::StepGeom_Vector() = default; void StepGeom_Vector::Init(const occ::handle& aName, const occ::handle& aOrientation, diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.cxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.cxx index e6a5d2a055..4f7530aecd 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.cxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.cxx @@ -17,7 +17,7 @@ #include #include -StepGeom_VectorOrDirection::StepGeom_VectorOrDirection() {} +StepGeom_VectorOrDirection::StepGeom_VectorOrDirection() = default; int StepGeom_VectorOrDirection::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.hxx b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.hxx index 41e5d2092c..1236430e3e 100644 --- a/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.hxx +++ b/src/DataExchange/TKDESTEP/StepGeom/StepGeom_VectorOrDirection.hxx @@ -39,7 +39,7 @@ public: //! 1 -> Vector //! 2 -> Direction //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Vector (Null if another type) Standard_EXPORT occ::handle Vector() const; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ActuatedKinPairAndOrderKinPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ActuatedKinPairAndOrderKinPair.cxx index 5bd6bcb048..6df7ac6a94 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ActuatedKinPairAndOrderKinPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ActuatedKinPairAndOrderKinPair.cxx @@ -23,7 +23,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_ActuatedKinPairAndOrderKinPair, //================================================================================================= -StepKinematics_ActuatedKinPairAndOrderKinPair::StepKinematics_ActuatedKinPairAndOrderKinPair() {} +StepKinematics_ActuatedKinPairAndOrderKinPair::StepKinematics_ActuatedKinPairAndOrderKinPair() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ContextDependentKinematicLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ContextDependentKinematicLinkRepresentation.cxx index 2408224c49..b640f2537d 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ContextDependentKinematicLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ContextDependentKinematicLinkRepresentation.cxx @@ -22,9 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_ContextDependentKinematicLinkRepresent //================================================================================================= StepKinematics_ContextDependentKinematicLinkRepresentation:: - StepKinematics_ContextDependentKinematicLinkRepresentation() -{ -} + StepKinematics_ContextDependentKinematicLinkRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPair.cxx index 3f1a6103c6..cdcf7ce1d0 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_CylindricalPair, StepKinematics_LowOrd //================================================================================================= -StepKinematics_CylindricalPair::StepKinematics_CylindricalPair() {} +StepKinematics_CylindricalPair::StepKinematics_CylindricalPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPairValue.cxx index 4215f1f8ec..5a7ca20677 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_CylindricalPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_CylindricalPairValue, StepKinematics_P //================================================================================================= -StepKinematics_CylindricalPairValue::StepKinematics_CylindricalPairValue() {} +StepKinematics_CylindricalPairValue::StepKinematics_CylindricalPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_FullyConstrainedPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_FullyConstrainedPair.cxx index 31170b1a91..a837c7956d 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_FullyConstrainedPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_FullyConstrainedPair.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_FullyConstrainedPair, //================================================================================================= -StepKinematics_FullyConstrainedPair::StepKinematics_FullyConstrainedPair() {} +StepKinematics_FullyConstrainedPair::StepKinematics_FullyConstrainedPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPair.cxx index 530052163b..bc219a5e5b 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPair.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_GearPair, //================================================================================================= -StepKinematics_GearPair::StepKinematics_GearPair() {} +StepKinematics_GearPair::StepKinematics_GearPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPairValue.cxx index 1b539753cb..6d558fcb45 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_GearPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_GearPairValue, StepKinematics_PairValu //================================================================================================= -StepKinematics_GearPairValue::StepKinematics_GearPairValue() {} +StepKinematics_GearPairValue::StepKinematics_GearPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HighOrderKinematicPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HighOrderKinematicPair.cxx index e6f4113a70..55eed925c4 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HighOrderKinematicPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HighOrderKinematicPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_HighOrderKinematicPair, StepKinematics //================================================================================================= -StepKinematics_HighOrderKinematicPair::StepKinematics_HighOrderKinematicPair() {} +StepKinematics_HighOrderKinematicPair::StepKinematics_HighOrderKinematicPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HomokineticPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HomokineticPair.cxx index 7a457b54a9..3732928aa3 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HomokineticPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_HomokineticPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_HomokineticPair, StepKinematics_Univer //================================================================================================= -StepKinematics_HomokineticPair::StepKinematics_HomokineticPair() {} +StepKinematics_HomokineticPair::StepKinematics_HomokineticPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicJoint.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicJoint.cxx index 77bd352859..3ffc785bea 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicJoint.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicJoint.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicJoint, StepShape_Edge) //================================================================================================= -StepKinematics_KinematicJoint::StepKinematics_KinematicJoint() {} +StepKinematics_KinematicJoint::StepKinematics_KinematicJoint() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLink.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLink.cxx index 150e174795..2ead6094d1 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLink.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLink.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicLink, StepShape_Vertex) //================================================================================================= -StepKinematics_KinematicLink::StepKinematics_KinematicLink() {} +StepKinematics_KinematicLink::StepKinematics_KinematicLink() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentation.cxx index d4e245d3ee..a7737633c4 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentation.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicLinkRepresentation, StepRepr_ //================================================================================================= -StepKinematics_KinematicLinkRepresentation::StepKinematics_KinematicLinkRepresentation() {} +StepKinematics_KinematicLinkRepresentation::StepKinematics_KinematicLinkRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentationAssociation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentationAssociation.cxx index e57239f892..eef4d6db14 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentationAssociation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicLinkRepresentationAssociation.cxx @@ -22,6 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicLinkRepresentationAssociation //================================================================================================= StepKinematics_KinematicLinkRepresentationAssociation:: - StepKinematics_KinematicLinkRepresentationAssociation() -{ -} + StepKinematics_KinematicLinkRepresentationAssociation() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPair.cxx index cc94f6e548..fd9c9383e2 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPair.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicPair, StepGeom_GeometricRepre //================================================================================================= -StepKinematics_KinematicPair::StepKinematics_KinematicPair() {} +StepKinematics_KinematicPair::StepKinematics_KinematicPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyDefinitionRepresentation.cxx index dff387b41f..44a0d40475 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyDefinitionRepresentation.cxx @@ -22,6 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicPropertyDefinitionRepresentat //================================================================================================= StepKinematics_KinematicPropertyDefinitionRepresentation:: - StepKinematics_KinematicPropertyDefinitionRepresentation() -{ -} + StepKinematics_KinematicPropertyDefinitionRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyMechanismRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyMechanismRepresentation.cxx index 59d2552564..9c260eca93 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyMechanismRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicPropertyMechanismRepresentation.cxx @@ -22,9 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicPropertyMechanismRepresentati //================================================================================================= StepKinematics_KinematicPropertyMechanismRepresentation:: - StepKinematics_KinematicPropertyMechanismRepresentation() -{ -} + StepKinematics_KinematicPropertyMechanismRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyDirectedStructure.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyDirectedStructure.cxx index fd8f83ebd0..e5ee623e4e 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyDirectedStructure.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyDirectedStructure.cxx @@ -22,9 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicTopologyDirectedStructure, //================================================================================================= StepKinematics_KinematicTopologyDirectedStructure:: - StepKinematics_KinematicTopologyDirectedStructure() -{ -} + StepKinematics_KinematicTopologyDirectedStructure() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyNetworkStructure.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyNetworkStructure.cxx index b904667191..171d82d234 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyNetworkStructure.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyNetworkStructure.cxx @@ -21,9 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicTopologyNetworkStructure, //================================================================================================= -StepKinematics_KinematicTopologyNetworkStructure::StepKinematics_KinematicTopologyNetworkStructure() -{ -} +StepKinematics_KinematicTopologyNetworkStructure:: + StepKinematics_KinematicTopologyNetworkStructure() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyRepresentationSelect.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyRepresentationSelect.cxx index 224971a850..58a95fdb73 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyRepresentationSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyRepresentationSelect.cxx @@ -23,9 +23,7 @@ //================================================================================================= StepKinematics_KinematicTopologyRepresentationSelect:: - StepKinematics_KinematicTopologyRepresentationSelect() -{ -} + StepKinematics_KinematicTopologyRepresentationSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyStructure.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyStructure.cxx index c76de8cf34..ebaf9758a6 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyStructure.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_KinematicTopologyStructure.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_KinematicTopologyStructure, StepRepr_R //================================================================================================= -StepKinematics_KinematicTopologyStructure::StepKinematics_KinematicTopologyStructure() {} +StepKinematics_KinematicTopologyStructure::StepKinematics_KinematicTopologyStructure() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx index 2540d1b10f..44bedd4d63 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPinionPair.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPinionPair, //================================================================================================= -StepKinematics_LinearFlexibleAndPinionPair::StepKinematics_LinearFlexibleAndPinionPair() {} +StepKinematics_LinearFlexibleAndPinionPair::StepKinematics_LinearFlexibleAndPinionPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx index 71f0945a88..73ac8a6404 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleAndPlanarCurvePair.cxx @@ -21,9 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPlanarCurvePair, //================================================================================================= -StepKinematics_LinearFlexibleAndPlanarCurvePair::StepKinematics_LinearFlexibleAndPlanarCurvePair() -{ -} +StepKinematics_LinearFlexibleAndPlanarCurvePair::StepKinematics_LinearFlexibleAndPlanarCurvePair() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx index f68d504c2f..137acba3a5 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LinearFlexibleLinkRepresentation.cxx @@ -21,6 +21,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleLinkRepresentation, //================================================================================================= -StepKinematics_LinearFlexibleLinkRepresentation::StepKinematics_LinearFlexibleLinkRepresentation() -{ -} +StepKinematics_LinearFlexibleLinkRepresentation::StepKinematics_LinearFlexibleLinkRepresentation() = + default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPair.cxx index 83aa694b6a..cc029467a8 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPair.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LowOrderKinematicPair, StepKinematics_ //================================================================================================= -StepKinematics_LowOrderKinematicPair::StepKinematics_LowOrderKinematicPair() {} +StepKinematics_LowOrderKinematicPair::StepKinematics_LowOrderKinematicPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairValue.cxx index 000637c53a..0430ca006b 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LowOrderKinematicPairValue, StepKinema //================================================================================================= -StepKinematics_LowOrderKinematicPairValue::StepKinematics_LowOrderKinematicPairValue() {} +StepKinematics_LowOrderKinematicPairValue::StepKinematics_LowOrderKinematicPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairWithMotionCoupling.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairWithMotionCoupling.cxx index 90d370a435..b9a7b9d511 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairWithMotionCoupling.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_LowOrderKinematicPairWithMotionCoupling.cxx @@ -22,6 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_LowOrderKinematicPairWithMotionCouplin //================================================================================================= StepKinematics_LowOrderKinematicPairWithMotionCoupling:: - StepKinematics_LowOrderKinematicPairWithMotionCoupling() -{ -} + StepKinematics_LowOrderKinematicPairWithMotionCoupling() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismRepresentation.cxx index b8cd76390b..647c4e579d 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismRepresentation.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_MechanismRepresentation, StepRepr_Repr //================================================================================================= -StepKinematics_MechanismRepresentation::StepKinematics_MechanismRepresentation() {} +StepKinematics_MechanismRepresentation::StepKinematics_MechanismRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismStateRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismStateRepresentation.cxx index 2bb60f4c54..02ad9a0aa8 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismStateRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_MechanismStateRepresentation.cxx @@ -18,7 +18,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_MechanismStateRepresentation, StepRepr_Representation) -StepKinematics_MechanismStateRepresentation::StepKinematics_MechanismStateRepresentation() {} +StepKinematics_MechanismStateRepresentation::StepKinematics_MechanismStateRepresentation() = + default; void StepKinematics_MechanismStateRepresentation::Init( const occ::handle& theName, diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_OrientedJoint.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_OrientedJoint.cxx index 79d7da29ae..62db3c27f8 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_OrientedJoint.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_OrientedJoint.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_OrientedJoint, StepShape_OrientedEdge) //================================================================================================= -StepKinematics_OrientedJoint::StepKinematics_OrientedJoint() {} +StepKinematics_OrientedJoint::StepKinematics_OrientedJoint() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairRepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairRepresentationRelationship.cxx index 7561fbb887..cbe2146353 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairRepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairRepresentationRelationship.cxx @@ -21,7 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PairRepresentationRelationship, //================================================================================================= -StepKinematics_PairRepresentationRelationship::StepKinematics_PairRepresentationRelationship() {} +StepKinematics_PairRepresentationRelationship::StepKinematics_PairRepresentationRelationship() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairValue.cxx index 134b850751..bf5b0df478 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PairValue, StepGeom_GeometricRepresent //================================================================================================= -StepKinematics_PairValue::StepKinematics_PairValue() {} +StepKinematics_PairValue::StepKinematics_PairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePair.cxx index 59bca9a9f6..84dd7849b1 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePair.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PlanarCurvePair, StepKinematics_HighOr //================================================================================================= -StepKinematics_PlanarCurvePair::StepKinematics_PlanarCurvePair() {} +StepKinematics_PlanarCurvePair::StepKinematics_PlanarCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePairRange.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePairRange.cxx index c5ece0c24a..1ebc7da6a3 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePairRange.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarCurvePairRange.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PlanarCurvePairRange, StepKinematics_P //================================================================================================= -StepKinematics_PlanarCurvePairRange::StepKinematics_PlanarCurvePairRange() {} +StepKinematics_PlanarCurvePairRange::StepKinematics_PlanarCurvePairRange() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPair.cxx index da0c4ebb27..fe19c72427 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PlanarPair, StepKinematics_LowOrderKin //================================================================================================= -StepKinematics_PlanarPair::StepKinematics_PlanarPair() {} +StepKinematics_PlanarPair::StepKinematics_PlanarPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPairValue.cxx index f6f73b9270..1b63515e66 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PlanarPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PlanarPairValue, StepKinematics_PairVa //================================================================================================= -StepKinematics_PlanarPairValue::StepKinematics_PlanarPairValue() {} +StepKinematics_PlanarPairValue::StepKinematics_PlanarPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePair.cxx index c4a5b622a4..4a2b41a416 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePair.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PointOnPlanarCurvePair, //================================================================================================= -StepKinematics_PointOnPlanarCurvePair::StepKinematics_PointOnPlanarCurvePair() {} +StepKinematics_PointOnPlanarCurvePair::StepKinematics_PointOnPlanarCurvePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePairValue.cxx index 860e48d988..7a69461290 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnPlanarCurvePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PointOnPlanarCurvePairValue, StepKinem //================================================================================================= -StepKinematics_PointOnPlanarCurvePairValue::StepKinematics_PointOnPlanarCurvePairValue() {} +StepKinematics_PointOnPlanarCurvePairValue::StepKinematics_PointOnPlanarCurvePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePair.cxx index 2a0bd8cf63..72e07d8ac0 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePair.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PointOnSurfacePair, StepKinematics_Hig //================================================================================================= -StepKinematics_PointOnSurfacePair::StepKinematics_PointOnSurfacePair() {} +StepKinematics_PointOnSurfacePair::StepKinematics_PointOnSurfacePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePairValue.cxx index 21792a1df0..0ad647b2ad 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PointOnSurfacePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PointOnSurfacePairValue, StepKinematic //================================================================================================= -StepKinematics_PointOnSurfacePairValue::StepKinematics_PointOnSurfacePairValue() {} +StepKinematics_PointOnSurfacePairValue::StepKinematics_PointOnSurfacePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPair.cxx index 2b3ed9e110..59c154b958 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PrismaticPair, StepKinematics_LowOrder //================================================================================================= -StepKinematics_PrismaticPair::StepKinematics_PrismaticPair() {} +StepKinematics_PrismaticPair::StepKinematics_PrismaticPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPairValue.cxx index a214c1690a..7d116f20be 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_PrismaticPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_PrismaticPairValue, StepKinematics_Pai //================================================================================================= -StepKinematics_PrismaticPairValue::StepKinematics_PrismaticPairValue() {} +StepKinematics_PrismaticPairValue::StepKinematics_PrismaticPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionKinematics.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionKinematics.cxx index ff14d7ce91..a2e6f0a33b 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionKinematics.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionKinematics.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_ProductDefinitionKinematics, StepRepr_ //================================================================================================= -StepKinematics_ProductDefinitionKinematics::StepKinematics_ProductDefinitionKinematics() {} +StepKinematics_ProductDefinitionKinematics::StepKinematics_ProductDefinitionKinematics() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionRelationshipKinematics.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionRelationshipKinematics.cxx index 32b8cfcbe3..366d12fe2a 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionRelationshipKinematics.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ProductDefinitionRelationshipKinematics.cxx @@ -22,6 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_ProductDefinitionRelationshipKinematic //================================================================================================= StepKinematics_ProductDefinitionRelationshipKinematics:: - StepKinematics_ProductDefinitionRelationshipKinematics() -{ -} + StepKinematics_ProductDefinitionRelationshipKinematics() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPair.cxx index bc96d089d5..b3fcf3d5c3 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPair.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RackAndPinionPair, //================================================================================================= -StepKinematics_RackAndPinionPair::StepKinematics_RackAndPinionPair() {} +StepKinematics_RackAndPinionPair::StepKinematics_RackAndPinionPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPairValue.cxx index b5f1d9e8a2..27e21dc1c6 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RackAndPinionPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RackAndPinionPairValue, StepKinematics //================================================================================================= -StepKinematics_RackAndPinionPairValue::StepKinematics_RackAndPinionPairValue() {} +StepKinematics_RackAndPinionPairValue::StepKinematics_RackAndPinionPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePair.cxx index 693beec890..8853fcd8bd 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RevolutePair, StepKinematics_LowOrderK //================================================================================================= -StepKinematics_RevolutePair::StepKinematics_RevolutePair() {} +StepKinematics_RevolutePair::StepKinematics_RevolutePair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePairValue.cxx index 4e35f137c7..45c24392b4 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RevolutePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RevolutePairValue, StepKinematics_Pair //================================================================================================= -StepKinematics_RevolutePairValue::StepKinematics_RevolutePairValue() {} +StepKinematics_RevolutePairValue::StepKinematics_RevolutePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidLinkRepresentation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidLinkRepresentation.cxx index bd753ecf41..eebe6d8a46 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidLinkRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidLinkRepresentation.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RigidLinkRepresentation, //================================================================================================= -StepKinematics_RigidLinkRepresentation::StepKinematics_RigidLinkRepresentation() {} +StepKinematics_RigidLinkRepresentation::StepKinematics_RigidLinkRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidPlacement.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidPlacement.cxx index b25e65c507..0bf8eefb3a 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidPlacement.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RigidPlacement.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepKinematics_RigidPlacement::StepKinematics_RigidPlacement() {} +StepKinematics_RigidPlacement::StepKinematics_RigidPlacement() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePair.cxx index 83d87c7a36..63846d3c8f 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RollingCurvePair, StepKinematics_Plana //================================================================================================= -StepKinematics_RollingCurvePair::StepKinematics_RollingCurvePair() {} +StepKinematics_RollingCurvePair::StepKinematics_RollingCurvePair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePairValue.cxx index da5d518aaa..45fda153e9 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingCurvePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RollingCurvePairValue, StepKinematics_ //================================================================================================= -StepKinematics_RollingCurvePairValue::StepKinematics_RollingCurvePairValue() {} +StepKinematics_RollingCurvePairValue::StepKinematics_RollingCurvePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePair.cxx index f8a4acc024..5aa5e250ae 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RollingSurfacePair, StepKinematics_Sur //================================================================================================= -StepKinematics_RollingSurfacePair::StepKinematics_RollingSurfacePair() {} +StepKinematics_RollingSurfacePair::StepKinematics_RollingSurfacePair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePairValue.cxx index cf561bdde4..2aa9fdf37e 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RollingSurfacePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RollingSurfacePairValue, StepKinematic //================================================================================================= -StepKinematics_RollingSurfacePairValue::StepKinematics_RollingSurfacePairValue() {} +StepKinematics_RollingSurfacePairValue::StepKinematics_RollingSurfacePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RotationAboutDirection.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RotationAboutDirection.cxx index 105ce427c4..264b576827 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RotationAboutDirection.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_RotationAboutDirection.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_RotationAboutDirection, //================================================================================================= -StepKinematics_RotationAboutDirection::StepKinematics_RotationAboutDirection() {} +StepKinematics_RotationAboutDirection::StepKinematics_RotationAboutDirection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPair.cxx index 21fcbb7d65..f5d6e68f8e 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPair.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_ScrewPair, //================================================================================================= -StepKinematics_ScrewPair::StepKinematics_ScrewPair() {} +StepKinematics_ScrewPair::StepKinematics_ScrewPair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPairValue.cxx index dee4a8102a..c2abbabaa9 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_ScrewPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_ScrewPairValue, StepKinematics_PairVal //================================================================================================= -StepKinematics_ScrewPairValue::StepKinematics_ScrewPairValue() {} +StepKinematics_ScrewPairValue::StepKinematics_ScrewPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePair.cxx index d0ec60bd28..0e01f2731e 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SlidingCurvePair, StepKinematics_Plana //================================================================================================= -StepKinematics_SlidingCurvePair::StepKinematics_SlidingCurvePair() {} +StepKinematics_SlidingCurvePair::StepKinematics_SlidingCurvePair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePairValue.cxx index d48b517dee..0d8ed7e804 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingCurvePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SlidingCurvePairValue, StepKinematics_ //================================================================================================= -StepKinematics_SlidingCurvePairValue::StepKinematics_SlidingCurvePairValue() {} +StepKinematics_SlidingCurvePairValue::StepKinematics_SlidingCurvePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePair.cxx index ca2616997f..3d55af47fa 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SlidingSurfacePair, StepKinematics_Sur //================================================================================================= -StepKinematics_SlidingSurfacePair::StepKinematics_SlidingSurfacePair() {} +StepKinematics_SlidingSurfacePair::StepKinematics_SlidingSurfacePair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePairValue.cxx index 164bdfa319..9b14f9601f 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SlidingSurfacePairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SlidingSurfacePairValue, StepKinematic //================================================================================================= -StepKinematics_SlidingSurfacePairValue::StepKinematics_SlidingSurfacePairValue() {} +StepKinematics_SlidingSurfacePairValue::StepKinematics_SlidingSurfacePairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SpatialRotation.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SpatialRotation.cxx index d2a5c3e692..461cbd8eee 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SpatialRotation.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SpatialRotation.cxx @@ -21,7 +21,7 @@ //================================================================================================= -StepKinematics_SpatialRotation::StepKinematics_SpatialRotation() {} +StepKinematics_SpatialRotation::StepKinematics_SpatialRotation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPair.cxx index e736e5aedc..55acd3058a 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SphericalPair, StepKinematics_LowOrder //================================================================================================= -StepKinematics_SphericalPair::StepKinematics_SphericalPair() {} +StepKinematics_SphericalPair::StepKinematics_SphericalPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairSelect.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairSelect.cxx index b4db30270f..740e0454f2 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairSelect.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepKinematics_SphericalPairSelect::StepKinematics_SphericalPairSelect() {} +StepKinematics_SphericalPairSelect::StepKinematics_SphericalPairSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairValue.cxx index e5bfbee0fa..5f9cc68a8d 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SphericalPairValue, StepKinematics_Pai //================================================================================================= -StepKinematics_SphericalPairValue::StepKinematics_SphericalPairValue() {} +StepKinematics_SphericalPairValue::StepKinematics_SphericalPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairWithPin.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairWithPin.cxx index 05941e4ead..36de33e522 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairWithPin.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SphericalPairWithPin.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SphericalPairWithPin, //================================================================================================= -StepKinematics_SphericalPairWithPin::StepKinematics_SphericalPairWithPin() {} +StepKinematics_SphericalPairWithPin::StepKinematics_SphericalPairWithPin() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SurfacePair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SurfacePair.cxx index 2a1aa0e9c1..7ceab7e27f 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SurfacePair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_SurfacePair.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_SurfacePair, StepKinematics_HighOrderK //================================================================================================= -StepKinematics_SurfacePair::StepKinematics_SurfacePair() {} +StepKinematics_SurfacePair::StepKinematics_SurfacePair() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPair.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPair.cxx index 2f373788df..715110c44e 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPair.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPair.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_UnconstrainedPair, StepKinematics_LowO //================================================================================================= -StepKinematics_UnconstrainedPair::StepKinematics_UnconstrainedPair() {} +StepKinematics_UnconstrainedPair::StepKinematics_UnconstrainedPair() = default; diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPairValue.cxx index 7bbe871ca2..240563a0c3 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UnconstrainedPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_UnconstrainedPairValue, StepKinematics //================================================================================================= -StepKinematics_UnconstrainedPairValue::StepKinematics_UnconstrainedPairValue() {} +StepKinematics_UnconstrainedPairValue::StepKinematics_UnconstrainedPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UniversalPairValue.cxx b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UniversalPairValue.cxx index 6d2cef8c05..e30eefa0b8 100644 --- a/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UniversalPairValue.cxx +++ b/src/DataExchange/TKDESTEP/StepKinematics/StepKinematics_UniversalPairValue.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepKinematics_UniversalPairValue, StepKinematics_Pai //================================================================================================= -StepKinematics_UniversalPairValue::StepKinematics_UniversalPairValue() {} +StepKinematics_UniversalPairValue::StepKinematics_UniversalPairValue() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AllAroundShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AllAroundShapeAspect.cxx index e4847a7c07..4a93357944 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AllAroundShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AllAroundShapeAspect.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_AllAroundShapeAspect, StepRepr_ContinuosShapeAspect) -StepRepr_AllAroundShapeAspect::StepRepr_AllAroundShapeAspect() {} +StepRepr_AllAroundShapeAspect::StepRepr_AllAroundShapeAspect() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Apex.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Apex.cxx index 0780fdd91b..4a5b30072e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Apex.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Apex.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_Apex, StepRepr_DerivedShapeAspect) -StepRepr_Apex::StepRepr_Apex() {} +StepRepr_Apex::StepRepr_Apex() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cxx index f6ebb54105..5ea9d2bb84 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_AssemblyComponentUsageSubstitute, Standard_Transient) -StepRepr_AssemblyComponentUsageSubstitute::StepRepr_AssemblyComponentUsageSubstitute() {} +StepRepr_AssemblyComponentUsageSubstitute::StepRepr_AssemblyComponentUsageSubstitute() = default; void StepRepr_AssemblyComponentUsageSubstitute::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BetweenShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BetweenShapeAspect.cxx index 088526797d..2c3983b76d 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BetweenShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BetweenShapeAspect.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_BetweenShapeAspect, StepRepr_ContinuosShapeAspect) -StepRepr_BetweenShapeAspect::StepRepr_BetweenShapeAspect() {} +StepRepr_BetweenShapeAspect::StepRepr_BetweenShapeAspect() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BooleanRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BooleanRepresentationItem.cxx index da2621b50c..ea961e1966 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BooleanRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_BooleanRepresentationItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_BooleanRepresentationItem, StepRepr_RepresentationItem) -StepRepr_BooleanRepresentationItem::StepRepr_BooleanRepresentationItem() {} +StepRepr_BooleanRepresentationItem::StepRepr_BooleanRepresentationItem() = default; void StepRepr_BooleanRepresentationItem::Init(const occ::handle& theName, const bool theValue) diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CentreOfSymmetry.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CentreOfSymmetry.cxx index 3ed47098ee..b147b8dc3e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CentreOfSymmetry.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CentreOfSymmetry.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CentreOfSymmetry, StepRepr_DerivedShapeAspect) -StepRepr_CentreOfSymmetry::StepRepr_CentreOfSymmetry() {} +StepRepr_CentreOfSymmetry::StepRepr_CentreOfSymmetry() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.cxx index 3c27ae781a..1ce1d2ef93 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.cxx @@ -27,7 +27,7 @@ //================================================================================================= -StepRepr_CharacterizedDefinition::StepRepr_CharacterizedDefinition() {} +StepRepr_CharacterizedDefinition::StepRepr_CharacterizedDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.hxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.hxx index 5650ab731c..caf0489084 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.hxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedDefinition.hxx @@ -49,7 +49,7 @@ public: //! 6 -> ShapeAspectRelationship from StepRepr //! 7 -> DocumentFile from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as CharacterizedObject (or Null if another type) Standard_EXPORT occ::handle CharacterizedObject() const; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedRepresentation.cxx index b8e9f6cd82..d376f0ed53 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CharacterizedRepresentation.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CharacterizedRepresentation, StepRepr_Repres //================================================================================================= -StepRepr_CharacterizedRepresentation::StepRepr_CharacterizedRepresentation() {} +StepRepr_CharacterizedRepresentation::StepRepr_CharacterizedRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx index d38f209a3e..d841c05547 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.cxx @@ -19,6 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShA StepRepr_CompShAspAndDatumFeatAndShAsp) StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp:: - StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp() -{ -} + StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.cxx index a0684a1dc3..5c4e38556e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompShAspAndDatumFeatAndShAsp.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CompShAspAndDatumFeatAndShAsp, StepRepr_ShapeAspect) -StepRepr_CompShAspAndDatumFeatAndShAsp::StepRepr_CompShAspAndDatumFeatAndShAsp() {} +StepRepr_CompShAspAndDatumFeatAndShAsp::StepRepr_CompShAspAndDatumFeatAndShAsp() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeGroupShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeGroupShapeAspect.cxx index 1958021c92..b5f5ff70fa 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeGroupShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeGroupShapeAspect.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CompositeGroupShapeAspect, StepRepr_CompositeShapeAspect) -StepRepr_CompositeGroupShapeAspect::StepRepr_CompositeGroupShapeAspect() {} +StepRepr_CompositeGroupShapeAspect::StepRepr_CompositeGroupShapeAspect() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeShapeAspect.cxx index f563003676..507191aff8 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompositeShapeAspect.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CompositeShapeAspect, StepRepr_ShapeAspect) -StepRepr_CompositeShapeAspect::StepRepr_CompositeShapeAspect() {} +StepRepr_CompositeShapeAspect::StepRepr_CompositeShapeAspect() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompoundRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompoundRepresentationItem.cxx index 941da389ff..ea90c1575e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompoundRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_CompoundRepresentationItem.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_CompoundRepresentationItem, StepRepr_RepresentationItem) -StepRepr_CompoundRepresentationItem::StepRepr_CompoundRepresentationItem() {} +StepRepr_CompoundRepresentationItem::StepRepr_CompoundRepresentationItem() = default; void StepRepr_CompoundRepresentationItem::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesign.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesign.cxx index f94eecc0c3..849948c1b8 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesign.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesign.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ConfigurationDesign, Standard_Transient) //================================================================================================= -StepRepr_ConfigurationDesign::StepRepr_ConfigurationDesign() {} +StepRepr_ConfigurationDesign::StepRepr_ConfigurationDesign() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.cxx index 7ce8c4bf6b..311b4bc682 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.cxx @@ -23,7 +23,7 @@ //================================================================================================= -StepRepr_ConfigurationDesignItem::StepRepr_ConfigurationDesignItem() {} +StepRepr_ConfigurationDesignItem::StepRepr_ConfigurationDesignItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.hxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.hxx index 6eabc9c998..26d588b54f 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.hxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationDesignItem.hxx @@ -40,7 +40,7 @@ public: //! 1 -> ProductDefinition from StepBasic //! 2 -> ProductDefinitionFormation from StepBasic //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ProductDefinition (or Null if another type) Standard_EXPORT occ::handle ProductDefinition() const; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationEffectivity.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationEffectivity.cxx index 9ee9f834e1..23fd4aa52b 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationEffectivity.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConfigurationEffectivity.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ConfigurationEffectivity, //================================================================================================= -StepRepr_ConfigurationEffectivity::StepRepr_ConfigurationEffectivity() {} +StepRepr_ConfigurationEffectivity::StepRepr_ConfigurationEffectivity() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentation.cxx index 9586ac93eb..1b932ca0c6 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentation.cxx @@ -18,4 +18,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ConstructiveGeometryRepresentation, StepRepr_Representation) -StepRepr_ConstructiveGeometryRepresentation::StepRepr_ConstructiveGeometryRepresentation() {} +StepRepr_ConstructiveGeometryRepresentation::StepRepr_ConstructiveGeometryRepresentation() = + default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentationRelationship.cxx index 0f702196e0..b461232f4f 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ConstructiveGeometryRepresentationRelationship.cxx @@ -20,6 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ConstructiveGeometryRepresentationRelationsh StepRepr_RepresentationRelationship) StepRepr_ConstructiveGeometryRepresentationRelationship:: - StepRepr_ConstructiveGeometryRepresentationRelationship() -{ -} + StepRepr_ConstructiveGeometryRepresentationRelationship() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ContinuosShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ContinuosShapeAspect.cxx index 1b4fecc01a..1d5ee3007a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ContinuosShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ContinuosShapeAspect.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ContinuosShapeAspect, StepRepr_CompositeShapeAspect) -StepRepr_ContinuosShapeAspect::StepRepr_ContinuosShapeAspect() {} +StepRepr_ContinuosShapeAspect::StepRepr_ContinuosShapeAspect() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DataEnvironment.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DataEnvironment.cxx index 847aa4e54a..ad4a6667cc 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DataEnvironment.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DataEnvironment.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_DataEnvironment, Standard_Transient) //================================================================================================= -StepRepr_DataEnvironment::StepRepr_DataEnvironment() {} +StepRepr_DataEnvironment::StepRepr_DataEnvironment() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DefinitionalRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DefinitionalRepresentation.cxx index 489f58270b..178635207a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DefinitionalRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DefinitionalRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_DefinitionalRepresentation, StepRepr_Representation) -StepRepr_DefinitionalRepresentation::StepRepr_DefinitionalRepresentation() {} +StepRepr_DefinitionalRepresentation::StepRepr_DefinitionalRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DerivedShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DerivedShapeAspect.cxx index 6709215cde..67b8f9a435 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DerivedShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DerivedShapeAspect.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_DerivedShapeAspect, StepRepr_ShapeAspect) -StepRepr_DerivedShapeAspect::StepRepr_DerivedShapeAspect() {} +StepRepr_DerivedShapeAspect::StepRepr_DerivedShapeAspect() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DescriptiveRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DescriptiveRepresentationItem.cxx index ac7d3fdbce..06de289598 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DescriptiveRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_DescriptiveRepresentationItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_DescriptiveRepresentationItem, StepRepr_RepresentationItem) -StepRepr_DescriptiveRepresentationItem::StepRepr_DescriptiveRepresentationItem() {} +StepRepr_DescriptiveRepresentationItem::StepRepr_DescriptiveRepresentationItem() = default; void StepRepr_DescriptiveRepresentationItem::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Extension.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Extension.cxx index 4ef633c627..39819ff079 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Extension.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Extension.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_Extension, StepRepr_DerivedShapeAspect) -StepRepr_Extension::StepRepr_Extension() {} +StepRepr_Extension::StepRepr_Extension() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ExternallyDefinedRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ExternallyDefinedRepresentation.cxx index 8595910500..d164c44236 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ExternallyDefinedRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ExternallyDefinedRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ExternallyDefinedRepresentation, StepRepr_Representation) -StepRepr_ExternallyDefinedRepresentation::StepRepr_ExternallyDefinedRepresentation() {} +StepRepr_ExternallyDefinedRepresentation::StepRepr_ExternallyDefinedRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FeatureForDatumTargetRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FeatureForDatumTargetRelationship.cxx index d7d0394891..0210345ba7 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FeatureForDatumTargetRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FeatureForDatumTargetRelationship.cxx @@ -24,4 +24,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_FeatureForDatumTargetRelationship, //================================================================================================= -StepRepr_FeatureForDatumTargetRelationship::StepRepr_FeatureForDatumTargetRelationship() {} \ No newline at end of file +StepRepr_FeatureForDatumTargetRelationship::StepRepr_FeatureForDatumTargetRelationship() = default; \ No newline at end of file diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FunctionallyDefinedTransformation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FunctionallyDefinedTransformation.cxx index 96e2836c93..7b651ea2db 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FunctionallyDefinedTransformation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_FunctionallyDefinedTransformation.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_FunctionallyDefinedTransformation, Standard_Transient) -StepRepr_FunctionallyDefinedTransformation::StepRepr_FunctionallyDefinedTransformation() {} +StepRepr_FunctionallyDefinedTransformation::StepRepr_FunctionallyDefinedTransformation() = default; void StepRepr_FunctionallyDefinedTransformation::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GeometricAlignment.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GeometricAlignment.cxx index dfe0d4daf4..bd46ce8444 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GeometricAlignment.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GeometricAlignment.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_GeometricAlignment, StepRepr_DerivedShapeAspect) -StepRepr_GeometricAlignment::StepRepr_GeometricAlignment() {} +StepRepr_GeometricAlignment::StepRepr_GeometricAlignment() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cxx index 2de6b808d8..90ad48181d 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_GlobalUncertaintyAssignedContext, StepRepr_RepresentationContext) -StepRepr_GlobalUncertaintyAssignedContext::StepRepr_GlobalUncertaintyAssignedContext() {} +StepRepr_GlobalUncertaintyAssignedContext::StepRepr_GlobalUncertaintyAssignedContext() = default; void StepRepr_GlobalUncertaintyAssignedContext::Init( const occ::handle& aContextIdentifier, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUnitAssignedContext.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUnitAssignedContext.cxx index eec6478121..5bb38e4d2b 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUnitAssignedContext.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_GlobalUnitAssignedContext.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_GlobalUnitAssignedContext, StepRepr_RepresentationContext) -StepRepr_GlobalUnitAssignedContext::StepRepr_GlobalUnitAssignedContext() {} +StepRepr_GlobalUnitAssignedContext::StepRepr_GlobalUnitAssignedContext() = default; void StepRepr_GlobalUnitAssignedContext::Init( const occ::handle& aContextIdentifier, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_IntegerRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_IntegerRepresentationItem.cxx index 9263bf974a..cced4ca8f3 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_IntegerRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_IntegerRepresentationItem.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_IntegerRepresentationItem, StepRepr_RepresentationItem) -StepRepr_IntegerRepresentationItem::StepRepr_IntegerRepresentationItem() {} +StepRepr_IntegerRepresentationItem::StepRepr_IntegerRepresentationItem() = default; void StepRepr_IntegerRepresentationItem::Init(const occ::handle& theName, const int theValue) diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ItemDefinedTransformation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ItemDefinedTransformation.cxx index 822d05f18f..bc0294e743 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ItemDefinedTransformation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ItemDefinedTransformation.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ItemDefinedTransformation, Standard_Transient) -StepRepr_ItemDefinedTransformation::StepRepr_ItemDefinedTransformation() {} +StepRepr_ItemDefinedTransformation::StepRepr_ItemDefinedTransformation() = default; void StepRepr_ItemDefinedTransformation::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MakeFromUsageOption.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MakeFromUsageOption.cxx index aac7dd989f..0ee157af98 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MakeFromUsageOption.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MakeFromUsageOption.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_MakeFromUsageOption, StepRepr_ProductDefinit //================================================================================================= -StepRepr_MakeFromUsageOption::StepRepr_MakeFromUsageOption() {} +StepRepr_MakeFromUsageOption::StepRepr_MakeFromUsageOption() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MappedItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MappedItem.cxx index 39409ebbcb..49a7fcec70 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MappedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MappedItem.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_MappedItem, StepRepr_RepresentationItem) -StepRepr_MappedItem::StepRepr_MappedItem() {} +StepRepr_MappedItem::StepRepr_MappedItem() = default; void StepRepr_MappedItem::Init(const occ::handle& aName, const occ::handle& aMappingSource, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialDesignation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialDesignation.cxx index d32c118d43..da44acfcb0 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialDesignation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialDesignation.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_MaterialDesignation, Standard_Transient) -StepRepr_MaterialDesignation::StepRepr_MaterialDesignation() {} +StepRepr_MaterialDesignation::StepRepr_MaterialDesignation() = default; void StepRepr_MaterialDesignation::Init(const occ::handle& aName, const StepRepr_CharacterizedDefinition& aOfDefinition) diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialProperty.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialProperty.cxx index 77c8a0a2ba..afedcb0a8a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialProperty.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialProperty.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_MaterialProperty, StepRepr_PropertyDefinitio //================================================================================================= -StepRepr_MaterialProperty::StepRepr_MaterialProperty() {} +StepRepr_MaterialProperty::StepRepr_MaterialProperty() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialPropertyRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialPropertyRepresentation.cxx index c5ab005545..6921b015eb 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialPropertyRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MaterialPropertyRepresentation.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_MaterialPropertyRepresentation, //================================================================================================= -StepRepr_MaterialPropertyRepresentation::StepRepr_MaterialPropertyRepresentation() {} +StepRepr_MaterialPropertyRepresentation::StepRepr_MaterialPropertyRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MechanicalDesignAndDraughtingRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MechanicalDesignAndDraughtingRelationship.cxx index 5f3235c34d..f7cc44928d 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MechanicalDesignAndDraughtingRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_MechanicalDesignAndDraughtingRelationship.cxx @@ -18,6 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_MechanicalDesignAndDraughtingRelationship, StepRepr_RepresentationRelationship) StepRepr_MechanicalDesignAndDraughtingRelationship:: - StepRepr_MechanicalDesignAndDraughtingRelationship() -{ -} + StepRepr_MechanicalDesignAndDraughtingRelationship() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cxx index bd80706430..7b5f6097bd 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_NextAssemblyUsageOccurrence, StepRepr_Assemb //================================================================================================= -StepRepr_NextAssemblyUsageOccurrence::StepRepr_NextAssemblyUsageOccurrence() {} +StepRepr_NextAssemblyUsageOccurrence::StepRepr_NextAssemblyUsageOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParallelOffset.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParallelOffset.cxx index 0f2b279e2f..f0979ae6c1 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParallelOffset.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParallelOffset.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ParallelOffset, StepRepr_DerivedShapeAspect) -StepRepr_ParallelOffset::StepRepr_ParallelOffset() {} +StepRepr_ParallelOffset::StepRepr_ParallelOffset() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParametricRepresentationContext.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParametricRepresentationContext.cxx index df25cc83d5..c61750c44f 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParametricRepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParametricRepresentationContext.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ParametricRepresentationContext, StepRepr_RepresentationContext) -StepRepr_ParametricRepresentationContext::StepRepr_ParametricRepresentationContext() {} +StepRepr_ParametricRepresentationContext::StepRepr_ParametricRepresentationContext() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PerpendicularTo.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PerpendicularTo.cxx index decdcab20a..df244451d4 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PerpendicularTo.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PerpendicularTo.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_PerpendicularTo, StepRepr_DerivedShapeAspect) -StepRepr_PerpendicularTo::StepRepr_PerpendicularTo() {} +StepRepr_PerpendicularTo::StepRepr_PerpendicularTo() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionShape.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionShape.cxx index e0f97345c8..53cf1b9a9a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionShape.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionShape.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ProductDefinitionShape, StepRepr_PropertyDef //================================================================================================= -StepRepr_ProductDefinitionShape::StepRepr_ProductDefinitionShape() {} +StepRepr_ProductDefinitionShape::StepRepr_ProductDefinitionShape() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionUsage.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionUsage.cxx index 333c6eb2a4..28ee54f1a7 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ProductDefinitionUsage.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ProductDefinitionUsage, StepBasic_ProductDef //================================================================================================= -StepRepr_ProductDefinitionUsage::StepRepr_ProductDefinitionUsage() {} +StepRepr_ProductDefinitionUsage::StepRepr_ProductDefinitionUsage() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PromissoryUsageOccurrence.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PromissoryUsageOccurrence.cxx index 4d5828d3c0..83b053850a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PromissoryUsageOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PromissoryUsageOccurrence.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_PromissoryUsageOccurrence, StepRepr_AssemblyComponentUsage) -StepRepr_PromissoryUsageOccurrence::StepRepr_PromissoryUsageOccurrence() {} +StepRepr_PromissoryUsageOccurrence::StepRepr_PromissoryUsageOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRelationship.cxx index 4375c20f8a..e6b567f17c 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRelationship.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_PropertyDefinitionRelationship, Standard_Tra //================================================================================================= -StepRepr_PropertyDefinitionRelationship::StepRepr_PropertyDefinitionRelationship() {} +StepRepr_PropertyDefinitionRelationship::StepRepr_PropertyDefinitionRelationship() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx index 2b9f5c7a47..d4309a2808 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_PropertyDefinitionRepresentation, Standard_T //================================================================================================= -StepRepr_PropertyDefinitionRepresentation::StepRepr_PropertyDefinitionRepresentation() {} +StepRepr_PropertyDefinitionRepresentation::StepRepr_PropertyDefinitionRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx index e8bb0dbc72..20302d1134 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx @@ -25,7 +25,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_QuantifiedAssemblyComponentUsage, //================================================================================================= -StepRepr_QuantifiedAssemblyComponentUsage::StepRepr_QuantifiedAssemblyComponentUsage() {} +StepRepr_QuantifiedAssemblyComponentUsage::StepRepr_QuantifiedAssemblyComponentUsage() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RealRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RealRepresentationItem.cxx index f6016c39c4..8ac57badba 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RealRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RealRepresentationItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RealRepresentationItem, StepRepr_RepresentationItem) -StepRepr_RealRepresentationItem::StepRepr_RealRepresentationItem() {} +StepRepr_RealRepresentationItem::StepRepr_RealRepresentationItem() = default; void StepRepr_RealRepresentationItem::Init(const occ::handle& theName, const double theValue) diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cxx index 2b40463756..000cbd1024 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ReprItemAndLengthMeasureWithUnit, //================================================================================================= StepRepr_ReprItemAndLengthMeasureWithUnit::StepRepr_ReprItemAndLengthMeasureWithUnit() - : StepRepr_ReprItemAndMeasureWithUnit() + { myLengthMeasureWithUnit = new StepBasic_LengthMeasureWithUnit(); } diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.cxx index 5c9db7687e..f3ab2e4d99 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI, //================================================================================================= StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI::StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI() - : StepRepr_ReprItemAndMeasureWithUnitAndQRI() + { myLengthMeasureWithUnit = new StepBasic_LengthMeasureWithUnit(); } diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx index da664f2530..48461ed223 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndMeasureWithUnitAndQRI.cxx @@ -34,7 +34,7 @@ void StepRepr_ReprItemAndMeasureWithUnitAndQRI::Init( //================================================================================================= StepRepr_ReprItemAndMeasureWithUnitAndQRI::StepRepr_ReprItemAndMeasureWithUnitAndQRI() - : StepRepr_ReprItemAndMeasureWithUnit() + { myQualifiedRepresentationItem = new StepShape_QualifiedRepresentationItem(); } diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.cxx index 8a6a80684a..5d5d0a2919 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ReprItemAndPlaneAngleMeasureWithUnit, //================================================================================================= StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::StepRepr_ReprItemAndPlaneAngleMeasureWithUnit() - : StepRepr_ReprItemAndMeasureWithUnit() + { myPlaneAngleMeasureWithUnit = new StepBasic_PlaneAngleMeasureWithUnit(); } diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx index 6acfeb6925..1e29d252ee 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI, StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI:: StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI() - : StepRepr_ReprItemAndMeasureWithUnitAndQRI() + { myPlaneAngleMeasureWithUnit = new StepBasic_PlaneAngleMeasureWithUnit(); } diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Representation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Representation.cxx index 9ce538f3ba..a534f8736f 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Representation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Representation.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_Representation, Standard_Transient) -StepRepr_Representation::StepRepr_Representation() {} +StepRepr_Representation::StepRepr_Representation() = default; void StepRepr_Representation::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContext.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContext.cxx index ebc5ae555d..97d39e9083 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContext.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContext.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationContext, Standard_Transient) -StepRepr_RepresentationContext::StepRepr_RepresentationContext() {} +StepRepr_RepresentationContext::StepRepr_RepresentationContext() = default; void StepRepr_RepresentationContext::Init( const occ::handle& aContextIdentifier, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContextReference.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContextReference.cxx index a4b998bd97..111ebe0cd4 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContextReference.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationContextReference.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationContextReference, Standard_Tra //================================================================================================= -StepRepr_RepresentationContextReference::StepRepr_RepresentationContextReference() {} +StepRepr_RepresentationContextReference::StepRepr_RepresentationContextReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationItem.cxx index 8b79cf5bfd..f575e48c37 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationItem, Standard_Transient) -StepRepr_RepresentationItem::StepRepr_RepresentationItem() {} +StepRepr_RepresentationItem::StepRepr_RepresentationItem() = default; void StepRepr_RepresentationItem::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationMap.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationMap.cxx index 42fc11475e..bd3676cada 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationMap.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationMap.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationMap, Standard_Transient) -StepRepr_RepresentationMap::StepRepr_RepresentationMap() {} +StepRepr_RepresentationMap::StepRepr_RepresentationMap() = default; void StepRepr_RepresentationMap::Init( const occ::handle& aMappingOrigin, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationOrRepresentationReference.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationOrRepresentationReference.cxx index e062a92043..6d35f4a174 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationOrRepresentationReference.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationOrRepresentationReference.cxx @@ -20,9 +20,8 @@ //================================================================================================= -StepRepr_RepresentationOrRepresentationReference::StepRepr_RepresentationOrRepresentationReference() -{ -} +StepRepr_RepresentationOrRepresentationReference:: + StepRepr_RepresentationOrRepresentationReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationReference.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationReference.cxx index bc0b15731c..cbc4d7dc34 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationReference.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationReference.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationReference, Standard_Transient) //================================================================================================= -StepRepr_RepresentationReference::StepRepr_RepresentationReference() {} +StepRepr_RepresentationReference::StepRepr_RepresentationReference() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationship.cxx index 84027487ba..06b8568de3 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationship.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationRelationship, Standard_Transient) -StepRepr_RepresentationRelationship::StepRepr_RepresentationRelationship() {} +StepRepr_RepresentationRelationship::StepRepr_RepresentationRelationship() = default; void StepRepr_RepresentationRelationship::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx index 08b1916f94..3fb0f72061 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx @@ -20,9 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_RepresentationRelationshipWithTransformation StepRepr_ShapeRepresentationRelationship) StepRepr_RepresentationRelationshipWithTransformation:: - StepRepr_RepresentationRelationshipWithTransformation() -{ -} + StepRepr_RepresentationRelationshipWithTransformation() = default; void StepRepr_RepresentationRelationshipWithTransformation::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.cxx index 92567e1ae7..75fb28fa6a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.cxx @@ -25,7 +25,7 @@ //================================================================================================= -StepRepr_RepresentedDefinition::StepRepr_RepresentedDefinition() {} +StepRepr_RepresentedDefinition::StepRepr_RepresentedDefinition() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.hxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.hxx index dd0e4dc187..dce990f5df 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.hxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_RepresentedDefinition.hxx @@ -45,7 +45,7 @@ public: //! 4 -> ShapeAspect from StepRepr //! 5 -> ShapeAspectRelationship from StepRepr //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as GeneralProperty (or Null if another type) Standard_EXPORT occ::handle GeneralProperty() const; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspect.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspect.cxx index a3f808ea10..500ada692e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspect.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspect.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ShapeAspect, Standard_Transient) -StepRepr_ShapeAspect::StepRepr_ShapeAspect() {} +StepRepr_ShapeAspect::StepRepr_ShapeAspect() = default; void StepRepr_ShapeAspect::Init(const occ::handle& aName, const occ::handle& aDescription, diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cxx index 8e729da74c..3247c05c0b 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ShapeAspectDerivingRelationship, StepRepr_ShapeAspectRelationship) -StepRepr_ShapeAspectDerivingRelationship::StepRepr_ShapeAspectDerivingRelationship() {} +StepRepr_ShapeAspectDerivingRelationship::StepRepr_ShapeAspectDerivingRelationship() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectTransition.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectTransition.cxx index d648a8e5d3..b796309134 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectTransition.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeAspectTransition.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ShapeAspectTransition, StepRepr_ShapeAspectR //================================================================================================= -StepRepr_ShapeAspectTransition::StepRepr_ShapeAspectTransition() {} +StepRepr_ShapeAspectTransition::StepRepr_ShapeAspectTransition() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.cxx index c56fba1b9f..2473bb6bb5 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.cxx @@ -18,7 +18,7 @@ #include #include -StepRepr_ShapeDefinition::StepRepr_ShapeDefinition() {} +StepRepr_ShapeDefinition::StepRepr_ShapeDefinition() = default; int StepRepr_ShapeDefinition::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.hxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.hxx index dd87bb70eb..afb5caf7b1 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.hxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeDefinition.hxx @@ -41,7 +41,7 @@ public: //! 2 -> ShapeAspect //! 3 -> ShapeAspectRelationship //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ProductDefinitionShape (Null if another type) Standard_EXPORT occ::handle ProductDefinitionShape() const; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationship.cxx index 61f28d56fc..4521b462a4 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationship.cxx @@ -18,4 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ShapeRepresentationRelationship, StepRepr_RepresentationRelationship) -StepRepr_ShapeRepresentationRelationship::StepRepr_ShapeRepresentationRelationship() {} +StepRepr_ShapeRepresentationRelationship::StepRepr_ShapeRepresentationRelationship() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationshipWithTransformation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationshipWithTransformation.cxx index 9d39165207..8bab5aa4aa 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationshipWithTransformation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ShapeRepresentationRelationshipWithTransformation.cxx @@ -17,6 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ShapeRepresentationRelationshipWithTransform StepRepr_RepresentationRelationshipWithTransformation) StepRepr_ShapeRepresentationRelationshipWithTransformation:: - StepRepr_ShapeRepresentationRelationshipWithTransformation() -{ -} + StepRepr_ShapeRepresentationRelationshipWithTransformation() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SpecifiedHigherUsageOccurrence.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SpecifiedHigherUsageOccurrence.cxx index 08817a9279..e45f8a7910 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SpecifiedHigherUsageOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SpecifiedHigherUsageOccurrence.cxx @@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_SpecifiedHigherUsageOccurrence, StepRepr_Ass //================================================================================================= -StepRepr_SpecifiedHigherUsageOccurrence::StepRepr_SpecifiedHigherUsageOccurrence() {} +StepRepr_SpecifiedHigherUsageOccurrence::StepRepr_SpecifiedHigherUsageOccurrence() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponseProperty.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponseProperty.cxx index fe9f22c47a..145f1f4b53 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponseProperty.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponseProperty.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_StructuralResponseProperty, StepRepr_Propert //================================================================================================= -StepRepr_StructuralResponseProperty::StepRepr_StructuralResponseProperty() {} +StepRepr_StructuralResponseProperty::StepRepr_StructuralResponseProperty() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponsePropertyDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponsePropertyDefinitionRepresentation.cxx index e41b5818cb..d3687dc68e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponsePropertyDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_StructuralResponsePropertyDefinitionRepresentation.cxx @@ -23,6 +23,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_StructuralResponsePropertyDefinitionRepresen //================================================================================================= StepRepr_StructuralResponsePropertyDefinitionRepresentation:: - StepRepr_StructuralResponsePropertyDefinitionRepresentation() -{ -} + StepRepr_StructuralResponsePropertyDefinitionRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SuppliedPartRelationship.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SuppliedPartRelationship.cxx index ccb706c36e..fbcc65274e 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SuppliedPartRelationship.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_SuppliedPartRelationship.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_SuppliedPartRelationship, StepBasic_ProductDefinitionRelationship) -StepRepr_SuppliedPartRelationship::StepRepr_SuppliedPartRelationship() {} +StepRepr_SuppliedPartRelationship::StepRepr_SuppliedPartRelationship() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Tangent.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Tangent.cxx index 59f77123e1..80235b86ec 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Tangent.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Tangent.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_Tangent, StepRepr_DerivedShapeAspect) -StepRepr_Tangent::StepRepr_Tangent() {} +StepRepr_Tangent::StepRepr_Tangent() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.cxx index f6d4c42349..fa79adc23a 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.cxx @@ -18,7 +18,7 @@ #include #include -StepRepr_Transformation::StepRepr_Transformation() {} +StepRepr_Transformation::StepRepr_Transformation() = default; int StepRepr_Transformation::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.hxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.hxx index 54cc575fd5..5a1b2b4afe 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.hxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_Transformation.hxx @@ -39,7 +39,7 @@ public: //! 1 -> ItemDefinedTransformation //! 2 -> FunctionallyDefinedTransformation //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ItemDefinedTransformation (Null if another type) Standard_EXPORT occ::handle ItemDefinedTransformation() const; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRange.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRange.cxx index 80f3b9b94a..f336974bff 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRange.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRange.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ValueRange, StepRepr_CompoundRepresentationItem) -StepRepr_ValueRange::StepRepr_ValueRange() {} +StepRepr_ValueRange::StepRepr_ValueRange() = default; diff --git a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRepresentationItem.cxx index 87b5d7b609..b147da9400 100644 --- a/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepRepr/StepRepr_ValueRepresentationItem.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ValueRepresentationItem, StepRepr_RepresentationItem) -StepRepr_ValueRepresentationItem::StepRepr_ValueRepresentationItem() {} +StepRepr_ValueRepresentationItem::StepRepr_ValueRepresentationItem() = default; void StepRepr_ValueRepresentationItem::Init( const occ::handle& theName, diff --git a/src/DataExchange/TKDESTEP/StepSelect/StepSelect_FloatFormat.cxx b/src/DataExchange/TKDESTEP/StepSelect/StepSelect_FloatFormat.cxx index 26c94b4e4e..55043d467f 100644 --- a/src/DataExchange/TKDESTEP/StepSelect/StepSelect_FloatFormat.cxx +++ b/src/DataExchange/TKDESTEP/StepSelect/StepSelect_FloatFormat.cxx @@ -17,7 +17,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(StepSelect_FloatFormat, StepSelect_FileModifier) StepSelect_FloatFormat::StepSelect_FloatFormat() diff --git a/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.cxx b/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.cxx index 8cdb2314a5..6c11340617 100644 --- a/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.cxx +++ b/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include IMPLEMENT_STANDARD_RTTIEXT(StepSelect_WorkLibrary, IFSelect_WorkLibrary) StepSelect_WorkLibrary::StepSelect_WorkLibrary(const bool copymode) @@ -58,7 +58,7 @@ int StepSelect_WorkLibrary::ReadFile(const char* name DeclareAndCast(StepData_Protocol, stepro, protocol); if (stepro.IsNull()) return 1; - int aStatus = StepFile_Read(name, 0, occ::down_cast(model), stepro); + int aStatus = StepFile_Read(name, nullptr, occ::down_cast(model), stepro); return aStatus; } @@ -88,11 +88,11 @@ bool StepSelect_WorkLibrary::WriteFile(IFSelect_ContextWrite& ctx) const std::shared_ptr aStream = aFileSystem->OpenOStream(ctx.FileName(), std::ios::out | std::ios::binary | std::ios::trunc); - if (aStream.get() == NULL) + if (aStream.get() == nullptr) { ctx.CCheck(0)->AddFail("Step File could not be created"); sout << " Step File could not be created : " << ctx.FileName() << std::endl; - return 0; + return false; } sout << " Step File Name : " << ctx.FileName(); StepData_StepWriter SW(stepmodel); diff --git a/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.hxx b/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.hxx index d68aea176f..9f1f222416 100644 --- a/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.hxx +++ b/src/DataExchange/TKDESTEP/StepSelect/StepSelect_WorkLibrary.hxx @@ -68,21 +68,21 @@ public: //! one. Works according : //! if True, standard copy is run //! else nothing is done and returned value is False - Standard_EXPORT virtual bool CopyModel(const occ::handle& original, - const occ::handle& newmodel, - const Interface_EntityIterator& list, - Interface_CopyTool& TC) const override; + Standard_EXPORT bool CopyModel(const occ::handle& original, + const occ::handle& newmodel, + const Interface_EntityIterator& list, + Interface_CopyTool& TC) const override; //! Dumps an entity under STEP form, i.e. as a part of a Step file //! Works with a StepDumper. //! Level 0 just displays type; level 1 displays the entity itself //! and level 2 displays the entity plus its shared ones (one //! sub-level : immediately shared entities) - Standard_EXPORT virtual void DumpEntity(const occ::handle& model, - const occ::handle& protocol, - const occ::handle& entity, - Standard_OStream& S, - const int level) const override; + Standard_EXPORT void DumpEntity(const occ::handle& model, + const occ::handle& protocol, + const occ::handle& entity, + Standard_OStream& S, + const int level) const override; DEFINE_STANDARD_RTTIEXT(StepSelect_WorkLibrary, IFSelect_WorkLibrary) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedBrepShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedBrepShapeRepresentation.cxx index 24940ed9cf..7b983e318c 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedBrepShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedBrepShapeRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_AdvancedBrepShapeRepresentation, StepShape_ShapeRepresentation) -StepShape_AdvancedBrepShapeRepresentation::StepShape_AdvancedBrepShapeRepresentation() {} +StepShape_AdvancedBrepShapeRepresentation::StepShape_AdvancedBrepShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedFace.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedFace.cxx index f0c6814974..692bbab6b0 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedFace.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_AdvancedFace.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_AdvancedFace, StepShape_FaceSurface) -StepShape_AdvancedFace::StepShape_AdvancedFace() {} +StepShape_AdvancedFace::StepShape_AdvancedFace() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularLocation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularLocation.cxx index 1db37b8dc5..006b8cd218 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularLocation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularLocation.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_AngularLocation, StepShape_DimensionalLocat //================================================================================================= -StepShape_AngularLocation::StepShape_AngularLocation() {} +StepShape_AngularLocation::StepShape_AngularLocation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularSize.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularSize.cxx index 588728add0..63aa691255 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularSize.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_AngularSize.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_AngularSize, StepShape_DimensionalSize) //================================================================================================= -StepShape_AngularSize::StepShape_AngularSize() {} +StepShape_AngularSize::StepShape_AngularSize() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Block.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Block.cxx index e49789c057..89bdd83404 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Block.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Block.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Block, StepGeom_GeometricRepresentationItem) -StepShape_Block::StepShape_Block() {} +StepShape_Block::StepShape_Block() = default; void StepShape_Block::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanOperand.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanOperand.cxx index 25dc7ccbaa..24cf70e771 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanOperand.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanOperand.cxx @@ -17,7 +17,7 @@ #include #include -StepShape_BooleanOperand::StepShape_BooleanOperand() {} +StepShape_BooleanOperand::StepShape_BooleanOperand() = default; occ::handle StepShape_BooleanOperand::SolidModel() const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanResult.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanResult.cxx index d7ff66429e..3b35df6d9d 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanResult.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_BooleanResult.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_BooleanResult, StepGeom_GeometricRepresentationItem) -StepShape_BooleanResult::StepShape_BooleanResult() {} +StepShape_BooleanResult::StepShape_BooleanResult() = default; void StepShape_BooleanResult::Init(const occ::handle& aName, const StepShape_BooleanOperator aOperator, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxDomain.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxDomain.cxx index dd62343b0f..965a265839 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxDomain.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxDomain.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_BoxDomain, Standard_Transient) -StepShape_BoxDomain::StepShape_BoxDomain() {} +StepShape_BoxDomain::StepShape_BoxDomain() = default; void StepShape_BoxDomain::Init(const occ::handle& aCorner, const double aXlength, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxedHalfSpace.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxedHalfSpace.cxx index fe552377c7..5de3e97946 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxedHalfSpace.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_BoxedHalfSpace.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_BoxedHalfSpace, StepShape_HalfSpaceSolid) -StepShape_BoxedHalfSpace::StepShape_BoxedHalfSpace() {} +StepShape_BoxedHalfSpace::StepShape_BoxedHalfSpace() = default; void StepShape_BoxedHalfSpace::Init(const occ::handle& aName, const occ::handle& aBaseSurface, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_BrepWithVoids.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_BrepWithVoids.cxx index 3473ca2406..f2767795b1 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_BrepWithVoids.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_BrepWithVoids.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_BrepWithVoids, StepShape_ManifoldSolidBrep) -StepShape_BrepWithVoids::StepShape_BrepWithVoids() {} +StepShape_BrepWithVoids::StepShape_BrepWithVoids() = default; void StepShape_BrepWithVoids::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ClosedShell.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ClosedShell.cxx index e62b93460e..94ce9d9d77 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ClosedShell.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ClosedShell.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ClosedShell, StepShape_ConnectedFaceSet) -StepShape_ClosedShell::StepShape_ClosedShell() {} +StepShape_ClosedShell::StepShape_ClosedShell() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_CompoundShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_CompoundShapeRepresentation.cxx index 0bef249004..7f81622855 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_CompoundShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_CompoundShapeRepresentation.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_CompoundShapeRepresentation, StepShape_Shap //================================================================================================= -StepShape_CompoundShapeRepresentation::StepShape_CompoundShapeRepresentation() {} +StepShape_CompoundShapeRepresentation::StepShape_CompoundShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedEdgeSet.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedEdgeSet.cxx index 72fd39c223..2d76c1b69a 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedEdgeSet.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedEdgeSet.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ConnectedEdgeSet, StepShape_TopologicalRepr //================================================================================================= -StepShape_ConnectedEdgeSet::StepShape_ConnectedEdgeSet() {} +StepShape_ConnectedEdgeSet::StepShape_ConnectedEdgeSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSet.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSet.cxx index 27e67a2ceb..2e102831f6 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSet.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSet.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ConnectedFaceSet, StepShape_TopologicalRepresentationItem) -StepShape_ConnectedFaceSet::StepShape_ConnectedFaceSet() {} +StepShape_ConnectedFaceSet::StepShape_ConnectedFaceSet() = default; void StepShape_ConnectedFaceSet::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceShapeRepresentation.cxx index 8c8c6bff6d..f52307ac6d 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceShapeRepresentation.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ConnectedFaceShapeRepresentation, StepRepr_ //================================================================================================= -StepShape_ConnectedFaceShapeRepresentation::StepShape_ConnectedFaceShapeRepresentation() {} +StepShape_ConnectedFaceShapeRepresentation::StepShape_ConnectedFaceShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSubSet.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSubSet.cxx index e14cb126da..d55154a72c 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSubSet.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ConnectedFaceSubSet.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ConnectedFaceSubSet, StepShape_ConnectedFac //================================================================================================= -StepShape_ConnectedFaceSubSet::StepShape_ConnectedFaceSubSet() {} +StepShape_ConnectedFaceSubSet::StepShape_ConnectedFaceSubSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ContextDependentShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ContextDependentShapeRepresentation.cxx index cef4091213..d09522fed6 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ContextDependentShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ContextDependentShapeRepresentation.cxx @@ -17,7 +17,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ContextDependentShapeRepresentation, Standard_Transient) -StepShape_ContextDependentShapeRepresentation::StepShape_ContextDependentShapeRepresentation() {} +StepShape_ContextDependentShapeRepresentation::StepShape_ContextDependentShapeRepresentation() = + default; void StepShape_ContextDependentShapeRepresentation::Init( const occ::handle& aRepRel, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.cxx index 68c976d69b..b082282143 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.cxx @@ -21,7 +21,7 @@ #include #include -StepShape_CsgPrimitive::StepShape_CsgPrimitive() {} +StepShape_CsgPrimitive::StepShape_CsgPrimitive() = default; int StepShape_CsgPrimitive::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.hxx index db435a7bd7..d66cf636e4 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgPrimitive.hxx @@ -47,7 +47,7 @@ public: //! 5 -> RightCircularCone //! 6 -> RightCircularCylinder //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Sphere (Null if another type) Standard_EXPORT occ::handle Sphere() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSelect.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSelect.cxx index ab77e9152c..3bfca2274f 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSelect.cxx @@ -15,7 +15,7 @@ #include #include -StepShape_CsgSelect::StepShape_CsgSelect() {} +StepShape_CsgSelect::StepShape_CsgSelect() = default; void StepShape_CsgSelect::SetTypeOfContent(const int aType) { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgShapeRepresentation.cxx index 514e9f9fe0..ca03f9d030 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgShapeRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_CsgShapeRepresentation, StepShape_ShapeRepresentation) -StepShape_CsgShapeRepresentation::StepShape_CsgShapeRepresentation() {} +StepShape_CsgShapeRepresentation::StepShape_CsgShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSolid.cxx index 422fc26444..d377b4aef4 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_CsgSolid.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_CsgSolid, StepShape_SolidModel) -StepShape_CsgSolid::StepShape_CsgSolid() {} +StepShape_CsgSolid::StepShape_CsgSolid() = default; void StepShape_CsgSolid::Init(const occ::handle& aName, const StepShape_CsgSelect& aTreeRootExpression) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx index ff0c09bb08..fd2b26882e 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DefinitionalRepresentationAndShapeRepresentation.cxx @@ -20,6 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DefinitionalRepresentationAndShapeRepresent StepRepr_DefinitionalRepresentation) StepShape_DefinitionalRepresentationAndShapeRepresentation:: - StepShape_DefinitionalRepresentationAndShapeRepresentation() -{ -} + StepShape_DefinitionalRepresentationAndShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.cxx index 16f82ade60..d1f0955470 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepShape_DimensionalCharacteristic::StepShape_DimensionalCharacteristic() {} +StepShape_DimensionalCharacteristic::StepShape_DimensionalCharacteristic() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.hxx index 6df80407fd..653ea41422 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristic.hxx @@ -39,7 +39,7 @@ public: //! 1 -> DimensionalLocation from StepShape //! 2 -> DimensionalSize from StepShape //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as DimensionalLocation (or Null if another type) Standard_EXPORT occ::handle DimensionalLocation() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristicRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristicRepresentation.cxx index 6feab1ab05..6a27733719 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristicRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalCharacteristicRepresentation.cxx @@ -23,9 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DimensionalCharacteristicRepresentation, St //================================================================================================= StepShape_DimensionalCharacteristicRepresentation:: - StepShape_DimensionalCharacteristicRepresentation() -{ -} + StepShape_DimensionalCharacteristicRepresentation() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocation.cxx index e1a6054095..fb46b24fe2 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocation.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DimensionalLocation, StepRepr_ShapeAspectRe //================================================================================================= -StepShape_DimensionalLocation::StepShape_DimensionalLocation() {} +StepShape_DimensionalLocation::StepShape_DimensionalLocation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocationWithPath.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocationWithPath.cxx index d71fa92595..925471d575 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocationWithPath.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalLocationWithPath.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DimensionalLocationWithPath, StepShape_Dime //================================================================================================= -StepShape_DimensionalLocationWithPath::StepShape_DimensionalLocationWithPath() {} +StepShape_DimensionalLocationWithPath::StepShape_DimensionalLocationWithPath() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSize.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSize.cxx index ab8642e9e5..dc9f0f8f4e 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSize.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSize.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DimensionalSize, Standard_Transient) //================================================================================================= -StepShape_DimensionalSize::StepShape_DimensionalSize() {} +StepShape_DimensionalSize::StepShape_DimensionalSize() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSizeWithPath.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSizeWithPath.cxx index d0dc4ff058..2a72b5b588 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSizeWithPath.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DimensionalSizeWithPath.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DimensionalSizeWithPath, StepShape_Dimensio //================================================================================================= -StepShape_DimensionalSizeWithPath::StepShape_DimensionalSizeWithPath() {} +StepShape_DimensionalSizeWithPath::StepShape_DimensionalSizeWithPath() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_DirectedDimensionalLocation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_DirectedDimensionalLocation.cxx index fc6ccc3cae..8d9afe58c5 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_DirectedDimensionalLocation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_DirectedDimensionalLocation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_DirectedDimensionalLocation, StepShape_DimensionalLocation) -StepShape_DirectedDimensionalLocation::StepShape_DirectedDimensionalLocation() {} +StepShape_DirectedDimensionalLocation::StepShape_DirectedDimensionalLocation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Edge.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Edge.cxx index 1e461e3152..951f0d6ae9 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Edge.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Edge.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Edge, StepShape_TopologicalRepresentationItem) -StepShape_Edge::StepShape_Edge() {} +StepShape_Edge::StepShape_Edge() = default; void StepShape_Edge::Init(const occ::handle& aName, const occ::handle& aEdgeStart, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeModel.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeModel.cxx index 8cb52ec2f6..b9bc605e63 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeModel.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeModel.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_EdgeBasedWireframeModel, StepGeom_Geometric //================================================================================================= -StepShape_EdgeBasedWireframeModel::StepShape_EdgeBasedWireframeModel() {} +StepShape_EdgeBasedWireframeModel::StepShape_EdgeBasedWireframeModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cxx index 4606d935f9..56d861b11f 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeBasedWireframeShapeRepresentation.cxx @@ -23,6 +23,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_EdgeBasedWireframeShapeRepresentation, //================================================================================================= -StepShape_EdgeBasedWireframeShapeRepresentation::StepShape_EdgeBasedWireframeShapeRepresentation() -{ -} +StepShape_EdgeBasedWireframeShapeRepresentation::StepShape_EdgeBasedWireframeShapeRepresentation() = + default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeCurve.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeCurve.cxx index 5930316250..cbd9be65e0 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeCurve.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_EdgeCurve, StepShape_Edge) -StepShape_EdgeCurve::StepShape_EdgeCurve() {} +StepShape_EdgeCurve::StepShape_EdgeCurve() = default; void StepShape_EdgeCurve::Init(const occ::handle& aName, const occ::handle& aEdgeStart, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeLoop.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeLoop.cxx index afff679847..823fe801f9 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeLoop.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_EdgeLoop.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_EdgeLoop, StepShape_Loop) -StepShape_EdgeLoop::StepShape_EdgeLoop() {} +StepShape_EdgeLoop::StepShape_EdgeLoop() = default; void StepShape_EdgeLoop::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedAreaSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedAreaSolid.cxx index 83d4f46590..660b0fe745 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedAreaSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedAreaSolid.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ExtrudedAreaSolid, StepShape_SweptAreaSolid) -StepShape_ExtrudedAreaSolid::StepShape_ExtrudedAreaSolid() {} +StepShape_ExtrudedAreaSolid::StepShape_ExtrudedAreaSolid() = default; void StepShape_ExtrudedAreaSolid::Init(const occ::handle& aName, const occ::handle& aSweptArea, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedFaceSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedFaceSolid.cxx index d1b3e39759..6e7c7c5a84 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedFaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ExtrudedFaceSolid.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ExtrudedFaceSolid, StepShape_SweptFaceSolid) -StepShape_ExtrudedFaceSolid::StepShape_ExtrudedFaceSolid() {} +StepShape_ExtrudedFaceSolid::StepShape_ExtrudedFaceSolid() = default; void StepShape_ExtrudedFaceSolid::Init(const occ::handle& aName, const occ::handle& aSweptArea, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Face.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Face.cxx index 05ed3eb8bd..1abfde5782 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Face.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Face.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Face, StepShape_TopologicalRepresentationItem) -StepShape_Face::StepShape_Face() {} +StepShape_Face::StepShape_Face() = default; void StepShape_Face::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBasedSurfaceModel.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBasedSurfaceModel.cxx index a1e1f9a87e..0ed6a27b84 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBasedSurfaceModel.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBasedSurfaceModel.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FaceBasedSurfaceModel, StepGeom_GeometricRe //================================================================================================= -StepShape_FaceBasedSurfaceModel::StepShape_FaceBasedSurfaceModel() {} +StepShape_FaceBasedSurfaceModel::StepShape_FaceBasedSurfaceModel() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBound.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBound.cxx index 38ceafad8c..5a6eae9684 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBound.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceBound.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FaceBound, StepShape_TopologicalRepresentationItem) -StepShape_FaceBound::StepShape_FaceBound() {} +StepShape_FaceBound::StepShape_FaceBound() = default; void StepShape_FaceBound::Init(const occ::handle& aName, const occ::handle& aBound, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceOuterBound.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceOuterBound.cxx index 4a01b30f98..b24dd3bcdc 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceOuterBound.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceOuterBound.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FaceOuterBound, StepShape_FaceBound) -StepShape_FaceOuterBound::StepShape_FaceOuterBound() {} +StepShape_FaceOuterBound::StepShape_FaceOuterBound() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceSurface.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceSurface.cxx index 7c5152c77d..2fce8ac028 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FaceSurface.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FaceSurface, StepShape_Face) -StepShape_FaceSurface::StepShape_FaceSurface() {} +StepShape_FaceSurface::StepShape_FaceSurface() = default; void StepShape_FaceSurface::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrep.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrep.cxx index 06856a760d..803dc29cd0 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrep.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrep.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FacetedBrep, StepShape_ManifoldSolidBrep) -StepShape_FacetedBrep::StepShape_FacetedBrep() {} +StepShape_FacetedBrep::StepShape_FacetedBrep() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx index badcc554fc..b78f458ed9 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FacetedBrepAndBrepWithVoids, StepShape_ManifoldSolidBrep) -StepShape_FacetedBrepAndBrepWithVoids::StepShape_FacetedBrepAndBrepWithVoids() {} +StepShape_FacetedBrepAndBrepWithVoids::StepShape_FacetedBrepAndBrepWithVoids() = default; void StepShape_FacetedBrepAndBrepWithVoids::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepShapeRepresentation.cxx index cdae7e8c39..b2a8ac1d81 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_FacetedBrepShapeRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_FacetedBrepShapeRepresentation, StepShape_ShapeRepresentation) -StepShape_FacetedBrepShapeRepresentation::StepShape_FacetedBrepShapeRepresentation() {} +StepShape_FacetedBrepShapeRepresentation::StepShape_FacetedBrepShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricCurveSet.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricCurveSet.cxx index 53950a360a..9ff5123167 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricCurveSet.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricCurveSet.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_GeometricCurveSet, StepShape_GeometricSet) -StepShape_GeometricCurveSet::StepShape_GeometricCurveSet() {} +StepShape_GeometricCurveSet::StepShape_GeometricCurveSet() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSet.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSet.cxx index eaebbc4657..e24b96ac97 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSet.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSet.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_GeometricSet, StepGeom_GeometricRepresentationItem) -StepShape_GeometricSet::StepShape_GeometricSet() {} +StepShape_GeometricSet::StepShape_GeometricSet() = default; void StepShape_GeometricSet::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.cxx index 0f6353f1c0..d68c5d2ed0 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.cxx @@ -19,7 +19,7 @@ #include #include -StepShape_GeometricSetSelect::StepShape_GeometricSetSelect() {} +StepShape_GeometricSetSelect::StepShape_GeometricSetSelect() = default; int StepShape_GeometricSetSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.hxx index 9e64df7aaa..d9a9ed0f66 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricSetSelect.hxx @@ -41,7 +41,7 @@ public: //! 2 -> Curve //! 3 -> Surface //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Point (Null if another type) Standard_EXPORT occ::handle Point() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cxx index 4df8f9c50c..57e5131ac7 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cxx @@ -18,6 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_GeometricallyBoundedSurfaceShapeRepresentat StepShape_ShapeRepresentation) StepShape_GeometricallyBoundedSurfaceShapeRepresentation:: - StepShape_GeometricallyBoundedSurfaceShapeRepresentation() -{ -} + StepShape_GeometricallyBoundedSurfaceShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedWireframeShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedWireframeShapeRepresentation.cxx index d43e44f566..0ea1aeaab7 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedWireframeShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_GeometricallyBoundedWireframeShapeRepresentation.cxx @@ -18,6 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_GeometricallyBoundedWireframeShapeRepresent StepShape_ShapeRepresentation) StepShape_GeometricallyBoundedWireframeShapeRepresentation:: - StepShape_GeometricallyBoundedWireframeShapeRepresentation() -{ -} + StepShape_GeometricallyBoundedWireframeShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_HalfSpaceSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_HalfSpaceSolid.cxx index 04ba52a962..d3aa936d71 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_HalfSpaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_HalfSpaceSolid.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_HalfSpaceSolid, StepGeom_GeometricRepresentationItem) -StepShape_HalfSpaceSolid::StepShape_HalfSpaceSolid() {} +StepShape_HalfSpaceSolid::StepShape_HalfSpaceSolid() = default; void StepShape_HalfSpaceSolid::Init(const occ::handle& aName, const occ::handle& aBaseSurface, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_LimitsAndFits.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_LimitsAndFits.cxx index 1e08a74b80..92aab356ff 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_LimitsAndFits.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_LimitsAndFits.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_LimitsAndFits, Standard_Transient) -StepShape_LimitsAndFits::StepShape_LimitsAndFits() {} +StepShape_LimitsAndFits::StepShape_LimitsAndFits() = default; void StepShape_LimitsAndFits::Init(const occ::handle& form_variance, const occ::handle& zone_variance, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Loop.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Loop.cxx index 0be64e22c3..1f59c40542 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Loop.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Loop.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Loop, StepShape_TopologicalRepresentationItem) -StepShape_Loop::StepShape_Loop() {} +StepShape_Loop::StepShape_Loop() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_LoopAndPath.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_LoopAndPath.cxx index 168d391359..7540c02db1 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_LoopAndPath.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_LoopAndPath.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_LoopAndPath, StepShape_TopologicalRepresentationItem) -StepShape_LoopAndPath::StepShape_LoopAndPath() {} +StepShape_LoopAndPath::StepShape_LoopAndPath() = default; void StepShape_LoopAndPath::Init(const occ::handle& aName, const occ::handle& aLoop, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSolidBrep.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSolidBrep.cxx index 1c3242eb70..aca4a54c61 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSolidBrep.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSolidBrep.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ManifoldSolidBrep, StepShape_SolidModel) -StepShape_ManifoldSolidBrep::StepShape_ManifoldSolidBrep() {} +StepShape_ManifoldSolidBrep::StepShape_ManifoldSolidBrep() = default; void StepShape_ManifoldSolidBrep::Init(const occ::handle& aName, const occ::handle& aOuter) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSurfaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSurfaceShapeRepresentation.cxx index 9156bb0c87..bfe06cdf1f 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSurfaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ManifoldSurfaceShapeRepresentation.cxx @@ -17,4 +17,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ManifoldSurfaceShapeRepresentation, StepShape_ShapeRepresentation) -StepShape_ManifoldSurfaceShapeRepresentation::StepShape_ManifoldSurfaceShapeRepresentation() {} +StepShape_ManifoldSurfaceShapeRepresentation::StepShape_ManifoldSurfaceShapeRepresentation() = + default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_MeasureQualification.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_MeasureQualification.cxx index 09eb14c82b..e855df7191 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_MeasureQualification.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_MeasureQualification.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_MeasureQualification, Standard_Transient) -StepShape_MeasureQualification::StepShape_MeasureQualification() {} +StepShape_MeasureQualification::StepShape_MeasureQualification() = default; void StepShape_MeasureQualification::Init( const occ::handle& name, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_NonManifoldSurfaceShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_NonManifoldSurfaceShapeRepresentation.cxx index 425d40d872..8e008da786 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_NonManifoldSurfaceShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_NonManifoldSurfaceShapeRepresentation.cxx @@ -23,6 +23,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_NonManifoldSurfaceShapeRepresentation, //================================================================================================= -StepShape_NonManifoldSurfaceShapeRepresentation::StepShape_NonManifoldSurfaceShapeRepresentation() -{ -} +StepShape_NonManifoldSurfaceShapeRepresentation::StepShape_NonManifoldSurfaceShapeRepresentation() = + default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OpenShell.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OpenShell.cxx index 57fd1cc3fe..96deb75248 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OpenShell.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OpenShell.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_OpenShell, StepShape_ConnectedFaceSet) -StepShape_OpenShell::StepShape_OpenShell() {} +StepShape_OpenShell::StepShape_OpenShell() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.cxx index 9f93d9e08a..d54bb40d4d 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_OrientedClosedShell, StepShape_ClosedShell) -StepShape_OrientedClosedShell::StepShape_OrientedClosedShell() {} +StepShape_OrientedClosedShell::StepShape_OrientedClosedShell() = default; void StepShape_OrientedClosedShell::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.hxx index 1ababbbd3d..33ae3a581d 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedClosedShell.hxx @@ -49,15 +49,15 @@ public: Standard_EXPORT bool Orientation() const; - Standard_EXPORT virtual void SetCfsFaces( + Standard_EXPORT void SetCfsFaces( const occ::handle>>& aCfsFaces) override; - Standard_EXPORT virtual occ::handle>> CfsFaces() + Standard_EXPORT occ::handle>> CfsFaces() const override; - Standard_EXPORT virtual occ::handle CfsFacesValue(const int num) const override; + Standard_EXPORT occ::handle CfsFacesValue(const int num) const override; - Standard_EXPORT virtual int NbCfsFaces() const override; + Standard_EXPORT int NbCfsFaces() const override; DEFINE_STANDARD_RTTIEXT(StepShape_OrientedClosedShell, StepShape_ClosedShell) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.cxx index 32323ba968..f54e7aaf6a 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_OrientedEdge, StepShape_Edge) -StepShape_OrientedEdge::StepShape_OrientedEdge() {} +StepShape_OrientedEdge::StepShape_OrientedEdge() = default; void StepShape_OrientedEdge::Init(const occ::handle& aName, const occ::handle& aEdgeElement, @@ -66,7 +66,7 @@ occ::handle StepShape_OrientedEdge::EdgeStart() const // WARNING : the field is redefined. // method body is not yet automatically wrote if (edgeElement.IsNull()) - return NULL; + return nullptr; if (Orientation()) { return edgeElement->EdgeStart(); @@ -89,7 +89,7 @@ occ::handle StepShape_OrientedEdge::EdgeEnd() const // WARNING : the field is redefined. // method body is not yet automatically wrote if (edgeElement.IsNull()) - return NULL; + return nullptr; if (Orientation()) { return edgeElement->EdgeEnd(); diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.hxx index 24e5b1d909..3bba980e2b 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedEdge.hxx @@ -44,14 +44,13 @@ public: Standard_EXPORT bool Orientation() const; - Standard_EXPORT virtual void SetEdgeStart( - const occ::handle& aEdgeStart) override; + Standard_EXPORT void SetEdgeStart(const occ::handle& aEdgeStart) override; - Standard_EXPORT virtual occ::handle EdgeStart() const override; + Standard_EXPORT occ::handle EdgeStart() const override; - Standard_EXPORT virtual void SetEdgeEnd(const occ::handle& aEdgeEnd) override; + Standard_EXPORT void SetEdgeEnd(const occ::handle& aEdgeEnd) override; - Standard_EXPORT virtual occ::handle EdgeEnd() const override; + Standard_EXPORT occ::handle EdgeEnd() const override; DEFINE_STANDARD_RTTIEXT(StepShape_OrientedEdge, StepShape_Edge) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.cxx index 81b72023c3..1d2c93c376 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_OrientedFace, StepShape_Face) -StepShape_OrientedFace::StepShape_OrientedFace() {} +StepShape_OrientedFace::StepShape_OrientedFace() = default; void StepShape_OrientedFace::Init(const occ::handle& aName, const occ::handle& aFaceElement, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.hxx index 3f8e237fa8..aea7f588e9 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedFace.hxx @@ -48,16 +48,15 @@ public: Standard_EXPORT bool Orientation() const; - Standard_EXPORT virtual void SetBounds( + Standard_EXPORT void SetBounds( const occ::handle>>& aBounds) override; - Standard_EXPORT virtual occ::handle>> - Bounds() const override; + Standard_EXPORT occ::handle>> Bounds() + const override; - Standard_EXPORT virtual occ::handle BoundsValue( - const int num) const override; + Standard_EXPORT occ::handle BoundsValue(const int num) const override; - Standard_EXPORT virtual int NbBounds() const override; + Standard_EXPORT int NbBounds() const override; DEFINE_STANDARD_RTTIEXT(StepShape_OrientedFace, StepShape_Face) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.cxx index 26508bbb50..71318d4460 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_OrientedOpenShell, StepShape_OpenShell) -StepShape_OrientedOpenShell::StepShape_OrientedOpenShell() {} +StepShape_OrientedOpenShell::StepShape_OrientedOpenShell() = default; void StepShape_OrientedOpenShell::Init(const occ::handle& aName, const occ::handle& aOpenShellElement, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.hxx index 38d942396b..032d245a3c 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedOpenShell.hxx @@ -49,15 +49,15 @@ public: Standard_EXPORT bool Orientation() const; - Standard_EXPORT virtual void SetCfsFaces( + Standard_EXPORT void SetCfsFaces( const occ::handle>>& aCfsFaces) override; - Standard_EXPORT virtual occ::handle>> CfsFaces() + Standard_EXPORT occ::handle>> CfsFaces() const override; - Standard_EXPORT virtual occ::handle CfsFacesValue(const int num) const override; + Standard_EXPORT occ::handle CfsFacesValue(const int num) const override; - Standard_EXPORT virtual int NbCfsFaces() const override; + Standard_EXPORT int NbCfsFaces() const override; DEFINE_STANDARD_RTTIEXT(StepShape_OrientedOpenShell, StepShape_OpenShell) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.cxx index 6a5b41dfa7..8c127c09e4 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_OrientedPath, StepShape_Path) -StepShape_OrientedPath::StepShape_OrientedPath() {} +StepShape_OrientedPath::StepShape_OrientedPath() = default; void StepShape_OrientedPath::Init(const occ::handle& aName, const occ::handle& aPathElement, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.hxx index 06a68d8ce1..a3cb1ac925 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_OrientedPath.hxx @@ -48,17 +48,16 @@ public: Standard_EXPORT bool Orientation() const; - Standard_EXPORT virtual void SetEdgeList( + Standard_EXPORT void SetEdgeList( const occ::handle>>& aEdgeList) override; - Standard_EXPORT virtual occ::handle>> - EdgeList() const override; + Standard_EXPORT occ::handle>> EdgeList() + const override; - Standard_EXPORT virtual occ::handle EdgeListValue( - const int num) const override; + Standard_EXPORT occ::handle EdgeListValue(const int num) const override; - Standard_EXPORT virtual int NbEdgeList() const override; + Standard_EXPORT int NbEdgeList() const override; DEFINE_STANDARD_RTTIEXT(StepShape_OrientedPath, StepShape_Path) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Path.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Path.cxx index ef3a33bc48..82a859cf99 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Path.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Path.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Path, StepShape_TopologicalRepresentationItem) -StepShape_Path::StepShape_Path() {} +StepShape_Path::StepShape_Path() = default; void StepShape_Path::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_PlusMinusTolerance.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_PlusMinusTolerance.cxx index b61d6cb671..52708164ff 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_PlusMinusTolerance.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_PlusMinusTolerance.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_PlusMinusTolerance, Standard_Transient) -StepShape_PlusMinusTolerance::StepShape_PlusMinusTolerance() {} +StepShape_PlusMinusTolerance::StepShape_PlusMinusTolerance() = default; void StepShape_PlusMinusTolerance::Init( const StepShape_ToleranceMethodDefinition& range, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_PointRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_PointRepresentation.cxx index 4631ec6625..ea5fe3ae53 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_PointRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_PointRepresentation.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_PointRepresentation, StepShape_ShapeReprese //================================================================================================= -StepShape_PointRepresentation::StepShape_PointRepresentation() {} +StepShape_PointRepresentation::StepShape_PointRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_PolyLoop.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_PolyLoop.cxx index ac6c154969..40706241bb 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_PolyLoop.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_PolyLoop.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_PolyLoop, StepShape_Loop) -StepShape_PolyLoop::StepShape_PolyLoop() {} +StepShape_PolyLoop::StepShape_PolyLoop() = default; void StepShape_PolyLoop::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_PrecisionQualifier.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_PrecisionQualifier.cxx index fff96e346b..c35ae58f71 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_PrecisionQualifier.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_PrecisionQualifier.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_PrecisionQualifier, Standard_Transient) -StepShape_PrecisionQualifier::StepShape_PrecisionQualifier() {} +StepShape_PrecisionQualifier::StepShape_PrecisionQualifier() = default; void StepShape_PrecisionQualifier::Init(const int precision_value) { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_QualifiedRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_QualifiedRepresentationItem.cxx index 72f053acc7..7e5d9c3702 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_QualifiedRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_QualifiedRepresentationItem.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_QualifiedRepresentationItem, StepRepr_RepresentationItem) -StepShape_QualifiedRepresentationItem::StepShape_QualifiedRepresentationItem() {} +StepShape_QualifiedRepresentationItem::StepShape_QualifiedRepresentationItem() = default; void StepShape_QualifiedRepresentationItem::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.cxx index 663d69dfa1..64ba313400 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.cxx @@ -20,7 +20,7 @@ #include #include -StepShape_ReversibleTopologyItem::StepShape_ReversibleTopologyItem() {} +StepShape_ReversibleTopologyItem::StepShape_ReversibleTopologyItem() = default; int StepShape_ReversibleTopologyItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.hxx index f87df59052..87c527460f 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ReversibleTopologyItem.hxx @@ -47,7 +47,7 @@ public: //! 5 -> ClosedShell //! 6 -> OpenShell //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Edge (Null if another type) Standard_EXPORT occ::handle Edge() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedAreaSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedAreaSolid.cxx index ac0fabd209..2c05eafc77 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedAreaSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedAreaSolid.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_RevolvedAreaSolid, StepShape_SweptAreaSolid) -StepShape_RevolvedAreaSolid::StepShape_RevolvedAreaSolid() {} +StepShape_RevolvedAreaSolid::StepShape_RevolvedAreaSolid() = default; void StepShape_RevolvedAreaSolid::Init(const occ::handle& aName, const occ::handle& aSweptArea, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedFaceSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedFaceSolid.cxx index 1377db6df7..7d85b829ef 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedFaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_RevolvedFaceSolid.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_RevolvedFaceSolid, StepShape_SweptFaceSolid) -StepShape_RevolvedFaceSolid::StepShape_RevolvedFaceSolid() {} +StepShape_RevolvedFaceSolid::StepShape_RevolvedFaceSolid() = default; void StepShape_RevolvedFaceSolid::Init(const occ::handle& aName, const occ::handle& aSweptArea) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_RightAngularWedge.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_RightAngularWedge.cxx index 0591c584cf..66521008c2 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_RightAngularWedge.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_RightAngularWedge.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_RightAngularWedge, StepGeom_GeometricRepresentationItem) -StepShape_RightAngularWedge::StepShape_RightAngularWedge() {} +StepShape_RightAngularWedge::StepShape_RightAngularWedge() = default; void StepShape_RightAngularWedge::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCone.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCone.cxx index e5b1e3614f..eb02349d62 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCone.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCone.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_RightCircularCone, StepGeom_GeometricRepresentationItem) -StepShape_RightCircularCone::StepShape_RightCircularCone() {} +StepShape_RightCircularCone::StepShape_RightCircularCone() = default; void StepShape_RightCircularCone::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCylinder.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCylinder.cxx index d30929134d..96ca2b2caa 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCylinder.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_RightCircularCylinder.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_RightCircularCylinder, StepGeom_GeometricRepresentationItem) -StepShape_RightCircularCylinder::StepShape_RightCircularCylinder() {} +StepShape_RightCircularCylinder::StepShape_RightCircularCylinder() = default; void StepShape_RightCircularCylinder::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SeamEdge.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SeamEdge.cxx index 8cc4207934..9cdbae7489 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SeamEdge.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SeamEdge.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_SeamEdge, StepShape_OrientedEdge) //================================================================================================= -StepShape_SeamEdge::StepShape_SeamEdge() {} +StepShape_SeamEdge::StepShape_SeamEdge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDefinitionRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDefinitionRepresentation.cxx index 69e709edea..54e8521763 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDefinitionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDefinitionRepresentation.cxx @@ -23,4 +23,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ShapeDefinitionRepresentation, //================================================================================================= -StepShape_ShapeDefinitionRepresentation::StepShape_ShapeDefinitionRepresentation() {} +StepShape_ShapeDefinitionRepresentation::StepShape_ShapeDefinitionRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentation.cxx index 1bb8dd752c..43c59b3b6e 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentation.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ShapeDimensionRepresentation, StepShape_Sha //================================================================================================= -StepShape_ShapeDimensionRepresentation::StepShape_ShapeDimensionRepresentation() {} +StepShape_ShapeDimensionRepresentation::StepShape_ShapeDimensionRepresentation() = default; //================================================================================================= @@ -40,7 +40,7 @@ void StepShape_ShapeDimensionRepresentation::Init( const occ::handle>& theItems, const occ::handle& theContextOfItems) { - StepRepr_Representation::Init(theName, NULL, theContextOfItems); + StepRepr_Representation::Init(theName, nullptr, theContextOfItems); itemsAP242 = theItems; } diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.cxx index 2354d33e47..edf2bf47a0 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepShape_ShapeDimensionRepresentationItem::StepShape_ShapeDimensionRepresentationItem() {} +StepShape_ShapeDimensionRepresentationItem::StepShape_ShapeDimensionRepresentationItem() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.hxx index e884a09d24..297602be76 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeDimensionRepresentationItem.hxx @@ -43,7 +43,7 @@ public: //! 3 -> MeasureRepresentationItem //! 4 -> Placement //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a CompoundRepresentationItem (Null if another type) Standard_EXPORT occ::handle CompoundRepresentationItem() diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentation.cxx index eb20736bec..59db1e490c 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ShapeRepresentation, StepRepr_Representation) -StepShape_ShapeRepresentation::StepShape_ShapeRepresentation() {} +StepShape_ShapeRepresentation::StepShape_ShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentationWithParameters.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentationWithParameters.cxx index 9ee2836819..e3bddea5bb 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentationWithParameters.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShapeRepresentationWithParameters.cxx @@ -23,4 +23,5 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ShapeRepresentationWithParameters, //================================================================================================= -StepShape_ShapeRepresentationWithParameters::StepShape_ShapeRepresentationWithParameters() {} +StepShape_ShapeRepresentationWithParameters::StepShape_ShapeRepresentationWithParameters() = + default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.cxx index df3933018a..5b49801c7e 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.cxx @@ -17,7 +17,7 @@ #include #include -StepShape_Shell::StepShape_Shell() {} +StepShape_Shell::StepShape_Shell() = default; int StepShape_Shell::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.hxx index a9221eb5e6..4f505af369 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Shell.hxx @@ -39,7 +39,7 @@ public: //! 1 -> OpenShell //! 2 -> ClosedShell //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a OpenShell (Null if another type) Standard_EXPORT occ::handle OpenShell() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShellBasedSurfaceModel.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShellBasedSurfaceModel.cxx index 38efe1fdf6..cd0653db36 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ShellBasedSurfaceModel.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ShellBasedSurfaceModel.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ShellBasedSurfaceModel, StepGeom_GeometricRepresentationItem) -StepShape_ShellBasedSurfaceModel::StepShape_ShellBasedSurfaceModel() {} +StepShape_ShellBasedSurfaceModel::StepShape_ShellBasedSurfaceModel() = default; void StepShape_ShellBasedSurfaceModel::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidModel.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidModel.cxx index 677fddabee..a56c65c902 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidModel.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidModel.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_SolidModel, StepGeom_GeometricRepresentationItem) -StepShape_SolidModel::StepShape_SolidModel() {} +StepShape_SolidModel::StepShape_SolidModel() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidReplica.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidReplica.cxx index cdd808fe4f..38c4a79235 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidReplica.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SolidReplica.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_SolidReplica, StepShape_SolidModel) -StepShape_SolidReplica::StepShape_SolidReplica() {} +StepShape_SolidReplica::StepShape_SolidReplica() = default; void StepShape_SolidReplica::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Sphere.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Sphere.cxx index 3b6bd9117e..73e306df49 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Sphere.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Sphere.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Sphere, StepGeom_GeometricRepresentationItem) -StepShape_Sphere::StepShape_Sphere() {} +StepShape_Sphere::StepShape_Sphere() = default; void StepShape_Sphere::Init(const occ::handle& aName, const double aRadius, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Subedge.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Subedge.cxx index 860a7ac504..7085f267de 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Subedge.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Subedge.cxx @@ -23,7 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Subedge, StepShape_Edge) //================================================================================================= -StepShape_Subedge::StepShape_Subedge() {} +StepShape_Subedge::StepShape_Subedge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Subface.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Subface.cxx index f2cc59f2d2..bd48c6dca5 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Subface.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Subface.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Subface, StepShape_Face) //================================================================================================= -StepShape_Subface::StepShape_Subface() {} +StepShape_Subface::StepShape_Subface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.cxx index 2e31f36b0d..c70d02e92a 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.cxx @@ -17,7 +17,7 @@ #include #include -StepShape_SurfaceModel::StepShape_SurfaceModel() {} +StepShape_SurfaceModel::StepShape_SurfaceModel() = default; int StepShape_SurfaceModel::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.hxx index 2746506767..f8f27babda 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SurfaceModel.hxx @@ -38,7 +38,7 @@ public: //! 1 -> ShellBasedSurfaceModel //! 2 -> FaceBasedSurfaceModel //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a ShellBasedSurfaceModel (Null if another type) Standard_EXPORT occ::handle ShellBasedSurfaceModel() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptAreaSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptAreaSolid.cxx index c691957a4c..462ad27fb1 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptAreaSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptAreaSolid.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_SweptAreaSolid, StepShape_SolidModel) -StepShape_SweptAreaSolid::StepShape_SweptAreaSolid() {} +StepShape_SweptAreaSolid::StepShape_SweptAreaSolid() = default; void StepShape_SweptAreaSolid::Init(const occ::handle& aName, const occ::handle& aSweptArea) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptFaceSolid.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptFaceSolid.cxx index 2bdc53a965..11ac4a9903 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptFaceSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_SweptFaceSolid.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_SweptFaceSolid, StepShape_SolidModel) -StepShape_SweptFaceSolid::StepShape_SweptFaceSolid() {} +StepShape_SweptFaceSolid::StepShape_SweptFaceSolid() = default; void StepShape_SweptFaceSolid::Init(const occ::handle& aName, const occ::handle& aSweptArea) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.cxx index bd80bd201f..dc2824489b 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.cxx @@ -16,7 +16,7 @@ #include #include -StepShape_ToleranceMethodDefinition::StepShape_ToleranceMethodDefinition() {} +StepShape_ToleranceMethodDefinition::StepShape_ToleranceMethodDefinition() = default; int StepShape_ToleranceMethodDefinition::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.hxx index 97e65fa86d..2d2f86880e 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceMethodDefinition.hxx @@ -37,7 +37,7 @@ public: //! Recognizes a kind of ValueQualifier Select Type : //! 1 -> ToleranceValue from StepShape //! 2 -> LimitsAndFits from StepShape - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as ToleranceValue Standard_EXPORT occ::handle ToleranceValue() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceValue.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceValue.cxx index 3b91f44f7f..cd36678f06 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceValue.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ToleranceValue.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ToleranceValue, Standard_Transient) -StepShape_ToleranceValue::StepShape_ToleranceValue() {} +StepShape_ToleranceValue::StepShape_ToleranceValue() = default; void StepShape_ToleranceValue::Init(const occ::handle& lower_bound, const occ::handle& upper_bound) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_TopologicalRepresentationItem.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_TopologicalRepresentationItem.cxx index e549f2e5d8..5431a35cc1 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_TopologicalRepresentationItem.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_TopologicalRepresentationItem.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_TopologicalRepresentationItem, StepRepr_RepresentationItem) -StepShape_TopologicalRepresentationItem::StepShape_TopologicalRepresentationItem() {} +StepShape_TopologicalRepresentationItem::StepShape_TopologicalRepresentationItem() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Torus.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Torus.cxx index d7f759444d..d9dca20a72 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Torus.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Torus.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Torus, StepGeom_GeometricRepresentationItem) -StepShape_Torus::StepShape_Torus() {} +StepShape_Torus::StepShape_Torus() = default; void StepShape_Torus::Init(const occ::handle& aName, const occ::handle& aPosition, diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_TransitionalShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_TransitionalShapeRepresentation.cxx index 87e646d9db..d66264178f 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_TransitionalShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_TransitionalShapeRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_TransitionalShapeRepresentation, StepShape_ShapeRepresentation) -StepShape_TransitionalShapeRepresentation::StepShape_TransitionalShapeRepresentation() {} +StepShape_TransitionalShapeRepresentation::StepShape_TransitionalShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_TypeQualifier.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_TypeQualifier.cxx index 00c0e204e8..f02c1a08a2 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_TypeQualifier.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_TypeQualifier.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_TypeQualifier, Standard_Transient) -StepShape_TypeQualifier::StepShape_TypeQualifier() {} +StepShape_TypeQualifier::StepShape_TypeQualifier() = default; void StepShape_TypeQualifier::Init(const occ::handle& name) { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueFormatTypeQualifier.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueFormatTypeQualifier.cxx index 7d3fbe04e4..18164e9761 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueFormatTypeQualifier.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueFormatTypeQualifier.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_ValueFormatTypeQualifier, Standard_Transien //================================================================================================= -StepShape_ValueFormatTypeQualifier::StepShape_ValueFormatTypeQualifier() {} +StepShape_ValueFormatTypeQualifier::StepShape_ValueFormatTypeQualifier() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.cxx index 73f8ad21b9..0521e3ff91 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.cxx @@ -17,7 +17,7 @@ #include #include -StepShape_ValueQualifier::StepShape_ValueQualifier() {} +StepShape_ValueQualifier::StepShape_ValueQualifier() = default; int StepShape_ValueQualifier::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.hxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.hxx index 839b255739..8c808240ef 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.hxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_ValueQualifier.hxx @@ -40,7 +40,7 @@ public: //! 2 -> TypeQualifier from StepShape //! 3 -> UnceraintyQualifier .. not yet implemented //! 4 -> ValueFormatTypeQualifier - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns Value as PrecisionQualifier Standard_EXPORT occ::handle PrecisionQualifier() const; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_Vertex.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_Vertex.cxx index e7c1b20ef9..bf00a5a91d 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_Vertex.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_Vertex.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_Vertex, StepShape_TopologicalRepresentationItem) -StepShape_Vertex::StepShape_Vertex() {} +StepShape_Vertex::StepShape_Vertex() = default; diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexLoop.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexLoop.cxx index 2933c1e874..548e74d6cf 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexLoop.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexLoop.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_VertexLoop, StepShape_Loop) -StepShape_VertexLoop::StepShape_VertexLoop() {} +StepShape_VertexLoop::StepShape_VertexLoop() = default; void StepShape_VertexLoop::Init(const occ::handle& aName, const occ::handle& aLoopVertex) diff --git a/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexPoint.cxx b/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexPoint.cxx index d8fd21168a..7dc633019d 100644 --- a/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexPoint.cxx +++ b/src/DataExchange/TKDESTEP/StepShape/StepShape_VertexPoint.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepShape_VertexPoint, StepShape_Vertex) -StepShape_VertexPoint::StepShape_VertexPoint() {} +StepShape_VertexPoint::StepShape_VertexPoint() = default; void StepShape_VertexPoint::Init(const occ::handle& aName, const occ::handle& aVertexGeometry) diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.cxx index 64c572a4ad..37e5c099df 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.cxx @@ -57,7 +57,7 @@ StepTidy_Axis2Placement3dReducer::StepTidy_Axis2Placement3dReducer( bool StepTidy_Axis2Placement3dReducer::replacePlane( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Position() == theOldEntity) @@ -73,7 +73,7 @@ bool StepTidy_Axis2Placement3dReducer::replacePlane( bool StepTidy_Axis2Placement3dReducer::replaceItemDefinedTransformation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -96,7 +96,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceItemDefinedTransformation( bool StepTidy_Axis2Placement3dReducer::replaceCylindricalSurface( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -113,7 +113,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceCylindricalSurface( bool StepTidy_Axis2Placement3dReducer::replaceShapeRepresentation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -134,7 +134,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceShapeRepresentation( bool StepTidy_Axis2Placement3dReducer::replaceConstructiveGeometryRepresentation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -155,7 +155,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceConstructiveGeometryRepresentation bool StepTidy_Axis2Placement3dReducer::replaceCircle( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); StepGeom_Axis2Placement aSelector = aSharing->Position(); @@ -172,7 +172,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceCircle( bool StepTidy_Axis2Placement3dReducer::replacePresentationLayerAssignment( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -195,7 +195,7 @@ bool StepTidy_Axis2Placement3dReducer::replacePresentationLayerAssignment( bool StepTidy_Axis2Placement3dReducer::replaceStyledItem( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Item() == theOldEntity) @@ -211,7 +211,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceStyledItem( bool StepTidy_Axis2Placement3dReducer::replaceEllipse( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); StepGeom_Axis2Placement aSelector = aSharing->Position(); @@ -228,7 +228,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceEllipse( bool StepTidy_Axis2Placement3dReducer::replaceConicalSurface( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -245,7 +245,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceConicalSurface( bool StepTidy_Axis2Placement3dReducer::replaceToroidalSurface( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -262,7 +262,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceToroidalSurface( bool StepTidy_Axis2Placement3dReducer::replaceAdvancedBrepShapeRepresentation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -283,7 +283,7 @@ bool StepTidy_Axis2Placement3dReducer::replaceAdvancedBrepShapeRepresentation( bool StepTidy_Axis2Placement3dReducer::replaceSphericalSurface( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.pxx index d48654954c..f40833e51b 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_Axis2Placement3dReducer.pxx @@ -37,7 +37,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replacePlane(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepRepr_ItemDefinedTransformation //! entity. @@ -48,7 +48,7 @@ private: static bool replaceItemDefinedTransformation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_CylindricalSurface entity. //! @param theOldEntity the old axis placement. @@ -57,7 +57,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceCylindricalSurface(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepShape_ShapeRepresentation entity. //! @param theOldEntity the old axis placement. @@ -66,7 +66,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceShapeRepresentation(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the //! StepRepr_ConstructiveGeometryRepresentation entity. @@ -77,7 +77,7 @@ private: static bool replaceConstructiveGeometryRepresentation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_Circle entity. //! @param theOldEntity the old axis placement. @@ -86,7 +86,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceCircle(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_PresentationLayerAssignment //! @param theOldEntity the old axis placement. @@ -96,7 +96,7 @@ private: static bool replacePresentationLayerAssignment( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepVisual_StyledItem entity. //! @param theOldEntity the old axis placement. @@ -105,7 +105,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceStyledItem(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_Ellipse entity. //! @param theOldEntity the old axis placement. @@ -114,7 +114,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceEllipse(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_ConicalSurface entity. //! @param theOldEntity the old axis placement. @@ -123,7 +123,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceConicalSurface(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_ToroidalSurface entity. //! @param theOldEntity the old axis placement. @@ -132,7 +132,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceToroidalSurface(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the //! StepShape_AdvancedBrepShapeRepresentation entity. @@ -143,7 +143,7 @@ private: static bool replaceAdvancedBrepShapeRepresentation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old axis placement with the new one in the StepGeom_SphericalSurface entity. //! @param theOldEntity the old axis placement. @@ -152,7 +152,7 @@ private: //! @return true if the axis placement was replaced, false otherwise. static bool replaceSphericalSurface(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); }; #endif // _StepTidy_DirectionReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.cxx index 7f30c7df32..2d3588516a 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.cxx @@ -55,7 +55,7 @@ StepTidy_CartesianPointReducer::StepTidy_CartesianPointReducer( bool StepTidy_CartesianPointReducer::replaceAxis2Placement3d( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -72,7 +72,7 @@ bool StepTidy_CartesianPointReducer::replaceAxis2Placement3d( bool StepTidy_CartesianPointReducer::replaceVertexPoint( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->VertexGeometry() == theOldEntity) @@ -88,7 +88,7 @@ bool StepTidy_CartesianPointReducer::replaceVertexPoint( bool StepTidy_CartesianPointReducer::replaceGeometricCurveSet( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); bool isReplaced = false; @@ -109,7 +109,7 @@ bool StepTidy_CartesianPointReducer::replaceGeometricCurveSet( bool StepTidy_CartesianPointReducer::replacePresentationLayerAssignment( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -131,7 +131,7 @@ bool StepTidy_CartesianPointReducer::replacePresentationLayerAssignment( bool StepTidy_CartesianPointReducer::replaceStyledItem( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Item() == theOldEntity) @@ -147,7 +147,7 @@ bool StepTidy_CartesianPointReducer::replaceStyledItem( bool StepTidy_CartesianPointReducer::replaceBSplineCurveWithKnots( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -170,7 +170,7 @@ bool StepTidy_CartesianPointReducer::replaceBSplineCurveWithKnots( bool StepTidy_CartesianPointReducer::replaceLine( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Pnt() == theOldEntity) @@ -186,7 +186,7 @@ bool StepTidy_CartesianPointReducer::replaceLine( bool StepTidy_CartesianPointReducer::replaceBSplineSurfaceWithKnots( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -214,7 +214,7 @@ bool StepTidy_CartesianPointReducer::replaceBSplineSurfaceWithKnots( bool StepTidy_CartesianPointReducer::replaceAxis1Placement( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -231,7 +231,7 @@ bool StepTidy_CartesianPointReducer::replaceAxis1Placement( bool StepTidy_CartesianPointReducer::replaceRepresentation( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -255,7 +255,7 @@ bool StepTidy_CartesianPointReducer::replaceRepresentation( bool StepTidy_CartesianPointReducer::replaceBSplineCurveWithKnotsAndRationalBSplineCurve( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -278,7 +278,7 @@ bool StepTidy_CartesianPointReducer::replaceBSplineCurveWithKnotsAndRationalBSpl bool StepTidy_CartesianPointReducer::replaceBSplineSurfaceWithKnotsAndRationalBSplineSurface( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.pxx index 9efeec2188..12423d9f61 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CartesianPointReducer.pxx @@ -41,7 +41,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceAxis2Placement3d(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepShape_VertexPoint. @@ -51,7 +51,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceVertexPoint(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepShape_GeometricSet. @@ -61,7 +61,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceGeometricCurveSet(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepVisual_PresentationLayerAssignment. @@ -72,7 +72,7 @@ private: static bool replacePresentationLayerAssignment( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepVisual_StyledItem. @@ -82,7 +82,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceStyledItem(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepGeom_BSplineCurveWithKnots. @@ -92,7 +92,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceBSplineCurveWithKnots(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepGeom_Line. @@ -102,7 +102,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceLine(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepGeom_BSplineSurfaceWithKnots. @@ -113,7 +113,7 @@ private: static bool replaceBSplineSurfaceWithKnots( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepGeom_Axis1Placement. @@ -123,7 +123,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceAxis1Placement(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepRepr_Representation. @@ -133,7 +133,7 @@ private: //! @return True if the entity was replaced, false if it was not. static bool replaceRepresentation(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve. @@ -145,7 +145,7 @@ private: static bool replaceBSplineCurveWithKnotsAndRationalBSplineCurve( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old Cartesian point with the new Cartesian point in //! the sharing StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface. @@ -156,7 +156,7 @@ private: static bool replaceBSplineSurfaceWithKnotsAndRationalBSplineSurface( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); }; #endif // _StepTidy_CartesianPointReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.cxx index 7e4a387ebc..716fa93f96 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.cxx @@ -30,9 +30,9 @@ StepTidy_CircleReducer::StepTidy_CircleReducer(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_CircleReducer::replaceEdgeCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->EdgeGeometry() == theOldEntity) @@ -47,7 +47,7 @@ bool StepTidy_CircleReducer::replaceEdgeCurve(const occ::handle bool StepTidy_CircleReducer::replaceSurfaceCurve(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Curve3d() == theOldEntity) @@ -60,9 +60,9 @@ bool StepTidy_CircleReducer::replaceSurfaceCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_CircleReducer::replaceSeamCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Curve3d() == theOldEntity) diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.pxx index 09e1121d3e..909bfcfdb1 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_CircleReducer.pxx @@ -35,9 +35,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceEdgeCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceEdgeCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepGeom_SurfaceCurve entities. //! Replaces the old entity with the new one in the sharing entity. @@ -45,9 +45,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceSurfaceCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceSurfaceCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepGeom_SeamCurve entities. //! Replaces the old entity with the new one in the sharing entity. @@ -55,9 +55,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceSeamCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceSeamCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); }; #endif // _StepTidy_CircleReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.cxx index 00a1cc8bf3..ec2bebfaa7 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.cxx @@ -34,7 +34,7 @@ StepTidy_DirectionReducer::StepTidy_DirectionReducer( bool StepTidy_DirectionReducer::replaceAxis1Placement( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -51,7 +51,7 @@ bool StepTidy_DirectionReducer::replaceAxis1Placement( bool StepTidy_DirectionReducer::replaceAxis2Placement3d( const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -72,7 +72,7 @@ bool StepTidy_DirectionReducer::replaceAxis2Placement3d( bool StepTidy_DirectionReducer::replaceVector(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Orientation() == theOldEntity) diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.pxx index 211f0f5cb8..441bc6e86f 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DirectionReducer.pxx @@ -40,7 +40,7 @@ private: //! @return true if the direction was replaced, false otherwise. static bool replaceAxis1Placement(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old direction with the new one in the StepGeom_Axis2Placement3d entity. //! @param theOldEntity the old direction. @@ -49,7 +49,7 @@ private: //! @return true if the direction was replaced, false otherwise. static bool replaceAxis2Placement3d(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); //! Replaces the old direction with the new one in the StepGeom_Vector entity. //! @param theOldEntity the old direction. @@ -58,7 +58,7 @@ private: //! @return true if the direction was replaced, false otherwise. static bool replaceVector(const occ::handle& theOldEntity, const occ::handle& theNewEntity, - occ::handle theSharing); + const occ::handle& theSharing); }; #endif // _StepTidy_DirectionReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DuplicateCleaner.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DuplicateCleaner.cxx index 877c0f7359..bcfa045e7d 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DuplicateCleaner.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_DuplicateCleaner.cxx @@ -23,11 +23,12 @@ #include #include #include +#include //================================================================================================== StepTidy_DuplicateCleaner::StepTidy_DuplicateCleaner(occ::handle theWS) - : myWS(theWS) + : myWS(std::move(theWS)) { } diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.cxx index 9768a98bf6..630f168f0a 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.cxx @@ -35,9 +35,9 @@ StepTidy_LineReducer::StepTidy_LineReducer(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_LineReducer::replaceEdgeCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->EdgeGeometry() == theOldEntity) @@ -50,9 +50,9 @@ bool StepTidy_LineReducer::replaceEdgeCurve(const occ::handle& th //================================================================================================== -bool StepTidy_LineReducer::replaceTrimmedCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_LineReducer::replaceTrimmedCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->BasisCurve() == theOldEntity) @@ -65,9 +65,9 @@ bool StepTidy_LineReducer::replaceTrimmedCurve(const occ::handle& //================================================================================================== -bool StepTidy_LineReducer::replaceSurfaceCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_LineReducer::replaceSurfaceCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Curve3d() == theOldEntity) @@ -81,9 +81,9 @@ bool StepTidy_LineReducer::replaceSurfaceCurve(const occ::handle& //================================================================================================== bool StepTidy_LineReducer::replaceDefinitionalRepresentation( - const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) + const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); @@ -104,9 +104,9 @@ bool StepTidy_LineReducer::replaceDefinitionalRepresentation( //================================================================================================== -bool StepTidy_LineReducer::replaceSeamCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_LineReducer::replaceSeamCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->Curve3d() == theOldEntity) diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.pxx index b9c0b232eb..b65714f21a 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_LineReducer.pxx @@ -35,9 +35,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceEdgeCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceEdgeCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepGeom_TrimmedCurve entities. //! Replaces the old entity with the new one in the sharing entity. @@ -45,9 +45,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceTrimmedCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceTrimmedCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepGeom_SurfaceCurve entities. //! Replaces the old entity with the new one in the sharing entity. @@ -55,9 +55,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceSurfaceCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceSurfaceCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepRepr_DefinitionalRepresentation entities. //! Replaces the old entity with the new one in the sharing entity. @@ -65,9 +65,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceDefinitionalRepresentation(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceDefinitionalRepresentation(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepGeom_SeamCurve entities. //! Replaces the old entity with the new one in the sharing entity. @@ -75,9 +75,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing entity in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceSeamCurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceSeamCurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); }; #endif // _StepTidy_LineReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.cxx index f3fdb5e07a..e9623b0413 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.cxx @@ -27,9 +27,9 @@ StepTidy_PlaneReducer::StepTidy_PlaneReducer(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_PlaneReducer::replaceAdvancedFace(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->FaceGeometry() == theOldEntity) @@ -41,9 +41,9 @@ bool StepTidy_PlaneReducer::replaceAdvancedFace(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_PlaneReducer::replacePcurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aSharing = occ::down_cast(theSharing); if (aSharing->BasisSurface() == theOldEntity) diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.pxx index 117ae4f174..3cb15194b6 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_PlaneReducer.pxx @@ -35,9 +35,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing StepShape_AdvancedFace in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replaceAdvancedFace(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceAdvancedFace(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); //! Replacer function for StepGeom_Pcurve entities. //! Replaces the old entity with the new one in the sharing entity. @@ -45,9 +45,9 @@ private: //! @param theNewEntity the new entity to replace with. //! @param theSharing the sharing StepGeom_Pcurve in which to replace the old entity. //! @return true if the entity was replaced, false otherwise. - static bool replacePcurve(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replacePcurve(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); }; #endif // _StepTidy_DirectionReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.cxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.cxx index e565719107..f0f76e8068 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.cxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.cxx @@ -27,9 +27,9 @@ StepTidy_VectorReducer::StepTidy_VectorReducer(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing) +bool StepTidy_VectorReducer::replaceLine(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing) { occ::handle aLine = occ::down_cast(theSharing); if (aLine->Dir() == theOldEntity) diff --git a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.pxx b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.pxx index 4d4e77ec89..b7318c8632 100644 --- a/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.pxx +++ b/src/DataExchange/TKDESTEP/StepTidy/StepTidy_VectorReducer.pxx @@ -34,9 +34,9 @@ private: //! @param theNewEntity the new vector to replace the old one. //! @param theSharing the StepGeom_Line entity to update. //! @return true if the vector was replaced, false otherwise. - static bool replaceLine(const occ::handle& theOldEntity, - const occ::handle& theNewEntity, - occ::handle theSharing); + static bool replaceLine(const occ::handle& theOldEntity, + const occ::handle& theNewEntity, + const occ::handle& theSharing); }; #endif // _StepTidy_VectorReducer_HeaderFile diff --git a/src/DataExchange/TKDESTEP/StepToGeom/StepToGeom.cxx b/src/DataExchange/TKDESTEP/StepToGeom/StepToGeom.cxx index 0d9b176a04..32f2401660 100644 --- a/src/DataExchange/TKDESTEP/StepToGeom/StepToGeom.cxx +++ b/src/DataExchange/TKDESTEP/StepToGeom/StepToGeom.cxx @@ -157,7 +157,7 @@ occ::handle StepToGeom::MakeAxis1Placement( } return new Geom_Axis1Placement(P->Pnt(), D); } - return 0; + return nullptr; } //============================================================================= @@ -203,7 +203,7 @@ occ::handle StepToGeom::MakeAxis2Placement( return new Geom_Axis2Placement(gpAx2); } - return 0; + return nullptr; } //============================================================================= @@ -256,7 +256,7 @@ occ::handle StepToGeom::MakeAxisPlacement( return new Geom2d_AxisPlacement(P->Pnt2d(), Vxgp); } - return 0; + return nullptr; } //============================================================================= @@ -289,7 +289,7 @@ occ::handle StepToGeom::MakeBoundedCurve( const occ::handle BzC = occ::down_cast(SC); int aDegree = BzC->Degree(); if (aDegree < 1 || aDegree > Geom_BSplineCurve::MaxDegree()) - return 0; + return nullptr; const occ::handle BSPL = new StepGeom_BSplineCurveWithKnots; BSPL->SetDegree(aDegree); BSPL->SetControlPointsList(BzC->ControlPointsList()); @@ -314,7 +314,7 @@ occ::handle StepToGeom::MakeBoundedCurve( const occ::handle UC = occ::down_cast(SC); int aDegree = UC->Degree(); if (aDegree < 1 || aDegree > Geom_BSplineCurve::MaxDegree()) - return 0; + return nullptr; const occ::handle BSPL = new StepGeom_BSplineCurveWithKnots; BSPL->SetDegree(aDegree); BSPL->SetControlPointsList(UC->ControlPointsList()); @@ -343,7 +343,7 @@ occ::handle StepToGeom::MakeBoundedCurve( occ::down_cast(SC); int aDegree = QUC->Degree(); if (aDegree < 1 || aDegree > Geom_BSplineCurve::MaxDegree()) - return 0; + return nullptr; const occ::handle BSPL = new StepGeom_BSplineCurveWithKnots; BSPL->SetDegree(aDegree); BSPL->SetControlPointsList(QUC->ControlPointsList()); @@ -374,7 +374,7 @@ occ::handle StepToGeom::MakeBoundedCurve( occ::down_cast(SC); int aDegree = RUC->Degree(); if (aDegree < 1 || aDegree > Geom_BSplineCurve::MaxDegree()) - return 0; + return nullptr; const occ::handle RBSPL = new StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve; @@ -409,7 +409,7 @@ occ::handle StepToGeom::MakeBoundedCurve( occ::down_cast(SC); int aDegree = RQUC->Degree(); if (aDegree < 1 || aDegree > Geom_BSplineCurve::MaxDegree()) - return 0; + return nullptr; const occ::handle RBSPL = new StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve; @@ -444,7 +444,7 @@ occ::handle StepToGeom::MakeBoundedCurve( return MakePolyline(occ::down_cast(SC), theLocalFactors); } - return 0; + return nullptr; } //============================================================================= @@ -722,7 +722,7 @@ occ::handle StepToGeom::MakeBoundedSurface( return MakeBSplineSurface(RBSPL, theLocalFactors); } - return 0; + return nullptr; } //============================================================================= @@ -774,7 +774,7 @@ occ::handle MakeBSplineCurveCommon( } if (NbUniqueKnots <= 1) { - return 0; + return nullptr; } NCollection_Array1 aUniqueKnots(1, NbUniqueKnots); NCollection_Array1 aUniqueKnotMultiplicities(1, NbUniqueKnots); @@ -826,7 +826,7 @@ occ::handle MakeBSplineCurveCommon( int NbUniquePoles = NbPoles - aSummaryMuultypisityDifference; if (NbUniquePoles <= 0) { - return 0; + return nullptr; } TPntArray Poles(1, NbPoles - aSummaryMuultypisityDifference); @@ -842,7 +842,7 @@ occ::handle MakeBSplineCurveCommon( } else { - return 0; + return nullptr; } } @@ -973,7 +973,7 @@ occ::handle StepToGeom::MakeBSplineSurface( if (!P.IsNull()) Poles.SetValue(i, j, P->Pnt()); else - return 0; + return nullptr; } } const int NUKnots = BS->NbUMultiplicities(); @@ -1148,7 +1148,7 @@ occ::handle StepToGeom::MakeCartesianPoint( const double Z = SP->CoordinatesValue(3) * LF; return new Geom_CartesianPoint(X, Y, Z); } - return 0; + return nullptr; } //============================================================================= @@ -1167,7 +1167,7 @@ occ::handle StepToGeom::MakeCartesianPoint2d( const double Y = SP->CoordinatesValue(2); return new Geom2d_CartesianPoint(X, Y); } - return 0; + return nullptr; } //============================================================================= @@ -1188,7 +1188,7 @@ occ::handle StepToGeom::MakeCircle(const occ::handleAx2(), SC->Radius() * theLocalFactors.LengthFactor()); } } - return 0; + return nullptr; } //============================================================================= @@ -1209,7 +1209,7 @@ occ::handle StepToGeom::MakeCircle2d(const occ::handleAx2d(), SC->Radius()); } } - return 0; + return nullptr; } //============================================================================= @@ -1236,7 +1236,7 @@ occ::handle StepToGeom::MakeConic(const occ::handle& return MakeParabola(occ::down_cast(SC), theLocalFactors); } // Attention : Other conic shall be implemented ! - return 0; + return nullptr; } //============================================================================= @@ -1284,7 +1284,7 @@ occ::handle StepToGeom::MakeConicalSurface( // little) return new Geom_ConicalSurface(A->Ax2(), std::max(Ang, Precision::Angular()), R); } - return 0; + return nullptr; } //============================================================================= @@ -1357,7 +1357,7 @@ occ::handle StepToGeom::MakeCurve(const occ::handle& const occ::handle SurfC = occ::down_cast(SC); return MakeCurve(SurfC->Curve3d(), theLocalFactors); } - return 0; + return nullptr; } //============================================================================= @@ -1400,7 +1400,7 @@ occ::handle StepToGeom::MakeCurve2d(const occ::handle StepToGeom::MakeCylindricalSurface( { return new Geom_CylindricalSurface(A->Ax2(), SS->Radius() * theLocalFactors.LengthFactor()); } - return 0; + return nullptr; } //============================================================================= @@ -1434,7 +1434,7 @@ occ::handle StepToGeom::MakeDirection(const occ::handle gp::Resolution() * gp::Resolution()) @@ -1442,7 +1442,7 @@ occ::handle StepToGeom::MakeDirection(const occ::handle StepToGeom::MakeDirection2d(const occ::handle StepToGeom::MakeElementarySurface( { return MakeToroidalSurface(occ::down_cast(SS), theLocalFactors); } - return 0; + return nullptr; } //============================================================================= @@ -1527,7 +1527,7 @@ occ::handle StepToGeom::MakeEllipse(const occ::handle StepToGeom::MakeEllipse2d(const occ::handle StepToGeom::MakeHyperbola(const occ::handleSemiAxis() * LF, SC->SemiImagAxis() * LF); } } - return 0; + return nullptr; } //============================================================================= @@ -1605,7 +1605,7 @@ occ::handle StepToGeom::MakeHyperbola2d(const occ::handleSemiAxis(), SC->SemiImagAxis()); } } - return 0; + return nullptr; } //============================================================================= @@ -1623,12 +1623,12 @@ occ::handle StepToGeom::MakeLine(const occ::handle& SC if (!D.IsNull()) { if (D->Vec().SquareMagnitude() < Precision::Confusion() * Precision::Confusion()) - return 0; + return nullptr; const gp_Dir V(D->Vec()); return new Geom_Line(P->Pnt(), V); } } - return 0; + return nullptr; } //============================================================================= @@ -1649,7 +1649,7 @@ occ::handle StepToGeom::MakeLine2d(const occ::handle return new Geom2d_Line(P->Pnt2d(), D1); } } - return 0; + return nullptr; } //============================================================================= @@ -1670,7 +1670,7 @@ occ::handle StepToGeom::MakeParabola(const occ::handleAx2(), SC->FocalDist() * theLocalFactors.LengthFactor()); } } - return 0; + return nullptr; } //============================================================================= @@ -1692,7 +1692,7 @@ occ::handle StepToGeom::MakeParabola2d(const occ::handleFocalDist()); } } - return 0; + return nullptr; } //============================================================================= @@ -1707,7 +1707,7 @@ occ::handle StepToGeom::MakePlane(const occ::handle& { return new Geom_Plane(A->Ax2()); } - return 0; + return nullptr; } //================================================================================================= @@ -1731,7 +1731,7 @@ occ::handle StepToGeom::MakePolyline(const occ::handlePnt()); else - return 0; + return nullptr; Knots.SetValue(i, double(i - 1)); Mults.SetValue(i, 1); } @@ -1740,7 +1740,7 @@ occ::handle StepToGeom::MakePolyline(const occ::handle StepToGeom::MakePolyline2d( if (!P.IsNull()) Poles.SetValue(i, P->Pnt2d()); else - return 0; + return nullptr; Knots.SetValue(i, double(i - 1)); Mults.SetValue(i, 1); } @@ -1775,7 +1775,7 @@ occ::handle StepToGeom::MakePolyline2d( return new Geom2d_BSplineCurve(Poles, Knots, Mults, 1); } - return 0; + return nullptr; } //============================================================================= @@ -1833,7 +1833,7 @@ occ::handle StepToGeom::MakeRectangularTrimmedSu return new Geom_RectangularTrimmedSurface(theBasis, U1, U2, V1, V2, SS->Usense(), SS->Vsense()); } - return 0; + return nullptr; } //============================================================================= @@ -1850,7 +1850,7 @@ occ::handle StepToGeom::MakeSphericalSurface( { return new Geom_SphericalSurface(A->Ax2(), SS->Radius() * theLocalFactors.LengthFactor()); } - return 0; + return nullptr; } //============================================================================= @@ -1946,7 +1946,7 @@ occ::handle StepToGeom::MakeSurface(const occ::handle StepToGeom::MakeSurfaceOfLinearExtrus return new Geom_SurfaceOfLinearExtrusion(C, D); } } - return 0; + return nullptr; } //============================================================================= @@ -2019,7 +2019,7 @@ occ::handle StepToGeom::MakeSurfaceOfRevolution( return new Geom_SurfaceOfRevolution(C, A); } } - return 0; + return nullptr; } //============================================================================= @@ -2061,7 +2061,7 @@ occ::handle StepToGeom::MakeToroidalSurface( std::abs(SS->MajorRadius() * LF), std::abs(SS->MinorRadius() * LF)); } - return 0; + return nullptr; } //================================================================================================= @@ -2398,7 +2398,7 @@ occ::handle StepToGeom::MakeTrimmedCurve( } else { - return 0; + return nullptr; } } // CKY 16-DEC-1997 : USA60035 le texte de Part42 parle de degres @@ -2410,7 +2410,7 @@ occ::handle StepToGeom::MakeTrimmedCurve( else //: abv 29.09.00 PRO20362: reverse parameters in case of reversed curve return new Geom_TrimmedCurve(theCurve, trim2, trim1, false); } - return 0; + return nullptr; } //============================================================================= @@ -2473,7 +2473,7 @@ occ::handle StepToGeom::MakeTrimmedCurve2d( new Geom2d_TrimmedCurve(theGeomBasis, newU1, newU2, SC->SenseAgreement()); return Geom2dConvert::CurveToBSplineCurve(theTrimmed); } - return 0; + return nullptr; } //============================================================================= @@ -2491,7 +2491,7 @@ occ::handle StepToGeom::MakeVectorWithMagnitude( const gp_Vec V(D->Dir().XYZ() * SV->Magnitude() * theLocalFactors.LengthFactor()); return new Geom_VectorWithMagnitude(V); } - return 0; + return nullptr; } //============================================================================= @@ -2509,7 +2509,7 @@ occ::handle StepToGeom::MakeVectorWithMagnitude2d( const gp_Vec2d V(D->Dir2d().XY() * SV->Magnitude()); return new Geom2d_VectorWithMagnitude(V); } - return 0; + return nullptr; } //============================================================================= @@ -2531,7 +2531,7 @@ occ::handle> StepToGeom::MakeYprRotation( || SR.RotationAboutDirection()->DirectionOfAxis()->NbDirectionRatios() != 3 || theCntxt.IsNull()) { - return NULL; + return nullptr; } // rotation is a rotation_about_direction occ::handle anAxis; diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx index a207daddf7..2ad5c0f7ec 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx @@ -91,7 +91,7 @@ #include #include -#include +#include static void ResetPreci(occ::handle& theStepModel, const TopoDS_Shape& S, @@ -335,7 +335,7 @@ void StepToTopoDS_Builder::Init(const occ::handle aCShell = occ::down_cast(theFBABWV->Outer()); - Message_ProgressScope aPSRoot(theProgress, NULL, 2); + Message_ProgressScope aPSRoot(theProgress, nullptr, 2); StepToTopoDS_TranslateShell aTranShell; aTranShell.SetPrecision(Precision()); // gka @@ -356,7 +356,7 @@ void StepToTopoDS_Builder::Init(const occ::handleNbVoids()); + Message_ProgressScope aPS(aPSRoot.Next(), nullptr, theFBABWV->NbVoids()); for (NCollection_HArray1>::Iterator anIt( theFBABWV->Voids()->Array1()); anIt.More() && aPS.More(); @@ -687,7 +687,7 @@ void StepToTopoDS_Builder::Init(const occ::handle& GC double preci = Precision(); // gka double maxtol = MaxTol(); int nbElem = GCS->NbElements(); - Message_ProgressScope aPS(theProgress, NULL, nbElem); + Message_ProgressScope aPS(theProgress, nullptr, nbElem); for (i = 1; i <= nbElem && aPS.More(); i++) { Message_ProgressRange aRange = aPS.Next(); diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.hxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.hxx index 60d48c09ae..249bb18666 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.hxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.hxx @@ -86,7 +86,7 @@ public: Standard_EXPORT void Init(const occ::handle& S, const occ::handle& TP, const StepData_Factors& theLocalFactors = StepData_Factors(), - const occ::handle& RA = NULL, + const occ::handle& RA = nullptr, const bool isManifold = false, const Message_ProgressRange& theProgress = Message_ProgressRange()); diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_MakeTransformed.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_MakeTransformed.cxx index dcd5ed2b83..a7905b69b7 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_MakeTransformed.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_MakeTransformed.cxx @@ -36,7 +36,7 @@ // + pour CartesianOperator3d //================================================================================================= -StepToTopoDS_MakeTransformed::StepToTopoDS_MakeTransformed() {} +StepToTopoDS_MakeTransformed::StepToTopoDS_MakeTransformed() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateCurveBoundedSurface.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateCurveBoundedSurface.cxx index 4fa369fb1c..168a3ad9da 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateCurveBoundedSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateCurveBoundedSurface.cxx @@ -39,7 +39,7 @@ //================================================================================================= -StepToTopoDS_TranslateCurveBoundedSurface::StepToTopoDS_TranslateCurveBoundedSurface() {} +StepToTopoDS_TranslateCurveBoundedSurface::StepToTopoDS_TranslateCurveBoundedSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx index 9abaa143a2..7d74d109bd 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx @@ -161,7 +161,7 @@ static void SetNormals(const occ::handle& theMesh, // ============================================================================ static void SetTriangles( const occ::handle& theMesh, - const occ::handle> theTriangles, + const occ::handle>& theTriangles, const int theTrianStripsNum, const occ::handle>>& theTrianStrips, const int theTrianFansNum, @@ -231,7 +231,7 @@ static void SetTriangles( // Purpose : Get elements from simple face // ============================================================================ template -static void GetSimpleFaceElements(Type theFace, +static void GetSimpleFaceElements(const Type& theFace, occ::handle>& theNodes, occ::handle>& theNormals, occ::handle>& theTriangles, @@ -259,7 +259,7 @@ static void GetSimpleFaceElements(Type theF // ============================================================================ template static void GetComplexFaceElements( - Type theFace, + const Type& theFace, occ::handle>& theNodes, occ::handle>& theNormals, occ::handle>>& theTriangleStrips, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrence.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrence.cxx index 515ba4e30f..9c186ff0f0 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrence.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationCurveOccurrence, StepVisual_AnnotationOccurrence) -StepVisual_AnnotationCurveOccurrence::StepVisual_AnnotationCurveOccurrence() {} +StepVisual_AnnotationCurveOccurrence::StepVisual_AnnotationCurveOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx index 6a87ea422d..c48578d318 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationCurveOccurrenceAndGeomReprItem.cxx @@ -21,6 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationCurveOccurrenceAndGeomReprItem, //================================================================================================= StepVisual_AnnotationCurveOccurrenceAndGeomReprItem:: - StepVisual_AnnotationCurveOccurrenceAndGeomReprItem() -{ -} + StepVisual_AnnotationCurveOccurrenceAndGeomReprItem() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillArea.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillArea.cxx index c12b8222d9..cb48fc6af1 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillArea.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillArea.cxx @@ -19,4 +19,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationFillArea, StepShape_GeometricCur //================================================================================================= -StepVisual_AnnotationFillArea::StepVisual_AnnotationFillArea() {} +StepVisual_AnnotationFillArea::StepVisual_AnnotationFillArea() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillAreaOccurrence.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillAreaOccurrence.cxx index b348484981..faa5639ee6 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillAreaOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationFillAreaOccurrence.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationFillAreaOccurrence, StepVisual_A //================================================================================================= -StepVisual_AnnotationFillAreaOccurrence::StepVisual_AnnotationFillAreaOccurrence() {} +StepVisual_AnnotationFillAreaOccurrence::StepVisual_AnnotationFillAreaOccurrence() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationOccurrence.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationOccurrence.cxx index d00c7f224e..35c61f40cc 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationOccurrence.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationOccurrence, StepVisual_StyledItem) -StepVisual_AnnotationOccurrence::StepVisual_AnnotationOccurrence() {} +StepVisual_AnnotationOccurrence::StepVisual_AnnotationOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlane.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlane.cxx index 9748ea9f81..2cb3d7b919 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlane.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlane.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationPlane, StepVisual_AnnotationOccu //================================================================================================= -StepVisual_AnnotationPlane::StepVisual_AnnotationPlane() {} +StepVisual_AnnotationPlane::StepVisual_AnnotationPlane() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.cxx index b2bd0ccb08..7ba9f92a98 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepVisual_AnnotationPlaneElement::StepVisual_AnnotationPlaneElement() {} +StepVisual_AnnotationPlaneElement::StepVisual_AnnotationPlaneElement() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.hxx index c1152efe50..8e3a513150 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationPlaneElement.hxx @@ -38,7 +38,7 @@ public: //! 1 -> DraughtingCallout //! 2 -> StyledItem //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a DraughtingCallout (Null if another type) Standard_EXPORT occ::handle DraughtingCallout() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationText.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationText.cxx index 2adfc5b517..e027d1be1e 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationText.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationText.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationText, StepRepr_MappedItem) -StepVisual_AnnotationText::StepVisual_AnnotationText() {} +StepVisual_AnnotationText::StepVisual_AnnotationText() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationTextOccurrence.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationTextOccurrence.cxx index 73b89ec92c..20da8b2cb1 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationTextOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AnnotationTextOccurrence.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AnnotationTextOccurrence, StepVisual_AnnotationOccurrence) -StepVisual_AnnotationTextOccurrence::StepVisual_AnnotationTextOccurrence() {} +StepVisual_AnnotationTextOccurrence::StepVisual_AnnotationTextOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaInSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaInSet.cxx index f12e8ccb22..89acb02ba6 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaInSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaInSet.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_AreaInSet, Standard_Transient) -StepVisual_AreaInSet::StepVisual_AreaInSet() {} +StepVisual_AreaInSet::StepVisual_AreaInSet() = default; void StepVisual_AreaInSet::Init(const occ::handle& aArea, const occ::handle& aInSet) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.cxx index 7ecbc17385..1db9445f0a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.cxx @@ -17,7 +17,7 @@ #include #include -StepVisual_AreaOrView::StepVisual_AreaOrView() {} +StepVisual_AreaOrView::StepVisual_AreaOrView() = default; int StepVisual_AreaOrView::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.hxx index f402274478..a8bef2d9f2 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_AreaOrView.hxx @@ -39,7 +39,7 @@ public: //! 1 -> PresentationArea //! 2 -> PresentationView //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PresentationArea (Null if another type) Standard_EXPORT occ::handle PresentationArea() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BackgroundColour.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BackgroundColour.cxx index 2b5894f6a9..5fb06944fc 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BackgroundColour.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BackgroundColour.cxx @@ -15,7 +15,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_BackgroundColour, StepVisual_Colour) -StepVisual_BackgroundColour::StepVisual_BackgroundColour() {} +StepVisual_BackgroundColour::StepVisual_BackgroundColour() = default; void StepVisual_BackgroundColour::Init(const StepVisual_AreaOrView& aPresentation) { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BoxCharacteristicSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BoxCharacteristicSelect.cxx index f200515c9d..a04484f5c8 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BoxCharacteristicSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_BoxCharacteristicSelect.cxx @@ -16,7 +16,7 @@ #include -StepVisual_BoxCharacteristicSelect::StepVisual_BoxCharacteristicSelect() {} +StepVisual_BoxCharacteristicSelect::StepVisual_BoxCharacteristicSelect() = default; void StepVisual_BoxCharacteristicSelect::SetTypeOfContent(const int aType) { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage.cxx index 25fe6c8eaf..32823f0009 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraImage, StepRepr_MappedItem) -StepVisual_CameraImage::StepVisual_CameraImage() {} +StepVisual_CameraImage::StepVisual_CameraImage() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage2dWithScale.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage2dWithScale.cxx index 45c8e4426b..0295e97766 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage2dWithScale.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage2dWithScale.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraImage2dWithScale, StepVisual_CameraImage) -StepVisual_CameraImage2dWithScale::StepVisual_CameraImage2dWithScale() {} +StepVisual_CameraImage2dWithScale::StepVisual_CameraImage2dWithScale() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage3dWithScale.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage3dWithScale.cxx index ddfe79160f..8d1dbf5310 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage3dWithScale.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraImage3dWithScale.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraImage3dWithScale, StepVisual_CameraImage) -StepVisual_CameraImage3dWithScale::StepVisual_CameraImage3dWithScale() {} +StepVisual_CameraImage3dWithScale::StepVisual_CameraImage3dWithScale() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModel.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModel.cxx index b6f6fd5647..26b57107de 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModel.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModel.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraModel, StepGeom_GeometricRepresentationItem) -StepVisual_CameraModel::StepVisual_CameraModel() {} +StepVisual_CameraModel::StepVisual_CameraModel() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD2.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD2.cxx index e23b3cb561..9832bb772c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD2.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD2.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraModelD2, StepVisual_CameraModel) -StepVisual_CameraModelD2::StepVisual_CameraModelD2() {} +StepVisual_CameraModelD2::StepVisual_CameraModelD2() = default; void StepVisual_CameraModelD2::Init(const occ::handle& aName, const occ::handle& aViewWindow, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3.cxx index e511c01b32..73750fb7ac 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraModelD3, StepVisual_CameraModel) -StepVisual_CameraModelD3::StepVisual_CameraModelD3() {} +StepVisual_CameraModelD3::StepVisual_CameraModelD3() = default; void StepVisual_CameraModelD3::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClipping.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClipping.cxx index dd9c92a462..08e1d5e01d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClipping.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClipping.cxx @@ -22,7 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraModelD3MultiClipping, StepVisual_Cam //================================================================================================= -StepVisual_CameraModelD3MultiClipping::StepVisual_CameraModelD3MultiClipping() {} +StepVisual_CameraModelD3MultiClipping::StepVisual_CameraModelD3MultiClipping() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.cxx index 5509d618d4..40fd17ada3 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.cxx @@ -21,9 +21,7 @@ //================================================================================================= StepVisual_CameraModelD3MultiClippingInterectionSelect:: - StepVisual_CameraModelD3MultiClippingInterectionSelect() -{ -} + StepVisual_CameraModelD3MultiClippingInterectionSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.hxx index e9c50b9835..973724fc12 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingInterectionSelect.hxx @@ -38,7 +38,7 @@ public: //! 1 -> Plane //! 2 -> CameraModelD3MultiClippingUnion //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Plane (Null if another type) Standard_EXPORT occ::handle Plane() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingIntersection.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingIntersection.cxx index 5ae25a0459..e87c273663 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingIntersection.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingIntersection.cxx @@ -22,9 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraModelD3MultiClippingIntersection, //================================================================================================= StepVisual_CameraModelD3MultiClippingIntersection:: - StepVisual_CameraModelD3MultiClippingIntersection() -{ -} + StepVisual_CameraModelD3MultiClippingIntersection() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnion.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnion.cxx index cb7e8f5ebd..122834edeb 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnion.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnion.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraModelD3MultiClippingUnion, //================================================================================================= -StepVisual_CameraModelD3MultiClippingUnion::StepVisual_CameraModelD3MultiClippingUnion() {} +StepVisual_CameraModelD3MultiClippingUnion::StepVisual_CameraModelD3MultiClippingUnion() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.cxx index 072310fa62..655444da84 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.cxx @@ -20,9 +20,8 @@ //================================================================================================= -StepVisual_CameraModelD3MultiClippingUnionSelect::StepVisual_CameraModelD3MultiClippingUnionSelect() -{ -} +StepVisual_CameraModelD3MultiClippingUnionSelect:: + StepVisual_CameraModelD3MultiClippingUnionSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.hxx index 73cacc83aa..cdb44d6138 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraModelD3MultiClippingUnionSelect.hxx @@ -38,7 +38,7 @@ public: //! 1 -> Plane //! 2 -> CameraModelD3MultiClippingIntersection //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Plane (Null if another type) Standard_EXPORT occ::handle Plane() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraUsage.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraUsage.cxx index 111cf97160..09b1937418 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CameraUsage.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CameraUsage, StepRepr_RepresentationMap) -StepVisual_CameraUsage::StepVisual_CameraUsage() {} +StepVisual_CameraUsage::StepVisual_CameraUsage() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx index 867be2079a..e16e339632 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel.cxx @@ -21,6 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CharacterizedObjAndRepresentationAndDraugh //================================================================================================= StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel:: - StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel() -{ -} + StepVisual_CharacterizedObjAndRepresentationAndDraughtingModel() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Colour.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Colour.cxx index 3a4e338b63..27190e676c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Colour.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Colour.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_Colour, Standard_Transient) -StepVisual_Colour::StepVisual_Colour() {} +StepVisual_Colour::StepVisual_Colour() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourRgb.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourRgb.cxx index a3d939ea84..ff8c7e76cf 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourRgb.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourRgb.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ColourRgb, StepVisual_ColourSpecification) -StepVisual_ColourRgb::StepVisual_ColourRgb() {} +StepVisual_ColourRgb::StepVisual_ColourRgb() = default; void StepVisual_ColourRgb::Init(const occ::handle& aName, const double aRed, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourSpecification.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourSpecification.cxx index a60b5b8521..394ae53f9a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourSpecification.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ColourSpecification.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ColourSpecification, StepVisual_Colour) -StepVisual_ColourSpecification::StepVisual_ColourSpecification() {} +StepVisual_ColourSpecification::StepVisual_ColourSpecification() = default; void StepVisual_ColourSpecification::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedFace.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedFace.cxx index 2c11634c06..a0dcfec186 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedFace.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedFace.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ComplexTriangulatedFace, StepVisual_Tessel //================================================================================================= -StepVisual_ComplexTriangulatedFace::StepVisual_ComplexTriangulatedFace() {} +StepVisual_ComplexTriangulatedFace::StepVisual_ComplexTriangulatedFace() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.cxx index 35cab7a911..fef16ac5ff 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.cxx @@ -21,7 +21,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ComplexTriangulatedSurfaceSet, //================================================================================================= -StepVisual_ComplexTriangulatedSurfaceSet::StepVisual_ComplexTriangulatedSurfaceSet() {} +StepVisual_ComplexTriangulatedSurfaceSet::StepVisual_ComplexTriangulatedSurfaceSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeText.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeText.cxx index 070d672700..c1c79f39bd 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeText.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeText.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CompositeText, StepGeom_GeometricRepresentationItem) -StepVisual_CompositeText::StepVisual_CompositeText() {} +StepVisual_CompositeText::StepVisual_CompositeText() = default; void StepVisual_CompositeText::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeTextWithExtent.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeTextWithExtent.cxx index b040f2a417..17eeab1c28 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeTextWithExtent.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CompositeTextWithExtent.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CompositeTextWithExtent, StepVisual_CompositeText) -StepVisual_CompositeTextWithExtent::StepVisual_CompositeTextWithExtent() {} +StepVisual_CompositeTextWithExtent::StepVisual_CompositeTextWithExtent() = default; void StepVisual_CompositeTextWithExtent::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentInvisibility.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentInvisibility.cxx index 222900a1ba..3cbfbb47c2 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentInvisibility.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentInvisibility.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ContextDependentInvisibility, StepVisual_Invisibility) -StepVisual_ContextDependentInvisibility::StepVisual_ContextDependentInvisibility() {} +StepVisual_ContextDependentInvisibility::StepVisual_ContextDependentInvisibility() = default; void StepVisual_ContextDependentInvisibility::Init( const occ::handle>& aInvisibleItems, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cxx index 0562f171b1..4e0edd990e 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cxx @@ -19,9 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ContextDependentOverRidingStyledItem, StepVisual_OverRidingStyledItem) -StepVisual_ContextDependentOverRidingStyledItem::StepVisual_ContextDependentOverRidingStyledItem() -{ -} +StepVisual_ContextDependentOverRidingStyledItem::StepVisual_ContextDependentOverRidingStyledItem() = + default; void StepVisual_ContextDependentOverRidingStyledItem::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CoordinatesList.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CoordinatesList.cxx index 4bfcd7d13e..33440bc168 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CoordinatesList.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CoordinatesList.cxx @@ -15,7 +15,7 @@ #include IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CoordinatesList, StepVisual_TessellatedItem) -StepVisual_CoordinatesList::StepVisual_CoordinatesList() {} +StepVisual_CoordinatesList::StepVisual_CoordinatesList() = default; void StepVisual_CoordinatesList::Init(const occ::handle& theName, const occ::handle>& thePoints) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTessellatedEdge.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTessellatedEdge.cxx index 86d90a5c8d..b15296b3e9 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTessellatedEdge.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTessellatedEdge.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CubicBezierTessellatedEdge, StepVisual_Tes //================================================================================================= -StepVisual_CubicBezierTessellatedEdge::StepVisual_CubicBezierTessellatedEdge() {} +StepVisual_CubicBezierTessellatedEdge::StepVisual_CubicBezierTessellatedEdge() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTriangulatedFace.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTriangulatedFace.cxx index c3be196632..d7f46f6d60 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTriangulatedFace.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CubicBezierTriangulatedFace.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CubicBezierTriangulatedFace, StepVisual_Te //================================================================================================= -StepVisual_CubicBezierTriangulatedFace::StepVisual_CubicBezierTriangulatedFace() {} +StepVisual_CubicBezierTriangulatedFace::StepVisual_CubicBezierTriangulatedFace() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyle.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyle.cxx index a6f398db6b..16547a78ce 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyle.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyle.cxx @@ -18,7 +18,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CurveStyle, Standard_Transient) -StepVisual_CurveStyle::StepVisual_CurveStyle() {} +StepVisual_CurveStyle::StepVisual_CurveStyle() = default; void StepVisual_CurveStyle::Init(const occ::handle& aName, const StepVisual_CurveStyleFontSelect& aCurveFont, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFont.cxx index 304e535ab6..2921d24142 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFont.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CurveStyleFont, Standard_Transient) -StepVisual_CurveStyleFont::StepVisual_CurveStyleFont() {} +StepVisual_CurveStyleFont::StepVisual_CurveStyleFont() = default; void StepVisual_CurveStyleFont::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontPattern.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontPattern.cxx index d555149201..a994636d20 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontPattern.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontPattern.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_CurveStyleFontPattern, Standard_Transient) -StepVisual_CurveStyleFontPattern::StepVisual_CurveStyleFontPattern() {} +StepVisual_CurveStyleFontPattern::StepVisual_CurveStyleFontPattern() = default; void StepVisual_CurveStyleFontPattern::Init(const double aVisibleSegmentLength, const double aInvisibleSegmentLength) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.cxx index 542c14129e..0e4b705c4f 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.cxx @@ -18,7 +18,7 @@ #include #include -StepVisual_CurveStyleFontSelect::StepVisual_CurveStyleFontSelect() {} +StepVisual_CurveStyleFontSelect::StepVisual_CurveStyleFontSelect() = default; int StepVisual_CurveStyleFontSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.hxx index 010c64c2e5..d8eb2812be 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_CurveStyleFontSelect.hxx @@ -41,7 +41,7 @@ public: //! 2 -> PreDefinedCurveFont //! 3 -> ExternallyDefinedCurveFont //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a CurveStyleFont (Null if another type) Standard_EXPORT occ::handle CurveStyleFont() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cxx index be71917ead..e696b3c72c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_DraughtingAnnotationOccurrence, StepVisual_AnnotationOccurrence) -StepVisual_DraughtingAnnotationOccurrence::StepVisual_DraughtingAnnotationOccurrence() {} +StepVisual_DraughtingAnnotationOccurrence::StepVisual_DraughtingAnnotationOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCallout.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCallout.cxx index 0fb63bc020..394e76f4ef 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCallout.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCallout.cxx @@ -19,7 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_DraughtingCallout, StepGeom_GeometricRepre //================================================================================================= -StepVisual_DraughtingCallout::StepVisual_DraughtingCallout() {} +StepVisual_DraughtingCallout::StepVisual_DraughtingCallout() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.cxx index 31955a0464..425432eba7 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepVisual_DraughtingCalloutElement::StepVisual_DraughtingCalloutElement() {} +StepVisual_DraughtingCalloutElement::StepVisual_DraughtingCalloutElement() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.hxx index eaaf30ff5d..bf45d961f5 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingCalloutElement.hxx @@ -42,7 +42,7 @@ public: //! 3 -> TessellatedAnnotationOccurrence //! 4 -> AnnotationFillAreaOccurrence //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AnnotationCurveOccurrence (Null if another type) Standard_EXPORT occ::handle AnnotationCurveOccurrence() diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingModel.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingModel.cxx index 000f30a7e5..e5b5a44066 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingModel.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingModel.cxx @@ -22,4 +22,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_DraughtingModel, StepRepr_Representation) //================================================================================================= -StepVisual_DraughtingModel::StepVisual_DraughtingModel() {} +StepVisual_DraughtingModel::StepVisual_DraughtingModel() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedColour.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedColour.cxx index 13c126f213..f46fbad552 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedColour.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedColour.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_DraughtingPreDefinedColour, StepVisual_PreDefinedColour) -StepVisual_DraughtingPreDefinedColour::StepVisual_DraughtingPreDefinedColour() {} +StepVisual_DraughtingPreDefinedColour::StepVisual_DraughtingPreDefinedColour() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cxx index 6ed0305d2b..ef8d3fba41 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_DraughtingPreDefinedCurveFont, StepVisual_PreDefinedCurveFont) -StepVisual_DraughtingPreDefinedCurveFont::StepVisual_DraughtingPreDefinedCurveFont() {} +StepVisual_DraughtingPreDefinedCurveFont::StepVisual_DraughtingPreDefinedCurveFont() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_EdgeOrCurve.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_EdgeOrCurve.cxx index c6a7fef7ca..a17684465d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_EdgeOrCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_EdgeOrCurve.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepVisual_EdgeOrCurve::StepVisual_EdgeOrCurve() {} +StepVisual_EdgeOrCurve::StepVisual_EdgeOrCurve() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedCurveFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedCurveFont.cxx index 357e8272b9..04a074f6a0 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedCurveFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedCurveFont.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ExternallyDefinedCurveFont, StepBasic_Exte //================================================================================================= -StepVisual_ExternallyDefinedCurveFont::StepVisual_ExternallyDefinedCurveFont() {} +StepVisual_ExternallyDefinedCurveFont::StepVisual_ExternallyDefinedCurveFont() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedTextFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedTextFont.cxx index ac368ed33c..d0af2ff413 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedTextFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ExternallyDefinedTextFont.cxx @@ -21,4 +21,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ExternallyDefinedTextFont, StepBasic_Exter //================================================================================================= -StepVisual_ExternallyDefinedTextFont::StepVisual_ExternallyDefinedTextFont() {} +StepVisual_ExternallyDefinedTextFont::StepVisual_ExternallyDefinedTextFont() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FaceOrSurface.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FaceOrSurface.cxx index 8480132c1c..e508b9c87a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FaceOrSurface.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FaceOrSurface.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepVisual_FaceOrSurface::StepVisual_FaceOrSurface() {} +StepVisual_FaceOrSurface::StepVisual_FaceOrSurface() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyle.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyle.cxx index bde1710c40..30640b7101 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyle.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyle.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_FillAreaStyle, Standard_Transient) -StepVisual_FillAreaStyle::StepVisual_FillAreaStyle() {} +StepVisual_FillAreaStyle::StepVisual_FillAreaStyle() = default; void StepVisual_FillAreaStyle::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyleColour.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyleColour.cxx index a5b004964a..3bca627ffb 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyleColour.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillAreaStyleColour.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_FillAreaStyleColour, Standard_Transient) -StepVisual_FillAreaStyleColour::StepVisual_FillAreaStyleColour() {} +StepVisual_FillAreaStyleColour::StepVisual_FillAreaStyleColour() = default; void StepVisual_FillAreaStyleColour::Init(const occ::handle& aName, const occ::handle& aFillColour) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.cxx index aa20944964..34accc3f75 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.cxx @@ -16,7 +16,7 @@ #include #include -StepVisual_FillStyleSelect::StepVisual_FillStyleSelect() {} +StepVisual_FillStyleSelect::StepVisual_FillStyleSelect() = default; int StepVisual_FillStyleSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.hxx index e68575ed19..35534019e5 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FillStyleSelect.hxx @@ -41,7 +41,7 @@ public: //! 4 -> ExternallyDefinedHatchStyle //! 5 -> FillAreaStyleHatching //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a FillAreaStyleColour (Null if another type) Standard_EXPORT occ::handle FillAreaStyleColour() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.cxx index 6c5a987410..2501faac9a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.cxx @@ -17,7 +17,7 @@ #include #include -StepVisual_FontSelect::StepVisual_FontSelect() {} +StepVisual_FontSelect::StepVisual_FontSelect() = default; int StepVisual_FontSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.hxx index d7e3c10670..a59b9e4ad9 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_FontSelect.hxx @@ -39,7 +39,7 @@ public: //! 1 -> PreDefinedTextFont //! 2 -> ExternallyDefinedTextFont //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PreDefinedTextFont (Null if another type) Standard_EXPORT occ::handle PreDefinedTextFont() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Invisibility.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Invisibility.cxx index 98d4a4e4d6..736214a5ac 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Invisibility.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Invisibility.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_Invisibility, Standard_Transient) -StepVisual_Invisibility::StepVisual_Invisibility() {} +StepVisual_Invisibility::StepVisual_Invisibility() = default; void StepVisual_Invisibility::Init( const occ::handle>& aInvisibleItems) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.cxx index 5f411ebc41..8ca6b6325b 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.cxx @@ -18,7 +18,7 @@ #include #include -StepVisual_InvisibilityContext::StepVisual_InvisibilityContext() {} +StepVisual_InvisibilityContext::StepVisual_InvisibilityContext() = default; int StepVisual_InvisibilityContext::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.hxx index 76835442d6..a608dd336b 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibilityContext.hxx @@ -41,7 +41,7 @@ public: //! 2 -> PresentationSet //! 2 -> DraughtingModel //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PresentationRepresentation (Null if another type) Standard_EXPORT occ::handle PresentationRepresentation() diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.cxx index 1e7a39ec80..499f699559 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.cxx @@ -18,7 +18,7 @@ #include #include -StepVisual_InvisibleItem::StepVisual_InvisibleItem() {} +StepVisual_InvisibleItem::StepVisual_InvisibleItem() = default; int StepVisual_InvisibleItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.hxx index 382ae2c198..534c04f978 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_InvisibleItem.hxx @@ -41,7 +41,7 @@ public: //! 2 -> PresentationLayerAssignment //! 3 -> PresentationRepresentation //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a StyledItem (Null if another type) Standard_EXPORT occ::handle StyledItem() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.cxx index d9e6758dc0..9d49b24889 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.cxx @@ -16,7 +16,7 @@ #include #include -StepVisual_LayeredItem::StepVisual_LayeredItem() {} +StepVisual_LayeredItem::StepVisual_LayeredItem() = default; int StepVisual_LayeredItem::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.hxx index df50ea81ce..0f85970e75 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_LayeredItem.hxx @@ -39,7 +39,7 @@ public: //! 1 -> PresentationRepresentation //! 2 -> RepresentationItem //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PresentationRepresentation (Null if another type) Standard_EXPORT occ::handle PresentationRepresentation() diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.cxx index eb3269143b..dc4a59fffc 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.cxx @@ -25,7 +25,7 @@ static StepData_EnumTool tool(".DOT.", ".SQUARE.", ".TRIANGLE."); -StepVisual_MarkerMember::StepVisual_MarkerMember() {} +StepVisual_MarkerMember::StepVisual_MarkerMember() = default; bool StepVisual_MarkerMember::HasName() const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.hxx index de9db4738d..62c8b178dd 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerMember.hxx @@ -32,15 +32,15 @@ class StepVisual_MarkerMember : public StepData_SelectInt public: Standard_EXPORT StepVisual_MarkerMember(); - Standard_EXPORT virtual bool HasName() const override; + Standard_EXPORT bool HasName() const override; - Standard_EXPORT virtual const char* Name() const override; + Standard_EXPORT const char* Name() const override; - Standard_EXPORT virtual bool SetName(const char* name) override; + Standard_EXPORT bool SetName(const char* name) override; - Standard_EXPORT virtual const char* EnumText() const override; + Standard_EXPORT const char* EnumText() const override; - Standard_EXPORT virtual void SetEnumText(const int val, const char* text) override; + Standard_EXPORT void SetEnumText(const int val, const char* text) override; Standard_EXPORT void SetValue(const StepVisual_MarkerType val); diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.cxx index 5807a07e10..d0aa1fe267 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.cxx @@ -17,7 +17,7 @@ #include #include -StepVisual_MarkerSelect::StepVisual_MarkerSelect() {} +StepVisual_MarkerSelect::StepVisual_MarkerSelect() = default; int StepVisual_MarkerSelect::CaseNum(const occ::handle& /*ent*/) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.hxx index add3817f93..34c40fb536 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MarkerSelect.hxx @@ -40,10 +40,10 @@ public: Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! Returns a new MarkerMember - Standard_EXPORT virtual occ::handle NewMember() const override; + Standard_EXPORT occ::handle NewMember() const override; //! Returns 1 for a SelectMember enum, named MARKER_TYPE - Standard_EXPORT virtual int CaseMem(const occ::handle& sm) const override; + Standard_EXPORT int CaseMem(const occ::handle& sm) const override; //! Gives access to the MarkerMember in order to get/set its value Standard_EXPORT occ::handle MarkerMember() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cxx index d4d2ddcdd7..4cea046457 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cxx @@ -18,6 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_MechanicalDesignGeometricPresentationArea, StepVisual_PresentationArea) StepVisual_MechanicalDesignGeometricPresentationArea:: - StepVisual_MechanicalDesignGeometricPresentationArea() -{ -} + StepVisual_MechanicalDesignGeometricPresentationArea() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationRepresentation.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationRepresentation.cxx index 92753a0d75..46c54c550e 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_MechanicalDesignGeometricPresentationRepresentation.cxx @@ -18,6 +18,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_MechanicalDesignGeometricPresentationRepre StepVisual_PresentationRepresentation) StepVisual_MechanicalDesignGeometricPresentationRepresentation:: - StepVisual_MechanicalDesignGeometricPresentationRepresentation() -{ -} + StepVisual_MechanicalDesignGeometricPresentationRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.cxx index e2e4af59cd..ddf2df785d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.cxx @@ -23,7 +23,7 @@ static StepData_EnumTool tool(".NULL."); //================================================================================================= -StepVisual_NullStyleMember::StepVisual_NullStyleMember() {} +StepVisual_NullStyleMember::StepVisual_NullStyleMember() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.hxx index 2972192f29..63e579e013 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_NullStyleMember.hxx @@ -33,17 +33,17 @@ class StepVisual_NullStyleMember : public StepData_SelectInt public: Standard_EXPORT StepVisual_NullStyleMember(); - virtual bool HasName() const override { return true; } + bool HasName() const override { return true; } - virtual const char* Name() const override { return "NULL_STYLE"; } + const char* Name() const override { return "NULL_STYLE"; } - virtual bool SetName(const char* /*theName*/) override { return true; } + bool SetName(const char* /*theName*/) override { return true; } int Kind() const override { return 4; } - Standard_EXPORT virtual const char* EnumText() const override; + Standard_EXPORT const char* EnumText() const override; - Standard_EXPORT virtual void SetEnumText(const int theValue, const char* theText) override; + Standard_EXPORT void SetEnumText(const int theValue, const char* theText) override; Standard_EXPORT void SetValue(const StepVisual_NullStyle theValue); diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_OverRidingStyledItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_OverRidingStyledItem.cxx index 4168106962..6b6efaf61e 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_OverRidingStyledItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_OverRidingStyledItem.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_OverRidingStyledItem, StepVisual_StyledItem) -StepVisual_OverRidingStyledItem::StepVisual_OverRidingStyledItem() {} +StepVisual_OverRidingStyledItem::StepVisual_OverRidingStyledItem() = default; void StepVisual_OverRidingStyledItem::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PathOrCompositeCurve.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PathOrCompositeCurve.cxx index 94054fb76c..8977322a3c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PathOrCompositeCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PathOrCompositeCurve.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepVisual_PathOrCompositeCurve::StepVisual_PathOrCompositeCurve() {} +StepVisual_PathOrCompositeCurve::StepVisual_PathOrCompositeCurve() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarBox.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarBox.cxx index 3f296d250b..cf8a9fac20 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarBox.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarBox.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PlanarBox, StepVisual_PlanarExtent) -StepVisual_PlanarBox::StepVisual_PlanarBox() {} +StepVisual_PlanarBox::StepVisual_PlanarBox() = default; void StepVisual_PlanarBox::Init(const occ::handle& aName, const double aSizeInX, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarExtent.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarExtent.cxx index 739119fcc1..a0c73b4c8a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarExtent.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PlanarExtent.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PlanarExtent, StepGeom_GeometricRepresentationItem) -StepVisual_PlanarExtent::StepVisual_PlanarExtent() {} +StepVisual_PlanarExtent::StepVisual_PlanarExtent() = default; void StepVisual_PlanarExtent::Init(const occ::handle& aName, const double aSizeInX, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PointStyle.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PointStyle.cxx index c4def0098e..b7f5facf0d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PointStyle.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PointStyle.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PointStyle, Standard_Transient) -StepVisual_PointStyle::StepVisual_PointStyle() {} +StepVisual_PointStyle::StepVisual_PointStyle() = default; void StepVisual_PointStyle::Init(const occ::handle& aName, const StepVisual_MarkerSelect& aMarker, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedCurveFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedCurveFont.cxx index c16090db7d..89ed72bdc2 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedCurveFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedCurveFont.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PreDefinedCurveFont, StepVisual_PreDefinedItem) -StepVisual_PreDefinedCurveFont::StepVisual_PreDefinedCurveFont() {} +StepVisual_PreDefinedCurveFont::StepVisual_PreDefinedCurveFont() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedItem.cxx index 51dd91592c..db83252a7b 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedItem.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PreDefinedItem, Standard_Transient) -StepVisual_PreDefinedItem::StepVisual_PreDefinedItem() {} +StepVisual_PreDefinedItem::StepVisual_PreDefinedItem() = default; void StepVisual_PreDefinedItem::Init(const occ::handle& aName) { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedTextFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedTextFont.cxx index 05f15f3fd8..2b49959fe9 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedTextFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PreDefinedTextFont.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PreDefinedTextFont, StepVisual_PreDefinedItem) -StepVisual_PreDefinedTextFont::StepVisual_PreDefinedTextFont() {} +StepVisual_PreDefinedTextFont::StepVisual_PreDefinedTextFont() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationArea.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationArea.cxx index 035fcf1964..0591af6334 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationArea.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationArea.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationArea, StepVisual_PresentationRepresentation) -StepVisual_PresentationArea::StepVisual_PresentationArea() {} +StepVisual_PresentationArea::StepVisual_PresentationArea() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerAssignment.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerAssignment.cxx index 39590b35c5..e22dc26d4c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerAssignment.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationLayerAssignment, Standard_Transient) -StepVisual_PresentationLayerAssignment::StepVisual_PresentationLayerAssignment() {} +StepVisual_PresentationLayerAssignment::StepVisual_PresentationLayerAssignment() = default; void StepVisual_PresentationLayerAssignment::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerUsage.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerUsage.cxx index 01dd707fe5..9609c04e75 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationLayerUsage.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationLayerUsage, Standard_Transient) -StepVisual_PresentationLayerUsage::StepVisual_PresentationLayerUsage() {} +StepVisual_PresentationLayerUsage::StepVisual_PresentationLayerUsage() = default; void StepVisual_PresentationLayerUsage::Init( const occ::handle& aAssignment, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentation.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentation.cxx index 0130988731..b9ed5dec6d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentation.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationRepresentation, StepRepr_Representation) -StepVisual_PresentationRepresentation::StepVisual_PresentationRepresentation() {} +StepVisual_PresentationRepresentation::StepVisual_PresentationRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.cxx index 3f2c61e1d9..1e6f427d95 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.cxx @@ -17,7 +17,8 @@ #include #include -StepVisual_PresentationRepresentationSelect::StepVisual_PresentationRepresentationSelect() {} +StepVisual_PresentationRepresentationSelect::StepVisual_PresentationRepresentationSelect() = + default; int StepVisual_PresentationRepresentationSelect::CaseNum( const occ::handle& ent) const diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.hxx index 1b6e63a785..113c9b81c0 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationRepresentationSelect.hxx @@ -39,7 +39,7 @@ public: //! 1 -> PresentationRepresentation //! 2 -> PresentationSet //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PresentationRepresentation (Null if another type) Standard_EXPORT occ::handle PresentationRepresentation() diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSet.cxx index 1e5e4f3331..fae316cdad 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSet.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationSet, Standard_Transient) -StepVisual_PresentationSet::StepVisual_PresentationSet() {} +StepVisual_PresentationSet::StepVisual_PresentationSet() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSize.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSize.cxx index 307e4f5455..5cb6bd966f 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSize.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSize.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationSize, Standard_Transient) -StepVisual_PresentationSize::StepVisual_PresentationSize() {} +StepVisual_PresentationSize::StepVisual_PresentationSize() = default; void StepVisual_PresentationSize::Init(const StepVisual_PresentationSizeAssignmentSelect& aUnit, const occ::handle& aSize) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.cxx index 53ce6ccdf4..a8935ce3ec 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.cxx @@ -18,7 +18,8 @@ #include #include -StepVisual_PresentationSizeAssignmentSelect::StepVisual_PresentationSizeAssignmentSelect() {} +StepVisual_PresentationSizeAssignmentSelect::StepVisual_PresentationSizeAssignmentSelect() = + default; int StepVisual_PresentationSizeAssignmentSelect::CaseNum( const occ::handle& ent) const diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.hxx index 3d595aa42b..40f8d11625 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationSizeAssignmentSelect.hxx @@ -41,7 +41,7 @@ public: //! 2 -> PresentationArea //! 3 -> AreaInSet //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PresentationView (Null if another type) Standard_EXPORT occ::handle PresentationView() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleAssignment.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleAssignment.cxx index fc2f1cba24..52cbb94496 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleAssignment.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleAssignment.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationStyleAssignment, Standard_Transient) -StepVisual_PresentationStyleAssignment::StepVisual_PresentationStyleAssignment() {} +StepVisual_PresentationStyleAssignment::StepVisual_PresentationStyleAssignment() = default; void StepVisual_PresentationStyleAssignment::Init( const occ::handle>& aStyles) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleByContext.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleByContext.cxx index 8fa878beb8..0e4de49539 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleByContext.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleByContext.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationStyleByContext, StepVisual_PresentationStyleAssignment) -StepVisual_PresentationStyleByContext::StepVisual_PresentationStyleByContext() {} +StepVisual_PresentationStyleByContext::StepVisual_PresentationStyleByContext() = default; void StepVisual_PresentationStyleByContext::Init( const occ::handle>& aStyles, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.cxx index 93967a08ec..6ba834b213 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.cxx @@ -20,7 +20,7 @@ #include #include -StepVisual_PresentationStyleSelect::StepVisual_PresentationStyleSelect() {} +StepVisual_PresentationStyleSelect::StepVisual_PresentationStyleSelect() = default; int StepVisual_PresentationStyleSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.hxx index d27a153d76..538f749eef 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationStyleSelect.hxx @@ -46,7 +46,7 @@ public: //! 6 -> TextStyle //! 7 -> NullStyle //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a PointStyle (Null if another type) Standard_EXPORT occ::handle PointStyle() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationView.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationView.cxx index da7ed1cb8d..ba8146b163 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationView.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentationView.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentationView, StepVisual_PresentationRepresentation) -StepVisual_PresentationView::StepVisual_PresentationView() {} +StepVisual_PresentationView::StepVisual_PresentationView() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentedItemRepresentation.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentedItemRepresentation.cxx index 87885d845c..a5ad6287bf 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentedItemRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_PresentedItemRepresentation.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_PresentedItemRepresentation, Standard_Transient) -StepVisual_PresentedItemRepresentation::StepVisual_PresentedItemRepresentation() {} +StepVisual_PresentedItemRepresentation::StepVisual_PresentedItemRepresentation() = default; void StepVisual_PresentedItemRepresentation::Init( const StepVisual_PresentationRepresentationSelect& aPresentation, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RenderingPropertiesSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RenderingPropertiesSelect.cxx index 2874f88f61..aa4b360abd 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RenderingPropertiesSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RenderingPropertiesSelect.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepVisual_RenderingPropertiesSelect::StepVisual_RenderingPropertiesSelect() {} +StepVisual_RenderingPropertiesSelect::StepVisual_RenderingPropertiesSelect() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedGeometricSet.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedGeometricSet.hxx index 4e292b24cb..882975d826 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedGeometricSet.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedGeometricSet.hxx @@ -28,7 +28,7 @@ public: StepVisual_TessellatedGeometricSet) //! Default constructor - StepVisual_RepositionedTessellatedGeometricSet() {}; + StepVisual_RepositionedTessellatedGeometricSet() = default; //! Initialize all fields (own and inherited) Standard_EXPORT void Init( diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedItem.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedItem.hxx index ddc062e314..b93a366506 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedItem.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_RepositionedTessellatedItem.hxx @@ -27,7 +27,7 @@ public: DEFINE_STANDARD_ALLOC //! Default constructor - StepVisual_RepositionedTessellatedItem() {}; + StepVisual_RepositionedTessellatedItem() = default; //! Initialize all fields (own and inherited) Standard_EXPORT void Init(const occ::handle& theName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.cxx index 9f77a13ebe..f0511948f7 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.cxx @@ -18,7 +18,7 @@ #include #include -StepVisual_StyleContextSelect::StepVisual_StyleContextSelect() {} +StepVisual_StyleContextSelect::StepVisual_StyleContextSelect() = default; int StepVisual_StyleContextSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.hxx index 97d32f8fd3..92a30d7b12 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyleContextSelect.hxx @@ -41,7 +41,7 @@ public: //! 2 -> RepresentationItem //! 3 -> PresentationSet //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a Representation (Null if another type) Standard_EXPORT occ::handle Representation() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItem.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItem.hxx index ab113580f0..27b9ff6663 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItem.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItem.hxx @@ -33,7 +33,7 @@ class StepVisual_StyledItem : public StepRepr_RepresentationItem public: //! Returns a StyledItem - StepVisual_StyledItem() {} + StepVisual_StyledItem() = default; Standard_EXPORT void Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.cxx index c23dec8944..d63b04873d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.cxx @@ -22,7 +22,7 @@ //================================================================================================= -StepVisual_StyledItemTarget::StepVisual_StyledItemTarget() {} +StepVisual_StyledItemTarget::StepVisual_StyledItemTarget() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.hxx index d9b65fe37a..1825db98f0 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_StyledItemTarget.hxx @@ -43,7 +43,7 @@ public: //! 3 -> Representation //! 4 -> TopologicalRepresentationItem //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a GeometricRepresentationItem (Null if another type) Standard_EXPORT occ::handle GeometricRepresentationItem() diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceSideStyle.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceSideStyle.cxx index 72beee33d0..24ac7cf80c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceSideStyle.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceSideStyle.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceSideStyle, Standard_Transient) -StepVisual_SurfaceSideStyle::StepVisual_SurfaceSideStyle() {} +StepVisual_SurfaceSideStyle::StepVisual_SurfaceSideStyle() = default; void StepVisual_SurfaceSideStyle::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleBoundary.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleBoundary.cxx index 62a0af2498..0129a9d9cf 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleBoundary.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleBoundary.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleBoundary, Standard_Transient) -StepVisual_SurfaceStyleBoundary::StepVisual_SurfaceStyleBoundary() {} +StepVisual_SurfaceStyleBoundary::StepVisual_SurfaceStyleBoundary() = default; void StepVisual_SurfaceStyleBoundary::Init( const occ::handle& aStyleOfBoundary) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleControlGrid.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleControlGrid.cxx index e915a4d6a6..831520c37b 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleControlGrid.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleControlGrid.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleControlGrid, Standard_Transient) -StepVisual_SurfaceStyleControlGrid::StepVisual_SurfaceStyleControlGrid() {} +StepVisual_SurfaceStyleControlGrid::StepVisual_SurfaceStyleControlGrid() = default; void StepVisual_SurfaceStyleControlGrid::Init( const occ::handle& aStyleOfControlGrid) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.cxx index d22e7ed8ba..5faf587fcc 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.cxx @@ -20,7 +20,7 @@ #include #include -StepVisual_SurfaceStyleElementSelect::StepVisual_SurfaceStyleElementSelect() {} +StepVisual_SurfaceStyleElementSelect::StepVisual_SurfaceStyleElementSelect() = default; int StepVisual_SurfaceStyleElementSelect::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.hxx index fe5feaa01b..a06751b85c 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleElementSelect.hxx @@ -46,7 +46,7 @@ public: //! 6 -> SurfaceStyleControlGrid //! 7 -> SurfaceStyleRendering //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a SurfaceStyleFillArea (Null if another type) Standard_EXPORT occ::handle SurfaceStyleFillArea() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleFillArea.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleFillArea.cxx index 1ad60bc67f..26f609737b 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleFillArea.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleFillArea.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleFillArea, Standard_Transient) -StepVisual_SurfaceStyleFillArea::StepVisual_SurfaceStyleFillArea() {} +StepVisual_SurfaceStyleFillArea::StepVisual_SurfaceStyleFillArea() = default; void StepVisual_SurfaceStyleFillArea::Init(const occ::handle& aFillArea) { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleParameterLine.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleParameterLine.cxx index 4be7e7b136..f31ffbe2c6 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleParameterLine.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleParameterLine.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleParameterLine, Standard_Transient) -StepVisual_SurfaceStyleParameterLine::StepVisual_SurfaceStyleParameterLine() {} +StepVisual_SurfaceStyleParameterLine::StepVisual_SurfaceStyleParameterLine() = default; void StepVisual_SurfaceStyleParameterLine::Init( const occ::handle& aStyleOfParameterLines, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbient.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbient.cxx index ebd8198f3e..2fb90002a7 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbient.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbient.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleReflectanceAmbient, Standard_T //================================================================================================= -StepVisual_SurfaceStyleReflectanceAmbient::StepVisual_SurfaceStyleReflectanceAmbient() {} +StepVisual_SurfaceStyleReflectanceAmbient::StepVisual_SurfaceStyleReflectanceAmbient() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuse.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuse.cxx index c8644a6244..9323536b62 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuse.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuse.cxx @@ -18,9 +18,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleReflectanceAmbientDiffuse, //================================================================================================= -StepVisual_SurfaceStyleReflectanceAmbientDiffuse::StepVisual_SurfaceStyleReflectanceAmbientDiffuse() -{ -} +StepVisual_SurfaceStyleReflectanceAmbientDiffuse:: + StepVisual_SurfaceStyleReflectanceAmbientDiffuse() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular.cxx index c280dd072d..36daa37fa1 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular.cxx @@ -19,9 +19,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecu //================================================================================================= StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular:: - StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular() -{ -} + StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRendering.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRendering.cxx index bf4e30fb1c..5604b40ecf 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRendering.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRendering.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleRendering, Standard_Transient) //================================================================================================= -StepVisual_SurfaceStyleRendering::StepVisual_SurfaceStyleRendering() {} +StepVisual_SurfaceStyleRendering::StepVisual_SurfaceStyleRendering() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRenderingWithProperties.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRenderingWithProperties.cxx index f83adb3fa4..812d2e9389 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRenderingWithProperties.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleRenderingWithProperties.cxx @@ -21,7 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleRenderingWithProperties, //================================================================================================= -StepVisual_SurfaceStyleRenderingWithProperties::StepVisual_SurfaceStyleRenderingWithProperties() {} +StepVisual_SurfaceStyleRenderingWithProperties::StepVisual_SurfaceStyleRenderingWithProperties() = + default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSegmentationCurve.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSegmentationCurve.cxx index 2f1045d48b..e1451b0b48 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSegmentationCurve.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSegmentationCurve.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleSegmentationCurve, Standard_Transient) -StepVisual_SurfaceStyleSegmentationCurve::StepVisual_SurfaceStyleSegmentationCurve() {} +StepVisual_SurfaceStyleSegmentationCurve::StepVisual_SurfaceStyleSegmentationCurve() = default; void StepVisual_SurfaceStyleSegmentationCurve::Init( const occ::handle& aStyleOfSegmentationCurve) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSilhouette.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSilhouette.cxx index fc56e92192..78d84ae3ce 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSilhouette.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleSilhouette.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleSilhouette, Standard_Transient) -StepVisual_SurfaceStyleSilhouette::StepVisual_SurfaceStyleSilhouette() {} +StepVisual_SurfaceStyleSilhouette::StepVisual_SurfaceStyleSilhouette() = default; void StepVisual_SurfaceStyleSilhouette::Init( const occ::handle& aStyleOfSilhouette) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleTransparent.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleTransparent.cxx index df1fd389e5..7eb03f5f12 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleTransparent.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleTransparent.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleTransparent, Standard_Transien //================================================================================================= -StepVisual_SurfaceStyleTransparent::StepVisual_SurfaceStyleTransparent() {} +StepVisual_SurfaceStyleTransparent::StepVisual_SurfaceStyleTransparent() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleUsage.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleUsage.cxx index a2af293f7d..4b42639317 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleUsage.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleUsage.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_SurfaceStyleUsage, Standard_Transient) -StepVisual_SurfaceStyleUsage::StepVisual_SurfaceStyleUsage() {} +StepVisual_SurfaceStyleUsage::StepVisual_SurfaceStyleUsage() = default; void StepVisual_SurfaceStyleUsage::Init(const StepVisual_SurfaceSide aSide, const occ::handle& aStyle) diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Template.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Template.cxx index 036aab503c..7d72d65571 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Template.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_Template.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_Template, StepRepr_Representation) -StepVisual_Template::StepVisual_Template() {} +StepVisual_Template::StepVisual_Template() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TemplateInstance.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TemplateInstance.cxx index 3834f7d629..d2e42162eb 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TemplateInstance.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TemplateInstance.cxx @@ -16,4 +16,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TemplateInstance, StepRepr_MappedItem) -StepVisual_TemplateInstance::StepVisual_TemplateInstance() {} +StepVisual_TemplateInstance::StepVisual_TemplateInstance() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedAnnotationOccurrence.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedAnnotationOccurrence.cxx index afad6c8554..3f02a457d2 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedAnnotationOccurrence.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedAnnotationOccurrence.cxx @@ -17,4 +17,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedAnnotationOccurrence, StepVisual_StyledItem); -StepVisual_TessellatedAnnotationOccurrence::StepVisual_TessellatedAnnotationOccurrence() {} +StepVisual_TessellatedAnnotationOccurrence::StepVisual_TessellatedAnnotationOccurrence() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedConnectingEdge.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedConnectingEdge.cxx index 51b749499d..51f02af449 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedConnectingEdge.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedConnectingEdge.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedConnectingEdge, StepVisual_Tess //================================================================================================= -StepVisual_TessellatedConnectingEdge::StepVisual_TessellatedConnectingEdge() {} +StepVisual_TessellatedConnectingEdge::StepVisual_TessellatedConnectingEdge() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedCurveSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedCurveSet.cxx index 9abe1db110..7cd279df71 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedCurveSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedCurveSet.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem) -StepVisual_TessellatedCurveSet::StepVisual_TessellatedCurveSet() {} +StepVisual_TessellatedCurveSet::StepVisual_TessellatedCurveSet() = default; void StepVisual_TessellatedCurveSet::Init( const occ::handle& theName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedEdgeOrVertex.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedEdgeOrVertex.cxx index 62de1161b2..25eca65e8a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedEdgeOrVertex.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedEdgeOrVertex.cxx @@ -20,7 +20,7 @@ //================================================================================================= -StepVisual_TessellatedEdgeOrVertex::StepVisual_TessellatedEdgeOrVertex() {} +StepVisual_TessellatedEdgeOrVertex::StepVisual_TessellatedEdgeOrVertex() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedGeometricSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedGeometricSet.cxx index 389d108b22..3da0644373 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedGeometricSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedGeometricSet.cxx @@ -15,7 +15,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedGeometricSet, StepVisual_TessellatedItem) -StepVisual_TessellatedGeometricSet::StepVisual_TessellatedGeometricSet() {} +StepVisual_TessellatedGeometricSet::StepVisual_TessellatedGeometricSet() = default; void StepVisual_TessellatedGeometricSet::Init( const occ::handle& theName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedItem.cxx index a07d1812a5..f846d0fa49 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedItem.cxx @@ -15,4 +15,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedItem, StepGeom_GeometricRepresentationItem) -StepVisual_TessellatedItem::StepVisual_TessellatedItem() {} +StepVisual_TessellatedItem::StepVisual_TessellatedItem() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedPointSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedPointSet.cxx index 3fd88d85f4..f06769cb62 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedPointSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedPointSet.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedPointSet, StepVisual_Tessellate //================================================================================================= -StepVisual_TessellatedPointSet::StepVisual_TessellatedPointSet() {} +StepVisual_TessellatedPointSet::StepVisual_TessellatedPointSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentation.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentation.cxx index 3b30f226fe..8b310a5aa9 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentation.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentation.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedShapeRepresentation, StepShape_ //================================================================================================= -StepVisual_TessellatedShapeRepresentation::StepVisual_TessellatedShapeRepresentation() {} +StepVisual_TessellatedShapeRepresentation::StepVisual_TessellatedShapeRepresentation() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.cxx index 6e1e19da63..5267d5745a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.cxx @@ -22,9 +22,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedShapeRepresentationWithAccuracy //================================================================================================= StepVisual_TessellatedShapeRepresentationWithAccuracyParameters:: - StepVisual_TessellatedShapeRepresentationWithAccuracyParameters() -{ -} + StepVisual_TessellatedShapeRepresentationWithAccuracyParameters() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedStructuredItem.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedStructuredItem.cxx index 833989686b..93fffcc0ac 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedStructuredItem.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedStructuredItem.cxx @@ -20,4 +20,4 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedStructuredItem, StepVisual_Tess //================================================================================================= -StepVisual_TessellatedStructuredItem::StepVisual_TessellatedStructuredItem() {} +StepVisual_TessellatedStructuredItem::StepVisual_TessellatedStructuredItem() = default; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedSurfaceSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedSurfaceSet.cxx index 9a30d87a7f..901996373b 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedSurfaceSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TessellatedSurfaceSet.cxx @@ -20,7 +20,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TessellatedSurfaceSet, StepVisual_Tessella //================================================================================================= -StepVisual_TessellatedSurfaceSet::StepVisual_TessellatedSurfaceSet() {} +StepVisual_TessellatedSurfaceSet::StepVisual_TessellatedSurfaceSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextLiteral.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextLiteral.cxx index acd698247b..67d6a72c0d 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextLiteral.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextLiteral.cxx @@ -16,7 +16,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TextLiteral, StepGeom_GeometricRepresentationItem) -StepVisual_TextLiteral::StepVisual_TextLiteral() {} +StepVisual_TextLiteral::StepVisual_TextLiteral() = default; void StepVisual_TextLiteral::Init(const occ::handle& aName, const occ::handle& aLiteral, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.cxx index a72c2407a0..ce0aa6b97a 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.cxx @@ -18,7 +18,7 @@ #include #include -StepVisual_TextOrCharacter::StepVisual_TextOrCharacter() {} +StepVisual_TextOrCharacter::StepVisual_TextOrCharacter() = default; int StepVisual_TextOrCharacter::CaseNum(const occ::handle& ent) const { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.hxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.hxx index 034f095f44..d3b12da969 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.hxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextOrCharacter.hxx @@ -41,7 +41,7 @@ public: //! 2 -> CompositeText //! 3 -> TextLiteral //! 0 else - Standard_EXPORT int CaseNum(const occ::handle& ent) const; + Standard_EXPORT int CaseNum(const occ::handle& ent) const override; //! returns Value as a AnnotationText (Null if another type) Standard_EXPORT occ::handle AnnotationText() const; diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyle.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyle.cxx index da588973ad..410ed276cf 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyle.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyle.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TextStyle, Standard_Transient) -StepVisual_TextStyle::StepVisual_TextStyle() {} +StepVisual_TextStyle::StepVisual_TextStyle() = default; void StepVisual_TextStyle::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleForDefinedFont.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleForDefinedFont.cxx index 633f8a91fa..e9ff5d93bb 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleForDefinedFont.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleForDefinedFont.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TextStyleForDefinedFont, Standard_Transient) -StepVisual_TextStyleForDefinedFont::StepVisual_TextStyleForDefinedFont() {} +StepVisual_TextStyleForDefinedFont::StepVisual_TextStyleForDefinedFont() = default; void StepVisual_TextStyleForDefinedFont::Init(const occ::handle& aTextColour) { diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleWithBoxCharacteristics.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleWithBoxCharacteristics.cxx index 136a132824..9a1ab37751 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleWithBoxCharacteristics.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TextStyleWithBoxCharacteristics.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TextStyleWithBoxCharacteristics, StepVisual_TextStyle) -StepVisual_TextStyleWithBoxCharacteristics::StepVisual_TextStyleWithBoxCharacteristics() {} +StepVisual_TextStyleWithBoxCharacteristics::StepVisual_TextStyleWithBoxCharacteristics() = default; void StepVisual_TextStyleWithBoxCharacteristics::Init( const occ::handle& aName, diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedFace.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedFace.cxx index 2f95d80044..3e98b26dda 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedFace.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedFace.cxx @@ -21,9 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TriangulatedFace, StepVisual_TessellatedFa //================================================================================================= StepVisual_TriangulatedFace::StepVisual_TriangulatedFace() - : StepVisual_TessellatedFace() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedSurfaceSet.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedSurfaceSet.cxx index 16224c16e8..a56332b701 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedSurfaceSet.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_TriangulatedSurfaceSet.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_TriangulatedSurfaceSet, StepVisual_Tessell //================================================================================================= -StepVisual_TriangulatedSurfaceSet::StepVisual_TriangulatedSurfaceSet() {} +StepVisual_TriangulatedSurfaceSet::StepVisual_TriangulatedSurfaceSet() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ViewVolume.cxx b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ViewVolume.cxx index b8a2450d3e..297df432de 100644 --- a/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ViewVolume.cxx +++ b/src/DataExchange/TKDESTEP/StepVisual/StepVisual_ViewVolume.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(StepVisual_ViewVolume, Standard_Transient) -StepVisual_ViewVolume::StepVisual_ViewVolume() {} +StepVisual_ViewVolume::StepVisual_ViewVolume() = default; void StepVisual_ViewVolume::Init(const StepVisual_CentralOrParallel aProjectionType, const occ::handle& aProjectionPoint, diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx index 71b2b9b61a..76102b65bd 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx @@ -104,12 +104,12 @@ void TopoDSToStep_Builder::Init(const TopoDS_Shape& aShap TopoDSToStep_MakeStepFace MkFace; - Message_ProgressScope aPS(theProgress, NULL, (theTessellatedGeomParam != 0) ? 2 : 1); + Message_ProgressScope aPS(theProgress, nullptr, (theTessellatedGeomParam != 0) ? 2 : 1); int nbshapes = 0; for (anExp.Init(myShell, TopAbs_FACE); anExp.More(); anExp.Next()) nbshapes++; - Message_ProgressScope aPS1(aPS.Next(), NULL, nbshapes); + Message_ProgressScope aPS1(aPS.Next(), nullptr, nbshapes); for (anExp.Init(myShell, TopAbs_FACE); anExp.More() && aPS1.More(); anExp.Next(), aPS1.Next()) { const TopoDS_Face Face = TopoDS::Face(anExp.Current()); @@ -197,7 +197,7 @@ void TopoDSToStep_Builder::Init(const TopoDS_Shape& aShap if (theTessellatedGeomParam == 1 || (theTessellatedGeomParam == 2 && !MkFace.IsDone())) { - Message_ProgressScope aPS(theProgress, NULL, 1); + Message_ProgressScope aPS(theProgress, nullptr, 1); // fourth parameter is true in order to create a tessellated_surface_set entity // or put false to create a triangulated_face instead MkTessFace.Init(Face, myTool, FP, true, theLocalFactors, aPS.Next()); diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.cxx index 899bcfba97..282a91661b 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.cxx @@ -93,7 +93,7 @@ TopoDSToStep_MakeBrepWithVoids::TopoDSToStep_MakeBrepWithVoids( for (It.Initialize(aSolid); It.More(); It.Next()) if (It.Value().ShapeType() == TopAbs_SHELL) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); for (It.Initialize(aSolid); It.More() && aPS.More(); It.Next()) { if (It.Value().ShapeType() == TopAbs_SHELL) diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.cxx index 2970c22f33..f22f8368df 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.cxx @@ -79,7 +79,7 @@ TopoDSToStep_MakeFacetedBrepAndBrepWithVoids::TopoDSToStep_MakeFacetedBrepAndBre for (It.Initialize(aSolid); It.More(); It.Next()) if (It.Value().ShapeType() == TopAbs_SHELL) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); for (It.Initialize(aSolid); It.More() && aPS.More(); It.Next()) { if (It.Value().ShapeType() == TopAbs_SHELL) diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.cxx index 2983894d2c..e3d3e6ca04 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.cxx @@ -209,7 +209,7 @@ TopoDSToStep_MakeShellBasedSurfaceModel::TopoDSToStep_MakeShellBasedSurfaceModel for (It.Initialize(aSolid); It.More(); It.Next()) if (It.Value().ShapeType() == TopAbs_SHELL) nbshapes++; - Message_ProgressScope aPS(theProgress, NULL, nbshapes); + Message_ProgressScope aPS(theProgress, nullptr, nbshapes); for (It.Initialize(aSolid); It.More() && aPS.More(); It.Next()) { if (It.Value().ShapeType() == TopAbs_SHELL) diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.cxx index 5907a401ec..01323e0b16 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.cxx @@ -80,9 +80,8 @@ static void InitTriangulation(const occ::handle& theMe //================================================================================================= TopoDSToStep_MakeTessellatedItem::TopoDSToStep_MakeTessellatedItem() - : TopoDSToStep_Root() -{ -} + + = default; //================================================================================================= @@ -93,7 +92,7 @@ TopoDSToStep_MakeTessellatedItem::TopoDSToStep_MakeTessellatedItem( const bool theToPreferSurfaceSet, const StepData_Factors& theLocalFactors, const Message_ProgressRange& theProgress) - : TopoDSToStep_Root() + { Init(theFace, theTool, theFP, theToPreferSurfaceSet, theLocalFactors, theProgress); } @@ -106,7 +105,7 @@ TopoDSToStep_MakeTessellatedItem::TopoDSToStep_MakeTessellatedItem( const occ::handle& theFP, const StepData_Factors& theLocalFactors, const Message_ProgressRange& theProgress) - : TopoDSToStep_Root() + { Init(theShell, theTool, theFP, theLocalFactors, theProgress); } @@ -215,7 +214,7 @@ void TopoDSToStep_MakeTessellatedItem::Init(const TopoDS_Shell& { } - Message_ProgressScope aPS(theProgress, NULL, aNbFaces); + Message_ProgressScope aPS(theProgress, nullptr, aNbFaces); NCollection_Sequence> aTessFaces; for (anExp.Init(theShell, TopAbs_FACE); anExp.More() && aPS.More(); anExp.Next(), aPS.Next()) diff --git a/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.cxx b/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.cxx index ebb4ed2ba4..bda502cb6d 100644 --- a/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.cxx +++ b/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.cxx @@ -32,9 +32,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DESTL_ConfigurationNode::DESTL_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.hxx b/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.hxx index 22fb317f9b..9b82f8ef54 100644 --- a/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.hxx +++ b/src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.hxx @@ -40,50 +40,49 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Checks for stream support. //! @return true if streams are supported - Standard_EXPORT virtual bool IsStreamSupported() const override; + Standard_EXPORT bool IsStreamSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; //! Checks the file content to verify a format //! @param[in] theBuffer read stream buffer to check content //! @return true if file is supported by a current provider - Standard_EXPORT virtual bool CheckContent( + Standard_EXPORT bool CheckContent( const occ::handle& theBuffer) const override; public: diff --git a/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.cxx b/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.cxx index b9f6f4b0cd..f6edb556db 100644 --- a/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.cxx +++ b/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.cxx @@ -34,7 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(DESTL_Provider, DE_Provider) //================================================================================================= -DESTL_Provider::DESTL_Provider() {} +DESTL_Provider::DESTL_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.hxx b/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.hxx index bf1e69cb77..d1a44f0af1 100644 --- a/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.hxx +++ b/src/DataExchange/TKDESTL/DESTL/DESTL_Provider.hxx @@ -46,7 +46,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -58,7 +58,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -69,7 +69,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -79,7 +79,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -90,7 +90,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -102,7 +102,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -114,7 +114,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, const occ::handle& theDocument, occ::handle& theWS, @@ -126,7 +126,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const occ::handle& theDocument, occ::handle& theWS, @@ -138,7 +138,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, TopoDS_Shape& theShape, occ::handle& theWS, @@ -150,7 +150,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -161,7 +161,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -171,7 +171,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -181,7 +181,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -191,7 +191,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -201,7 +201,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -211,7 +211,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -219,11 +219,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DESTL_Provider_HeaderFile diff --git a/src/DataExchange/TKDESTL/RWStl/RWStl.cxx b/src/DataExchange/TKDESTL/RWStl/RWStl.cxx index 92ae0151ce..ab1820cc48 100644 --- a/src/DataExchange/TKDESTL/RWStl/RWStl.cxx +++ b/src/DataExchange/TKDESTL/RWStl/RWStl.cxx @@ -71,14 +71,14 @@ class Reader : public RWStl_Reader { public: //! Add new node - virtual int AddNode(const gp_XYZ& thePnt) override + int AddNode(const gp_XYZ& thePnt) override { myNodes.Append(thePnt); return myNodes.Size(); } //! Add new triangle - virtual void AddTriangle(int theNode1, int theNode2, int theNode3) override + void AddTriangle(int theNode1, int theNode2, int theNode3) override { myTriangles.Append(Poly_Triangle(theNode1, theNode2, theNode3)); } @@ -121,7 +121,7 @@ class MultiDomainReader : public Reader public: //! Add new solid //! Add triangulation to triangulation list for multi-domain case - virtual void AddSolid() override + void AddSolid() override { if (occ::handle aCurrentTri = GetTriangulation()) { @@ -197,7 +197,7 @@ occ::handle RWStl::ReadBinary(const OSD_Path& t const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aStream = aFileSystem->OpenIStream(aPath, std::ios::in | std::ios::binary); - if (aStream.get() == NULL) + if (aStream.get() == nullptr) { return occ::handle(); } @@ -222,7 +222,7 @@ occ::handle RWStl::ReadAscii(const OSD_Path& th const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aStream = aFileSystem->OpenIStream(aPath, std::ios::in | std::ios::binary); - if (aStream.get() == NULL) + if (aStream.get() == nullptr) { return occ::handle(); } diff --git a/src/DataExchange/TKDESTL/RWStl/RWStl_Reader.cxx b/src/DataExchange/TKDESTL/RWStl/RWStl_Reader.cxx index e76e0bd5b0..a945328da4 100644 --- a/src/DataExchange/TKDESTL/RWStl/RWStl_Reader.cxx +++ b/src/DataExchange/TKDESTL/RWStl/RWStl_Reader.cxx @@ -133,7 +133,7 @@ bool RWStl_Reader::Read(const char* theFile, const Message_ProgressRange& thePro const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr aStream = aFileSystem->OpenIStream(theFile, std::ios::in | std::ios::binary); - if (aStream.get() == NULL) + if (aStream.get() == nullptr) { Message::SendFail(TCollection_AsciiString("Error: file '") + theFile + "' is not found"); return false; @@ -156,7 +156,7 @@ bool RWStl_Reader::Read(const char* theFile, const Message_ProgressRange& thePro // running translation in cycle. // For this reason use infinite (logarithmic) progress scale, // but in special mode so that the first cycle will take ~ 70% of it - Message_ProgressScope aPS(theProgress, NULL, 1, true); + Message_ProgressScope aPS(theProgress, nullptr, 1, true); while (aStream->good()) { if (isAscii) @@ -296,7 +296,7 @@ bool RWStl_Reader::ReadAscii(Standard_IStream& theStream, { aLine = theBuffer.ReadLine(theStream, aLineLen); } - if (aLine == NULL) + if (aLine == nullptr) { Message::SendFail("Error: premature end of file"); return false; @@ -326,7 +326,7 @@ bool RWStl_Reader::ReadAscii(Standard_IStream& theStream, } aLine = theBuffer.ReadLine(theStream, aLineLen); // "facet normal nx ny nz" - if (aLine == NULL) + if (aLine == nullptr) { Message::SendFail("Error: premature end of file"); return false; @@ -344,7 +344,7 @@ bool RWStl_Reader::ReadAscii(Standard_IStream& theStream, } aLine = theBuffer.ReadLine(theStream, aLineLen); // "outer loop" - if (aLine == NULL || !str_starts_with(aLine, "outer", 5)) + if (aLine == nullptr || !str_starts_with(aLine, "outer", 5)) { Message::SendFail(TCollection_AsciiString("Error: unexpected format of facet at line ") + (aNbLine + 1)); @@ -356,7 +356,7 @@ bool RWStl_Reader::ReadAscii(Standard_IStream& theStream, for (int i = 0; i < 3; i++) { aLine = theBuffer.ReadLine(theStream, aLineLen); - if (aLine == NULL) + if (aLine == nullptr) { isEOF = true; break; diff --git a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.cxx b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.cxx index 469f0c8540..09dcc47fb3 100644 --- a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.cxx +++ b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.cxx @@ -31,9 +31,8 @@ static const TCollection_AsciiString& THE_CONFIGURATION_SCOPE() //================================================================================================= DEVRML_ConfigurationNode::DEVRML_ConfigurationNode() - : DE_ConfigurationNode() -{ -} + + = default; //================================================================================================= diff --git a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.hxx b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.hxx index b7adf9e940..bf281772b3 100644 --- a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.hxx +++ b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.hxx @@ -41,45 +41,44 @@ public: //! Updates values according the resource //! @param[in] theResource input resource to use //! @return true if theResource loading has ended correctly - Standard_EXPORT virtual bool Load( - const occ::handle& theResource) override; + Standard_EXPORT bool Load(const occ::handle& theResource) override; //! Writes configuration to the string //! @return result resource string - Standard_EXPORT virtual TCollection_AsciiString Save() const override; + Standard_EXPORT TCollection_AsciiString Save() const override; //! Copies values of all fields //! @return new object with the same field values - Standard_EXPORT virtual occ::handle Copy() const override; + Standard_EXPORT occ::handle Copy() const override; //! Creates new provider for the own format //! @return new created provider - Standard_EXPORT virtual occ::handle BuildProvider() override; + Standard_EXPORT occ::handle BuildProvider() override; public: //! Checks the import supporting //! @return true if import is supported - Standard_EXPORT virtual bool IsImportSupported() const override; + Standard_EXPORT bool IsImportSupported() const override; //! Checks the export supporting //! @return true if export is supported - Standard_EXPORT virtual bool IsExportSupported() const override; + Standard_EXPORT bool IsExportSupported() const override; //! Checks for stream support. //! @return true if streams are supported - Standard_EXPORT virtual bool IsStreamSupported() const override; + Standard_EXPORT bool IsStreamSupported() const override; //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; //! Gets list of supported file extensions //! @return list of extensions - Standard_EXPORT virtual NCollection_List GetExtensions() const override; + Standard_EXPORT NCollection_List GetExtensions() const override; public: enum WriteMode_WriterVersion diff --git a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.cxx b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.cxx index a397434444..d9ee7bbabe 100644 --- a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.cxx +++ b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.cxx @@ -209,7 +209,7 @@ static bool ProcessVrmlScene(Standard_IStream& theStr //================================================================================================= -DEVRML_Provider::DEVRML_Provider() {} +DEVRML_Provider::DEVRML_Provider() = default; //================================================================================================= diff --git a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.hxx b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.hxx index cfa2c98d26..89dd061982 100644 --- a/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.hxx +++ b/src/DataExchange/TKDEVRML/DEVRML/DEVRML_Provider.hxx @@ -46,7 +46,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -58,7 +58,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, occ::handle& theWS, @@ -69,7 +69,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -79,7 +79,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -90,7 +90,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, occ::handle& theWS, @@ -102,7 +102,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -114,7 +114,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, const occ::handle& theDocument, occ::handle& theWS, @@ -126,7 +126,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const occ::handle& theDocument, occ::handle& theWS, @@ -138,7 +138,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, TopoDS_Shape& theShape, occ::handle& theWS, @@ -150,7 +150,7 @@ public: //! @param[in] theWS current work session //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const TopoDS_Shape& theShape, occ::handle& theWS, @@ -161,7 +161,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( const TCollection_AsciiString& thePath, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -171,7 +171,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( const TCollection_AsciiString& thePath, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -181,7 +181,7 @@ public: //! @param[out] theDocument document to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -191,7 +191,7 @@ public: //! @param[out] theDocument document to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const occ::handle& theDocument, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -201,7 +201,7 @@ public: //! @param[out] theShape shape to save result //! @param[in] theProgress progress indicator //! @return true if Read operation has ended correctly - Standard_EXPORT virtual bool Read( + Standard_EXPORT bool Read( ReadStreamList& theStreams, TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -211,7 +211,7 @@ public: //! @param[out] theShape shape to export //! @param[in] theProgress progress indicator //! @return true if Write operation has ended correctly - Standard_EXPORT virtual bool Write( + Standard_EXPORT bool Write( WriteStreamList& theStreams, const TopoDS_Shape& theShape, const Message_ProgressRange& theProgress = Message_ProgressRange()) override; @@ -219,11 +219,11 @@ public: public: //! Gets CAD format name of associated provider //! @return provider CAD format - Standard_EXPORT virtual TCollection_AsciiString GetFormat() const override; + Standard_EXPORT TCollection_AsciiString GetFormat() const override; //! Gets provider's vendor name of associated provider //! @return provider's vendor name - Standard_EXPORT virtual TCollection_AsciiString GetVendor() const override; + Standard_EXPORT TCollection_AsciiString GetVendor() const override; }; #endif // _DEVRML_Provider_HeaderFile diff --git a/src/DataExchange/TKDEVRML/Vrml/Vrml_Group.cxx b/src/DataExchange/TKDEVRML/Vrml/Vrml_Group.cxx index 79afe2395d..4e816a35f8 100644 --- a/src/DataExchange/TKDEVRML/Vrml/Vrml_Group.cxx +++ b/src/DataExchange/TKDEVRML/Vrml/Vrml_Group.cxx @@ -15,7 +15,7 @@ Vrml_Group::Vrml_Group() { - myFlagPrint = 0; + myFlagPrint = false; } Standard_OStream& Vrml_Group::Print(Standard_OStream& anOStream) @@ -23,12 +23,12 @@ Standard_OStream& Vrml_Group::Print(Standard_OStream& anOStream) if (myFlagPrint == 0) { anOStream << "Group {\n"; - myFlagPrint = 1; + myFlagPrint = true; } // End of if else { anOStream << "}\n"; - myFlagPrint = 0; + myFlagPrint = false; } return anOStream; } diff --git a/src/DataExchange/TKDEVRML/Vrml/Vrml_SFRotation.cxx b/src/DataExchange/TKDEVRML/Vrml/Vrml_SFRotation.cxx index a8b87ae1d0..2142509d4d 100644 --- a/src/DataExchange/TKDEVRML/Vrml/Vrml_SFRotation.cxx +++ b/src/DataExchange/TKDEVRML/Vrml/Vrml_SFRotation.cxx @@ -13,7 +13,7 @@ #include -Vrml_SFRotation::Vrml_SFRotation() {} +Vrml_SFRotation::Vrml_SFRotation() = default; Vrml_SFRotation::Vrml_SFRotation(const double aRotationX, const double aRotationY, diff --git a/src/DataExchange/TKDEVRML/Vrml/Vrml_Separator.cxx b/src/DataExchange/TKDEVRML/Vrml/Vrml_Separator.cxx index 16daba4576..e63f1a6acc 100644 --- a/src/DataExchange/TKDEVRML/Vrml/Vrml_Separator.cxx +++ b/src/DataExchange/TKDEVRML/Vrml/Vrml_Separator.cxx @@ -16,13 +16,13 @@ Vrml_Separator::Vrml_Separator(const Vrml_SeparatorRenderCulling aRenderCulling) { myRenderCulling = aRenderCulling; - myFlagPrint = 0; + myFlagPrint = false; } Vrml_Separator::Vrml_Separator() { myRenderCulling = Vrml_AUTO; - myFlagPrint = 0; + myFlagPrint = false; } void Vrml_Separator::SetRenderCulling(const Vrml_SeparatorRenderCulling aRenderCulling) @@ -47,12 +47,12 @@ Standard_OStream& Vrml_Separator::Print(Standard_OStream& anOStream) else anOStream << " renderCulling\tOFF\n"; } - myFlagPrint = 1; + myFlagPrint = true; } // End of if else { anOStream << "}\n"; - myFlagPrint = 0; + myFlagPrint = false; } return anOStream; } diff --git a/src/DataExchange/TKDEVRML/Vrml/Vrml_TransformSeparator.cxx b/src/DataExchange/TKDEVRML/Vrml/Vrml_TransformSeparator.cxx index 0872ba4391..c95885c8ec 100644 --- a/src/DataExchange/TKDEVRML/Vrml/Vrml_TransformSeparator.cxx +++ b/src/DataExchange/TKDEVRML/Vrml/Vrml_TransformSeparator.cxx @@ -15,7 +15,7 @@ Vrml_TransformSeparator::Vrml_TransformSeparator() { - myFlagPrint = 0; + myFlagPrint = false; } Standard_OStream& Vrml_TransformSeparator::Print(Standard_OStream& anOStream) @@ -23,12 +23,12 @@ Standard_OStream& Vrml_TransformSeparator::Print(Standard_OStream& anOStream) if (myFlagPrint == 0) { anOStream << "TransformSeparator {\n"; - myFlagPrint = 1; + myFlagPrint = true; } else { anOStream << "}\n"; - myFlagPrint = 0; + myFlagPrint = false; } return anOStream; } diff --git a/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_CafReader.hxx b/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_CafReader.hxx index 26f29c2b5c..fde76be287 100644 --- a/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_CafReader.hxx +++ b/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_CafReader.hxx @@ -28,10 +28,10 @@ protected: //! @param theProgress progress indicator //! @param theToProbe flag for probing file without complete reading. Not supported. //! @return false when theToProbe is set to true or reading has completed with error. - Standard_EXPORT virtual bool performMesh(std::istream& theStream, - const TCollection_AsciiString& theFile, - const Message_ProgressRange& theProgress, - const bool theToProbe) override; + Standard_EXPORT bool performMesh(std::istream& theStream, + const TCollection_AsciiString& theFile, + const Message_ProgressRange& theProgress, + const bool theToProbe) override; }; #endif // _VrmlAPI_Reader_HeaderFile diff --git a/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_Writer.cxx b/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_Writer.cxx index b52d4f825c..50a29d5363 100644 --- a/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_Writer.cxx +++ b/src/DataExchange/TKDEVRML/VrmlAPI/VrmlAPI_Writer.cxx @@ -259,7 +259,7 @@ bool VrmlAPI_Writer::Write(const TopoDS_Shape& aShape, const char* aFile, const const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr anOutStream = aFileSystem->OpenOStream(aFile, std::ios::out | std::ios::binary); - if (anOutStream.get() == NULL) + if (anOutStream.get() == nullptr) { return false; } @@ -274,7 +274,7 @@ bool VrmlAPI_Writer::WriteDoc(const occ::handle& theDoc, const occ::handle& aFileSystem = OSD_FileSystem::DefaultFileSystem(); std::shared_ptr anOutStream = aFileSystem->OpenOStream(theFile, std::ios::out | std::ios::binary); - if (anOutStream.get() == NULL) + if (anOutStream.get() == nullptr) { return false; } diff --git a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_IsoAspect.cxx b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_IsoAspect.cxx index da2845f33c..d0643b8468 100644 --- a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_IsoAspect.cxx +++ b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_IsoAspect.cxx @@ -17,7 +17,7 @@ IMPLEMENT_STANDARD_RTTIEXT(VrmlConverter_IsoAspect, VrmlConverter_LineAspect) VrmlConverter_IsoAspect::VrmlConverter_IsoAspect() - : VrmlConverter_LineAspect() + { myNumber = 10; } diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Appearance.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Appearance.hxx index 98bc91175a..786f3f38eb 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Appearance.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Appearance.hxx @@ -31,7 +31,7 @@ public: /** * Empty constructor */ - inline VrmlData_Appearance() {} + inline VrmlData_Appearance() = default; /** * Constructor @@ -85,22 +85,22 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified.

*/ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle&) const override; /** * Read the node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Returns True if the node is default, so that it should not be written. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ArrayVec3d.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ArrayVec3d.hxx index cffdd5acbc..a8dd7019bf 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ArrayVec3d.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ArrayVec3d.hxx @@ -32,7 +32,7 @@ public: * Empty constructor */ inline VrmlData_ArrayVec3d() - : myArray(0L), + : myArray(nullptr), myLength(0) { } @@ -99,7 +99,7 @@ public: /** * Returns True if the node is default, so that it should not be written. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; protected: // ---------- PROTECTED METHODS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Box.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Box.hxx index f8b03a7943..98b020f4da 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Box.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Box.hxx @@ -68,25 +68,25 @@ public: * Query the primitive topology. This method returns a Null shape if there * is an internal error during the primitive creation (zero radius, etc.) */ - Standard_EXPORT virtual const occ::handle& TShape() override; + Standard_EXPORT const occ::handle& TShape() override; /** * Create a copy of this node. * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Fill the Node internal data from the given input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Color.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Color.hxx index 1633025fef..8af3c79df2 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Color.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Color.hxx @@ -31,7 +31,7 @@ public: /** * Empty constructor. */ - inline VrmlData_Color() {} + inline VrmlData_Color() = default; /** * Constructor. @@ -39,7 +39,7 @@ public: inline VrmlData_Color(const VrmlData_Scene& theScene, const char* theName, const size_t nColors = 0, - const gp_XYZ* arrColors = 0L) + const gp_XYZ* arrColors = nullptr) : VrmlData_ArrayVec3d(theScene, theName, nColors, arrColors) { } @@ -70,18 +70,18 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified.

*/ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to the Scene output. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; public: // Declaration of CASCADE RTTI diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cone.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cone.hxx index 0774c8b509..1d1a6be953 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cone.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cone.hxx @@ -106,25 +106,25 @@ public: * Query the primitive topology. This method returns a Null shape if there * is an internal error during the primitive creation (zero radius, etc.) */ - Standard_EXPORT virtual const occ::handle& TShape() override; + Standard_EXPORT const occ::handle& TShape() override; /** * Create a copy of this node. * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Fill the Node internal data from the given input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Coordinate.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Coordinate.hxx index 69bd84f433..fe5523e822 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Coordinate.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Coordinate.hxx @@ -29,7 +29,7 @@ public: /** * Empty Constructor */ - inline VrmlData_Coordinate() {} + inline VrmlData_Coordinate() = default; /** * Constructor @@ -37,7 +37,7 @@ public: inline VrmlData_Coordinate(const VrmlData_Scene& theScene, const char* theName, const size_t nPoints = 0, - const gp_XYZ* arrPoints = 0L) + const gp_XYZ* arrPoints = nullptr) : VrmlData_ArrayVec3d(theScene, theName, nPoints, arrPoints) { } @@ -56,18 +56,18 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to the Scene output. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; public: // Declaration of CASCADE RTTI diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cylinder.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cylinder.hxx index e0073dbb0b..8cb8730dd5 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cylinder.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Cylinder.hxx @@ -112,25 +112,25 @@ public: * Query the primitive topology. This method returns a Null shape if there * is an internal error during the primitive creation (zero radius, etc.) */ - Standard_EXPORT virtual const occ::handle& TShape() override; + Standard_EXPORT const occ::handle& TShape() override; /** * Create a copy of this node. * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Fill the Node internal data from the given input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Geometry.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Geometry.cxx index c7c38d9d5f..d255ff32e2 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Geometry.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Geometry.cxx @@ -53,7 +53,7 @@ bool VrmlData_ArrayVec3d::AllocateValues(const size_t theLength) myArray = reinterpret_cast(Scene().Allocator()->Allocate(theLength * sizeof(gp_XYZ))); myLength = theLength; - return (myArray != 0L); + return (myArray != nullptr); } //================================================================================================= @@ -440,7 +440,7 @@ bool VrmlData_TextureCoordinate::AllocateValues(const size_t theLength) myPoints = reinterpret_cast(Scene().Allocator()->Allocate(theLength * sizeof(gp_XY))); myLength = theLength; - return (myPoints != 0L); + return (myPoints != nullptr); } //================================================================================================= @@ -640,7 +640,7 @@ VrmlData_ErrorStatus VrmlData_ArrayVec3d::WriteArray(const char* theName, const aStatus = Scene().WriteXYZ(myArray[myLength - 1], isScale); } if (aStatus == VrmlData_StatusOK) - aStatus = Scene().WriteLine("]", 0L, -2 * GlobalIndent()); + aStatus = Scene().WriteLine("]", nullptr, -2 * GlobalIndent()); } return aStatus; } diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.cxx index f6b3d6769a..b84c828214 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.cxx @@ -631,18 +631,18 @@ VrmlData_ErrorStatus VrmlData_Group::Write(const char* thePrefix) const if (OK(aStatus)) { - aStatus = aScene.WriteLine("children [", 0L, GlobalIndent()); + aStatus = aScene.WriteLine("children [", nullptr, GlobalIndent()); NCollection_List>::Iterator anIterChild(myNodes); for (; anIterChild.More() && OK(aStatus); anIterChild.Next()) { const occ::handle& aNode = anIterChild.Value(); - aScene.WriteNode(0L, aNode); + aScene.WriteNode(nullptr, aNode); } if (OK(aStatus)) { - aStatus = aScene.WriteLine("]", 0L, -GlobalIndent()); + aStatus = aScene.WriteLine("]", nullptr, -GlobalIndent()); } } aStatus = WriteClosing(); diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.hxx index 5194c14074..4a9a3a49f3 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Group.hxx @@ -114,18 +114,18 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Fill the Node internal data from the given input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Find a node by its name, inside this Group diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ImageTexture.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ImageTexture.hxx index 956d0675a5..3e974294f9 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ImageTexture.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ImageTexture.hxx @@ -29,14 +29,14 @@ public: /** * Empty constructor */ - inline VrmlData_ImageTexture() {} + inline VrmlData_ImageTexture() = default; /** * Constructor */ Standard_EXPORT VrmlData_ImageTexture(const VrmlData_Scene& theScene, const char* theName, - const char* theURL = 0L, + const char* theURL = nullptr, const bool theRepS = false, const bool theRepT = false); @@ -50,18 +50,18 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_InBuffer.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_InBuffer.hxx index 84c59a3b49..4af12c3cac 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_InBuffer.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_InBuffer.hxx @@ -35,7 +35,7 @@ struct VrmlData_InBuffer LineCount(0) {}; private: - void operator=(const VrmlData_InBuffer&); + void operator=(const VrmlData_InBuffer&) = delete; }; #endif diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.cxx index 22bda4180d..4d4b91d6ff 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.cxx @@ -235,7 +235,7 @@ const occ::handle& VrmlData_IndexedFaceSet::TShape() if (myNormalPerVertex) { aTriangulation->AddNormals(); - if (myArrNormalInd == 0L) + if (myArrNormalInd == nullptr) { for (i = 0; i < nbNodes; i++) { diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.hxx index 0dff69bf25..492049ad20 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedFaceSet.hxx @@ -36,10 +36,10 @@ public: * Empty constructor */ inline VrmlData_IndexedFaceSet() - : myArrPolygons(0L), - myArrNormalInd(0L), - myArrColorInd(0L), - myArrTextureInd(0L), + : myArrPolygons(nullptr), + myArrNormalInd(nullptr), + myArrColorInd(nullptr), + myArrTextureInd(nullptr), myNbPolygons(0), myNbNormals(0), myNbColors(0), @@ -59,10 +59,10 @@ public: const bool isConvex = true, const double theCreaseAngle = 0.) : VrmlData_Faceted(theScene, theName, isCCW, isSolid, isConvex, theCreaseAngle), - myArrPolygons(0L), - myArrNormalInd(0L), - myArrColorInd(0L), - myArrTextureInd(0L), + myArrPolygons(nullptr), + myArrNormalInd(nullptr), + myArrColorInd(nullptr), + myArrTextureInd(nullptr), myNbPolygons(0), myNbNormals(0), myNbColors(0), @@ -290,30 +290,30 @@ public: * Query the shape. This method checks the flag myIsModified; if True it * should rebuild the shape presentation. */ - Standard_EXPORT virtual const occ::handle& TShape() override; + Standard_EXPORT const occ::handle& TShape() override; /** * Create a copy of this node. * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Returns True if the node is default, so that it should not be written. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedLineSet.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedLineSet.hxx index b930c1970c..099ea6f678 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedLineSet.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_IndexedLineSet.hxx @@ -35,8 +35,8 @@ public: * Empty constructor. */ inline VrmlData_IndexedLineSet() - : myArrPolygons(0L), - myArrColorInd(0L), + : myArrPolygons(nullptr), + myArrColorInd(nullptr), myNbPolygons(0), myNbColors(0), myColorPerVertex(true) @@ -50,8 +50,8 @@ public: const char* theName, const bool isColorPerVertex = true) : VrmlData_Geometry(theScene, theName), - myArrPolygons(0L), - myArrColorInd(0L), + myArrPolygons(nullptr), + myArrColorInd(nullptr), myNbPolygons(0), myNbColors(0), myColorPerVertex(isColorPerVertex) @@ -165,30 +165,30 @@ public: * Query the shape. This method checks the flag myIsModified; if True it * should rebuild the shape presentation. */ - Standard_EXPORT virtual const occ::handle& TShape() override; + Standard_EXPORT const occ::handle& TShape() override; /** * Create a copy of this node. * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Returns True if the node is default, so that it should not be written. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Material.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Material.hxx index bcf0b6dede..6ffaa7c19b 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Material.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Material.hxx @@ -119,23 +119,23 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to the Scene output. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Returns True if the node is default, so that it should not be written. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx index 38f8c079ef..e500131dec 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx @@ -39,7 +39,7 @@ static VrmlData_Scene MyDefaultScene; bool IsEqual(const occ::handle& theOne, const occ::handle& theTwo) { bool aResult(false); - if (theOne->Name() != 0L && theTwo->Name() != 0L) + if (theOne->Name() != nullptr && theTwo->Name() != nullptr) aResult = (strcmp(theOne->Name(), theTwo->Name()) == 0); return aResult; } @@ -48,7 +48,7 @@ bool IsEqual(const occ::handle& theOne, const occ::handle VrmlData_Node::Clone(const occ::handle if (theOther.IsNull() == false) { if (theOther->IsKind(DynamicType()) == false) - return NULL; + return nullptr; if (&theOther->Scene() == myScene) theOther->myName = myName; else @@ -115,7 +115,7 @@ VrmlData_ErrorStatus VrmlData_Node::WriteClosing() const { VrmlData_ErrorStatus aResult = Scene().Status(); if (aResult == VrmlData_StatusOK || aResult == VrmlData_NotImplemented) - aResult = Scene().WriteLine("}", 0L, -GlobalIndent()); + aResult = Scene().WriteLine("}", nullptr, -GlobalIndent()); return aResult; } diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.hxx index e143a35eb7..8adc746071 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.hxx @@ -45,7 +45,7 @@ public: /** * Destructor */ - virtual ~VrmlData_Node() {} + ~VrmlData_Node() override = default; /** * Query the Scene that contains this Node @@ -70,7 +70,7 @@ public: */ Standard_EXPORT VrmlData_ErrorStatus ReadNode(VrmlData_InBuffer& theBuffer, occ::handle& theNode, - const occ::handle& Type = NULL); + const occ::handle& Type = nullptr); /** * Read the Node from input stream. @@ -160,7 +160,7 @@ private: * Method called from VrmlData_Scene when a name should be assigned * automatically. */ - Standard_EXPORT void setName(const char* theName, const char* theSuffix = 0L); + Standard_EXPORT void setName(const char* theName, const char* theSuffix = nullptr); private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Normal.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Normal.hxx index 6f5609a265..4a11cd078a 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Normal.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Normal.hxx @@ -29,7 +29,7 @@ public: /** * Empty constructor */ - inline VrmlData_Normal() {} + inline VrmlData_Normal() = default; /** * Constructor @@ -37,7 +37,7 @@ public: inline VrmlData_Normal(const VrmlData_Scene& theScene, const char* theName, const size_t nVec = 0, - const gp_XYZ* arrVec = 0L) + const gp_XYZ* arrVec = nullptr) : VrmlData_ArrayVec3d(theScene, theName, nVec, arrVec) { } @@ -56,18 +56,18 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to the Scene output. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; public: // Declaration of CASCADE RTTI diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.cxx index c807e6c054..2dfe3a45b9 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.cxx @@ -64,7 +64,7 @@ VrmlData_Scene::VrmlData_Scene(const occ::handle& theA myStatus(VrmlData_StatusOK), myAllocator(theAlloc.IsNull() ? new NCollection_IncAllocator : theAlloc.operator->()), myLineError(0), - myOutput(0L), + myOutput(nullptr), myIndent(2), myCurrentIndent(0), myAutoNameCounter(0) @@ -86,7 +86,7 @@ const occ::handle& VrmlData_Scene::AddNode(const occ::handle aLock(myMutex); const occ::handle& aNode = - myAllNodes.Append((&theN->Scene() == this) ? theN : theN->Clone(NULL)); + myAllNodes.Append((&theN->Scene() == this) ? theN : theN->Clone(nullptr)); // Name is checked for uniqueness. If not, letter 'D' is appended until // the name proves to be unique. if (aNode->Name()[0] != '\0') @@ -112,7 +112,7 @@ Standard_OStream& operator<<(Standard_OStream& theOutput, const VrmlData_Scene& std::lock_guard aLock(aScene.myMutex); aScene.myCurrentIndent = 0; aScene.myLineError = 0; - aScene.myOutput = 0L; + aScene.myOutput = nullptr; aScene.myNamedNodesOut.Clear(); aScene.myUnnamedNodesOut.Clear(); aScene.myAutoNameCounter = 0; @@ -125,7 +125,7 @@ Standard_OStream& operator<<(Standard_OStream& theOutput, const VrmlData_Scene& const occ::handle& aNode = anIterD.Value(); if (aNode.IsNull() == false) { - const VrmlData_ErrorStatus aStatus = aScene.WriteNode(0L, aNode); + const VrmlData_ErrorStatus aStatus = aScene.WriteNode(nullptr, aNode); if (aStatus != VrmlData_StatusOK && aStatus != VrmlData_NotImplemented) break; } @@ -143,12 +143,12 @@ Standard_OStream& operator<<(Standard_OStream& theOutput, const VrmlData_Scene& const occ::handle& aNode = anIter.Value(); if (aNode.IsNull() == false) { - const VrmlData_ErrorStatus aStatus = aScene.WriteNode(0L, aNode); + const VrmlData_ErrorStatus aStatus = aScene.WriteNode(nullptr, aNode); if (aStatus != VrmlData_StatusOK && aStatus != VrmlData_NotImplemented) break; } } - aScene.myOutput = 0L; + aScene.myOutput = nullptr; aScene.myNamedNodesOut.Clear(); aScene.myUnnamedNodesOut.Clear(); return theOutput; @@ -607,7 +607,7 @@ VrmlData_ErrorStatus VrmlData_Scene::createNode(VrmlData_InBuffer& VrmlData_Scene::operator TopoDS_Shape() const { TopoDS_Shape aShape; - VrmlData_Scene::createShape(aShape, myLstNodes, 0L); + VrmlData_Scene::createShape(aShape, myLstNodes, nullptr); return aShape; } @@ -653,7 +653,7 @@ void VrmlData_Scene::createShape( if (aSingleShape.IsNull() == false) { aBuilder.Add(outShape, aSingleShape); - if (pMapShapeApp != 0L) + if (pMapShapeApp != nullptr) { const occ::handle& anAppearance = aNodeShape->Appearance(); if (anAppearance.IsNull() == false) @@ -868,7 +868,7 @@ VrmlData_ErrorStatus VrmlData_Scene::ReadArrIndex(VrmlData_InBuffer& theBuffer, const int aLen = vecInt.Length(); // The input is the end-of-face, store and close this face int* bufFace = static_cast(myAllocator->Allocate((aLen + 1) * sizeof(int))); - if (bufFace == 0L) + if (bufFace == nullptr) { aStatus = VrmlData_UnrecoverableError; break; @@ -887,7 +887,7 @@ VrmlData_ErrorStatus VrmlData_Scene::ReadArrIndex(VrmlData_InBuffer& theBuffer, { const int** anArray = static_cast(myAllocator->Allocate(aNbBlocks * sizeof(int*))); - if (anArray == 0L) + if (anArray == nullptr) aStatus = VrmlData_UnrecoverableError; else { @@ -955,7 +955,7 @@ VrmlData_ErrorStatus VrmlData_Scene::WriteArrIndex(const char* thePrefix, WriteLine(buf, iBlock < theNbBlocks - 1 ? "-1," : "-1"); } if (aStatus == VrmlData_StatusOK) - aStatus = WriteLine("]", 0L, -1); + aStatus = WriteLine("]", nullptr, -1); } } return aStatus; @@ -1009,7 +1009,7 @@ VrmlData_ErrorStatus VrmlData_Scene::WriteLine(const char* theLin0, aCurrentIndent -= myIndent; if (aCurrentIndent < 0) aCurrentIndent = 0; - if (theLin0 == 0L && theLin1 == 0L) + if (theLin0 == nullptr && theLin1 == nullptr) (*myOutput) << "\n"; else { @@ -1046,7 +1046,7 @@ VrmlData_ErrorStatus VrmlData_Scene::WriteNode(const char* { VrmlData_ErrorStatus aStatus(VrmlData_StatusOK); bool isNoName(false); - if (theNode->Name() == 0L) + if (theNode->Name() == nullptr) isNoName = true; else if (theNode->Name()[0] == '\0') isNoName = true; diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.hxx index 2c08d31416..e037690927 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Scene.hxx @@ -56,7 +56,7 @@ public: /** * Constructor. */ - Standard_EXPORT VrmlData_Scene(const occ::handle& = 0L); + Standard_EXPORT VrmlData_Scene(const occ::handle& = nullptr); /** * Query the status of the previous operation. @@ -128,7 +128,7 @@ public: */ Standard_EXPORT occ::handle FindNode( const char* theName, - const occ::handle& theType = 0L) const; + const occ::handle& theType = nullptr) const; /** * Find a node by its name. @@ -263,7 +263,7 @@ public: */ Standard_EXPORT VrmlData_ErrorStatus WriteXYZ(const gp_XYZ& theXYZ, const bool isScale, - const char* thePostfix = 0L) const; + const char* thePostfix = nullptr) const; /** * Write an array of integer indices, for IndexedFaceSet and IndexedLineSet. */ @@ -288,7 +288,7 @@ public: * Error status of the stream, or a special error if myOutput == NULL. */ Standard_EXPORT VrmlData_ErrorStatus WriteLine(const char* theLine0, - const char* theLine1 = 0L, + const char* theLine1 = nullptr, const int theIndent = 0) const; /** @@ -301,12 +301,12 @@ public: * Query if the current write operation is dummy, i.e., for the purpose of * collecting information before the real write is commenced. */ - inline bool IsDummyWrite() const { return myOutput == 0L; } + inline bool IsDummyWrite() const { return myOutput == nullptr; } private: // ---------- PRIVATE METHODS (PROHIBITED) ---------- - VrmlData_Scene(const VrmlData_Scene&); - VrmlData_Scene& operator=(const VrmlData_Scene&); + VrmlData_Scene(const VrmlData_Scene&) = delete; + VrmlData_Scene& operator=(const VrmlData_Scene&) = delete; protected: /** diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.cxx index b49d6504e2..f52de392de 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.cxx @@ -60,7 +60,7 @@ void VrmlData_ShapeConvert::AddShape(const TopoDS_Shape& theShape, const char* t NULL };*/ aData.Shape = theShape; - aData.Node = NULL; + aData.Node = nullptr; if (theName) { @@ -98,7 +98,7 @@ occ::handle VrmlData_ShapeConvert::makeTShapeNode( const TopAbs_ShapeEnum theShapeType, TopLoc_Location& theLoc) { - occ::handle aTShapeNode = 0L; + occ::handle aTShapeNode = nullptr; const bool isReverse = (theShape.Orientation() == TopAbs_REVERSED); TopoDS_Shape aTestedShape; @@ -279,7 +279,8 @@ void VrmlData_ShapeConvert::Convert(const bool theExtractFaces, occ::handle aTShapeNode = makeTShapeNode(aShape, ShapeType[i], aLoc); if (!aTShapeNode.IsNull()) { - const occ::handle aShapeNode = new VrmlData_ShapeNode(myScene, 0L); + const occ::handle aShapeNode = + new VrmlData_ShapeNode(myScene, nullptr); aShapeNode->SetAppearance(ShapeType[i] == TopAbs_FACE ? defaultMaterialFace() : defaultMaterialEdge()); myScene.AddNode(aShapeNode, false); @@ -290,7 +291,7 @@ void VrmlData_ShapeConvert::Convert(const bool theExtractFaces, else { // Create a Transform grouping node - occ::handle aTrans = new VrmlData_Group(myScene, 0L, true); + occ::handle aTrans = new VrmlData_Group(myScene, nullptr, true); gp_Trsf aTrsf(aLoc); if (fabs(myScale - 1.) > Precision::Confusion()) { @@ -340,10 +341,10 @@ occ::handle VrmlData_ShapeConvert::triToIndexedFaceSet( const occ::handle aFaceSet = new VrmlData_IndexedFaceSet(myScene, - 0L, // no name - true, // IsCCW - false, // IsSolid - false); // IsConvex + nullptr, // no name + true, // IsCCW + false, // IsSolid + false); // IsConvex const occ::handle& anAlloc = myScene.Allocator(); const bool isReverse = (theFace.Orientation() == TopAbs_REVERSED); @@ -384,7 +385,7 @@ occ::handle VrmlData_ShapeConvert::triToIndexedFaceSet( } const occ::handle aCoordNode = - new VrmlData_Coordinate(myScene, 0L, nNodes, arrNodes); + new VrmlData_Coordinate(myScene, nullptr, nNodes, arrNodes); myScene.AddNode(aCoordNode, false); aFaceSet->SetCoordinates(aCoordNode); } @@ -405,7 +406,7 @@ occ::handle VrmlData_ShapeConvert::triToIndexedFaceSet( arrVec[i] = aNormal; } const occ::handle aNormalNode = - new VrmlData_Normal(myScene, 0L, nNodes, arrVec); + new VrmlData_Normal(myScene, nullptr, nNodes, arrVec); myScene.AddNode(aNormalNode, false); aFaceSet->SetNormals(aNormalNode); return occ::handle(aFaceSet); @@ -465,7 +466,7 @@ occ::handle VrmlData_ShapeConvert::triToIndexedFaceSet( } const occ::handle aNormalNode = - new VrmlData_Normal(myScene, 0L, nNodes, arrVec); + new VrmlData_Normal(myScene, nullptr, nNodes, arrVec); myScene.AddNode(aNormalNode, false); aFaceSet->SetNormals(aNormalNode); } @@ -487,7 +488,8 @@ occ::handle VrmlData_ShapeConvert::polToIndexedLineSet( const NCollection_Array1& arrPolyNodes = thePol->Nodes(); const occ::handle& anAlloc = myScene.Allocator(); - const occ::handle aLineSet = new VrmlData_IndexedLineSet(myScene, 0L); + const occ::handle aLineSet = + new VrmlData_IndexedLineSet(myScene, nullptr); // Create the array of polygons (1 member) const int** arrPolygons = static_cast(anAlloc->Allocate(sizeof(const int*))); @@ -506,7 +508,7 @@ occ::handle VrmlData_ShapeConvert::polToIndexedLineSet( arrNodes[i] = arrPolyNodes(i + 1).XYZ() * myScale; const occ::handle aCoordNode = - new VrmlData_Coordinate(myScene, 0L, nNodes, arrNodes); + new VrmlData_Coordinate(myScene, nullptr, nNodes, arrNodes); myScene.AddNode(aCoordNode, false); aLineSet->SetCoordinates(aCoordNode); @@ -523,7 +525,7 @@ occ::handle VrmlData_ShapeConvert::defaultMaterialFace() co if (anAppearance.IsNull()) { const occ::handle aMaterial = - new VrmlData_Material(myScene, 0L, 1.0, 0.022, 0.); + new VrmlData_Material(myScene, nullptr, 1.0, 0.022, 0.); aMaterial->SetDiffuseColor(Quantity_Color(0.780392, 0.568627, 0.113725, Quantity_TOC_sRGB)); aMaterial->SetEmissiveColor(Quantity_Color(0.329412, 0.223529, 0.027451, Quantity_TOC_sRGB)); aMaterial->SetSpecularColor(Quantity_Color(0.992157, 0.941176, 0.807843, Quantity_TOC_sRGB)); @@ -545,7 +547,7 @@ occ::handle VrmlData_ShapeConvert::defaultMaterialEdge() co if (anAppearance.IsNull()) { const occ::handle aMaterial = - new VrmlData_Material(myScene, 0L, 0.2, 0.2, 0.2); + new VrmlData_Material(myScene, nullptr, 0.2, 0.2, 0.2); aMaterial->SetDiffuseColor(Quantity_Color(0.2, 0.7, 0.2, Quantity_TOC_RGB)); aMaterial->SetEmissiveColor(Quantity_Color(0.2, 0.7, 0.2, Quantity_TOC_RGB)); aMaterial->SetSpecularColor(Quantity_Color(0.2, 0.7, 0.2, Quantity_TOC_RGB)); @@ -585,7 +587,7 @@ void VrmlData_ShapeConvert::addShape(const occ::handle& thePar } const TopoDS_Shape aShape = aShapeTool->GetShape(theLabel); - occ::handle aGroup = 0L; + occ::handle aGroup = nullptr; TopExp_Explorer anExp(aShape, TopAbs_FACE); int nbFaces = 0; for (; anExp.More(); anExp.Next()) @@ -605,7 +607,7 @@ void VrmlData_ShapeConvert::addShape(const occ::handle& thePar } else { - aGroup = new VrmlData_Group(myScene, 0L); + aGroup = new VrmlData_Group(myScene, nullptr); } myScene.AddNode(aGroup, theParent.IsNull()); if (!theParent.IsNull()) @@ -621,7 +623,7 @@ void VrmlData_ShapeConvert::addShape(const occ::handle& thePar occ::handle aTShapeNode = makeTShapeNode(anExp.Current(), TopAbs_FACE, aLoc); if (!aTShapeNode.IsNull()) { - occ::handle aShapeNode = 0L; + occ::handle aShapeNode = nullptr; if (aGroup.IsNull() && !aNameAttribute.IsNull()) { TCollection_AsciiString aName = aNameAttribute->Get(); @@ -631,7 +633,7 @@ void VrmlData_ShapeConvert::addShape(const occ::handle& thePar } else { - aShapeNode = new VrmlData_ShapeNode(myScene, 0L); + aShapeNode = new VrmlData_ShapeNode(myScene, nullptr); } // set color @@ -694,7 +696,7 @@ void VrmlData_ShapeConvert::addShape(const occ::handle& thePar else { // Create a Transform grouping node - occ::handle aTrans = new VrmlData_Group(myScene, 0L, true); + occ::handle aTrans = new VrmlData_Group(myScene, nullptr, true); gp_Trsf aTrsf(aLoc); if (fabs(myScale - 1.) > Precision::Confusion()) { @@ -729,11 +731,11 @@ void VrmlData_ShapeConvert::addInstance(const occ::handle& the occ::handle aShapeTool = XCAFDoc_DocumentTool::ShapeTool(theDoc->Main()); const TopLoc_Location aLoc = aShapeTool->GetLocation(theLabel); - occ::handle aTrans = 0L; + occ::handle aTrans = nullptr; if (!aLoc.IsIdentity()) { // Create a Transform grouping node - aTrans = new VrmlData_Group(myScene, 0L, true); + aTrans = new VrmlData_Group(myScene, nullptr, true); gp_Trsf aTrsf(aLoc); if (fabs(myScale - 1.) > Precision::Confusion()) { @@ -777,7 +779,7 @@ void VrmlData_ShapeConvert::addAssembly(const occ::handle& the { occ::handle aShapeTool = XCAFDoc_DocumentTool::ShapeTool(theDoc->Main()); - occ::handle anAssembly = 0L; + occ::handle anAssembly = nullptr; if (theNeedCreateGroup) { occ::handle aNameAttribute; @@ -791,7 +793,7 @@ void VrmlData_ShapeConvert::addAssembly(const occ::handle& the } else { - anAssembly = new VrmlData_Group(myScene, 0L); + anAssembly = new VrmlData_Group(myScene, nullptr); } TopLoc_Location aLoc = aShapeTool->GetLocation(theLabel); if (!aLoc.IsIdentity()) @@ -844,10 +846,10 @@ void VrmlData_ShapeConvert::ConvertDocument(const occ::handle& NCollection_Sequence aFreeShapeLabels; aShapeTool->GetFreeShapes(aFreeShapeLabels); - occ::handle aGroup = 0L; + occ::handle aGroup = nullptr; if (aFreeShapeLabels.Size() > 1) { - aGroup = new VrmlData_Group(myScene, 0L); + aGroup = new VrmlData_Group(myScene, nullptr); myScene.AddNode(aGroup); } @@ -905,7 +907,7 @@ occ::handle VrmlData_ShapeConvert::makeMaterialFromStyle( occ::down_cast(myScene.FindNode(aNodeName.ToCString())); if (anAppearance.IsNull()) { - occ::handle aMaterial = new VrmlData_Material(myScene, 0L); + occ::handle aMaterial = new VrmlData_Material(myScene, nullptr); aMaterial->SetDiffuseColor(aColor.GetRGB()); myScene.AddNode(aMaterial, false); anAppearance = new VrmlData_Appearance(myScene, aNodeName.ToCString()); diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.hxx index 220898b740..4e852a9731 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeConvert.hxx @@ -67,7 +67,7 @@ public: * Add one shape to the internal list, may be called several times with * different shapes. */ - Standard_EXPORT void AddShape(const TopoDS_Shape& theShape, const char* theName = 0L); + Standard_EXPORT void AddShape(const TopoDS_Shape& theShape, const char* theName = nullptr); /** * Convert all accumulated shapes and store them in myScene. @@ -140,7 +140,7 @@ private: NCollection_DataMap> myRelMap; // ---------- PRIVATE METHODS ---------- - void operator=(const VrmlData_ShapeConvert&); + void operator=(const VrmlData_ShapeConvert&) = delete; }; #endif diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeNode.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeNode.hxx index 574be389ac..480e3e03e1 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeNode.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_ShapeNode.hxx @@ -30,7 +30,7 @@ public: /** * Empty constructor */ - inline VrmlData_ShapeNode() {} + inline VrmlData_ShapeNode() = default; /** * Constructor @@ -71,23 +71,23 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Fill the Node internal data from the given input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Check if the Shape Node is writeable. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Sphere.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Sphere.hxx index b8360e1107..3cb5be2e6f 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Sphere.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Sphere.hxx @@ -63,25 +63,25 @@ public: * Query the primitive topology. This method returns a Null shape if there * is an internal error during the primitive creation (zero radius, etc.) */ - Standard_EXPORT virtual const occ::handle& TShape() override; + Standard_EXPORT const occ::handle& TShape() override; /** * Create a copy of this node. * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Fill the Node internal data from the given input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to output stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_TextureCoordinate.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_TextureCoordinate.hxx index b282ec547f..05e5279368 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_TextureCoordinate.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_TextureCoordinate.hxx @@ -31,7 +31,7 @@ public: * Empty constructor */ inline VrmlData_TextureCoordinate() - : myPoints(0L), + : myPoints(nullptr), myLength(0) { } @@ -42,7 +42,7 @@ public: inline VrmlData_TextureCoordinate(const VrmlData_Scene& theScene, const char* theName, const size_t nPoints = 0, - const gp_XY* arrPoints = 0L) + const gp_XY* arrPoints = nullptr) : VrmlData_Node(theScene, theName), myPoints(arrPoints), myLength(nPoints) @@ -80,13 +80,13 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_UnknownNode.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_UnknownNode.hxx index bc50f9f20f..5b41357196 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_UnknownNode.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_UnknownNode.hxx @@ -32,14 +32,14 @@ public: /** * Empty Constructor. */ - inline VrmlData_UnknownNode() {} + inline VrmlData_UnknownNode() = default; /** * Constructor. */ inline VrmlData_UnknownNode(const VrmlData_Scene& theScene, - const char* theName = 0L, - const char* theTitle = 0L) + const char* theName = nullptr, + const char* theTitle = nullptr) : VrmlData_Node(theScene, theName) { if (theTitle) @@ -49,7 +49,7 @@ public: /** * Read the unknown node, till the last closing brace of it. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Query the title of the unknown node. @@ -59,7 +59,7 @@ public: /** * Check if the Node is non-writeable -- always returns true. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.cxx index 4f0490336a..37f8091db9 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.cxx @@ -42,13 +42,13 @@ VrmlData_WorldInfo::VrmlData_WorldInfo(const VrmlData_Scene& theScene, void VrmlData_WorldInfo::SetTitle(const char* theString) { - if (theString == 0L) - myTitle = 0L; + if (theString == nullptr) + myTitle = nullptr; else { const size_t len = strlen(theString) + 1; if (len == 1) - myTitle = 0L; + myTitle = nullptr; else { myTitle = static_cast(Scene().Allocator()->Allocate(len)); @@ -64,7 +64,7 @@ void VrmlData_WorldInfo::SetTitle(const char* theString) void VrmlData_WorldInfo::AddInfo(const char* theString) { - if (theString != 0L) + if (theString != nullptr) if (*theString != '\0') { const size_t len = strlen(theString) + 1; @@ -161,7 +161,7 @@ VrmlData_ErrorStatus VrmlData_WorldInfo::Write(const char* thePrefix) const if (myInfo.IsEmpty() == false && OK(aStatus)) { - if (OK(aStatus, aScene.WriteLine("info [", 0L, GlobalIndent()))) + if (OK(aStatus, aScene.WriteLine("info [", nullptr, GlobalIndent()))) { NCollection_List::Iterator anIter(myInfo); while (anIter.More()) @@ -174,7 +174,7 @@ VrmlData_ErrorStatus VrmlData_WorldInfo::Write(const char* thePrefix) const aStatus = aScene.WriteLine(buf); } } - aStatus = aScene.WriteLine("]", 0L, -GlobalIndent()); + aStatus = aScene.WriteLine("]", nullptr, -GlobalIndent()); } aStatus = WriteClosing(); @@ -186,5 +186,5 @@ VrmlData_ErrorStatus VrmlData_WorldInfo::Write(const char* thePrefix) const bool VrmlData_WorldInfo::IsDefault() const { - return (myTitle == 0L && myInfo.IsEmpty()); + return (myTitle == nullptr && myInfo.IsEmpty()); } diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.hxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.hxx index 22567e1c71..d9e4b875a8 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.hxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_WorldInfo.hxx @@ -31,7 +31,7 @@ public: * Empty Constructor. */ inline VrmlData_WorldInfo() - : myTitle(0L) + : myTitle(nullptr) { } @@ -39,8 +39,8 @@ public: * Constructor. */ Standard_EXPORT VrmlData_WorldInfo(const VrmlData_Scene& theScene, - const char* theName = 0L, - const char* theTitle = 0L); + const char* theName = nullptr, + const char* theTitle = nullptr); /** * Set or modify the title. @@ -67,23 +67,23 @@ public: * If the parameter is null, a new copied node is created. Otherwise new node * is not created, but rather the given one is modified. */ - Standard_EXPORT virtual occ::handle Clone( + Standard_EXPORT occ::handle Clone( const occ::handle& theOther) const override; /** * Read the Node from input stream. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; + Standard_EXPORT VrmlData_ErrorStatus Read(VrmlData_InBuffer& theBuffer) override; /** * Write the Node to the Scene output. */ - Standard_EXPORT virtual VrmlData_ErrorStatus Write(const char* thePrefix) const override; + Standard_EXPORT VrmlData_ErrorStatus Write(const char* thePrefix) const override; /** * Returns True if the node is default, then it would not be written. */ - Standard_EXPORT virtual bool IsDefault() const override; + Standard_EXPORT bool IsDefault() const override; private: // ---------- PRIVATE FIELDS ---------- diff --git a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_CafReader.hxx b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_CafReader.hxx index dc65371c96..30ffbb5660 100644 --- a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_CafReader.hxx +++ b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_CafReader.hxx @@ -68,7 +68,7 @@ public: Standard_EXPORT RWMesh_CafReader(); //! Destructor. - Standard_EXPORT virtual ~RWMesh_CafReader(); + Standard_EXPORT ~RWMesh_CafReader() override; //! Return target document. const occ::handle& Document() const { return myXdeDoc; } diff --git a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_MaterialMap.hxx b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_MaterialMap.hxx index 275de69400..a5c3a8bb67 100644 --- a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_MaterialMap.hxx +++ b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_MaterialMap.hxx @@ -29,7 +29,7 @@ public: Standard_EXPORT RWMesh_MaterialMap(const TCollection_AsciiString& theFile); //! Destructor. - Standard_EXPORT virtual ~RWMesh_MaterialMap(); + Standard_EXPORT ~RWMesh_MaterialMap() override; //! Return default material definition to be used for nodes with only color defined. const XCAFPrs_Style& DefaultStyle() const { return myDefaultStyle; } diff --git a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.cxx b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.cxx index 1e4906e180..0ddf1943db 100644 --- a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.cxx +++ b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.cxx @@ -81,7 +81,7 @@ void RWMesh_TriangulationReader::LoadingStatistic::PrintStatistic( //================================================================================================= RWMesh_TriangulationReader::RWMesh_TriangulationReader() - : myLoadingStatistic(NULL), + : myLoadingStatistic(nullptr), myIsDoublePrecision(false), myToSkipDegenerateTris(false), myToPrintDebugMessages(false) diff --git a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.hxx b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.hxx index ca9cb0b618..8558139257 100644 --- a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.hxx +++ b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationReader.hxx @@ -60,7 +60,7 @@ public: Standard_EXPORT RWMesh_TriangulationReader(); //! Destructor. - Standard_EXPORT virtual ~RWMesh_TriangulationReader(); + Standard_EXPORT ~RWMesh_TriangulationReader() override; //! Returns file name for reporting issues. const TCollection_AsciiString& FileName() const { return myFileName; } @@ -120,7 +120,7 @@ public: if (myLoadingStatistic) { delete myLoadingStatistic; - myLoadingStatistic = NULL; + myLoadingStatistic = nullptr; } } diff --git a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationSource.hxx b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationSource.hxx index 7b0ad2d5f4..e0ce9116a4 100644 --- a/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationSource.hxx +++ b/src/DataExchange/TKRWMesh/RWMesh/RWMesh_TriangulationSource.hxx @@ -30,7 +30,7 @@ public: Standard_EXPORT RWMesh_TriangulationSource(); //! Destructor. - Standard_EXPORT virtual ~RWMesh_TriangulationSource(); + Standard_EXPORT ~RWMesh_TriangulationSource() override; //! Returns reader allowing to read data from the buffer. const occ::handle& Reader() const { return myReader; } @@ -46,7 +46,7 @@ public: int& ChangeDegeneratedTriNb() { return myStatisticOfDegeneratedTriNb; } //! Returns TRUE if triangulation has some geometry. - virtual bool HasGeometry() const override + bool HasGeometry() const override { return !myNodes.IsEmpty() && (!myTriangles.IsEmpty() || !myEdges.IsEmpty()); } @@ -69,7 +69,7 @@ public: //! @name late-load deferred data interface //! Note: this is estimated values defined in object header, which might be different from //! actually loaded values (due to broken header or extra mesh processing). Always check //! triangulation size of actually loaded data in code to avoid out-of-range issues. - virtual int NbDeferredNodes() const override { return myNbDefNodes; } + int NbDeferredNodes() const override { return myNbDefNodes; } //! Sets number of nodes for deferred loading. void SetNbDeferredNodes(const int theNbNodes) { myNbDefNodes = theNbNodes; } @@ -78,7 +78,7 @@ public: //! @name late-load deferred data interface //! Note: this is estimated values defined in object header, which might be different from //! actually loaded values (due to broken header or extra mesh processing). Always check //! triangulation size of actually loaded data in code to avoid out-of-range issues. - virtual int NbDeferredTriangles() const override { return myNbDefTriangles; } + int NbDeferredTriangles() const override { return myNbDefTriangles; } //! Sets number of triangles for deferred loading. void SetNbDeferredTriangles(const int theNbTris) { myNbDefTriangles = theNbTris; } @@ -94,7 +94,7 @@ public: //! @name late-load deferred data interface protected: //! Loads triangulation data from deferred storage using specified shared input file system. - Standard_EXPORT virtual bool loadDeferredData( + Standard_EXPORT bool loadDeferredData( const occ::handle& theFileSystem, const occ::handle& theDestTriangulation) const override; diff --git a/src/DataExchange/TKXCAF/XCAFApp/XCAFApp_Application.hxx b/src/DataExchange/TKXCAF/XCAFApp/XCAFApp_Application.hxx index fc682d397a..dff304ef24 100644 --- a/src/DataExchange/TKXCAF/XCAFApp/XCAFApp_Application.hxx +++ b/src/DataExchange/TKXCAF/XCAFApp/XCAFApp_Application.hxx @@ -29,10 +29,10 @@ class XCAFApp_Application : public TDocStd_Application public: //! methods from TDocStd_Application //! ================================ - Standard_EXPORT virtual const char* ResourcesName() override; + Standard_EXPORT const char* ResourcesName() override; //! Set XCAFDoc_DocumentTool attribute - Standard_EXPORT virtual void InitDocument(const occ::handle& aDoc) const override; + Standard_EXPORT void InitDocument(const occ::handle& aDoc) const override; //! Initializes (for the first time) and returns the //! static object (XCAFApp_Application) diff --git a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.cxx b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.cxx index 1b66b406c0..c2492b40b5 100644 --- a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.cxx +++ b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.cxx @@ -26,7 +26,7 @@ IMPLEMENT_DERIVED_ATTRIBUTE_WITH_TYPE(XCAFDoc_Area, TDataStd_Real, "xcaf", "Area //================================================================================================= -XCAFDoc_Area::XCAFDoc_Area() {} +XCAFDoc_Area::XCAFDoc_Area() = default; //================================================================================================= diff --git a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.hxx b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.hxx index bb686e6801..c97f73c4d4 100644 --- a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.hxx +++ b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_Area.hxx @@ -50,11 +50,10 @@ public: //! returns false if no such attribute at the