SHAPER  9.12.0
ModelAPI_AttributeEvalMessage Class Reference

Message that attribute text should be evaluated in the attribute value. More...

Inheritance diagram for ModelAPI_AttributeEvalMessage:
Inheritance graph

Public Member Functions

MODELAPI_EXPORT ModelAPI_AttributeEvalMessage (const Events_ID theID, const void *theSender=0)
 Creates an empty message. More...
 
virtual MODELAPI_EXPORT ~ModelAPI_AttributeEvalMessage ()
 The virtual destructor. More...
 
MODELAPI_EXPORT AttributePtr attribute () const
 Returns a document stored in the message. More...
 
MODELAPI_EXPORT void setAttribute (AttributePtr theAttribute)
 Sets an attribute to the message. More...
 
const Events_IDeventID () const
 Returns identifier of the message. More...
 
void * sender () const
 Returns sender of the message or NULL if it is anonymous message. More...
 

Static Public Member Functions

static MODELAPI_EXPORT Events_IDeventId ()
 Static. Returns EventID of the message. More...
 
static MODELAPI_EXPORT void send (AttributePtr theAttribute, const void *theSender)
 Useful method that creates and sends the AttributeEvalMessage event. More...
 

Detailed Description

Message that attribute text should be evaluated in the attribute value.

Constructor & Destructor Documentation

◆ ModelAPI_AttributeEvalMessage()

ModelAPI_AttributeEvalMessage::ModelAPI_AttributeEvalMessage ( const Events_ID  theID,
const void *  theSender = 0 
)

Creates an empty message.

◆ ~ModelAPI_AttributeEvalMessage()

ModelAPI_AttributeEvalMessage::~ModelAPI_AttributeEvalMessage ( )
virtual

The virtual destructor.

Member Function Documentation

◆ eventId()

static MODELAPI_EXPORT Events_ID& ModelAPI_AttributeEvalMessage::eventId ( )
inlinestatic

Static. Returns EventID of the message.

◆ send()

static MODELAPI_EXPORT void ModelAPI_AttributeEvalMessage::send ( AttributePtr  theAttribute,
const void *  theSender 
)
inlinestatic

Useful method that creates and sends the AttributeEvalMessage event.

◆ attribute()

AttributePtr ModelAPI_AttributeEvalMessage::attribute ( ) const

Returns a document stored in the message.

◆ setAttribute()

void ModelAPI_AttributeEvalMessage::setAttribute ( AttributePtr  theAttribute)

Sets an attribute to the message.

◆ eventID()

const Events_ID& Events_Message::eventID ( ) const
inlineinherited

Returns identifier of the message.

◆ sender()

void* Events_Message::sender ( ) const
inlineinherited

Returns sender of the message or NULL if it is anonymous message.