libepp_nicbr
Classes | Public Member Functions | Protected Attributes | List of all members
CommonData Class Reference

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. More...
 
void insert_postal_info (const PostalInfo &postal_info)
 Inserts postal information into the object. More...
 
void set_voice (const Phone &voice)
 Sets the object's voice telephone number. More...
 
void set_fax (const Phone &fax)
 Sets the object's fax number. More...
 
void set_email (const string &email)
 Sets the object's email. More...
 
void set_disclose (const Disclose &disclose)
 Sets the object's disclosure policy. More...
 
string get_id () const
 Returns the object's id. More...
 
vector< PostalInfoget_postal_info () const
 Returns the object's postal information. More...
 
Phone get_voice () const
 Returns the object's voice telephone number. More...
 
bool get_voice_f () const
 Returns the object's voice change flag. More...
 
Phone get_fax () const
 Returns the object's fax number. More...
 
bool get_fax_f () const
 Returns the object's fax change flag. More...
 
string get_email () const
 Returns the object's email. More...
 
bool get_email_f () const
 Returns the object's email change flag. More...
 
Disclose get_disclose () const
 Returns the object's disclosure policy. More...
 
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_infopostal 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
disclosedisclose 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
emailcontact 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
faxcontact 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
idcontact 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
voicecontact 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: