NCBI C++ ToolKit
Mim_reference_.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 Mim_reference_.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/mim/mim.asn">mim.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/mim/mim.def">mim.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_MIM_MIM_REFERENCE_BASE_HPP
42 #define OBJECTS_MIM_MIM_REFERENCE_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #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 CMim_author;
62 class CMim_date;
63 class CMim_page;
64 
65 
66 // generated classes
67 
68 
69 /** @addtogroup dataspec_NCBI_Mim
70  *
71  * @{
72  */
73 
74 /////////////////////////////////////////////////////////////////////////////
75 ///
76 /// CMim_reference_Base --
77 ///
78 
80 {
82 public:
83  // constructor
84  CMim_reference_Base(void);
85  // destructor
86  virtual ~CMim_reference_Base(void);
87 
88  // type info
90 
91  enum EType {
92  eType_not_set = 0,
93  eType_citation = 1,
94  eType_book = 2,
95  eType_personal_communication = 3,
96  eType_book_citation = 4
97  };
98 
99  /// Access to EType's attributes (values, names) as defined in spec
100  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EType)(void);
101 
102  // types
103  typedef int TNumber;
104  typedef int TOrigNumber;
105  typedef EType TType;
106  typedef list< CRef< CMim_author > > TAuthors;
107  typedef string TPrimaryAuthor;
108  typedef string TOtherAuthors;
109  typedef string TCitationTitle;
110  typedef int TCitationType;
111  typedef string TBookTitle;
112  typedef list< CRef< CMim_author > > TEditors;
113  typedef string TVolume;
114  typedef string TEdition;
115  typedef string TJournal;
116  typedef string TSeries;
117  typedef string TPublisher;
118  typedef string TPlace;
119  typedef string TCommNote;
121  typedef list< CRef< CMim_page > > TPages;
122  typedef string TMiscInfo;
123  typedef int TPubmedUID;
124  typedef bool TAmbiguous;
125  typedef bool TNoLink;
126 
127  // member index
128  enum class E_memberIndex {
129  e__allMandatory = 0,
130  e_number,
131  e_origNumber,
132  e_type,
133  e_authors,
134  e_primaryAuthor,
135  e_otherAuthors,
136  e_citationTitle,
137  e_citationType,
138  e_bookTitle,
139  e_editors,
140  e_volume,
141  e_edition,
142  e_journal,
143  e_series,
144  e_publisher,
145  e_place,
146  e_commNote,
147  e_pubDate,
148  e_pages,
149  e_miscInfo,
150  e_pubmedUID,
151  e_ambiguous,
152  e_noLink
153  };
155 
156  // getters
157  // setters
158 
159  /// Check if a value has been assigned to Number data member.
160  ///
161  /// Data member Number is mandatory;
162  /// its type is defined as 'typedef int TNumber'
163  /// @return
164  /// - true, if a value has been assigned.
165  /// - false, otherwise.
166  bool IsSetNumber(void) const;
167 
168  /// Check if it is safe to call GetNumber method.
169  ///
170  /// @return
171  /// - true, if the data member is getatable.
172  /// - false, otherwise.
173  bool CanGetNumber(void) const;
174 
175  /// Reset Number data member.
176  void ResetNumber(void);
177 
178  /// Get the Number member data.
179  ///
180  /// @return
181  /// Copy of the member data.
182  TNumber GetNumber(void) const;
183 
184  /// Assign a value to Number data member.
185  ///
186  /// @param value
187  /// Value to assign
188  void SetNumber(TNumber value);
189 
190  /// Assign a value to Number data member.
191  ///
192  /// @return
193  /// Reference to the data value.
194  TNumber& SetNumber(void);
195 
196  /// Check if a value has been assigned to OrigNumber data member.
197  ///
198  /// Data member OrigNumber is optional;
199  /// its type is defined as 'typedef int TOrigNumber'
200  /// @return
201  /// - true, if a value has been assigned.
202  /// - false, otherwise.
203  bool IsSetOrigNumber(void) const;
204 
205  /// Check if it is safe to call GetOrigNumber method.
206  ///
207  /// @return
208  /// - true, if the data member is getatable.
209  /// - false, otherwise.
210  bool CanGetOrigNumber(void) const;
211 
212  /// Reset OrigNumber data member.
213  void ResetOrigNumber(void);
214 
215  /// Get the OrigNumber member data.
216  ///
217  /// @return
218  /// Copy of the member data.
219  TOrigNumber GetOrigNumber(void) const;
220 
221  /// Assign a value to OrigNumber data member.
222  ///
223  /// @param value
224  /// Value to assign
225  void SetOrigNumber(TOrigNumber value);
226 
227  /// Assign a value to OrigNumber data member.
228  ///
229  /// @return
230  /// Reference to the data value.
231  TOrigNumber& SetOrigNumber(void);
232 
233  /// Check if a value has been assigned to Type data member.
234  ///
235  /// Data member Type is optional;
236  /// its type is defined as 'typedef EType TType'
237  /// @return
238  /// - true, if a value has been assigned.
239  /// - false, otherwise.
240  bool IsSetType(void) const;
241 
242  /// Check if it is safe to call GetType method.
243  ///
244  /// @return
245  /// - true, if the data member is getatable.
246  /// - false, otherwise.
247  bool CanGetType(void) const;
248 
249  /// Reset Type data member.
250  void ResetType(void);
251 
252  /// Get the Type member data.
253  ///
254  /// @return
255  /// Copy of the member data.
256  TType GetType(void) const;
257 
258  /// Assign a value to Type data member.
259  ///
260  /// @param value
261  /// Value to assign
262  void SetType(TType value);
263 
264  /// Assign a value to Type data member.
265  ///
266  /// @return
267  /// Reference to the data value.
268  TType& SetType(void);
269 
270  /// Check if a value has been assigned to Authors data member.
271  ///
272  /// Data member Authors is mandatory;
273  /// its type is defined as 'typedef list< CRef< CMim_author > > TAuthors'
274  /// @return
275  /// - true, if a value has been assigned.
276  /// - false, otherwise.
277  bool IsSetAuthors(void) const;
278 
279  /// Check if it is safe to call GetAuthors method.
280  ///
281  /// @return
282  /// - true, if the data member is getatable.
283  /// - false, otherwise.
284  bool CanGetAuthors(void) const;
285 
286  /// Reset Authors data member.
287  void ResetAuthors(void);
288 
289  /// Get the Authors member data.
290  ///
291  /// @return
292  /// Reference to the member data.
293  const TAuthors& GetAuthors(void) const;
294 
295  /// Assign a value to Authors data member.
296  ///
297  /// @return
298  /// Reference to the data value.
299  TAuthors& SetAuthors(void);
300 
301  /// Check if a value has been assigned to PrimaryAuthor data member.
302  ///
303  /// Data member PrimaryAuthor is mandatory;
304  /// its type is defined as 'typedef string TPrimaryAuthor'
305  /// @return
306  /// - true, if a value has been assigned.
307  /// - false, otherwise.
308  bool IsSetPrimaryAuthor(void) const;
309 
310  /// Check if it is safe to call GetPrimaryAuthor method.
311  ///
312  /// @return
313  /// - true, if the data member is getatable.
314  /// - false, otherwise.
315  bool CanGetPrimaryAuthor(void) const;
316 
317  /// Reset PrimaryAuthor data member.
318  void ResetPrimaryAuthor(void);
319 
320  /// Get the PrimaryAuthor member data.
321  ///
322  /// @return
323  /// Reference to the member data.
324  const TPrimaryAuthor& GetPrimaryAuthor(void) const;
325 
326  /// Assign a value to PrimaryAuthor data member.
327  ///
328  /// @param value
329  /// Value to assign
330  void SetPrimaryAuthor(const TPrimaryAuthor& value);
331  void SetPrimaryAuthor(TPrimaryAuthor&& value);
332 
333  /// Assign a value to PrimaryAuthor data member.
334  ///
335  /// @return
336  /// Reference to the data value.
337  TPrimaryAuthor& SetPrimaryAuthor(void);
338 
339  /// Check if a value has been assigned to OtherAuthors data member.
340  ///
341  /// Data member OtherAuthors is mandatory;
342  /// its type is defined as 'typedef string TOtherAuthors'
343  /// @return
344  /// - true, if a value has been assigned.
345  /// - false, otherwise.
346  bool IsSetOtherAuthors(void) const;
347 
348  /// Check if it is safe to call GetOtherAuthors method.
349  ///
350  /// @return
351  /// - true, if the data member is getatable.
352  /// - false, otherwise.
353  bool CanGetOtherAuthors(void) const;
354 
355  /// Reset OtherAuthors data member.
356  void ResetOtherAuthors(void);
357 
358  /// Get the OtherAuthors member data.
359  ///
360  /// @return
361  /// Reference to the member data.
362  const TOtherAuthors& GetOtherAuthors(void) const;
363 
364  /// Assign a value to OtherAuthors data member.
365  ///
366  /// @param value
367  /// Value to assign
368  void SetOtherAuthors(const TOtherAuthors& value);
369  void SetOtherAuthors(TOtherAuthors&& value);
370 
371  /// Assign a value to OtherAuthors data member.
372  ///
373  /// @return
374  /// Reference to the data value.
375  TOtherAuthors& SetOtherAuthors(void);
376 
377  /// Check if a value has been assigned to CitationTitle data member.
378  ///
379  /// Data member CitationTitle is mandatory;
380  /// its type is defined as 'typedef string TCitationTitle'
381  /// @return
382  /// - true, if a value has been assigned.
383  /// - false, otherwise.
384  bool IsSetCitationTitle(void) const;
385 
386  /// Check if it is safe to call GetCitationTitle method.
387  ///
388  /// @return
389  /// - true, if the data member is getatable.
390  /// - false, otherwise.
391  bool CanGetCitationTitle(void) const;
392 
393  /// Reset CitationTitle data member.
394  void ResetCitationTitle(void);
395 
396  /// Get the CitationTitle member data.
397  ///
398  /// @return
399  /// Reference to the member data.
400  const TCitationTitle& GetCitationTitle(void) const;
401 
402  /// Assign a value to CitationTitle data member.
403  ///
404  /// @param value
405  /// Value to assign
406  void SetCitationTitle(const TCitationTitle& value);
407  void SetCitationTitle(TCitationTitle&& value);
408 
409  /// Assign a value to CitationTitle data member.
410  ///
411  /// @return
412  /// Reference to the data value.
413  TCitationTitle& SetCitationTitle(void);
414 
415  /// Check if a value has been assigned to CitationType data member.
416  ///
417  /// Data member CitationType is optional;
418  /// its type is defined as 'typedef int TCitationType'
419  /// @return
420  /// - true, if a value has been assigned.
421  /// - false, otherwise.
422  bool IsSetCitationType(void) const;
423 
424  /// Check if it is safe to call GetCitationType method.
425  ///
426  /// @return
427  /// - true, if the data member is getatable.
428  /// - false, otherwise.
429  bool CanGetCitationType(void) const;
430 
431  /// Reset CitationType data member.
432  void ResetCitationType(void);
433 
434  /// Get the CitationType member data.
435  ///
436  /// @return
437  /// Copy of the member data.
438  TCitationType GetCitationType(void) const;
439 
440  /// Assign a value to CitationType data member.
441  ///
442  /// @param value
443  /// Value to assign
444  void SetCitationType(TCitationType value);
445 
446  /// Assign a value to CitationType data member.
447  ///
448  /// @return
449  /// Reference to the data value.
450  TCitationType& SetCitationType(void);
451 
452  /// Check if a value has been assigned to BookTitle data member.
453  ///
454  /// Data member BookTitle is optional;
455  /// its type is defined as 'typedef string TBookTitle'
456  /// @return
457  /// - true, if a value has been assigned.
458  /// - false, otherwise.
459  bool IsSetBookTitle(void) const;
460 
461  /// Check if it is safe to call GetBookTitle method.
462  ///
463  /// @return
464  /// - true, if the data member is getatable.
465  /// - false, otherwise.
466  bool CanGetBookTitle(void) const;
467 
468  /// Reset BookTitle data member.
469  void ResetBookTitle(void);
470 
471  /// Get the BookTitle member data.
472  ///
473  /// @return
474  /// Reference to the member data.
475  const TBookTitle& GetBookTitle(void) const;
476 
477  /// Assign a value to BookTitle data member.
478  ///
479  /// @param value
480  /// Value to assign
481  void SetBookTitle(const TBookTitle& value);
482  void SetBookTitle(TBookTitle&& value);
483 
484  /// Assign a value to BookTitle data member.
485  ///
486  /// @return
487  /// Reference to the data value.
488  TBookTitle& SetBookTitle(void);
489 
490  /// Check if a value has been assigned to Editors data member.
491  ///
492  /// Data member Editors is optional;
493  /// its type is defined as 'typedef list< CRef< CMim_author > > TEditors'
494  /// @return
495  /// - true, if a value has been assigned.
496  /// - false, otherwise.
497  bool IsSetEditors(void) const;
498 
499  /// Check if it is safe to call GetEditors method.
500  ///
501  /// @return
502  /// - true, if the data member is getatable.
503  /// - false, otherwise.
504  bool CanGetEditors(void) const;
505 
506  /// Reset Editors data member.
507  void ResetEditors(void);
508 
509  /// Get the Editors member data.
510  ///
511  /// @return
512  /// Reference to the member data.
513  const TEditors& GetEditors(void) const;
514 
515  /// Assign a value to Editors data member.
516  ///
517  /// @return
518  /// Reference to the data value.
519  TEditors& SetEditors(void);
520 
521  /// Check if a value has been assigned to Volume data member.
522  ///
523  /// Data member Volume is optional;
524  /// its type is defined as 'typedef string TVolume'
525  /// @return
526  /// - true, if a value has been assigned.
527  /// - false, otherwise.
528  bool IsSetVolume(void) const;
529 
530  /// Check if it is safe to call GetVolume method.
531  ///
532  /// @return
533  /// - true, if the data member is getatable.
534  /// - false, otherwise.
535  bool CanGetVolume(void) const;
536 
537  /// Reset Volume data member.
538  void ResetVolume(void);
539 
540  /// Get the Volume member data.
541  ///
542  /// @return
543  /// Reference to the member data.
544  const TVolume& GetVolume(void) const;
545 
546  /// Assign a value to Volume data member.
547  ///
548  /// @param value
549  /// Value to assign
550  void SetVolume(const TVolume& value);
551  void SetVolume(TVolume&& value);
552 
553  /// Assign a value to Volume data member.
554  ///
555  /// @return
556  /// Reference to the data value.
557  TVolume& SetVolume(void);
558 
559  /// Check if a value has been assigned to Edition data member.
560  ///
561  /// Data member Edition is optional;
562  /// its type is defined as 'typedef string TEdition'
563  /// @return
564  /// - true, if a value has been assigned.
565  /// - false, otherwise.
566  bool IsSetEdition(void) const;
567 
568  /// Check if it is safe to call GetEdition method.
569  ///
570  /// @return
571  /// - true, if the data member is getatable.
572  /// - false, otherwise.
573  bool CanGetEdition(void) const;
574 
575  /// Reset Edition data member.
576  void ResetEdition(void);
577 
578  /// Get the Edition member data.
579  ///
580  /// @return
581  /// Reference to the member data.
582  const TEdition& GetEdition(void) const;
583 
584  /// Assign a value to Edition data member.
585  ///
586  /// @param value
587  /// Value to assign
588  void SetEdition(const TEdition& value);
589  void SetEdition(TEdition&& value);
590 
591  /// Assign a value to Edition data member.
592  ///
593  /// @return
594  /// Reference to the data value.
595  TEdition& SetEdition(void);
596 
597  /// Check if a value has been assigned to Journal data member.
598  ///
599  /// Data member Journal is optional;
600  /// its type is defined as 'typedef string TJournal'
601  /// @return
602  /// - true, if a value has been assigned.
603  /// - false, otherwise.
604  bool IsSetJournal(void) const;
605 
606  /// Check if it is safe to call GetJournal method.
607  ///
608  /// @return
609  /// - true, if the data member is getatable.
610  /// - false, otherwise.
611  bool CanGetJournal(void) const;
612 
613  /// Reset Journal data member.
614  void ResetJournal(void);
615 
616  /// Get the Journal member data.
617  ///
618  /// @return
619  /// Reference to the member data.
620  const TJournal& GetJournal(void) const;
621 
622  /// Assign a value to Journal data member.
623  ///
624  /// @param value
625  /// Value to assign
626  void SetJournal(const TJournal& value);
627  void SetJournal(TJournal&& value);
628 
629  /// Assign a value to Journal data member.
630  ///
631  /// @return
632  /// Reference to the data value.
633  TJournal& SetJournal(void);
634 
635  /// Check if a value has been assigned to Series data member.
636  ///
637  /// Data member Series is optional;
638  /// its type is defined as 'typedef string TSeries'
639  /// @return
640  /// - true, if a value has been assigned.
641  /// - false, otherwise.
642  bool IsSetSeries(void) const;
643 
644  /// Check if it is safe to call GetSeries method.
645  ///
646  /// @return
647  /// - true, if the data member is getatable.
648  /// - false, otherwise.
649  bool CanGetSeries(void) const;
650 
651  /// Reset Series data member.
652  void ResetSeries(void);
653 
654  /// Get the Series member data.
655  ///
656  /// @return
657  /// Reference to the member data.
658  const TSeries& GetSeries(void) const;
659 
660  /// Assign a value to Series data member.
661  ///
662  /// @param value
663  /// Value to assign
664  void SetSeries(const TSeries& value);
665  void SetSeries(TSeries&& value);
666 
667  /// Assign a value to Series data member.
668  ///
669  /// @return
670  /// Reference to the data value.
671  TSeries& SetSeries(void);
672 
673  /// Check if a value has been assigned to Publisher data member.
674  ///
675  /// Data member Publisher is optional;
676  /// its type is defined as 'typedef string TPublisher'
677  /// @return
678  /// - true, if a value has been assigned.
679  /// - false, otherwise.
680  bool IsSetPublisher(void) const;
681 
682  /// Check if it is safe to call GetPublisher method.
683  ///
684  /// @return
685  /// - true, if the data member is getatable.
686  /// - false, otherwise.
687  bool CanGetPublisher(void) const;
688 
689  /// Reset Publisher data member.
690  void ResetPublisher(void);
691 
692  /// Get the Publisher member data.
693  ///
694  /// @return
695  /// Reference to the member data.
696  const TPublisher& GetPublisher(void) const;
697 
698  /// Assign a value to Publisher data member.
699  ///
700  /// @param value
701  /// Value to assign
702  void SetPublisher(const TPublisher& value);
703  void SetPublisher(TPublisher&& value);
704 
705  /// Assign a value to Publisher data member.
706  ///
707  /// @return
708  /// Reference to the data value.
709  TPublisher& SetPublisher(void);
710 
711  /// Check if a value has been assigned to Place data member.
712  ///
713  /// Data member Place is optional;
714  /// its type is defined as 'typedef string TPlace'
715  /// @return
716  /// - true, if a value has been assigned.
717  /// - false, otherwise.
718  bool IsSetPlace(void) const;
719 
720  /// Check if it is safe to call GetPlace method.
721  ///
722  /// @return
723  /// - true, if the data member is getatable.
724  /// - false, otherwise.
725  bool CanGetPlace(void) const;
726 
727  /// Reset Place data member.
728  void ResetPlace(void);
729 
730  /// Get the Place member data.
731  ///
732  /// @return
733  /// Reference to the member data.
734  const TPlace& GetPlace(void) const;
735 
736  /// Assign a value to Place data member.
737  ///
738  /// @param value
739  /// Value to assign
740  void SetPlace(const TPlace& value);
741  void SetPlace(TPlace&& value);
742 
743  /// Assign a value to Place data member.
744  ///
745  /// @return
746  /// Reference to the data value.
747  TPlace& SetPlace(void);
748 
749  /// Check if a value has been assigned to CommNote data member.
750  ///
751  /// Data member CommNote is optional;
752  /// its type is defined as 'typedef string TCommNote'
753  /// @return
754  /// - true, if a value has been assigned.
755  /// - false, otherwise.
756  bool IsSetCommNote(void) const;
757 
758  /// Check if it is safe to call GetCommNote method.
759  ///
760  /// @return
761  /// - true, if the data member is getatable.
762  /// - false, otherwise.
763  bool CanGetCommNote(void) const;
764 
765  /// Reset CommNote data member.
766  void ResetCommNote(void);
767 
768  /// Get the CommNote member data.
769  ///
770  /// @return
771  /// Reference to the member data.
772  const TCommNote& GetCommNote(void) const;
773 
774  /// Assign a value to CommNote data member.
775  ///
776  /// @param value
777  /// Value to assign
778  void SetCommNote(const TCommNote& value);
779  void SetCommNote(TCommNote&& value);
780 
781  /// Assign a value to CommNote data member.
782  ///
783  /// @return
784  /// Reference to the data value.
785  TCommNote& SetCommNote(void);
786 
787  /// Check if a value has been assigned to PubDate data member.
788  ///
789  /// Data member PubDate is mandatory;
790  /// its type is defined as 'typedef CMim_date TPubDate'
791  /// @return
792  /// - true, if a value has been assigned.
793  /// - false, otherwise.
794  bool IsSetPubDate(void) const;
795 
796  /// Check if it is safe to call GetPubDate method.
797  ///
798  /// @return
799  /// - true, if the data member is getatable.
800  /// - false, otherwise.
801  bool CanGetPubDate(void) const;
802 
803  /// Reset PubDate data member.
804  void ResetPubDate(void);
805 
806  /// Get the PubDate member data.
807  ///
808  /// @return
809  /// Reference to the member data.
810  const TPubDate& GetPubDate(void) const;
811 
812  /// Assign a value to PubDate data member.
813  ///
814  /// @param value
815  /// Reference to value.
816  void SetPubDate(TPubDate& value);
817 
818  /// Assign a value to PubDate data member.
819  ///
820  /// @return
821  /// Reference to the data value.
822  TPubDate& SetPubDate(void);
823 
824  /// Check if a value has been assigned to Pages data member.
825  ///
826  /// Data member Pages is optional;
827  /// its type is defined as 'typedef list< CRef< CMim_page > > TPages'
828  /// @return
829  /// - true, if a value has been assigned.
830  /// - false, otherwise.
831  bool IsSetPages(void) const;
832 
833  /// Check if it is safe to call GetPages method.
834  ///
835  /// @return
836  /// - true, if the data member is getatable.
837  /// - false, otherwise.
838  bool CanGetPages(void) const;
839 
840  /// Reset Pages data member.
841  void ResetPages(void);
842 
843  /// Get the Pages member data.
844  ///
845  /// @return
846  /// Reference to the member data.
847  const TPages& GetPages(void) const;
848 
849  /// Assign a value to Pages data member.
850  ///
851  /// @return
852  /// Reference to the data value.
853  TPages& SetPages(void);
854 
855  /// Check if a value has been assigned to MiscInfo data member.
856  ///
857  /// Data member MiscInfo is optional;
858  /// its type is defined as 'typedef string TMiscInfo'
859  /// @return
860  /// - true, if a value has been assigned.
861  /// - false, otherwise.
862  bool IsSetMiscInfo(void) const;
863 
864  /// Check if it is safe to call GetMiscInfo method.
865  ///
866  /// @return
867  /// - true, if the data member is getatable.
868  /// - false, otherwise.
869  bool CanGetMiscInfo(void) const;
870 
871  /// Reset MiscInfo data member.
872  void ResetMiscInfo(void);
873 
874  /// Get the MiscInfo member data.
875  ///
876  /// @return
877  /// Reference to the member data.
878  const TMiscInfo& GetMiscInfo(void) const;
879 
880  /// Assign a value to MiscInfo data member.
881  ///
882  /// @param value
883  /// Value to assign
884  void SetMiscInfo(const TMiscInfo& value);
885  void SetMiscInfo(TMiscInfo&& value);
886 
887  /// Assign a value to MiscInfo data member.
888  ///
889  /// @return
890  /// Reference to the data value.
891  TMiscInfo& SetMiscInfo(void);
892 
893  /// Check if a value has been assigned to PubmedUID data member.
894  ///
895  /// Data member PubmedUID is optional;
896  /// its type is defined as 'typedef int TPubmedUID'
897  /// @return
898  /// - true, if a value has been assigned.
899  /// - false, otherwise.
900  bool IsSetPubmedUID(void) const;
901 
902  /// Check if it is safe to call GetPubmedUID method.
903  ///
904  /// @return
905  /// - true, if the data member is getatable.
906  /// - false, otherwise.
907  bool CanGetPubmedUID(void) const;
908 
909  /// Reset PubmedUID data member.
910  void ResetPubmedUID(void);
911 
912  /// Get the PubmedUID member data.
913  ///
914  /// @return
915  /// Copy of the member data.
916  TPubmedUID GetPubmedUID(void) const;
917 
918  /// Assign a value to PubmedUID data member.
919  ///
920  /// @param value
921  /// Value to assign
922  void SetPubmedUID(TPubmedUID value);
923 
924  /// Assign a value to PubmedUID data member.
925  ///
926  /// @return
927  /// Reference to the data value.
928  TPubmedUID& SetPubmedUID(void);
929 
930  /// Check if a value has been assigned to Ambiguous data member.
931  ///
932  /// Data member Ambiguous is mandatory;
933  /// its type is defined as 'typedef bool TAmbiguous'
934  /// @return
935  /// - true, if a value has been assigned.
936  /// - false, otherwise.
937  bool IsSetAmbiguous(void) const;
938 
939  /// Check if it is safe to call GetAmbiguous method.
940  ///
941  /// @return
942  /// - true, if the data member is getatable.
943  /// - false, otherwise.
944  bool CanGetAmbiguous(void) const;
945 
946  /// Reset Ambiguous data member.
947  void ResetAmbiguous(void);
948 
949  /// Get the Ambiguous member data.
950  ///
951  /// @return
952  /// Copy of the member data.
953  TAmbiguous GetAmbiguous(void) const;
954 
955  /// Assign a value to Ambiguous data member.
956  ///
957  /// @param value
958  /// Value to assign
959  void SetAmbiguous(TAmbiguous value);
960 
961  /// Assign a value to Ambiguous data member.
962  ///
963  /// @return
964  /// Reference to the data value.
965  TAmbiguous& SetAmbiguous(void);
966 
967  /// Check if a value has been assigned to NoLink data member.
968  ///
969  /// Data member NoLink is optional;
970  /// its type is defined as 'typedef bool TNoLink'
971  /// @return
972  /// - true, if a value has been assigned.
973  /// - false, otherwise.
974  bool IsSetNoLink(void) const;
975 
976  /// Check if it is safe to call GetNoLink method.
977  ///
978  /// @return
979  /// - true, if the data member is getatable.
980  /// - false, otherwise.
981  bool CanGetNoLink(void) const;
982 
983  /// Reset NoLink data member.
984  void ResetNoLink(void);
985 
986  /// Get the NoLink member data.
987  ///
988  /// @return
989  /// Copy of the member data.
990  TNoLink GetNoLink(void) const;
991 
992  /// Assign a value to NoLink data member.
993  ///
994  /// @param value
995  /// Value to assign
996  void SetNoLink(TNoLink value);
997 
998  /// Assign a value to NoLink data member.
999  ///
1000  /// @return
1001  /// Reference to the data value.
1002  TNoLink& SetNoLink(void);
1003 
1004  /// Reset the whole object
1005  virtual void Reset(void);
1006 
1007 
1008 private:
1009  // Prohibit copy constructor and assignment operator
1012 
1013  // data
1014  Uint4 m_set_State[2];
1018  list< CRef< CMim_author > > m_Authors;
1023  string m_BookTitle;
1024  list< CRef< CMim_author > > m_Editors;
1025  string m_Volume;
1026  string m_Edition;
1027  string m_Journal;
1028  string m_Series;
1029  string m_Publisher;
1030  string m_Place;
1031  string m_CommNote;
1033  list< CRef< CMim_page > > m_Pages;
1034  string m_MiscInfo;
1037  bool m_NoLink;
1038 };
1039 
1040 /* @} */
1041 
1042 
1043 
1044 
1045 
1046 ///////////////////////////////////////////////////////////
1047 ///////////////////// inline methods //////////////////////
1048 ///////////////////////////////////////////////////////////
1049 inline
1051 {
1052  return ((m_set_State[0] & 0x3) != 0);
1053 }
1054 
1055 inline
1057 {
1058  return IsSetNumber();
1059 }
1060 
1061 inline
1063 {
1064  m_Number = 0;
1065  m_set_State[0] &= ~0x3;
1066 }
1067 
1068 inline
1070 {
1071  if (!CanGetNumber()) {
1072  ThrowUnassigned(0);
1073  }
1074  return m_Number;
1075 }
1076 
1077 inline
1079 {
1080  m_Number = value;
1081  m_set_State[0] |= 0x3;
1082 }
1083 
1084 inline
1086 {
1087 #ifdef _DEBUG
1088  if (!IsSetNumber()) {
1089  memset(&m_Number,UnassignedByte(),sizeof(m_Number));
1090  }
1091 #endif
1092  m_set_State[0] |= 0x1;
1093  return m_Number;
1094 }
1095 
1096 inline
1098 {
1099  return ((m_set_State[0] & 0xc) != 0);
1100 }
1101 
1102 inline
1104 {
1105  return IsSetOrigNumber();
1106 }
1107 
1108 inline
1110 {
1111  m_OrigNumber = 0;
1112  m_set_State[0] &= ~0xc;
1113 }
1114 
1115 inline
1117 {
1118  if (!CanGetOrigNumber()) {
1119  ThrowUnassigned(1);
1120  }
1121  return m_OrigNumber;
1122 }
1123 
1124 inline
1126 {
1127  m_OrigNumber = value;
1128  m_set_State[0] |= 0xc;
1129 }
1130 
1131 inline
1133 {
1134 #ifdef _DEBUG
1135  if (!IsSetOrigNumber()) {
1136  memset(&m_OrigNumber,UnassignedByte(),sizeof(m_OrigNumber));
1137  }
1138 #endif
1139  m_set_State[0] |= 0x4;
1140  return m_OrigNumber;
1141 }
1142 
1143 inline
1145 {
1146  return ((m_set_State[0] & 0x30) != 0);
1147 }
1148 
1149 inline
1151 {
1152  return IsSetType();
1153 }
1154 
1155 inline
1157 {
1158  m_Type = (EType)(0);
1159  m_set_State[0] &= ~0x30;
1160 }
1161 
1162 inline
1164 {
1165  if (!CanGetType()) {
1166  ThrowUnassigned(2);
1167  }
1168  return m_Type;
1169 }
1170 
1171 inline
1173 {
1174  m_Type = value;
1175  m_set_State[0] |= 0x30;
1176 }
1177 
1178 inline
1180 {
1181 #ifdef _DEBUG
1182  if (!IsSetType()) {
1183  memset(&m_Type,UnassignedByte(),sizeof(m_Type));
1184  }
1185 #endif
1186  m_set_State[0] |= 0x10;
1187  return m_Type;
1188 }
1189 
1190 inline
1192 {
1193  return ((m_set_State[0] & 0xc0) != 0);
1194 }
1195 
1196 inline
1198 {
1199  return true;
1200 }
1201 
1202 inline
1204 {
1205  return m_Authors;
1206 }
1207 
1208 inline
1210 {
1211  m_set_State[0] |= 0x40;
1212  return m_Authors;
1213 }
1214 
1215 inline
1217 {
1218  return ((m_set_State[0] & 0x300) != 0);
1219 }
1220 
1221 inline
1223 {
1224  return IsSetPrimaryAuthor();
1225 }
1226 
1227 inline
1229 {
1230  if (!CanGetPrimaryAuthor()) {
1231  ThrowUnassigned(4);
1232  }
1233  return m_PrimaryAuthor;
1234 }
1235 
1236 inline
1238 {
1240  m_set_State[0] |= 0x300;
1241 }
1242 
1243 inline
1245 {
1246  m_PrimaryAuthor = std::forward<CMim_reference_Base::TPrimaryAuthor>(value);
1247  m_set_State[0] |= 0x300;
1248 }
1249 
1250 inline
1252 {
1253 #ifdef _DEBUG
1254  if (!IsSetPrimaryAuthor()) {
1256  }
1257 #endif
1258  m_set_State[0] |= 0x100;
1259  return m_PrimaryAuthor;
1260 }
1261 
1262 inline
1264 {
1265  return ((m_set_State[0] & 0xc00) != 0);
1266 }
1267 
1268 inline
1270 {
1271  return IsSetOtherAuthors();
1272 }
1273 
1274 inline
1276 {
1277  if (!CanGetOtherAuthors()) {
1278  ThrowUnassigned(5);
1279  }
1280  return m_OtherAuthors;
1281 }
1282 
1283 inline
1285 {
1287  m_set_State[0] |= 0xc00;
1288 }
1289 
1290 inline
1292 {
1293  m_OtherAuthors = std::forward<CMim_reference_Base::TOtherAuthors>(value);
1294  m_set_State[0] |= 0xc00;
1295 }
1296 
1297 inline
1299 {
1300 #ifdef _DEBUG
1301  if (!IsSetOtherAuthors()) {
1303  }
1304 #endif
1305  m_set_State[0] |= 0x400;
1306  return m_OtherAuthors;
1307 }
1308 
1309 inline
1311 {
1312  return ((m_set_State[0] & 0x3000) != 0);
1313 }
1314 
1315 inline
1317 {
1318  return IsSetCitationTitle();
1319 }
1320 
1321 inline
1323 {
1324  if (!CanGetCitationTitle()) {
1325  ThrowUnassigned(6);
1326  }
1327  return m_CitationTitle;
1328 }
1329 
1330 inline
1332 {
1334  m_set_State[0] |= 0x3000;
1335 }
1336 
1337 inline
1339 {
1340  m_CitationTitle = std::forward<CMim_reference_Base::TCitationTitle>(value);
1341  m_set_State[0] |= 0x3000;
1342 }
1343 
1344 inline
1346 {
1347 #ifdef _DEBUG
1348  if (!IsSetCitationTitle()) {
1350  }
1351 #endif
1352  m_set_State[0] |= 0x1000;
1353  return m_CitationTitle;
1354 }
1355 
1356 inline
1358 {
1359  return ((m_set_State[0] & 0xc000) != 0);
1360 }
1361 
1362 inline
1364 {
1365  return IsSetCitationType();
1366 }
1367 
1368 inline
1370 {
1371  m_CitationType = 0;
1372  m_set_State[0] &= ~0xc000;
1373 }
1374 
1375 inline
1377 {
1378  if (!CanGetCitationType()) {
1379  ThrowUnassigned(7);
1380  }
1381  return m_CitationType;
1382 }
1383 
1384 inline
1386 {
1388  m_set_State[0] |= 0xc000;
1389 }
1390 
1391 inline
1393 {
1394 #ifdef _DEBUG
1395  if (!IsSetCitationType()) {
1396  memset(&m_CitationType,UnassignedByte(),sizeof(m_CitationType));
1397  }
1398 #endif
1399  m_set_State[0] |= 0x4000;
1400  return m_CitationType;
1401 }
1402 
1403 inline
1405 {
1406  return ((m_set_State[0] & 0x30000) != 0);
1407 }
1408 
1409 inline
1411 {
1412  return IsSetBookTitle();
1413 }
1414 
1415 inline
1417 {
1418  if (!CanGetBookTitle()) {
1419  ThrowUnassigned(8);
1420  }
1421  return m_BookTitle;
1422 }
1423 
1424 inline
1426 {
1427  m_BookTitle = value;
1428  m_set_State[0] |= 0x30000;
1429 }
1430 
1431 inline
1433 {
1434  m_BookTitle = std::forward<CMim_reference_Base::TBookTitle>(value);
1435  m_set_State[0] |= 0x30000;
1436 }
1437 
1438 inline
1440 {
1441 #ifdef _DEBUG
1442  if (!IsSetBookTitle()) {
1444  }
1445 #endif
1446  m_set_State[0] |= 0x10000;
1447  return m_BookTitle;
1448 }
1449 
1450 inline
1452 {
1453  return ((m_set_State[0] & 0xc0000) != 0);
1454 }
1455 
1456 inline
1458 {
1459  return true;
1460 }
1461 
1462 inline
1464 {
1465  return m_Editors;
1466 }
1467 
1468 inline
1470 {
1471  m_set_State[0] |= 0x40000;
1472  return m_Editors;
1473 }
1474 
1475 inline
1477 {
1478  return ((m_set_State[0] & 0x300000) != 0);
1479 }
1480 
1481 inline
1483 {
1484  return IsSetVolume();
1485 }
1486 
1487 inline
1489 {
1490  if (!CanGetVolume()) {
1491  ThrowUnassigned(10);
1492  }
1493  return m_Volume;
1494 }
1495 
1496 inline
1498 {
1499  m_Volume = value;
1500  m_set_State[0] |= 0x300000;
1501 }
1502 
1503 inline
1505 {
1506  m_Volume = std::forward<CMim_reference_Base::TVolume>(value);
1507  m_set_State[0] |= 0x300000;
1508 }
1509 
1510 inline
1512 {
1513 #ifdef _DEBUG
1514  if (!IsSetVolume()) {
1516  }
1517 #endif
1518  m_set_State[0] |= 0x100000;
1519  return m_Volume;
1520 }
1521 
1522 inline
1524 {
1525  return ((m_set_State[0] & 0xc00000) != 0);
1526 }
1527 
1528 inline
1530 {
1531  return IsSetEdition();
1532 }
1533 
1534 inline
1536 {
1537  if (!CanGetEdition()) {
1538  ThrowUnassigned(11);
1539  }
1540  return m_Edition;
1541 }
1542 
1543 inline
1545 {
1546  m_Edition = value;
1547  m_set_State[0] |= 0xc00000;
1548 }
1549 
1550 inline
1552 {
1553  m_Edition = std::forward<CMim_reference_Base::TEdition>(value);
1554  m_set_State[0] |= 0xc00000;
1555 }
1556 
1557 inline
1559 {
1560 #ifdef _DEBUG
1561  if (!IsSetEdition()) {
1563  }
1564 #endif
1565  m_set_State[0] |= 0x400000;
1566  return m_Edition;
1567 }
1568 
1569 inline
1571 {
1572  return ((m_set_State[0] & 0x3000000) != 0);
1573 }
1574 
1575 inline
1577 {
1578  return IsSetJournal();
1579 }
1580 
1581 inline
1583 {
1584  if (!CanGetJournal()) {
1585  ThrowUnassigned(12);
1586  }
1587  return m_Journal;
1588 }
1589 
1590 inline
1592 {
1593  m_Journal = value;
1594  m_set_State[0] |= 0x3000000;
1595 }
1596 
1597 inline
1599 {
1600  m_Journal = std::forward<CMim_reference_Base::TJournal>(value);
1601  m_set_State[0] |= 0x3000000;
1602 }
1603 
1604 inline
1606 {
1607 #ifdef _DEBUG
1608  if (!IsSetJournal()) {
1610  }
1611 #endif
1612  m_set_State[0] |= 0x1000000;
1613  return m_Journal;
1614 }
1615 
1616 inline
1618 {
1619  return ((m_set_State[0] & 0xc000000) != 0);
1620 }
1621 
1622 inline
1624 {
1625  return IsSetSeries();
1626 }
1627 
1628 inline
1630 {
1631  if (!CanGetSeries()) {
1632  ThrowUnassigned(13);
1633  }
1634  return m_Series;
1635 }
1636 
1637 inline
1639 {
1640  m_Series = value;
1641  m_set_State[0] |= 0xc000000;
1642 }
1643 
1644 inline
1646 {
1647  m_Series = std::forward<CMim_reference_Base::TSeries>(value);
1648  m_set_State[0] |= 0xc000000;
1649 }
1650 
1651 inline
1653 {
1654 #ifdef _DEBUG
1655  if (!IsSetSeries()) {
1657  }
1658 #endif
1659  m_set_State[0] |= 0x4000000;
1660  return m_Series;
1661 }
1662 
1663 inline
1665 {
1666  return ((m_set_State[0] & 0x30000000) != 0);
1667 }
1668 
1669 inline
1671 {
1672  return IsSetPublisher();
1673 }
1674 
1675 inline
1677 {
1678  if (!CanGetPublisher()) {
1679  ThrowUnassigned(14);
1680  }
1681  return m_Publisher;
1682 }
1683 
1684 inline
1686 {
1687  m_Publisher = value;
1688  m_set_State[0] |= 0x30000000;
1689 }
1690 
1691 inline
1693 {
1694  m_Publisher = std::forward<CMim_reference_Base::TPublisher>(value);
1695  m_set_State[0] |= 0x30000000;
1696 }
1697 
1698 inline
1700 {
1701 #ifdef _DEBUG
1702  if (!IsSetPublisher()) {
1704  }
1705 #endif
1706  m_set_State[0] |= 0x10000000;
1707  return m_Publisher;
1708 }
1709 
1710 inline
1712 {
1713  return ((m_set_State[0] & 0xc0000000) != 0);
1714 }
1715 
1716 inline
1718 {
1719  return IsSetPlace();
1720 }
1721 
1722 inline
1724 {
1725  if (!CanGetPlace()) {
1726  ThrowUnassigned(15);
1727  }
1728  return m_Place;
1729 }
1730 
1731 inline
1733 {
1734  m_Place = value;
1735  m_set_State[0] |= 0xc0000000;
1736 }
1737 
1738 inline
1740 {
1741  m_Place = std::forward<CMim_reference_Base::TPlace>(value);
1742  m_set_State[0] |= 0xc0000000;
1743 }
1744 
1745 inline
1747 {
1748 #ifdef _DEBUG
1749  if (!IsSetPlace()) {
1751  }
1752 #endif
1753  m_set_State[0] |= 0x40000000;
1754  return m_Place;
1755 }
1756 
1757 inline
1759 {
1760  return ((m_set_State[1] & 0x3) != 0);
1761 }
1762 
1763 inline
1765 {
1766  return IsSetCommNote();
1767 }
1768 
1769 inline
1771 {
1772  if (!CanGetCommNote()) {
1773  ThrowUnassigned(16);
1774  }
1775  return m_CommNote;
1776 }
1777 
1778 inline
1780 {
1781  m_CommNote = value;
1782  m_set_State[1] |= 0x3;
1783 }
1784 
1785 inline
1787 {
1788  m_CommNote = std::forward<CMim_reference_Base::TCommNote>(value);
1789  m_set_State[1] |= 0x3;
1790 }
1791 
1792 inline
1794 {
1795 #ifdef _DEBUG
1796  if (!IsSetCommNote()) {
1798  }
1799 #endif
1800  m_set_State[1] |= 0x1;
1801  return m_CommNote;
1802 }
1803 
1804 inline
1806 {
1807  return m_PubDate.NotEmpty();
1808 }
1809 
1810 inline
1812 {
1813  return true;
1814 }
1815 
1816 inline
1818 {
1819  if ( !m_PubDate ) {
1820  const_cast<CMim_reference_Base*>(this)->ResetPubDate();
1821  }
1822  return (*m_PubDate);
1823 }
1824 
1825 inline
1827 {
1828  if ( !m_PubDate ) {
1829  ResetPubDate();
1830  }
1831  return (*m_PubDate);
1832 }
1833 
1834 inline
1836 {
1837  return ((m_set_State[1] & 0x30) != 0);
1838 }
1839 
1840 inline
1842 {
1843  return true;
1844 }
1845 
1846 inline
1848 {
1849  return m_Pages;
1850 }
1851 
1852 inline
1854 {
1855  m_set_State[1] |= 0x10;
1856  return m_Pages;
1857 }
1858 
1859 inline
1861 {
1862  return ((m_set_State[1] & 0xc0) != 0);
1863 }
1864 
1865 inline
1867 {
1868  return IsSetMiscInfo();
1869 }
1870 
1871 inline
1873 {
1874  if (!CanGetMiscInfo()) {
1875  ThrowUnassigned(19);
1876  }
1877  return m_MiscInfo;
1878 }
1879 
1880 inline
1882 {
1883  m_MiscInfo = value;
1884  m_set_State[1] |= 0xc0;
1885 }
1886 
1887 inline
1889 {
1890  m_MiscInfo = std::forward<CMim_reference_Base::TMiscInfo>(value);
1891  m_set_State[1] |= 0xc0;
1892 }
1893 
1894 inline
1896 {
1897 #ifdef _DEBUG
1898  if (!IsSetMiscInfo()) {
1900  }
1901 #endif
1902  m_set_State[1] |= 0x40;
1903  return m_MiscInfo;
1904 }
1905 
1906 inline
1908 {
1909  return ((m_set_State[1] & 0x300) != 0);
1910 }
1911 
1912 inline
1914 {
1915  return IsSetPubmedUID();
1916 }
1917 
1918 inline
1920 {
1921  m_PubmedUID = 0;
1922  m_set_State[1] &= ~0x300;
1923 }
1924 
1925 inline
1927 {
1928  if (!CanGetPubmedUID()) {
1929  ThrowUnassigned(20);
1930  }
1931  return m_PubmedUID;
1932 }
1933 
1934 inline
1936 {
1937  m_PubmedUID = value;
1938  m_set_State[1] |= 0x300;
1939 }
1940 
1941 inline
1943 {
1944 #ifdef _DEBUG
1945  if (!IsSetPubmedUID()) {
1946  memset(&m_PubmedUID,UnassignedByte(),sizeof(m_PubmedUID));
1947  }
1948 #endif
1949  m_set_State[1] |= 0x100;
1950  return m_PubmedUID;
1951 }
1952 
1953 inline
1955 {
1956  return ((m_set_State[1] & 0xc00) != 0);
1957 }
1958 
1959 inline
1961 {
1962  return IsSetAmbiguous();
1963 }
1964 
1965 inline
1967 {
1968  m_Ambiguous = 0;
1969  m_set_State[1] &= ~0xc00;
1970 }
1971 
1972 inline
1974 {
1975  if (!CanGetAmbiguous()) {
1976  ThrowUnassigned(21);
1977  }
1978  return m_Ambiguous;
1979 }
1980 
1981 inline
1983 {
1984  m_Ambiguous = value;
1985  m_set_State[1] |= 0xc00;
1986 }
1987 
1988 inline
1990 {
1991 #ifdef _DEBUG
1992  if (!IsSetAmbiguous()) {
1993  memset(&m_Ambiguous,UnassignedByte(),sizeof(m_Ambiguous));
1994  }
1995 #endif
1996  m_set_State[1] |= 0x400;
1997  return m_Ambiguous;
1998 }
1999 
2000 inline
2002 {
2003  return ((m_set_State[1] & 0x3000) != 0);
2004 }
2005 
2006 inline
2008 {
2009  return IsSetNoLink();
2010 }
2011 
2012 inline
2014 {
2015  m_NoLink = 0;
2016  m_set_State[1] &= ~0x3000;
2017 }
2018 
2019 inline
2021 {
2022  if (!CanGetNoLink()) {
2023  ThrowUnassigned(22);
2024  }
2025  return m_NoLink;
2026 }
2027 
2028 inline
2030 {
2031  m_NoLink = value;
2032  m_set_State[1] |= 0x3000;
2033 }
2034 
2035 inline
2037 {
2038 #ifdef _DEBUG
2039  if (!IsSetNoLink()) {
2040  memset(&m_NoLink,UnassignedByte(),sizeof(m_NoLink));
2041  }
2042 #endif
2043  m_set_State[1] |= 0x1000;
2044  return m_NoLink;
2045 }
2046 
2047 ///////////////////////////////////////////////////////////
2048 ////////////////// end of inline methods //////////////////
2049 ///////////////////////////////////////////////////////////
2050 
2051 
2052 
2053 
2054 
2055 END_objects_SCOPE // namespace ncbi::objects::
2056 
2058 
2059 
2060 #endif // OBJECTS_MIM_MIM_REFERENCE_BASE_HPP
CMim_author –.
Definition: Mim_author.hpp:66
CMim_date –.
Definition: Mim_date.hpp:66
CMim_page –.
Definition: Mim_page.hpp:66
CMim_reference_Base –.
CRef –.
Definition: ncbiobj.hpp:618
Base class for all serializable objects.
Definition: serialbase.hpp:150
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:994
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_MIM_EXPORT
Definition: ncbi_export.h:608
bool IsSetVolume(void) const
Check if a value has been assigned to Volume data member.
TOtherAuthors & SetOtherAuthors(void)
Assign a value to OtherAuthors data member.
CMim_reference_Base(const CMim_reference_Base &)
list< CRef< CMim_author > > m_Editors
bool IsSetOrigNumber(void) const
Check if a value has been assigned to OrigNumber data member.
bool CanGetVolume(void) const
Check if it is safe to call GetVolume method.
bool IsSetSeries(void) const
Check if a value has been assigned to Series data member.
list< CRef< CMim_author > > TAuthors
TAmbiguous GetAmbiguous(void) const
Get the Ambiguous member data.
bool IsSetPlace(void) const
Check if a value has been assigned to Place data member.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
TNoLink & SetNoLink(void)
Assign a value to NoLink data member.
const TPlace & GetPlace(void) const
Get the Place member data.
TOrigNumber & SetOrigNumber(void)
Assign a value to OrigNumber data member.
void ResetType(void)
Reset Type data member.
TPrimaryAuthor & SetPrimaryAuthor(void)
Assign a value to PrimaryAuthor data member.
TCitationTitle & SetCitationTitle(void)
Assign a value to CitationTitle data member.
CMim_reference_Base & operator=(const CMim_reference_Base &)
bool IsSetEdition(void) const
Check if a value has been assigned to Edition data member.
TJournal & SetJournal(void)
Assign a value to Journal data member.
const TAuthors & GetAuthors(void) const
Get the Authors member data.
bool IsSetMiscInfo(void) const
Check if a value has been assigned to MiscInfo data member.
bool IsSetPrimaryAuthor(void) const
Check if a value has been assigned to PrimaryAuthor data member.
void ResetPubDate(void)
Reset PubDate data member.
bool CanGetBookTitle(void) const
Check if it is safe to call GetBookTitle method.
TCommNote & SetCommNote(void)
Assign a value to CommNote data member.
TSeries & SetSeries(void)
Assign a value to Series data member.
const TSeries & GetSeries(void) const
Get the Series member data.
bool CanGetNoLink(void) const
Check if it is safe to call GetNoLink method.
TNumber & SetNumber(void)
Assign a value to Number data member.
bool CanGetOtherAuthors(void) const
Check if it is safe to call GetOtherAuthors method.
void ResetPubmedUID(void)
Reset PubmedUID data member.
TPlace & SetPlace(void)
Assign a value to Place data member.
TNumber GetNumber(void) const
Get the Number member data.
bool CanGetType(void) const
Check if it is safe to call GetType method.
bool IsSetPubDate(void) const
Check if a value has been assigned to PubDate data member.
TVolume & SetVolume(void)
Assign a value to Volume data member.
bool IsSetNumber(void) const
Check if a value has been assigned to Number data member.
bool IsSetCitationType(void) const
Check if a value has been assigned to CitationType data member.
TCitationType & SetCitationType(void)
Assign a value to CitationType data member.
const TCitationTitle & GetCitationTitle(void) const
Get the CitationTitle member data.
TEdition & SetEdition(void)
Assign a value to Edition data member.
TMiscInfo & SetMiscInfo(void)
Assign a value to MiscInfo data member.
TPubmedUID & SetPubmedUID(void)
Assign a value to PubmedUID data member.
const TOtherAuthors & GetOtherAuthors(void) const
Get the OtherAuthors member data.
bool CanGetPubmedUID(void) const
Check if it is safe to call GetPubmedUID method.
bool CanGetSeries(void) const
Check if it is safe to call GetSeries method.
bool IsSetPubmedUID(void) const
Check if a value has been assigned to PubmedUID data member.
bool CanGetMiscInfo(void) const
Check if it is safe to call GetMiscInfo method.
TPubDate & SetPubDate(void)
Assign a value to PubDate data member.
bool CanGetOrigNumber(void) const
Check if it is safe to call GetOrigNumber method.
const TVolume & GetVolume(void) const
Get the Volume member data.
bool CanGetNumber(void) const
Check if it is safe to call GetNumber method.
void ResetNumber(void)
Reset Number data member.
void ResetAmbiguous(void)
Reset Ambiguous data member.
bool IsSetOtherAuthors(void) const
Check if a value has been assigned to OtherAuthors data member.
void ResetOrigNumber(void)
Reset OrigNumber data member.
bool CanGetPlace(void) const
Check if it is safe to call GetPlace method.
list< CRef< CMim_author > > m_Authors
const TJournal & GetJournal(void) const
Get the Journal member data.
bool IsSetAmbiguous(void) const
Check if a value has been assigned to Ambiguous data member.
bool CanGetCitationType(void) const
Check if it is safe to call GetCitationType method.
bool CanGetCitationTitle(void) const
Check if it is safe to call GetCitationTitle method.
const TPubDate & GetPubDate(void) const
Get the PubDate member data.
TType & SetType(void)
Assign a value to Type data member.
bool IsSetNoLink(void) const
Check if a value has been assigned to NoLink data member.
bool IsSetCommNote(void) const
Check if a value has been assigned to CommNote data member.
bool CanGetPublisher(void) const
Check if it is safe to call GetPublisher method.
const TBookTitle & GetBookTitle(void) const
Get the BookTitle member data.
TEditors & SetEditors(void)
Assign a value to Editors data member.
bool CanGetEditors(void) const
Check if it is safe to call GetEditors method.
const TEdition & GetEdition(void) const
Get the Edition member data.
const TPublisher & GetPublisher(void) const
Get the Publisher member data.
bool CanGetEdition(void) const
Check if it is safe to call GetEdition method.
const TCommNote & GetCommNote(void) const
Get the CommNote member data.
void ResetNoLink(void)
Reset NoLink data member.
bool IsSetCitationTitle(void) const
Check if a value has been assigned to CitationTitle data member.
TPages & SetPages(void)
Assign a value to Pages data member.
bool IsSetBookTitle(void) const
Check if a value has been assigned to BookTitle data member.
CSerialObject Tparent
bool CanGetAmbiguous(void) const
Check if it is safe to call GetAmbiguous method.
Tparent::CMemberIndex< E_memberIndex, 24 > TmemberIndex
TPublisher & SetPublisher(void)
Assign a value to Publisher data member.
bool CanGetPrimaryAuthor(void) const
Check if it is safe to call GetPrimaryAuthor method.
bool IsSetPublisher(void) const
Check if a value has been assigned to Publisher data member.
bool IsSetAuthors(void) const
Check if a value has been assigned to Authors data member.
TPubmedUID GetPubmedUID(void) const
Get the PubmedUID member data.
list< CRef< CMim_page > > TPages
bool IsSetJournal(void) const
Check if a value has been assigned to Journal data member.
const TEditors & GetEditors(void) const
Get the Editors member data.
bool CanGetCommNote(void) const
Check if it is safe to call GetCommNote method.
bool CanGetPages(void) const
Check if it is safe to call GetPages method.
bool IsSetEditors(void) const
Check if a value has been assigned to Editors data member.
bool CanGetPubDate(void) const
Check if it is safe to call GetPubDate method.
bool IsSetPages(void) const
Check if a value has been assigned to Pages data member.
bool CanGetAuthors(void) const
Check if it is safe to call GetAuthors method.
TOrigNumber GetOrigNumber(void) const
Get the OrigNumber member data.
bool CanGetJournal(void) const
Check if it is safe to call GetJournal method.
TCitationType GetCitationType(void) const
Get the CitationType member data.
TAuthors & SetAuthors(void)
Assign a value to Authors data member.
TType GetType(void) const
Get the Type member data.
CRef< TPubDate > m_PubDate
const TPages & GetPages(void) const
Get the Pages member data.
const TMiscInfo & GetMiscInfo(void) const
Get the MiscInfo member data.
TAmbiguous & SetAmbiguous(void)
Assign a value to Ambiguous data member.
void ResetCitationType(void)
Reset CitationType data member.
list< CRef< CMim_author > > TEditors
const TPrimaryAuthor & GetPrimaryAuthor(void) const
Get the PrimaryAuthor member data.
list< CRef< CMim_page > > m_Pages
TNoLink GetNoLink(void) const
Get the NoLink member data.
TBookTitle & SetBookTitle(void)
Assign a value to BookTitle data member.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Sep 20 14:57:10 2024 by modify_doxy.py rev. 669887