MantisBT
Mantis Bug Tracker Workflow

occt: master c67cd62e Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
abv bugmaster master 2014-07-08 12:11:16 master cd7c40f5
Affected Issues 0025057: Message_Algorithm fails to find messages defined for base class
Changeset 0025057: Message_Algorithm fails to find messages defined for base class

New method HasMsg() is added in Message_MsgFile class to check if message with given key is registered.
That method is used in Message_Algorithm to check if message is defined on given level of class hierarchy.

Generation of error message in Message_MsgFile::Msg() is revised: now it includes a message key and gets added to the registry, to avoid re-generation in case of multiple requests.
Access to message registry maintained by the Message_MsgFile class is protected from concurrent access by mutex.
mod - src/Message/Message_Algorithm.cxx Diff ] File ]
mod - src/Message/Message_MsgFile.cdl Diff ] File ]
mod - src/Message/Message_MsgFile.cxx Diff ] File ]


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker