Xavax C++ Library | Class Index FAQ Overview |
Constructor Summary |
MessageSet(MessageCatalog& catalog, const MessageSetData* setData)
Construct a MessageSet object. |
MessageSet(MessageCatalog& catalog,
UInt16 setNumber, UInt16 msgCount)
Construct an empty MessageSet object. |
Method Summary | |
MessageCatalog&
|
catalog() const
Return the message catalog containing this set. |
UInt16
|
count() const
Return the number of messages in this set. |
const char*
|
defaultText(UInt16 msgNum)
Return the default text for a message. |
bool
|
initialized() const
Returns true if this set is initialized. |
Message*
|
message(UInt16 msgNumber)
Return a pointer to the specified message. |
UInt16
|
set() const
Return the set number for this set. |
const char*
|
text(UInt16 setNum,
UInt16 msgNum)
Return the text for a message. |
Related Classes | |
Message, MessageCatalog |
Constructor Detail |
MessageSet(MessageCatalog& catalog, const MessageSetData* setData)
setData
and add it to the specified message catalog.
This constructor is used by the message catalog when
loading default catalog data produced by the message editor.catalog
- a message catalog.setData
- default data for the message set.MessageSet(MessageCatalog& catalog, UInt16 setNumber, UInt16 msgCount)
msgCount
messages.
catalog
- a message catalog.setNumber
- the set number for this object.msgCount
- the maximum number of messages.
Method Detail |
MessageCatalog& catalog() const
UInt16 count() const
const char* defaultText(UInt16 msgNum)
msgNum
- the message number.bool initialized() const
Message message(UInt16 msgNum) const
msgNum
.
msgNum
- the message number.UInt16 set() const
const char* text(UInt16 msgNum)
msgNum
- the message number.
Example Code |
Copyright © 2003 Xavax Inc. -- All Rights Reserved