PollRsp Class Reference

EPP PollRsp Class. More...

#include <PollRsp.H>

Inheritance diagram for PollRsp:

Response

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.
Responseget_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:
content msg

References _content.

void PollRsp::set_count ( const string &  count  )  [inline]

Sets the message count.

Parameters:
count msg queue counter

References _count.

void PollRsp::set_id ( const string &  id  )  [inline]

Sets the message id.

Parameters:
id message id

References _id.

void PollRsp::set_lang ( const string &  lang  )  [inline]

Sets the language of the message.

Parameters:
lang language msg

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.

void PollRsp::set_response ( Response resp,
const ActionType  type 
) [inline]

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:
text text msg

References _text.


The documentation for this class was generated from the following file:

Generated on Thu Jan 21 14:44:04 2010 for libepp_nicbr by  doxygen 1.5.9