|
SHAPER
9.15.0
|
An event message for sending a string message which has to be translated. More...

Public Member Functions | |
| Events_InfoMessage (const void *theSender=0) | |
| Constructor. More... | |
| Events_InfoMessage (const std::string &theContext, const std::string &theMsg, const void *theSender=0) | |
| Constructor. More... | |
| virtual | ~Events_InfoMessage () |
| default destructor More... | |
| void | setContext (const std::string &theContext) |
| Set a context string. More... | |
| std::string | context () const |
| Returns context string. More... | |
| void | setMessageString (const std::string &theMsg) |
| Set message string for translation. More... | |
| std::string | messageString () const |
| Returns message. More... | |
| Events_InfoMessage & | operator= (const std::string &theMsg) |
| bool | empty () const |
| void | addParameter (const std::string &theParam) |
| Add parameter for message string of string type. More... | |
| EVENTS_EXPORT void | addParameter (double theParam) |
| Add parameter for message string of double type. More... | |
| EVENTS_EXPORT void | addParameter (int theParam) |
| Add parameter for message string of integer type. More... | |
| std::list< std::string > | parameters () const |
| Returns list of parameters. More... | |
| EVENTS_EXPORT Events_InfoMessage & | arg (const std::wstring &theParam) |
| Add parameter for message string of wstring type. More... | |
| Events_InfoMessage & | arg (const std::string &theParam) |
| Add parameter for message string of string type. More... | |
| Events_InfoMessage & | arg (int theParam) |
| Add parameter for message string of integer type. More... | |
| Events_InfoMessage & | arg (double theParam) |
| Add parameter for message string of double type. More... | |
| EVENTS_EXPORT void | send () |
| Send the message. More... | |
| const Events_ID & | eventID () 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 Events_ID | errorID () |
| Identifier of this event (one for all errors) More... | |
An event message for sending a string message which has to be translated.
|
inlineexplicit |
Constructor.
| theSender | a pointer on sender object |
|
inline |
Constructor.
| theSender | a pointer on sender object |
|
inlinevirtual |
default destructor
|
inlinestatic |
Identifier of this event (one for all errors)
|
inline |
Set a context string.
| theContext | a context string |
|
inline |
Returns context string.
|
inline |
Set message string for translation.
| theMsg | the string of message |
|
inline |
Returns message.
|
inline |
Add parameter for message string of string type.
| theParam | the parameter |
| void Events_InfoMessage::addParameter | ( | double | theParam | ) |
Add parameter for message string of double type.
| theParam | the parameter |
| void Events_InfoMessage::addParameter | ( | int | theParam | ) |
Add parameter for message string of integer type.
| theParam | the parameter |
|
inline |
Returns list of parameters.
| Events_InfoMessage & Events_InfoMessage::arg | ( | const std::wstring & | theParam | ) |
Add parameter for message string of wstring type.
| theParam | the parameter |
|
inline |
Add parameter for message string of string type.
| theParam | the parameter |
|
inline |
Add parameter for message string of integer type.
| theParam | the parameter |
|
inline |
Add parameter for message string of double type.
| theParam | the parameter |
| void Events_InfoMessage::send | ( | ) |
Send the message.
|
inlineinherited |
Returns identifier of the message.
|
inlineinherited |
Returns sender of the message or NULL if it is anonymous message.