41 #ifndef OBJECTS_SUBMIT_CONTACT_INFO_BASE_HPP
42 #define OBJECTS_SUBMIT_CONTACT_INFO_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
135 bool IsSetName(
void)
const;
142 bool CanGetName(
void)
const;
145 void ResetName(
void);
151 const TName& GetName(
void)
const;
164 TName& SetName(
void);
173 bool IsSetAddress(
void)
const;
180 bool CanGetAddress(
void)
const;
183 void ResetAddress(
void);
189 const TAddress& GetAddress(
void)
const;
204 bool IsSetPhone(
void)
const;
211 bool CanGetPhone(
void)
const;
214 void ResetPhone(
void);
220 const TPhone& GetPhone(
void)
const;
242 bool IsSetFax(
void)
const;
249 bool CanGetFax(
void)
const;
258 const TFax& GetFax(
void)
const;
280 bool IsSetEmail(
void)
const;
287 bool CanGetEmail(
void)
const;
290 void ResetEmail(
void);
296 const TEmail& GetEmail(
void)
const;
318 bool IsSetTelex(
void)
const;
325 bool CanGetTelex(
void)
const;
328 void ResetTelex(
void);
334 const TTelex& GetTelex(
void)
const;
357 bool IsSetOwner_id(
void)
const;
364 bool CanGetOwner_id(
void)
const;
367 void ResetOwner_id(
void);
373 const TOwner_id& GetOwner_id(
void)
const;
394 bool IsSetPassword(
void)
const;
401 bool CanGetPassword(
void)
const;
404 void ResetPassword(
void);
410 const TPassword& GetPassword(
void)
const;
426 bool IsSetLast_name(
void)
const;
433 bool CanGetLast_name(
void)
const;
436 void ResetLast_name(
void);
464 bool IsSetFirst_name(
void)
const;
471 bool CanGetFirst_name(
void)
const;
474 void ResetFirst_name(
void);
502 bool IsSetMiddle_initial(
void)
const;
509 bool CanGetMiddle_initial(
void)
const;
512 void ResetMiddle_initial(
void);
541 bool IsSetContact(
void)
const;
548 bool CanGetContact(
void)
const;
551 void ResetContact(
void);
557 const TContact& GetContact(
void)
const;
572 virtual void Reset(
void);
636 m_Name = std::forward<CContact_info_Base::TName>(
value);
708 m_Phone = std::forward<CContact_info_Base::TPhone>(
value);
755 m_Fax = std::forward<CContact_info_Base::TFax>(
value);
802 m_Email = std::forward<CContact_info_Base::TEmail>(
value);
849 m_Telex = std::forward<CContact_info_Base::TTelex>(
value);
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SUBMIT_EXPORT
TName & SetName(void)
Assign a value to Name data member.
const TTelex & GetTelex(void) const
Get the Telex member data.
TPhone & SetPhone(void)
Assign a value to Phone data member.
const TContact & GetContact(void) const
Get the Contact member data.
bool CanGetPhone(void) const
Check if it is safe to call GetPhone method.
bool IsSetAddress(void) const
Check if a value has been assigned to Address data member.
bool CanGetEmail(void) const
Check if it is safe to call GetEmail method.
CRef< TContact > m_Contact
CRef< TOwner_id > m_Owner_id
const TPhone & GetPhone(void) const
Get the Phone member data.
const TFirst_name & GetFirst_name(void) const
Get the First_name member data.
bool IsSetTelex(void) const
Check if a value has been assigned to Telex data member.
bool CanGetFirst_name(void) const
Check if it is safe to call GetFirst_name method.
CContact_info_Base & operator=(const CContact_info_Base &)
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetFax(void) const
Check if a value has been assigned to Fax data member.
const TName & GetName(void) const
Get the Name member data.
bool IsSetFirst_name(void) const
Check if a value has been assigned to First_name data member.
TFirst_name & SetFirst_name(void)
Assign a value to First_name data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
bool CanGetTelex(void) const
Check if it is safe to call GetTelex method.
bool CanGetLast_name(void) const
Check if it is safe to call GetLast_name method.
const TEmail & GetEmail(void) const
Get the Email member data.
const TLast_name & GetLast_name(void) const
Get the Last_name member data.
bool IsSetOwner_id(void) const
for owner accounts Check if a value has been assigned to Owner_id data member.
TTelex & SetTelex(void)
Assign a value to Telex data member.
TLast_name & SetLast_name(void)
Assign a value to Last_name data member.
bool IsSetEmail(void) const
Check if a value has been assigned to Email data member.
bool IsSetPassword(void) const
Check if a value has been assigned to Password data member.
bool CanGetFax(void) const
Check if it is safe to call GetFax method.
bool IsSetLast_name(void) const
structured to replace name above Check if a value has been assigned to Last_name data member.
const TAddress & GetAddress(void) const
Get the Address member data.
bool IsSetMiddle_initial(void) const
Check if a value has been assigned to Middle_initial data member.
bool CanGetAddress(void) const
Check if it is safe to call GetAddress method.
TEmail & SetEmail(void)
Assign a value to Email data member.
TPassword & SetPassword(void)
Assign a value to Password data member.
Tparent::CMemberIndex< E_memberIndex, 13 > TmemberIndex
CContact_info_Base(const CContact_info_Base &)
const TPassword & GetPassword(void) const
Get the Password member data.
bool IsSetName(void) const
OBSOLETE: will be removed Check if a value has been assigned to Name data member.
vector< char > m_Password
const TOwner_id & GetOwner_id(void) const
Get the Owner_id member data.
TFax & SetFax(void)
Assign a value to Fax data member.
const TMiddle_initial & GetMiddle_initial(void) const
Get the Middle_initial member data.
bool CanGetPassword(void) const
Check if it is safe to call GetPassword method.
bool CanGetContact(void) const
Check if it is safe to call GetContact method.
bool IsSetContact(void) const
WARNING: this will replace the above Check if a value has been assigned to Contact data member.
bool IsSetPhone(void) const
Check if a value has been assigned to Phone data member.
bool CanGetMiddle_initial(void) const
Check if it is safe to call GetMiddle_initial method.
TMiddle_initial & SetMiddle_initial(void)
Assign a value to Middle_initial data member.
bool CanGetOwner_id(void) const
Check if it is safe to call GetOwner_id method.
TAddress & SetAddress(void)
Assign a value to Address data member.
const TFax & GetFax(void) const
Get the Fax member data.
const GenericPointer< typename T::ValueType > T2 value