mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-24 19:36:05 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user