Coding - Add RTTI support for TFunction_Logbook class (#741)

- Added RTTI macro declarations and implementations for TFunction_Logbook
- Improved type identification for debugging and error reporting
This commit is contained in:
Gordan Segon
2025-10-10 14:07:03 +02:00
committed by GitHub
parent df7e26c79d
commit a042bed175
2 changed files with 4 additions and 0 deletions
@@ -22,6 +22,8 @@
#include <TFunction_Logbook.hxx>
#include <Standard_GUID.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TFunction_Logbook, TDF_Attribute)
//=======================================================================
// function : GetID
// purpose : Static method to get an ID
@@ -116,6 +116,8 @@ public:
//! Prints th data of the attributes (touched, impacted and valid labels).
Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const Standard_OVERRIDE;
DEFINE_STANDARD_RTTIEXT(TFunction_Logbook, TDF_Attribute)
private:
TDF_LabelMap myTouched;
TDF_LabelMap myImpacted;