// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _ShapeExtend_MsgRegistrator_HeaderFile #define _ShapeExtend_MsgRegistrator_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ShapeExtend_MsgRegistrator_HeaderFile #include #endif #ifndef _ShapeExtend_DataMapOfTransientListOfMsg_HeaderFile #include #endif #ifndef _ShapeExtend_DataMapOfShapeListOfMsg_HeaderFile #include #endif #ifndef _ShapeExtend_BasicMsgRegistrator_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Message_Gravity_HeaderFile #include #endif class Standard_Transient; class Message_Msg; class TopoDS_Shape; class ShapeExtend_DataMapOfTransientListOfMsg; class ShapeExtend_DataMapOfShapeListOfMsg; //! Attaches messages to the objects (generic Transient or shape).
//! The objects of this class are transmitted to the Shape Healing
//! algorithms so that they could collect messages occurred during
//! processing.
class ShapeExtend_MsgRegistrator : public ShapeExtend_BasicMsgRegistrator { public: //! Creates an object.
Standard_EXPORT ShapeExtend_MsgRegistrator(); //! Sends a message to be attached to the object.
//! If the object is in the map then the message is added to the
//! list, otherwise the object is firstly added to the map.
Standard_EXPORT virtual void Send(const Handle(Standard_Transient)& object,const Message_Msg& message,const Message_Gravity gravity) ; //! Sends a message to be attached to the shape.
//! If the shape is in the map then the message is added to the
//! list, otherwise the shape is firstly added to the map.
Standard_EXPORT virtual void Send(const TopoDS_Shape& shape,const Message_Msg& message,const Message_Gravity gravity) ; //! Returns a Map of objects and message list
const ShapeExtend_DataMapOfTransientListOfMsg& MapTransient() const; //! Returns a Map of shapes and message list
const ShapeExtend_DataMapOfShapeListOfMsg& MapShape() const; DEFINE_STANDARD_RTTI(ShapeExtend_MsgRegistrator) protected: private: ShapeExtend_DataMapOfTransientListOfMsg myMapTransient; ShapeExtend_DataMapOfShapeListOfMsg myMapShape; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif