VMime
|
Public Member Functions | |
numberMessageRange (const int number) | |
numberMessageRange (const int first, const int last) | |
numberMessageRange (const numberMessageRange &other) | |
int | getFirst () const |
int | 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 designated by their sequence number.
numberMessageRange | ( | const int | number | ) |
Constructs a message range containing a single message.
number | message number (numbering starts at 1, not 0) |
Referenced by numberMessageRange::clone().
numberMessageRange | ( | const int | first, |
const int | last | ||
) |
Constructs a message range for multiple messages.
first | number of the first message in the range (numbering starts at 1, not 0) |
last | number of the last message in the range, or use the special value -1 to designate the last message in the folder |
numberMessageRange | ( | const numberMessageRange & | other | ) |
Constructs a message range by copying from another range.
other | range to copy |
|
virtual |
Clones this message range.
Implements messageRange.
References numberMessageRange::numberMessageRange().
|
virtual |
Enumerates this range with the specified enumerator.
en | enumerator that will receive the method calls while enumerating this range |
Implements messageRange.
References messageSetEnumerator::enumerateNumberMessageRange().
int getFirst | ( | ) | const |
Returns the number of the first message in the range.
int getLast | ( | ) | const |
Returns the number of the last message in the range, or -1 to designate the last message in the folder.