NCBI C++ ToolKit
Cit_gen_.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 Cit_gen_.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/biblio/biblio.asn">biblio.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/biblio/biblio.def">biblio.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_BIBLIO_CIT_GEN_BASE_HPP
42 #define OBJECTS_BIBLIO_CIT_GEN_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <string>
50 
52 
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
56 #endif
57 BEGIN_objects_SCOPE // namespace ncbi::objects::
58 
59 
60 // forward declarations
61 class CAuth_list;
62 class CDate;
63 class CTitle;
64 
65 
66 // generated classes
67 
68 
69 /** @addtogroup dataspec_NCBI_Biblio
70  *
71  * @{
72  */
73 
74 /////////////////////////////////////////////////////////////////////////////
75 /// NOT from ANSI, this is a catchall
76 ///
77 /// CCit_gen_Base --
78 ///
79 
81 {
83 public:
84  // constructor
85  CCit_gen_Base(void);
86  // destructor
87  virtual ~CCit_gen_Base(void);
88 
89  // type info
91 
92  // types
93  typedef string TCit;
96  typedef CTitle TJournal;
97  typedef string TVolume;
98  typedef string TIssue;
99  typedef string TPages;
100  typedef CDate TDate;
101  typedef int TSerial_number;
102  typedef string TTitle;
103  typedef CPubMedId TPmid;
104 
105  // member index
106  enum class E_memberIndex {
107  e__allMandatory = 0,
108  e_cit,
109  e_authors,
110  e_muid,
111  e_journal,
112  e_volume,
113  e_issue,
114  e_pages,
115  e_date,
116  e_serial_number,
117  e_title,
118  e_pmid
119  };
121 
122  // getters
123  // setters
124 
125  /// anything, not parsable
126  /// Check if a value has been assigned to Cit data member.
127  ///
128  /// Data member Cit is optional;
129  /// its type is defined as 'typedef string TCit'
130  /// @return
131  /// - true, if a value has been assigned.
132  /// - false, otherwise.
133  bool IsSetCit(void) const;
134 
135  /// Check if it is safe to call GetCit method.
136  ///
137  /// @return
138  /// - true, if the data member is getatable.
139  /// - false, otherwise.
140  bool CanGetCit(void) const;
141 
142  /// Reset Cit data member.
143  void ResetCit(void);
144 
145  /// Get the Cit member data.
146  ///
147  /// @return
148  /// Reference to the member data.
149  const TCit& GetCit(void) const;
150 
151  /// Assign a value to Cit data member.
152  ///
153  /// @param value
154  /// Value to assign
155  void SetCit(const TCit& value);
156  void SetCit(TCit&& value);
157 
158  /// Assign a value to Cit data member.
159  ///
160  /// @return
161  /// Reference to the data value.
162  TCit& SetCit(void);
163 
164  /// Check if a value has been assigned to Authors data member.
165  ///
166  /// Data member Authors is optional;
167  /// its type is defined as 'typedef CAuth_list TAuthors'
168  /// @return
169  /// - true, if a value has been assigned.
170  /// - false, otherwise.
171  bool IsSetAuthors(void) const;
172 
173  /// Check if it is safe to call GetAuthors method.
174  ///
175  /// @return
176  /// - true, if the data member is getatable.
177  /// - false, otherwise.
178  bool CanGetAuthors(void) const;
179 
180  /// Reset Authors data member.
181  void ResetAuthors(void);
182 
183  /// Get the Authors member data.
184  ///
185  /// @return
186  /// Reference to the member data.
187  const TAuthors& GetAuthors(void) const;
188 
189  /// Assign a value to Authors data member.
190  ///
191  /// @param value
192  /// Reference to value.
193  void SetAuthors(TAuthors& value);
194 
195  /// Assign a value to Authors data member.
196  ///
197  /// @return
198  /// Reference to the data value.
199  TAuthors& SetAuthors(void);
200 
201  /// medline uid
202  /// Check if a value has been assigned to Muid data member.
203  ///
204  /// Data member Muid is optional;
205  /// its type is defined as 'typedef NCBI_NS_NCBI::TEntrezId TMuid'
206  /// @return
207  /// - true, if a value has been assigned.
208  /// - false, otherwise.
209  bool IsSetMuid(void) const;
210 
211  /// Check if it is safe to call GetMuid method.
212  ///
213  /// @return
214  /// - true, if the data member is getatable.
215  /// - false, otherwise.
216  bool CanGetMuid(void) const;
217 
218  /// Reset Muid data member.
219  void ResetMuid(void);
220 
221  /// Get the Muid member data.
222  ///
223  /// @return
224  /// Copy of the member data.
225  TMuid GetMuid(void) const;
226 
227  /// Assign a value to Muid data member.
228  ///
229  /// @param value
230  /// Value to assign
231  void SetMuid(TMuid value);
232 
233  /// Assign a value to Muid data member.
234  ///
235  /// @return
236  /// Reference to the data value.
237  TMuid& SetMuid(void);
238 
239  /// Check if a value has been assigned to Journal data member.
240  ///
241  /// Data member Journal is optional;
242  /// its type is defined as 'typedef CTitle TJournal'
243  /// @return
244  /// - true, if a value has been assigned.
245  /// - false, otherwise.
246  bool IsSetJournal(void) const;
247 
248  /// Check if it is safe to call GetJournal method.
249  ///
250  /// @return
251  /// - true, if the data member is getatable.
252  /// - false, otherwise.
253  bool CanGetJournal(void) const;
254 
255  /// Reset Journal data member.
256  void ResetJournal(void);
257 
258  /// Get the Journal member data.
259  ///
260  /// @return
261  /// Reference to the member data.
262  const TJournal& GetJournal(void) const;
263 
264  /// Assign a value to Journal data member.
265  ///
266  /// @param value
267  /// Reference to value.
268  void SetJournal(TJournal& value);
269 
270  /// Assign a value to Journal data member.
271  ///
272  /// @return
273  /// Reference to the data value.
274  TJournal& SetJournal(void);
275 
276  /// Check if a value has been assigned to Volume data member.
277  ///
278  /// Data member Volume is optional;
279  /// its type is defined as 'typedef string TVolume'
280  /// @return
281  /// - true, if a value has been assigned.
282  /// - false, otherwise.
283  bool IsSetVolume(void) const;
284 
285  /// Check if it is safe to call GetVolume method.
286  ///
287  /// @return
288  /// - true, if the data member is getatable.
289  /// - false, otherwise.
290  bool CanGetVolume(void) const;
291 
292  /// Reset Volume data member.
293  void ResetVolume(void);
294 
295  /// Get the Volume member data.
296  ///
297  /// @return
298  /// Reference to the member data.
299  const TVolume& GetVolume(void) const;
300 
301  /// Assign a value to Volume data member.
302  ///
303  /// @param value
304  /// Value to assign
305  void SetVolume(const TVolume& value);
306  void SetVolume(TVolume&& value);
307 
308  /// Assign a value to Volume data member.
309  ///
310  /// @return
311  /// Reference to the data value.
312  TVolume& SetVolume(void);
313 
314  /// Check if a value has been assigned to Issue data member.
315  ///
316  /// Data member Issue is optional;
317  /// its type is defined as 'typedef string TIssue'
318  /// @return
319  /// - true, if a value has been assigned.
320  /// - false, otherwise.
321  bool IsSetIssue(void) const;
322 
323  /// Check if it is safe to call GetIssue method.
324  ///
325  /// @return
326  /// - true, if the data member is getatable.
327  /// - false, otherwise.
328  bool CanGetIssue(void) const;
329 
330  /// Reset Issue data member.
331  void ResetIssue(void);
332 
333  /// Get the Issue member data.
334  ///
335  /// @return
336  /// Reference to the member data.
337  const TIssue& GetIssue(void) const;
338 
339  /// Assign a value to Issue data member.
340  ///
341  /// @param value
342  /// Value to assign
343  void SetIssue(const TIssue& value);
344  void SetIssue(TIssue&& value);
345 
346  /// Assign a value to Issue data member.
347  ///
348  /// @return
349  /// Reference to the data value.
350  TIssue& SetIssue(void);
351 
352  /// Check if a value has been assigned to Pages data member.
353  ///
354  /// Data member Pages is optional;
355  /// its type is defined as 'typedef string TPages'
356  /// @return
357  /// - true, if a value has been assigned.
358  /// - false, otherwise.
359  bool IsSetPages(void) const;
360 
361  /// Check if it is safe to call GetPages method.
362  ///
363  /// @return
364  /// - true, if the data member is getatable.
365  /// - false, otherwise.
366  bool CanGetPages(void) const;
367 
368  /// Reset Pages data member.
369  void ResetPages(void);
370 
371  /// Get the Pages member data.
372  ///
373  /// @return
374  /// Reference to the member data.
375  const TPages& GetPages(void) const;
376 
377  /// Assign a value to Pages data member.
378  ///
379  /// @param value
380  /// Value to assign
381  void SetPages(const TPages& value);
382  void SetPages(TPages&& value);
383 
384  /// Assign a value to Pages data member.
385  ///
386  /// @return
387  /// Reference to the data value.
388  TPages& SetPages(void);
389 
390  /// Check if a value has been assigned to Date data member.
391  ///
392  /// Data member Date is optional;
393  /// its type is defined as 'typedef CDate TDate'
394  /// @return
395  /// - true, if a value has been assigned.
396  /// - false, otherwise.
397  bool IsSetDate(void) const;
398 
399  /// Check if it is safe to call GetDate method.
400  ///
401  /// @return
402  /// - true, if the data member is getatable.
403  /// - false, otherwise.
404  bool CanGetDate(void) const;
405 
406  /// Reset Date data member.
407  void ResetDate(void);
408 
409  /// Get the Date member data.
410  ///
411  /// @return
412  /// Reference to the member data.
413  const TDate& GetDate(void) const;
414 
415  /// Assign a value to Date data member.
416  ///
417  /// @param value
418  /// Reference to value.
419  void SetDate(TDate& value);
420 
421  /// Assign a value to Date data member.
422  ///
423  /// @return
424  /// Reference to the data value.
425  TDate& SetDate(void);
426 
427  /// for GenBank style references
428  /// Check if a value has been assigned to Serial_number data member.
429  ///
430  /// Data member Serial_number is optional;
431  /// its type is defined as 'typedef int TSerial_number'
432  /// @return
433  /// - true, if a value has been assigned.
434  /// - false, otherwise.
435  bool IsSetSerial_number(void) const;
436 
437  /// Check if it is safe to call GetSerial_number method.
438  ///
439  /// @return
440  /// - true, if the data member is getatable.
441  /// - false, otherwise.
442  bool CanGetSerial_number(void) const;
443 
444  /// Reset Serial_number data member.
445  void ResetSerial_number(void);
446 
447  /// Get the Serial_number member data.
448  ///
449  /// @return
450  /// Copy of the member data.
451  TSerial_number GetSerial_number(void) const;
452 
453  /// Assign a value to Serial_number data member.
454  ///
455  /// @param value
456  /// Value to assign
457  void SetSerial_number(TSerial_number value);
458 
459  /// Assign a value to Serial_number data member.
460  ///
461  /// @return
462  /// Reference to the data value.
463  TSerial_number& SetSerial_number(void);
464 
465  /// eg. cit="unpublished",title="title"
466  /// Check if a value has been assigned to Title data member.
467  ///
468  /// Data member Title is optional;
469  /// its type is defined as 'typedef string TTitle'
470  /// @return
471  /// - true, if a value has been assigned.
472  /// - false, otherwise.
473  bool IsSetTitle(void) const;
474 
475  /// Check if it is safe to call GetTitle method.
476  ///
477  /// @return
478  /// - true, if the data member is getatable.
479  /// - false, otherwise.
480  bool CanGetTitle(void) const;
481 
482  /// Reset Title data member.
483  void ResetTitle(void);
484 
485  /// Get the Title member data.
486  ///
487  /// @return
488  /// Reference to the member data.
489  const TTitle& GetTitle(void) const;
490 
491  /// Assign a value to Title data member.
492  ///
493  /// @param value
494  /// Value to assign
495  void SetTitle(const TTitle& value);
496  void SetTitle(TTitle&& value);
497 
498  /// Assign a value to Title data member.
499  ///
500  /// @return
501  /// Reference to the data value.
502  TTitle& SetTitle(void);
503 
504  /// PubMed Id
505  /// Check if a value has been assigned to Pmid data member.
506  ///
507  /// Data member Pmid is optional;
508  /// its type is defined as 'typedef CPubMedId TPmid'
509  /// @return
510  /// - true, if a value has been assigned.
511  /// - false, otherwise.
512  bool IsSetPmid(void) const;
513 
514  /// Check if it is safe to call GetPmid method.
515  ///
516  /// @return
517  /// - true, if the data member is getatable.
518  /// - false, otherwise.
519  bool CanGetPmid(void) const;
520 
521  /// Reset Pmid data member.
522  void ResetPmid(void);
523 
524  /// Get the Pmid member data.
525  ///
526  /// @return
527  /// Reference to the member data.
528  const TPmid& GetPmid(void) const;
529 
530  /// Assign a value to Pmid data member.
531  ///
532  /// @param value
533  /// Value to assign
534  void SetPmid(const TPmid& value);
535 
536  /// Assign a value to Pmid data member.
537  ///
538  /// @return
539  /// Reference to the data value.
540  TPmid& SetPmid(void);
541 
542  /// Reset the whole object
543  virtual void Reset(void);
544 
545 
546 private:
547  // Prohibit copy constructor and assignment operator
550 
551  // data
552  Uint4 m_set_State[1];
553  string m_Cit;
557  string m_Volume;
558  string m_Issue;
559  string m_Pages;
562  string m_Title;
564 };
565 
566 /* @} */
567 
568 
569 
570 
571 
572 ///////////////////////////////////////////////////////////
573 ///////////////////// inline methods //////////////////////
574 ///////////////////////////////////////////////////////////
575 inline
576 bool CCit_gen_Base::IsSetCit(void) const
577 {
578  return ((m_set_State[0] & 0x3) != 0);
579 }
580 
581 inline
582 bool CCit_gen_Base::CanGetCit(void) const
583 {
584  return IsSetCit();
585 }
586 
587 inline
589 {
590  if (!CanGetCit()) {
591  ThrowUnassigned(0);
592  }
593  return m_Cit;
594 }
595 
596 inline
598 {
599  m_Cit = value;
600  m_set_State[0] |= 0x3;
601 }
602 
603 inline
605 {
606  m_Cit = std::forward<CCit_gen_Base::TCit>(value);
607  m_set_State[0] |= 0x3;
608 }
609 
610 inline
612 {
613 #ifdef _DEBUG
614  if (!IsSetCit()) {
616  }
617 #endif
618  m_set_State[0] |= 0x1;
619  return m_Cit;
620 }
621 
622 inline
624 {
625  return m_Authors.NotEmpty();
626 }
627 
628 inline
630 {
631  return IsSetAuthors();
632 }
633 
634 inline
636 {
637  if (!CanGetAuthors()) {
638  ThrowUnassigned(1);
639  }
640  return (*m_Authors);
641 }
642 
643 inline
644 bool CCit_gen_Base::IsSetMuid(void) const
645 {
646  return ((m_set_State[0] & 0x30) != 0);
647 }
648 
649 inline
651 {
652  return IsSetMuid();
653 }
654 
655 inline
657 {
658  m_Muid = 0;
659  m_set_State[0] &= ~0x30;
660 }
661 
662 inline
664 {
665  if (!CanGetMuid()) {
666  ThrowUnassigned(2);
667  }
668  return reinterpret_cast<const TMuid&>(m_Muid);
669 }
670 
671 inline
673 {
674  reinterpret_cast<TMuid&>(m_Muid) = value;
675  m_set_State[0] |= 0x30;
676 }
677 
678 inline
680 {
681 #ifdef _DEBUG
682  if (!IsSetMuid()) {
683  memset(&m_Muid,UnassignedByte(),sizeof(m_Muid));
684  }
685 #endif
686  m_set_State[0] |= 0x10;
687  return reinterpret_cast<TMuid&>(m_Muid);
688 }
689 
690 inline
692 {
693  return m_Journal.NotEmpty();
694 }
695 
696 inline
698 {
699  return IsSetJournal();
700 }
701 
702 inline
704 {
705  if (!CanGetJournal()) {
706  ThrowUnassigned(3);
707  }
708  return (*m_Journal);
709 }
710 
711 inline
713 {
714  return ((m_set_State[0] & 0x300) != 0);
715 }
716 
717 inline
719 {
720  return IsSetVolume();
721 }
722 
723 inline
725 {
726  if (!CanGetVolume()) {
727  ThrowUnassigned(4);
728  }
729  return m_Volume;
730 }
731 
732 inline
734 {
735  m_Volume = value;
736  m_set_State[0] |= 0x300;
737 }
738 
739 inline
741 {
742  m_Volume = std::forward<CCit_gen_Base::TVolume>(value);
743  m_set_State[0] |= 0x300;
744 }
745 
746 inline
748 {
749 #ifdef _DEBUG
750  if (!IsSetVolume()) {
752  }
753 #endif
754  m_set_State[0] |= 0x100;
755  return m_Volume;
756 }
757 
758 inline
760 {
761  return ((m_set_State[0] & 0xc00) != 0);
762 }
763 
764 inline
766 {
767  return IsSetIssue();
768 }
769 
770 inline
772 {
773  if (!CanGetIssue()) {
774  ThrowUnassigned(5);
775  }
776  return m_Issue;
777 }
778 
779 inline
781 {
782  m_Issue = value;
783  m_set_State[0] |= 0xc00;
784 }
785 
786 inline
788 {
789  m_Issue = std::forward<CCit_gen_Base::TIssue>(value);
790  m_set_State[0] |= 0xc00;
791 }
792 
793 inline
795 {
796 #ifdef _DEBUG
797  if (!IsSetIssue()) {
799  }
800 #endif
801  m_set_State[0] |= 0x400;
802  return m_Issue;
803 }
804 
805 inline
807 {
808  return ((m_set_State[0] & 0x3000) != 0);
809 }
810 
811 inline
813 {
814  return IsSetPages();
815 }
816 
817 inline
819 {
820  if (!CanGetPages()) {
821  ThrowUnassigned(6);
822  }
823  return m_Pages;
824 }
825 
826 inline
828 {
829  m_Pages = value;
830  m_set_State[0] |= 0x3000;
831 }
832 
833 inline
835 {
836  m_Pages = std::forward<CCit_gen_Base::TPages>(value);
837  m_set_State[0] |= 0x3000;
838 }
839 
840 inline
842 {
843 #ifdef _DEBUG
844  if (!IsSetPages()) {
846  }
847 #endif
848  m_set_State[0] |= 0x1000;
849  return m_Pages;
850 }
851 
852 inline
853 bool CCit_gen_Base::IsSetDate(void) const
854 {
855  return m_Date.NotEmpty();
856 }
857 
858 inline
860 {
861  return IsSetDate();
862 }
863 
864 inline
866 {
867  if (!CanGetDate()) {
868  ThrowUnassigned(7);
869  }
870  return (*m_Date);
871 }
872 
873 inline
875 {
876  return ((m_set_State[0] & 0x30000) != 0);
877 }
878 
879 inline
881 {
882  return IsSetSerial_number();
883 }
884 
885 inline
887 {
888  m_Serial_number = 0;
889  m_set_State[0] &= ~0x30000;
890 }
891 
892 inline
894 {
895  if (!CanGetSerial_number()) {
896  ThrowUnassigned(8);
897  }
898  return m_Serial_number;
899 }
900 
901 inline
903 {
905  m_set_State[0] |= 0x30000;
906 }
907 
908 inline
910 {
911 #ifdef _DEBUG
912  if (!IsSetSerial_number()) {
914  }
915 #endif
916  m_set_State[0] |= 0x10000;
917  return m_Serial_number;
918 }
919 
920 inline
922 {
923  return ((m_set_State[0] & 0xc0000) != 0);
924 }
925 
926 inline
928 {
929  return IsSetTitle();
930 }
931 
932 inline
934 {
935  if (!CanGetTitle()) {
936  ThrowUnassigned(9);
937  }
938  return m_Title;
939 }
940 
941 inline
943 {
944  m_Title = value;
945  m_set_State[0] |= 0xc0000;
946 }
947 
948 inline
950 {
951  m_Title = std::forward<CCit_gen_Base::TTitle>(value);
952  m_set_State[0] |= 0xc0000;
953 }
954 
955 inline
957 {
958 #ifdef _DEBUG
959  if (!IsSetTitle()) {
961  }
962 #endif
963  m_set_State[0] |= 0x40000;
964  return m_Title;
965 }
966 
967 inline
968 bool CCit_gen_Base::IsSetPmid(void) const
969 {
970  return ((m_set_State[0] & 0x300000) != 0);
971 }
972 
973 inline
975 {
976  return IsSetPmid();
977 }
978 
979 inline
981 {
982  m_Pmid = CPubMedId(0);
983  m_set_State[0] &= ~0x300000;
984 }
985 
986 inline
988 {
989  if (!CanGetPmid()) {
990  ThrowUnassigned(10);
991  }
992  return m_Pmid;
993 }
994 
995 inline
997 {
998  m_Pmid = value;
999  m_set_State[0] |= 0x300000;
1000 }
1001 
1002 inline
1004 {
1005  m_set_State[0] |= 0x100000;
1006  return m_Pmid;
1007 }
1008 
1009 ///////////////////////////////////////////////////////////
1010 ////////////////// end of inline methods //////////////////
1011 ///////////////////////////////////////////////////////////
1012 
1013 
1014 
1015 
1016 
1017 END_objects_SCOPE // namespace ncbi::objects::
1018 
1020 
1021 
1022 #endif // OBJECTS_BIBLIO_CIT_GEN_BASE_HPP
User-defined methods of the data storage class.
@Auth_list.hpp User-defined methods of the data storage class.
Definition: Auth_list.hpp:57
NOT from ANSI, this is a catchall.
Definition: Cit_gen_.hpp:81
Definition: Date.hpp:53
CRef –.
Definition: ncbiobj.hpp:618
Base class for all serializable objects.
Definition: serialbase.hpp:150
Definition: Title.hpp:51
SStrictId_Entrez::TId TEntrezId
TEntrezId type for entrez ids which require the same strictness as TGi.
Definition: ncbimisc.hpp:1041
Int8 TIntId
Definition: ncbimisc.hpp:999
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
Definition: serialbase.hpp:175
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
Definition: seqtitle.cpp:106
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_BIBLIO_EXPORT
Definition: ncbi_export.h:312
void ResetMuid(void)
Reset Muid data member.
Definition: Cit_gen_.hpp:656
bool IsSetPages(void) const
Check if a value has been assigned to Pages data member.
Definition: Cit_gen_.hpp:806
const TIssue & GetIssue(void) const
Get the Issue member data.
Definition: Cit_gen_.hpp:771
bool CanGetPmid(void) const
Check if it is safe to call GetPmid method.
Definition: Cit_gen_.hpp:974
bool IsSetDate(void) const
Check if a value has been assigned to Date data member.
Definition: Cit_gen_.hpp:853
string m_Cit
Definition: Cit_gen_.hpp:553
CRef< TJournal > m_Journal
Definition: Cit_gen_.hpp:556
TSerial_number GetSerial_number(void) const
Get the Serial_number member data.
Definition: Cit_gen_.hpp:893
bool CanGetJournal(void) const
Check if it is safe to call GetJournal method.
Definition: Cit_gen_.hpp:697
bool IsSetAuthors(void) const
Check if a value has been assigned to Authors data member.
Definition: Cit_gen_.hpp:623
string TIssue
Definition: Cit_gen_.hpp:98
TCit & SetCit(void)
Assign a value to Cit data member.
Definition: Cit_gen_.hpp:611
string m_Volume
Definition: Cit_gen_.hpp:557
bool IsSetVolume(void) const
Check if a value has been assigned to Volume data member.
Definition: Cit_gen_.hpp:712
string TPages
Definition: Cit_gen_.hpp:99
ncbi::TIntId m_Muid
Definition: Cit_gen_.hpp:555
const TPages & GetPages(void) const
Get the Pages member data.
Definition: Cit_gen_.hpp:818
const TAuthors & GetAuthors(void) const
Get the Authors member data.
Definition: Cit_gen_.hpp:635
const TCit & GetCit(void) const
Get the Cit member data.
Definition: Cit_gen_.hpp:588
TIssue & SetIssue(void)
Assign a value to Issue data member.
Definition: Cit_gen_.hpp:794
CTitle TJournal
Definition: Cit_gen_.hpp:96
const TPmid & GetPmid(void) const
Get the Pmid member data.
Definition: Cit_gen_.hpp:987
void ResetPmid(void)
Reset Pmid data member.
Definition: Cit_gen_.hpp:980
bool IsSetSerial_number(void) const
for GenBank style references Check if a value has been assigned to Serial_number data member.
Definition: Cit_gen_.hpp:874
const TDate & GetDate(void) const
Get the Date member data.
Definition: Cit_gen_.hpp:865
bool CanGetPages(void) const
Check if it is safe to call GetPages method.
Definition: Cit_gen_.hpp:812
CPubMedId TPmid
Definition: Cit_gen_.hpp:103
CCit_gen_Base & operator=(const CCit_gen_Base &)
TPages & SetPages(void)
Assign a value to Pages data member.
Definition: Cit_gen_.hpp:841
void ResetSerial_number(void)
Reset Serial_number data member.
Definition: Cit_gen_.hpp:886
bool IsSetCit(void) const
anything, not parsable Check if a value has been assigned to Cit data member.
Definition: Cit_gen_.hpp:576
string m_Pages
Definition: Cit_gen_.hpp:559
CAuth_list TAuthors
Definition: Cit_gen_.hpp:94
string m_Title
Definition: Cit_gen_.hpp:562
bool CanGetDate(void) const
Check if it is safe to call GetDate method.
Definition: Cit_gen_.hpp:859
TMuid & SetMuid(void)
Assign a value to Muid data member.
Definition: Cit_gen_.hpp:679
const TVolume & GetVolume(void) const
Get the Volume member data.
Definition: Cit_gen_.hpp:724
const TTitle & GetTitle(void) const
Get the Title member data.
Definition: Cit_gen_.hpp:933
string TCit
Definition: Cit_gen_.hpp:93
CRef< TAuthors > m_Authors
Definition: Cit_gen_.hpp:554
int TSerial_number
Definition: Cit_gen_.hpp:101
const TJournal & GetJournal(void) const
Get the Journal member data.
Definition: Cit_gen_.hpp:703
bool IsSetTitle(void) const
eg.
Definition: Cit_gen_.hpp:921
CSerialObject Tparent
Definition: Cit_gen_.hpp:82
bool IsSetJournal(void) const
Check if a value has been assigned to Journal data member.
Definition: Cit_gen_.hpp:691
bool CanGetVolume(void) const
Check if it is safe to call GetVolume method.
Definition: Cit_gen_.hpp:718
TTitle & SetTitle(void)
Assign a value to Title data member.
Definition: Cit_gen_.hpp:956
bool IsSetPmid(void) const
PubMed Id Check if a value has been assigned to Pmid data member.
Definition: Cit_gen_.hpp:968
string TVolume
Definition: Cit_gen_.hpp:97
bool CanGetAuthors(void) const
Check if it is safe to call GetAuthors method.
Definition: Cit_gen_.hpp:629
bool CanGetMuid(void) const
Check if it is safe to call GetMuid method.
Definition: Cit_gen_.hpp:650
string m_Issue
Definition: Cit_gen_.hpp:558
string TTitle
Definition: Cit_gen_.hpp:102
TSerial_number & SetSerial_number(void)
Assign a value to Serial_number data member.
Definition: Cit_gen_.hpp:909
Uint4 m_set_State[1]
Definition: Cit_gen_.hpp:552
bool CanGetIssue(void) const
Check if it is safe to call GetIssue method.
Definition: Cit_gen_.hpp:765
DECLARE_INTERNAL_TYPE_INFO()
CRef< TDate > m_Date
Definition: Cit_gen_.hpp:560
bool IsSetIssue(void) const
Check if a value has been assigned to Issue data member.
Definition: Cit_gen_.hpp:759
Tparent::CMemberIndex< E_memberIndex, 12 > TmemberIndex
Definition: Cit_gen_.hpp:120
TMuid GetMuid(void) const
Get the Muid member data.
Definition: Cit_gen_.hpp:663
NCBI_NS_NCBI::TEntrezId TMuid
Definition: Cit_gen_.hpp:95
int m_Serial_number
Definition: Cit_gen_.hpp:561
TPmid & SetPmid(void)
Assign a value to Pmid data member.
Definition: Cit_gen_.hpp:1003
bool CanGetTitle(void) const
Check if it is safe to call GetTitle method.
Definition: Cit_gen_.hpp:927
CCit_gen_Base(const CCit_gen_Base &)
CPubMedId m_Pmid
Definition: Cit_gen_.hpp:563
TVolume & SetVolume(void)
Assign a value to Volume data member.
Definition: Cit_gen_.hpp:747
bool IsSetMuid(void) const
medline uid Check if a value has been assigned to Muid data member.
Definition: Cit_gen_.hpp:644
bool CanGetSerial_number(void) const
Check if it is safe to call GetSerial_number method.
Definition: Cit_gen_.hpp:880
bool CanGetCit(void) const
Check if it is safe to call GetCit method.
Definition: Cit_gen_.hpp:582
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
static void SetTitle(CRef< CSeq_entry > entry, string title)
Modified on Mon Jun 17 05:10:52 2024 by modify_doxy.py rev. 669887