Usage: you must use this class as is. You should never derive it.
public class CATMsg
Message from a message catalog.
Role: Processing a message from a message catalog (see ). A message is the unit cell that is the a message of a
message catalog (see
). A message is a parameterized alphanumerical
string which can be used for any alphanumerical item of
information, a warning, a help or error message, and whenever you need to display any text in a
dialog window, such a the caption on a push button.
NLS (National Langage Support) is supported.
Syntaxically, a CATMsg object (which can be, as you can see in its syntax below, constructed simply calling the CATMsg class constructor, with no argument), corresponds precisely to an access to the message itself.
A given message of a message catalog contains a key. This key identifies a message. For example, the method, to substitute a message in a given message catalog, takes as the input message identifier its key.
Regarding the parameters of a message, you reference them through a syntax of the following form: A parameter begins with /p or /P in the message text. The following are examples of messages:
Message1 = "This is a simple message."; Message2 = "This message includes the parameter /P1 that is valued by your application at run-time."; Message3 = "This is a", "compound ", "message."; Message4 = "You can use control characters such as \t or \n in your messages.";Messages can be easily translated, since they are stored outside of the code that handles them. see see
public CATMsg( | ) |
public CATMsg( | const | iMessage) |
public CATMsg( | const | iString) |
public ~CATMsg( | ) |
public operator=( | const | iMessage) |
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.