* \brief Identifier of the event kind.
*
* Each event ID is created in main Envent_Loop class
- * that stores correspondance between the string-name of the
+ * that stores correspondence between the string-name of the
* identifier and the pointer to the static string that is really
- * used as an identifier (this is usefull for debugging of the events
+ * used as an identifier (this is useful for debugging of the events
* with log files and in debugger).
*/
class EVENTS_EXPORT Events_ID
} else if (theAttrType == ModelAPI_AttributeIntArray::typeId()) {
anAttr = new Model_AttributeIntArray(anAttrLab);
}
- // create also GeomData attributes here because only here the OCAF strucure is known
+ // create also GeomData attributes here because only here the OCAF structure is known
else if (theAttrType == GeomData_Point::typeId()) {
anAttr = new GeomData_Point(anAttrLab);
} else if (theAttrType == GeomData_Dir::typeId()) {
return anId;
}
- /// usefull method that creates and sends the AttributeEvalMessage event
+ /// Useful method that creates and sends the AttributeEvalMessage event
MODELAPI_EXPORT static void send(AttributePtr theAttribute, const void* theSender)
{
std::shared_ptr<ModelAPI_AttributeEvalMessage> aMessage =