EPP CommonData Class. More...
#include <CommonData.H>
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< PostalInfo > | get_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). |
EPP CommonData Class.
Disclose CommonData::get_disclose | ( | ) | const |
Returns the object's disclosure policy.
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.
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.
References _email_f.
Referenced by cmd_contact_update().
Phone CommonData::get_fax | ( | ) | const |
Returns the object's 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.
References _fax_f.
Referenced by cmd_contact_update().
string CommonData::get_id | ( | ) | const |
Returns the object's 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.
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.
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.
References _voice_f.
Referenced by cmd_contact_update().
void CommonData::insert_postal_info | ( | const PostalInfo & | postal_info | ) |
Inserts postal information into the object.
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.
disclose | disclose information |
Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().
void CommonData::set_email | ( | const string & | ) |
Sets the object's 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.
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.
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.
voice | contact voice telephone |
Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().