|
VMime
|
#include <messageSet.hpp>


Public Member Functions | |
| numberMessageRange (const size_t number) | |
| numberMessageRange (const size_t first, const size_t last) | |
| numberMessageRange (const numberMessageRange &other) | |
| size_t | getFirst () const |
| size_t | getLast () const |
| void | enumerate (messageSetEnumerator &en) const |
| messageRange * | clone () const |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A range of (continuous) messages designated by their sequence number.
| numberMessageRange | ( | const size_t | number | ) |
Constructs a message range containing a single message.
| number | message number (numbering starts at 1, not 0) |
References vmime::dynamicCast().
| numberMessageRange | ( | const size_t | first, |
| const size_t | 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 |
References vmime::dynamicCast().
| numberMessageRange | ( | const numberMessageRange & | other | ) |
Constructs a message range by copying from another range.
| other | range to copy |
|
virtual |
Clones this message range.
Implements messageRange.
|
virtual |
Enumerates this range with the specified enumerator.
| en | enumerator that will receive the method calls while enumerating this range |
Implements messageRange.
References vmime::dynamicCast().
| size_t getFirst | ( | ) | const |
Returns the number of the first message in the range.
| size_t getLast | ( | ) | const |
Returns the number of the last message in the range, or -1 to designate the last message in the folder.