PollRsp Class Reference
EPP
PollRsp Class.
More...
#include <PollRsp.H>
List of all members.
|
Classes |
struct | MsgContent |
Public Member Functions |
| PollRsp (bool reset=true) |
| Default constructor.
|
void | set_count (const string &count) |
| Sets the message count.
|
void | set_id (const string &id) |
| Sets the message id.
|
void | set_qDate (const string &qDate) |
| Sets the message date.
|
void | set_lang (const string &lang) |
| Sets the language of the message.
|
void | set_text (const string &text) |
| Sets the message text.
|
void | set_content (const map< string, MsgContent, less< string > > &content) |
| Sets the msg content.
|
void | set_response (Response *resp, const ActionType type) |
| Sets the specific response inside the poll response.
|
string | get_count () const |
| Returns the message count.
|
string | get_id () const |
| Returns the message id.
|
string | get_qDate () const |
| Returns the message date.
|
string | get_lang () const |
| Returns the message language.
|
string | get_text () const |
| Returns the message text.
|
map< string, MsgContent, less
< string > > | get_content () const |
| Returns the msg content.
|
ActionType | get_response_type () const |
| Returns the response type of the specific response.
|
Response * | get_response () |
| Returns the specific response inside the poll response.
|
void | reset () |
| reset attributes
|
Protected Attributes |
string | _count |
| Counter.
|
string | _id |
| Contact id.
|
string | _qDate |
| Date when the message entered in the queue.
|
string | _lang |
| Language msg.
|
string | _text |
| Text msg.
|
map< string, MsgContent, less
< string > > | _content |
| Message content.
|
ActionType | _type |
| Response type.
|
auto_ptr< Response > | _response |
| Response (resData element).
|
Detailed Description
EPP
PollRsp Class.
Member Function Documentation
map< string, MsgContent, less<string> > PollRsp::get_content |
( |
|
) |
const [inline] |
Returns the msg content.
- Returns:
- msg content
References _content.
string PollRsp::get_count |
( |
|
) |
const [inline] |
Returns the message count.
- Returns:
- message count
References _count.
string PollRsp::get_id |
( |
|
) |
const [inline] |
Returns the message id.
- Returns:
- message id
References _id.
string PollRsp::get_lang |
( |
|
) |
const [inline] |
Returns the message language.
- Returns:
- message language
References _lang.
string PollRsp::get_qDate |
( |
|
) |
const [inline] |
Returns the message date.
- Returns:
- qDate
References _qDate.
Response* PollRsp::get_response |
( |
|
) |
[inline] |
Returns the specific response inside the poll response.
- Returns:
- a pointer to the response
References _response.
ActionType PollRsp::get_response_type |
( |
|
) |
const [inline] |
Returns the response type of the specific response.
- Returns:
- Response type
References _type.
string PollRsp::get_text |
( |
|
) |
const [inline] |
Returns the message text.
- Returns:
- message text
References _text.
void PollRsp::set_content |
( |
const map< string, MsgContent, less< string > > & |
content |
) |
[inline] |
Sets the msg content.
- Parameters:
-
References _content.
void PollRsp::set_count |
( |
const string & |
count |
) |
[inline] |
Sets the message count.
- Parameters:
-
References _count.
void PollRsp::set_id |
( |
const string & |
id |
) |
[inline] |
Sets the message id.
- Parameters:
-
References _id.
void PollRsp::set_lang |
( |
const string & |
lang |
) |
[inline] |
Sets the language of the message.
- Parameters:
-
References _lang.
void PollRsp::set_qDate |
( |
const string & |
qDate |
) |
[inline] |
Sets the message date.
- Parameters:
-
| qDate | date when the message entered in the queue |
References _qDate.
Sets the specific response inside the poll response.
- Parameters:
-
| resp | response (resData element) |
| type | response type |
References _response, and _type.
void PollRsp::set_text |
( |
const string & |
text |
) |
[inline] |
Sets the message text.
- Parameters:
-
References _text.
The documentation for this class was generated from the following file: