UndoMessageList is a container for undo messages.
The items contained are either messages or UndoMessageLists representing a group of messages.
#include
<class_messaging_implementation_1_1_undo_message_list.h>
Public Member Functions |
|
__iter__ () | |
This iterator returns the messages
contained, including those in any nested UndoMessageList
(essentially iterating over a single flattened list). |
|
__len__ () | |
Returns the number of undo messages in this
list. |
|
__getitem__ () | |
Returns the item at the given index; None if
the item doesn't exist. |
|
hasMessages () | |
Returns True if there is at least one
message in this container. |
MessagingImplementation.UndoMessageList.__iter__ | ( | ) |
This iterator returns the messages contained, including those in any nested UndoMessageList (essentially iterating over a single flattened list).
MessagingImplementation.UndoMessageList.__len__ | ( | ) |
Returns the number of undo messages in this list.
MessagingImplementation.UndoMessageList.__getitem__ | ( | ) |
Returns the item at the given index; None if the item doesn't exist.
MessagingImplementation.UndoMessageList.hasMessages | ( | ) |
Returns True if there is at least one message in this container.