Xavax C++ Library | Class Index FAQ Overview |
Attribute | Description |
---|---|
default text | text provided by the programmer or message editor which is compiled into the program and used when the message catalog file is not available. |
length | the length of the message catalog text. |
message number | a numeric identifier that is unique within a message set. |
offset | the offset of the text for this message within the text data block read from the message catalog. |
text | the message text read from the message catalog. |
Constructor Summary |
Message(const
MessageData* msgData)
Construct a Message object. |
Message(UInt16 msgNumber,
UInt16 length, UInt32 offset)
Construct a Message object. |
Method Summary | |
const char*
|
defaultText() const
Return the default text for this message. |
UInt16
|
length() const
Return the message length. |
UInt16
|
msgnum() const
Return the message number. |
UInt32
|
offset() const
Return the offset for this message. |
const char*
|
text() const
Return the text for this message. |
Related Classes | |
MessageCatalog, MessageSet |
Constructor Detail |
Message(const MessageData* msgData)
msgData
- default data for this message.Message(UInt16 msgNumber, UInt16 length,
UInt32 offset)
msgNumber
- the message number for this message.length
- the length of this message.offset
- the offset of this message within the
text read from the message catalog.
Method Detail |
const char* defaultText() const
UInt16 length() const
UInt16 msgnum() const
UInt32 offset() const
const char* text() const
Example Code |
Copyright © 2003 Xavax Inc. -- All Rights Reserved