VMime
|
Public Member Functions | |
UIDMessageRange (const message::uid &uid) | |
UIDMessageRange (const message::uid &first, const message::uid &last) | |
UIDMessageRange (const UIDMessageRange &other) | |
const message::uid | getFirst () const |
const message::uid | getLast () const |
void | enumerate (messageSetEnumerator &en) const |
messageRange * | clone () const |
Additional Inherited Members | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
A range of (continuous) messages represented by their UID.
UIDMessageRange | ( | const message::uid & | uid | ) |
Constructs a message range containing a single message.
uid | message UID |
Referenced by UIDMessageRange::clone().
UIDMessageRange | ( | const message::uid & | first, |
const message::uid & | last | ||
) |
Constructs a message range for multiple messages.
first | UID of the first message in the range |
last | UID of the last message in the range, or use the special value '*' to designate the last message in the folder |
UIDMessageRange | ( | const UIDMessageRange & | other | ) |
Constructs a message range by copying from another range.
other | range to copy |
|
virtual |
|
virtual |
Enumerates this range with the specified enumerator.
en | enumerator that will receive the method calls while enumerating this range |
Implements messageRange.
References messageSetEnumerator::enumerateUIDMessageRange().
const message::uid getFirst | ( | ) | const |
Returns the UID of the first message in the range.
const message::uid getLast | ( | ) | const |
Returns the UID of the last message in the range, or '*' to designate the last message in the folder.