CommonData Class Reference

EPP CommonData Class. More...

#include <CommonData.H>

List of all members.

Classes

struct  Disclose
struct  Phone

Public Member Functions

 CommonData ()
 Constructor.
void set_id (const string &id)
 Sets the object's id.
void insert_postal_info (const PostalInfo &postal_info)
 Inserts postal information into the object.
void set_voice (const Phone &voice)
 Sets the object's voice telephone number.
void set_fax (const Phone &fax)
 Sets the object's fax number.
void set_email (const string &email)
 Sets the object's email.
void set_disclose (const Disclose &disclose)
 Sets the object's disclosure policy.
string get_id () const
 Returns the object's id.
vector< PostalInfoget_postal_info () const
 Returns the object's postal information.
Phone get_voice () const
 Returns the object's voice telephone number.
bool get_voice_f () const
 Returns the object's voice change flag.
Phone get_fax () const
 Returns the object's fax number.
bool get_fax_f () const
 Returns the object's fax change flag.
string get_email () const
 Returns the object's email.
bool get_email_f () const
 Returns the object's email change flag.
Disclose get_disclose () const
 Returns the object's disclosure policy.
void reset ()
 reset attributes

Protected Attributes

string _id
 Contact id.
vector< PostalInfo_postal_info
 Postal Info list (just 1 or 2 elements).
Phone _voice
 Contact's voice telephone number (optional).
bool _voice_f
 Voice change flag.
Phone _fax
 Contact's fax (optional).
bool _fax_f
 Fax change flag.
string _email
 Contact's email.
bool _email_f
 E-mail change flag.
Disclose _disclose
 Disclose information (optional).

Detailed Description

EPP CommonData Class.


Member Function Documentation

Disclose CommonData::get_disclose (  )  const

Returns the object's disclosure policy.

Returns:
disclose disclose information

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

string CommonData::get_email (  )  const

Returns the object's email.

Returns:
contact email

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

bool CommonData::get_email_f (  )  const [inline]

Returns the object's email change flag.

Returns:
contact email change flag

References _email_f.

Referenced by cmd_contact_update().

Phone CommonData::get_fax (  )  const

Returns the object's fax number.

Returns:
fax contact fax number

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

bool CommonData::get_fax_f (  )  const [inline]

Returns the object's fax change flag.

Returns:
contact fax change flag

References _fax_f.

Referenced by cmd_contact_update().

string CommonData::get_id (  )  const

Returns the object's id.

Returns:
Contact id

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

vector<PostalInfo> CommonData::get_postal_info (  )  const

Returns the object's postal information.

Returns:
Postal info list

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

Phone CommonData::get_voice (  )  const

Returns the object's voice telephone number.

Returns:
voice contact voice telephone number

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

bool CommonData::get_voice_f (  )  const [inline]

Returns the object's voice change flag.

Returns:
contact voice change flag

References _voice_f.

Referenced by cmd_contact_update().

void CommonData::insert_postal_info ( const PostalInfo postal_info  ) 

Inserts postal information into the object.

Parameters:
postal_info postal information

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

void CommonData::set_disclose ( const Disclose disclose  ) 

Sets the object's disclosure policy.

Parameters:
disclose disclose information

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

void CommonData::set_email ( const string &  email  ) 

Sets the object's email.

Parameters:
email contact email

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

void CommonData::set_fax ( const Phone fax  ) 

Sets the object's fax number.

Parameters:
fax contact fax

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

void CommonData::set_id ( const string &  id  ) 

Sets the object's id.

Parameters:
id contact id

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().

void CommonData::set_voice ( const Phone voice  ) 

Sets the object's voice telephone number.

Parameters:
voice contact voice telephone

Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().


The documentation for this class was generated from the following file:
Generated on Wed Aug 11 16:56:45 2010 for libepp_nicbr by  doxygen 1.6.3