#include <PollRsp.H>
Inheritance diagram for PollRsp:
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 () |
Returns the message count. | |
string | get_id () |
Returns the message id. | |
string | get_qDate () |
Returns the message date. | |
string | get_lang () |
Returns the message language. | |
string | get_text () |
Returns the message text. | |
map< string, MsgContent, less< string > > | get_content () |
Returns the msg content. | |
ActionType | get_response_type () |
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). | |
Classes | |
struct | MsgContent |
map< string, MsgContent, less<string> > PollRsp::get_content | ( | ) | [inline] |
Returns the msg content.
string PollRsp::get_count | ( | ) | [inline] |
Returns the message count.
string PollRsp::get_id | ( | ) | [inline] |
Returns the message id.
string PollRsp::get_lang | ( | ) | [inline] |
Returns the message language.
string PollRsp::get_qDate | ( | ) | [inline] |
Returns the message date.
Response* PollRsp::get_response | ( | ) | [inline] |
Returns the specific response inside the poll response.
ActionType PollRsp::get_response_type | ( | ) | [inline] |
string PollRsp::get_text | ( | ) | [inline] |
Returns the message text.
void PollRsp::set_content | ( | const map< string, MsgContent, less< string > > & | content | ) | [inline] |
Sets the msg content.
content | msg |
void PollRsp::set_count | ( | const string & | count | ) | [inline] |
Sets the message count.
count | msg queue counter |
void PollRsp::set_id | ( | const string & | id | ) | [inline] |
Sets the message id.
id | message id |
void PollRsp::set_lang | ( | const string & | lang | ) | [inline] |
Sets the language of the message.
lang | language msg |
void PollRsp::set_qDate | ( | const string & | qDate | ) | [inline] |
Sets the message date.
qDate | date when the message entered in the queue |
void PollRsp::set_response | ( | Response * | resp, | |
const ActionType | type | |||
) | [inline] |
Sets the specific response inside the poll response.
resp | response (resData element) | |
type | response type |
void PollRsp::set_text | ( | const string & | text | ) | [inline] |
Sets the message text.
text | text msg |