Inheritance diagram for FlagsResponse:

Note: Do not confuse the FLAGS response, represented by FlagsResponse, and the FLAGS data item of a FETCH response, represented by FlagsData. The FLAGS response indicates which flags are recognized by the server. The FLAGS data of a FETCH response indicates the flags that are set for a particular message.
Public Member Functions | |
| FlagsResponse () | |
| Default constructor. | |
| FlagsResponse (const FlagsResponse &other) | |
| Copy constructor. | |
| virtual | ~FlagsResponse () |
| Destructor. | |
| FlagsResponse & | operator= (const FlagsResponse &other) |
| Assignment operator. | |
| bool | Answered () const |
| Indicates if \Answered flag was present in response. | |
| bool | Flagged () const |
| Indicates if \Flagged flag was present in response. | |
| bool | Deleted () const |
| Indicates if \Deleted flag was present in response. | |
| bool | Seen () const |
| Indicates if \Seen flag was present in response. | |
| bool | Draft () const |
| Indicates if \Draft flag was present in response. | |
| bool | Flag (const char *name) const |
| Indicates if specified flag was present in response. | |
| unsigned | NumFlags () const |
| Gets the number of flags. | |
| const char * | FlagAt (unsigned index) |
| Gets the flag at the specified position. | |
| void | SetParams (const char *str) |
| Sets parameters for the response. | |
|
|
Default constructor. |
|
|
Copy constructor.
|
|
|
Destructor. |
|
|
Returns true if the \Answered flag was present in the response. The \Answered flag indicates that the message has been answered.
|
|
|
Returns true if the \Deleted flag was present in the response. The \Deleted flag indicates that the message has been marked for deletion. When a message is marked for deletion, it is still present in the mailbox, and can still have the \Deleted flag cleared. However, when the mailbox is closed or the EXPUNGE command is sent by the client, all messages marked with the \Deleted flag are permanently deleted.
|
|
|
Returns true if the \Draft flag was present in the response. The \Draft flag indicates that the message is being stored in the mailbox while it is being composed.
|
|
|
Returns true if the specified flag was present in the response.
|
|
|
Gets the flag at the specified position. You may use this member function and the NumFlags() member function to discover all the flags in the response. For the most common flags, you may use the convenience member functions Answered(), Flagged(), Deleted(), Seen(), and Draft() to learn if those flags are in the response. The parameter index must satisfy the constraint index < NumFlags().
|
|
|
Returns true if the \Flagged flag was present in the response. The \Flagged flag indicates that the message has been marked for special attention (e.g. the messages is urgent).
|
|
|
Gets the number of flags. You may use this member function and the FlagAt() member function to discover all the flags in the response. For the most common flags, you may use the convenience member functions Answered(), Flagged(), Deleted(), Seen(), and Draft() to learn if those flags are in the response.
|
|
|
Assignment operator.
|
|
|
Returns true if the \Seen flag was present in the response. The \Seen flag indicates that the message has been seen by the client.
|
|
|
Sets parameters for the response. Only the parser should call this function.
|
Copyright © 2001-2005 Hunny Software, Inc. All rights reserved.