#include <CommonData.H>
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 () |
Returns the object's id. | |
vector< PostalInfo > | get_postal_info () |
Returns the object's postal information. | |
Phone | get_voice () |
Returns the object's voice telephone number. | |
bool | get_voice_f () |
Returns the object's voice change flag. | |
Phone | get_fax () |
Returns the object's fax number. | |
bool | get_fax_f () |
Returns the object's fax change flag. | |
string | get_email () |
Returns the object's email. | |
bool | get_email_f () |
Returns the object's email change flag. | |
Disclose | get_disclose () |
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). | |
Classes | |
struct | Disclose |
struct | Phone |
Disclose CommonData::get_disclose | ( | ) |
Returns the object's disclosure policy.
string CommonData::get_email | ( | ) |
Returns the object's email.
bool CommonData::get_email_f | ( | ) | [inline] |
Returns the object's email change flag.
Phone CommonData::get_fax | ( | ) |
Returns the object's fax number.
bool CommonData::get_fax_f | ( | ) | [inline] |
Returns the object's fax change flag.
string CommonData::get_id | ( | ) |
Returns the object's id.
vector<PostalInfo> CommonData::get_postal_info | ( | ) |
Returns the object's postal information.
Phone CommonData::get_voice | ( | ) |
Returns the object's voice telephone number.
bool CommonData::get_voice_f | ( | ) | [inline] |
Returns the object's voice change flag.
void CommonData::insert_postal_info | ( | const PostalInfo & | postal_info | ) |
Inserts postal information into the object.
postal_info | postal information |
void CommonData::set_disclose | ( | const Disclose & | disclose | ) |
Sets the object's disclosure policy.
disclose | disclose information |
void CommonData::set_email | ( | const string & | ) |
Sets the object's email.
contact email |
void CommonData::set_fax | ( | const Phone & | fax | ) |
Sets the object's fax number.
fax | contact fax |
void CommonData::set_id | ( | const string & | id | ) |
Sets the object's id.
id | contact id |
void CommonData::set_voice | ( | const Phone & | voice | ) |
Sets the object's voice telephone number.
voice | contact voice telephone |