#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 |
|
Returns the object's disclosure policy.
|
|
Returns the object's email.
|
|
Returns the object's email change flag.
|
|
Returns the object's fax number.
|
|
Returns the object's fax change flag.
|
|
Returns the object's id.
|
|
Returns the object's postal information.
|
|
Returns the object's voice telephone number.
|
|
Returns the object's voice change flag.
|
|
Inserts postal information into the object.
|
|
Sets the object's disclosure policy.
|
|
Sets the object's email.
|
|
Sets the object's fax number.
|
|
Sets the object's id.
|
|
Sets the object's voice telephone number.
|