NCBI C++ ToolKit
Contact_info_.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id$
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  */
27 
28 /// @file Contact_info_.hpp
29 /// Data storage class.
30 ///
31 /// This file was generated by application DATATOOL
32 /// using the following specifications:
33 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/submit/submit.asn">submit.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/submit/submit.def">submit.def</a>
36 ///
37 /// ATTENTION:
38 /// Don't edit or commit this file into CVS as this file will
39 /// be overridden (by DATATOOL) without warning!
40 
41 #ifndef OBJECTS_SUBMIT_CONTACT_INFO_BASE_HPP
42 #define OBJECTS_SUBMIT_CONTACT_INFO_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #include <string>
50 #include <vector>
51 
53 
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
57 #endif
58 BEGIN_objects_SCOPE // namespace ncbi::objects::
59 
60 
61 // forward declarations
62 class CAuthor;
63 class CObject_id;
64 
65 
66 // generated classes
67 
68 
69 /** @addtogroup dataspec_NCBI_Submit
70  *
71  * @{
72  */
73 
74 /////////////////////////////////////////////////////////////////////////////
75 /// who to contact to discuss the submission
76 ///
77 /// CContact_info_Base --
78 ///
79 
81 {
83 public:
84  // constructor
85  CContact_info_Base(void);
86  // destructor
87  virtual ~CContact_info_Base(void);
88 
89  // type info
91 
92  // types
93  typedef string TName;
94  typedef list< string > TAddress;
95  typedef string TPhone;
96  typedef string TFax;
97  typedef string TEmail;
98  typedef string TTelex;
100  typedef vector< char > TPassword;
101  typedef string TLast_name;
102  typedef string TFirst_name;
103  typedef string TMiddle_initial;
104  typedef CAuthor TContact;
105 
106  // member index
107  enum class E_memberIndex {
108  e__allMandatory = 0,
109  e_name,
110  e_address,
111  e_phone,
112  e_fax,
113  e_email,
114  e_telex,
115  e_owner_id,
116  e_password,
117  e_last_name,
118  e_first_name,
119  e_middle_initial,
120  e_contact
121  };
123 
124  // getters
125  // setters
126 
127  /// OBSOLETE: will be removed
128  /// Check if a value has been assigned to Name data member.
129  ///
130  /// Data member Name is optional;
131  /// its type is defined as 'typedef string TName'
132  /// @return
133  /// - true, if a value has been assigned.
134  /// - false, otherwise.
135  bool IsSetName(void) const;
136 
137  /// Check if it is safe to call GetName method.
138  ///
139  /// @return
140  /// - true, if the data member is getatable.
141  /// - false, otherwise.
142  bool CanGetName(void) const;
143 
144  /// Reset Name data member.
145  void ResetName(void);
146 
147  /// Get the Name member data.
148  ///
149  /// @return
150  /// Reference to the member data.
151  const TName& GetName(void) const;
152 
153  /// Assign a value to Name data member.
154  ///
155  /// @param value
156  /// Value to assign
157  void SetName(const TName& value);
158  void SetName(TName&& value);
159 
160  /// Assign a value to Name data member.
161  ///
162  /// @return
163  /// Reference to the data value.
164  TName& SetName(void);
165 
166  /// Check if a value has been assigned to Address data member.
167  ///
168  /// Data member Address is optional;
169  /// its type is defined as 'typedef list< string > TAddress'
170  /// @return
171  /// - true, if a value has been assigned.
172  /// - false, otherwise.
173  bool IsSetAddress(void) const;
174 
175  /// Check if it is safe to call GetAddress method.
176  ///
177  /// @return
178  /// - true, if the data member is getatable.
179  /// - false, otherwise.
180  bool CanGetAddress(void) const;
181 
182  /// Reset Address data member.
183  void ResetAddress(void);
184 
185  /// Get the Address member data.
186  ///
187  /// @return
188  /// Reference to the member data.
189  const TAddress& GetAddress(void) const;
190 
191  /// Assign a value to Address data member.
192  ///
193  /// @return
194  /// Reference to the data value.
195  TAddress& SetAddress(void);
196 
197  /// Check if a value has been assigned to Phone data member.
198  ///
199  /// Data member Phone is optional;
200  /// its type is defined as 'typedef string TPhone'
201  /// @return
202  /// - true, if a value has been assigned.
203  /// - false, otherwise.
204  bool IsSetPhone(void) const;
205 
206  /// Check if it is safe to call GetPhone method.
207  ///
208  /// @return
209  /// - true, if the data member is getatable.
210  /// - false, otherwise.
211  bool CanGetPhone(void) const;
212 
213  /// Reset Phone data member.
214  void ResetPhone(void);
215 
216  /// Get the Phone member data.
217  ///
218  /// @return
219  /// Reference to the member data.
220  const TPhone& GetPhone(void) const;
221 
222  /// Assign a value to Phone data member.
223  ///
224  /// @param value
225  /// Value to assign
226  void SetPhone(const TPhone& value);
227  void SetPhone(TPhone&& value);
228 
229  /// Assign a value to Phone data member.
230  ///
231  /// @return
232  /// Reference to the data value.
233  TPhone& SetPhone(void);
234 
235  /// Check if a value has been assigned to Fax data member.
236  ///
237  /// Data member Fax is optional;
238  /// its type is defined as 'typedef string TFax'
239  /// @return
240  /// - true, if a value has been assigned.
241  /// - false, otherwise.
242  bool IsSetFax(void) const;
243 
244  /// Check if it is safe to call GetFax method.
245  ///
246  /// @return
247  /// - true, if the data member is getatable.
248  /// - false, otherwise.
249  bool CanGetFax(void) const;
250 
251  /// Reset Fax data member.
252  void ResetFax(void);
253 
254  /// Get the Fax member data.
255  ///
256  /// @return
257  /// Reference to the member data.
258  const TFax& GetFax(void) const;
259 
260  /// Assign a value to Fax data member.
261  ///
262  /// @param value
263  /// Value to assign
264  void SetFax(const TFax& value);
265  void SetFax(TFax&& value);
266 
267  /// Assign a value to Fax data member.
268  ///
269  /// @return
270  /// Reference to the data value.
271  TFax& SetFax(void);
272 
273  /// Check if a value has been assigned to Email data member.
274  ///
275  /// Data member Email is optional;
276  /// its type is defined as 'typedef string TEmail'
277  /// @return
278  /// - true, if a value has been assigned.
279  /// - false, otherwise.
280  bool IsSetEmail(void) const;
281 
282  /// Check if it is safe to call GetEmail method.
283  ///
284  /// @return
285  /// - true, if the data member is getatable.
286  /// - false, otherwise.
287  bool CanGetEmail(void) const;
288 
289  /// Reset Email data member.
290  void ResetEmail(void);
291 
292  /// Get the Email member data.
293  ///
294  /// @return
295  /// Reference to the member data.
296  const TEmail& GetEmail(void) const;
297 
298  /// Assign a value to Email data member.
299  ///
300  /// @param value
301  /// Value to assign
302  void SetEmail(const TEmail& value);
303  void SetEmail(TEmail&& value);
304 
305  /// Assign a value to Email data member.
306  ///
307  /// @return
308  /// Reference to the data value.
309  TEmail& SetEmail(void);
310 
311  /// Check if a value has been assigned to Telex data member.
312  ///
313  /// Data member Telex is optional;
314  /// its type is defined as 'typedef string TTelex'
315  /// @return
316  /// - true, if a value has been assigned.
317  /// - false, otherwise.
318  bool IsSetTelex(void) const;
319 
320  /// Check if it is safe to call GetTelex method.
321  ///
322  /// @return
323  /// - true, if the data member is getatable.
324  /// - false, otherwise.
325  bool CanGetTelex(void) const;
326 
327  /// Reset Telex data member.
328  void ResetTelex(void);
329 
330  /// Get the Telex member data.
331  ///
332  /// @return
333  /// Reference to the member data.
334  const TTelex& GetTelex(void) const;
335 
336  /// Assign a value to Telex data member.
337  ///
338  /// @param value
339  /// Value to assign
340  void SetTelex(const TTelex& value);
341  void SetTelex(TTelex&& value);
342 
343  /// Assign a value to Telex data member.
344  ///
345  /// @return
346  /// Reference to the data value.
347  TTelex& SetTelex(void);
348 
349  /// for owner accounts
350  /// Check if a value has been assigned to Owner_id data member.
351  ///
352  /// Data member Owner_id is optional;
353  /// its type is defined as 'typedef CObject_id TOwner_id'
354  /// @return
355  /// - true, if a value has been assigned.
356  /// - false, otherwise.
357  bool IsSetOwner_id(void) const;
358 
359  /// Check if it is safe to call GetOwner_id method.
360  ///
361  /// @return
362  /// - true, if the data member is getatable.
363  /// - false, otherwise.
364  bool CanGetOwner_id(void) const;
365 
366  /// Reset Owner_id data member.
367  void ResetOwner_id(void);
368 
369  /// Get the Owner_id member data.
370  ///
371  /// @return
372  /// Reference to the member data.
373  const TOwner_id& GetOwner_id(void) const;
374 
375  /// Assign a value to Owner_id data member.
376  ///
377  /// @param value
378  /// Reference to value.
379  void SetOwner_id(TOwner_id& value);
380 
381  /// Assign a value to Owner_id data member.
382  ///
383  /// @return
384  /// Reference to the data value.
385  TOwner_id& SetOwner_id(void);
386 
387  /// Check if a value has been assigned to Password data member.
388  ///
389  /// Data member Password is optional;
390  /// its type is defined as 'typedef vector< char > TPassword'
391  /// @return
392  /// - true, if a value has been assigned.
393  /// - false, otherwise.
394  bool IsSetPassword(void) const;
395 
396  /// Check if it is safe to call GetPassword method.
397  ///
398  /// @return
399  /// - true, if the data member is getatable.
400  /// - false, otherwise.
401  bool CanGetPassword(void) const;
402 
403  /// Reset Password data member.
404  void ResetPassword(void);
405 
406  /// Get the Password member data.
407  ///
408  /// @return
409  /// Reference to the member data.
410  const TPassword& GetPassword(void) const;
411 
412  /// Assign a value to Password data member.
413  ///
414  /// @return
415  /// Reference to the data value.
416  TPassword& SetPassword(void);
417 
418  /// structured to replace name above
419  /// Check if a value has been assigned to Last_name data member.
420  ///
421  /// Data member Last_name is optional;
422  /// its type is defined as 'typedef string TLast_name'
423  /// @return
424  /// - true, if a value has been assigned.
425  /// - false, otherwise.
426  bool IsSetLast_name(void) const;
427 
428  /// Check if it is safe to call GetLast_name method.
429  ///
430  /// @return
431  /// - true, if the data member is getatable.
432  /// - false, otherwise.
433  bool CanGetLast_name(void) const;
434 
435  /// Reset Last_name data member.
436  void ResetLast_name(void);
437 
438  /// Get the Last_name member data.
439  ///
440  /// @return
441  /// Reference to the member data.
442  const TLast_name& GetLast_name(void) const;
443 
444  /// Assign a value to Last_name data member.
445  ///
446  /// @param value
447  /// Value to assign
448  void SetLast_name(const TLast_name& value);
449  void SetLast_name(TLast_name&& value);
450 
451  /// Assign a value to Last_name data member.
452  ///
453  /// @return
454  /// Reference to the data value.
455  TLast_name& SetLast_name(void);
456 
457  /// Check if a value has been assigned to First_name data member.
458  ///
459  /// Data member First_name is optional;
460  /// its type is defined as 'typedef string TFirst_name'
461  /// @return
462  /// - true, if a value has been assigned.
463  /// - false, otherwise.
464  bool IsSetFirst_name(void) const;
465 
466  /// Check if it is safe to call GetFirst_name method.
467  ///
468  /// @return
469  /// - true, if the data member is getatable.
470  /// - false, otherwise.
471  bool CanGetFirst_name(void) const;
472 
473  /// Reset First_name data member.
474  void ResetFirst_name(void);
475 
476  /// Get the First_name member data.
477  ///
478  /// @return
479  /// Reference to the member data.
480  const TFirst_name& GetFirst_name(void) const;
481 
482  /// Assign a value to First_name data member.
483  ///
484  /// @param value
485  /// Value to assign
486  void SetFirst_name(const TFirst_name& value);
487  void SetFirst_name(TFirst_name&& value);
488 
489  /// Assign a value to First_name data member.
490  ///
491  /// @return
492  /// Reference to the data value.
493  TFirst_name& SetFirst_name(void);
494 
495  /// Check if a value has been assigned to Middle_initial data member.
496  ///
497  /// Data member Middle_initial is optional;
498  /// its type is defined as 'typedef string TMiddle_initial'
499  /// @return
500  /// - true, if a value has been assigned.
501  /// - false, otherwise.
502  bool IsSetMiddle_initial(void) const;
503 
504  /// Check if it is safe to call GetMiddle_initial method.
505  ///
506  /// @return
507  /// - true, if the data member is getatable.
508  /// - false, otherwise.
509  bool CanGetMiddle_initial(void) const;
510 
511  /// Reset Middle_initial data member.
512  void ResetMiddle_initial(void);
513 
514  /// Get the Middle_initial member data.
515  ///
516  /// @return
517  /// Reference to the member data.
518  const TMiddle_initial& GetMiddle_initial(void) const;
519 
520  /// Assign a value to Middle_initial data member.
521  ///
522  /// @param value
523  /// Value to assign
524  void SetMiddle_initial(const TMiddle_initial& value);
525  void SetMiddle_initial(TMiddle_initial&& value);
526 
527  /// Assign a value to Middle_initial data member.
528  ///
529  /// @return
530  /// Reference to the data value.
531  TMiddle_initial& SetMiddle_initial(void);
532 
533  /// WARNING: this will replace the above
534  /// Check if a value has been assigned to Contact data member.
535  ///
536  /// Data member Contact is optional;
537  /// its type is defined as 'typedef CAuthor TContact'
538  /// @return
539  /// - true, if a value has been assigned.
540  /// - false, otherwise.
541  bool IsSetContact(void) const;
542 
543  /// Check if it is safe to call GetContact method.
544  ///
545  /// @return
546  /// - true, if the data member is getatable.
547  /// - false, otherwise.
548  bool CanGetContact(void) const;
549 
550  /// Reset Contact data member.
551  void ResetContact(void);
552 
553  /// Get the Contact member data.
554  ///
555  /// @return
556  /// Reference to the member data.
557  const TContact& GetContact(void) const;
558 
559  /// Assign a value to Contact data member.
560  ///
561  /// @param value
562  /// Reference to value.
563  void SetContact(TContact& value);
564 
565  /// Assign a value to Contact data member.
566  ///
567  /// @return
568  /// Reference to the data value.
569  TContact& SetContact(void);
570 
571  /// Reset the whole object
572  virtual void Reset(void);
573 
574 
575 private:
576  // Prohibit copy constructor and assignment operator
579 
580  // data
581  Uint4 m_set_State[1];
582  string m_Name;
583  list< string > m_Address;
584  string m_Phone;
585  string m_Fax;
586  string m_Email;
587  string m_Telex;
589  vector< char > m_Password;
590  string m_Last_name;
591  string m_First_name;
594 };
595 
596 /* @} */
597 
598 
599 
600 
601 
602 ///////////////////////////////////////////////////////////
603 ///////////////////// inline methods //////////////////////
604 ///////////////////////////////////////////////////////////
605 inline
607 {
608  return ((m_set_State[0] & 0x3) != 0);
609 }
610 
611 inline
613 {
614  return IsSetName();
615 }
616 
617 inline
619 {
620  if (!CanGetName()) {
621  ThrowUnassigned(0);
622  }
623  return m_Name;
624 }
625 
626 inline
628 {
629  m_Name = value;
630  m_set_State[0] |= 0x3;
631 }
632 
633 inline
635 {
636  m_Name = std::forward<CContact_info_Base::TName>(value);
637  m_set_State[0] |= 0x3;
638 }
639 
640 inline
642 {
643 #ifdef _DEBUG
644  if (!IsSetName()) {
646  }
647 #endif
648  m_set_State[0] |= 0x1;
649  return m_Name;
650 }
651 
652 inline
654 {
655  return ((m_set_State[0] & 0xc) != 0);
656 }
657 
658 inline
660 {
661  return true;
662 }
663 
664 inline
666 {
667  return m_Address;
668 }
669 
670 inline
672 {
673  m_set_State[0] |= 0x4;
674  return m_Address;
675 }
676 
677 inline
679 {
680  return ((m_set_State[0] & 0x30) != 0);
681 }
682 
683 inline
685 {
686  return IsSetPhone();
687 }
688 
689 inline
691 {
692  if (!CanGetPhone()) {
693  ThrowUnassigned(2);
694  }
695  return m_Phone;
696 }
697 
698 inline
700 {
701  m_Phone = value;
702  m_set_State[0] |= 0x30;
703 }
704 
705 inline
707 {
708  m_Phone = std::forward<CContact_info_Base::TPhone>(value);
709  m_set_State[0] |= 0x30;
710 }
711 
712 inline
714 {
715 #ifdef _DEBUG
716  if (!IsSetPhone()) {
718  }
719 #endif
720  m_set_State[0] |= 0x10;
721  return m_Phone;
722 }
723 
724 inline
726 {
727  return ((m_set_State[0] & 0xc0) != 0);
728 }
729 
730 inline
732 {
733  return IsSetFax();
734 }
735 
736 inline
738 {
739  if (!CanGetFax()) {
740  ThrowUnassigned(3);
741  }
742  return m_Fax;
743 }
744 
745 inline
747 {
748  m_Fax = value;
749  m_set_State[0] |= 0xc0;
750 }
751 
752 inline
754 {
755  m_Fax = std::forward<CContact_info_Base::TFax>(value);
756  m_set_State[0] |= 0xc0;
757 }
758 
759 inline
761 {
762 #ifdef _DEBUG
763  if (!IsSetFax()) {
765  }
766 #endif
767  m_set_State[0] |= 0x40;
768  return m_Fax;
769 }
770 
771 inline
773 {
774  return ((m_set_State[0] & 0x300) != 0);
775 }
776 
777 inline
779 {
780  return IsSetEmail();
781 }
782 
783 inline
785 {
786  if (!CanGetEmail()) {
787  ThrowUnassigned(4);
788  }
789  return m_Email;
790 }
791 
792 inline
794 {
795  m_Email = value;
796  m_set_State[0] |= 0x300;
797 }
798 
799 inline
801 {
802  m_Email = std::forward<CContact_info_Base::TEmail>(value);
803  m_set_State[0] |= 0x300;
804 }
805 
806 inline
808 {
809 #ifdef _DEBUG
810  if (!IsSetEmail()) {
812  }
813 #endif
814  m_set_State[0] |= 0x100;
815  return m_Email;
816 }
817 
818 inline
820 {
821  return ((m_set_State[0] & 0xc00) != 0);
822 }
823 
824 inline
826 {
827  return IsSetTelex();
828 }
829 
830 inline
832 {
833  if (!CanGetTelex()) {
834  ThrowUnassigned(5);
835  }
836  return m_Telex;
837 }
838 
839 inline
841 {
842  m_Telex = value;
843  m_set_State[0] |= 0xc00;
844 }
845 
846 inline
848 {
849  m_Telex = std::forward<CContact_info_Base::TTelex>(value);
850  m_set_State[0] |= 0xc00;
851 }
852 
853 inline
855 {
856 #ifdef _DEBUG
857  if (!IsSetTelex()) {
859  }
860 #endif
861  m_set_State[0] |= 0x400;
862  return m_Telex;
863 }
864 
865 inline
867 {
868  return m_Owner_id.NotEmpty();
869 }
870 
871 inline
873 {
874  return IsSetOwner_id();
875 }
876 
877 inline
879 {
880  if (!CanGetOwner_id()) {
881  ThrowUnassigned(6);
882  }
883  return (*m_Owner_id);
884 }
885 
886 inline
888 {
889  return ((m_set_State[0] & 0xc000) != 0);
890 }
891 
892 inline
894 {
895  return IsSetPassword();
896 }
897 
898 inline
900 {
901  if (!CanGetPassword()) {
902  ThrowUnassigned(7);
903  }
904  return m_Password;
905 }
906 
907 inline
909 {
910  m_set_State[0] |= 0x4000;
911  return m_Password;
912 }
913 
914 inline
916 {
917  return ((m_set_State[0] & 0x30000) != 0);
918 }
919 
920 inline
922 {
923  return IsSetLast_name();
924 }
925 
926 inline
928 {
929  if (!CanGetLast_name()) {
930  ThrowUnassigned(8);
931  }
932  return m_Last_name;
933 }
934 
935 inline
937 {
938  m_Last_name = value;
939  m_set_State[0] |= 0x30000;
940 }
941 
942 inline
944 {
945  m_Last_name = std::forward<CContact_info_Base::TLast_name>(value);
946  m_set_State[0] |= 0x30000;
947 }
948 
949 inline
951 {
952 #ifdef _DEBUG
953  if (!IsSetLast_name()) {
955  }
956 #endif
957  m_set_State[0] |= 0x10000;
958  return m_Last_name;
959 }
960 
961 inline
963 {
964  return ((m_set_State[0] & 0xc0000) != 0);
965 }
966 
967 inline
969 {
970  return IsSetFirst_name();
971 }
972 
973 inline
975 {
976  if (!CanGetFirst_name()) {
977  ThrowUnassigned(9);
978  }
979  return m_First_name;
980 }
981 
982 inline
984 {
986  m_set_State[0] |= 0xc0000;
987 }
988 
989 inline
991 {
992  m_First_name = std::forward<CContact_info_Base::TFirst_name>(value);
993  m_set_State[0] |= 0xc0000;
994 }
995 
996 inline
998 {
999 #ifdef _DEBUG
1000  if (!IsSetFirst_name()) {
1002  }
1003 #endif
1004  m_set_State[0] |= 0x40000;
1005  return m_First_name;
1006 }
1007 
1008 inline
1010 {
1011  return ((m_set_State[0] & 0x300000) != 0);
1012 }
1013 
1014 inline
1016 {
1017  return IsSetMiddle_initial();
1018 }
1019 
1020 inline
1022 {
1023  if (!CanGetMiddle_initial()) {
1024  ThrowUnassigned(10);
1025  }
1026  return m_Middle_initial;
1027 }
1028 
1029 inline
1031 {
1033  m_set_State[0] |= 0x300000;
1034 }
1035 
1036 inline
1038 {
1039  m_Middle_initial = std::forward<CContact_info_Base::TMiddle_initial>(value);
1040  m_set_State[0] |= 0x300000;
1041 }
1042 
1043 inline
1045 {
1046 #ifdef _DEBUG
1047  if (!IsSetMiddle_initial()) {
1049  }
1050 #endif
1051  m_set_State[0] |= 0x100000;
1052  return m_Middle_initial;
1053 }
1054 
1055 inline
1057 {
1058  return m_Contact.NotEmpty();
1059 }
1060 
1061 inline
1063 {
1064  return IsSetContact();
1065 }
1066 
1067 inline
1069 {
1070  if (!CanGetContact()) {
1071  ThrowUnassigned(11);
1072  }
1073  return (*m_Contact);
1074 }
1075 
1076 ///////////////////////////////////////////////////////////
1077 ////////////////// end of inline methods //////////////////
1078 ///////////////////////////////////////////////////////////
1079 
1080 
1081 
1082 
1083 
1084 END_objects_SCOPE // namespace ncbi::objects::
1085 
1087 
1088 
1089 #endif // OBJECTS_SUBMIT_CONTACT_INFO_BASE_HPP
CAuthor –.
Definition: Author.hpp:59
who to contact to discuss the submission
CRef –.
Definition: ncbiobj.hpp:618
Base class for all serializable objects.
Definition: serialbase.hpp:150
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
Definition: serialbase.hpp:175
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_SUBMIT_EXPORT
Definition: ncbi_export.h:849
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 &)
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.
CSerialObject Tparent
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.
list< string > m_Address
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.
list< string > TAddress
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 > TPassword
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
Definition: pointer.h:1227
Modified on Tue Apr 30 06:37:52 2024 by modify_doxy.py rev. 669887