NCBI C++ ToolKit
Article_.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 Article_.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/objtools/eutils/efetch/efetch.xsd">efetch.xsd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objtools/eutils/efetch/efetch.def">efetch.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 eutils__OBJTOOLS_EUTILS_EFETCH_ARTICLE_BASE_HPP
42 #define eutils__OBJTOOLS_EUTILS_EFETCH_ARTICLE_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 
50 #ifndef BEGIN_eutils_SCOPE
51 # define BEGIN_eutils_SCOPE BEGIN_SCOPE(eutils)
52 # define END_eutils_SCOPE END_SCOPE(eutils)
53 #endif
54 BEGIN_eutils_SCOPE // namespace eutils::
55 
56 
57 // forward declarations
58 class CAbstract;
59 class CArticleDate;
60 class CArticleTitle;
61 class CAuthorList;
62 class CDataBankList;
63 class CELocationID;
64 class CGrantList;
65 class CJournal;
66 class CLanguage;
67 class CPagination;
69 class CVernacularTitle;
70 
71 
72 // generated classes
73 
74 
75 /** @addtogroup dataspec_efetch
76  *
77  * @{
78  */
79 
80 /////////////////////////////////////////////////////////////////////////////
81 ///
82 /// CArticle_Base --
83 ///
84 
85 class CArticle_Base : public NCBI_NS_NCBI::CSerialObject
86 {
87  typedef NCBI_NS_NCBI::CSerialObject Tparent;
88 public:
89  // constructor
90  CArticle_Base(void);
91  // destructor
92  virtual ~CArticle_Base(void);
93 
94  // type info
96 
97  /////////////////////////////////////////////////////////////////////////////
98  ///
99  /// C_Attlist --
100  ///
101 
102  class C_Attlist : public NCBI_NS_NCBI::CSerialObject
103  {
104  typedef NCBI_NS_NCBI::CSerialObject Tparent;
105  public:
106  // constructor
107  C_Attlist(void);
108  // destructor
109  ~C_Attlist(void);
110 
111  // type info
113 
120  };
121 
122  /// Access to EAttlist_PubModel's attributes (values, names) as defined in spec
123  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EAttlist_PubModel)(void);
124 
125  // types
127 
128  // member index
129  enum class E_memberIndex {
130  e__allMandatory = 0,
131  e_PubModel
132  };
133  typedef Tparent::CMemberIndex<E_memberIndex, 2> TmemberIndex;
134 
135  // getters
136  // setters
137 
138  /// Check if a value has been assigned to PubModel data member.
139  ///
140  /// Data member PubModel is mandatory;
141  /// its type is defined as 'typedef EAttlist_PubModel TPubModel'
142  /// @return
143  /// - true, if a value has been assigned.
144  /// - false, otherwise.
145  bool IsSetPubModel(void) const;
146 
147  /// Check if it is safe to call GetPubModel method.
148  ///
149  /// @return
150  /// - true, if the data member is getatable.
151  /// - false, otherwise.
152  bool CanGetPubModel(void) const;
153 
154  /// Reset PubModel data member.
155  void ResetPubModel(void);
156 
157  /// Get the PubModel member data.
158  ///
159  /// @return
160  /// Copy of the member data.
161  TPubModel GetPubModel(void) const;
162 
163  /// Assign a value to PubModel data member.
164  ///
165  /// @param value
166  /// Value to assign
168 
169  /// Assign a value to PubModel data member.
170  ///
171  /// @return
172  /// Reference to the data value.
173  TPubModel& SetPubModel(void);
174 
175  /// Reset the whole object
176  void Reset(void);
177 
178 
179  private:
180  // Prohibit copy constructor and assignment operator
183 
184  // data
187  };
188  /////////////////////////////////////////////////////////////////////////////
189  ///
190  /// C_PE_2 --
191  ///
192 
193  class C_PE_2 : public NCBI_NS_NCBI::CSerialObject
194  {
195  typedef NCBI_NS_NCBI::CSerialObject Tparent;
196  public:
197  // constructor
198  C_PE_2(void);
199  // destructor
200  ~C_PE_2(void);
201 
202  // type info
204 
205  /////////////////////////////////////////////////////////////////////////////
206  ///
207  /// C_PE --
208  ///
209 
210  class C_PE : public NCBI_NS_NCBI::CSerialObject
211  {
212  typedef NCBI_NS_NCBI::CSerialObject Tparent;
213  public:
214  // constructor
215  C_PE(void);
216  // destructor
217  ~C_PE(void);
218 
219  // type info
221 
222  // types
224  typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > TELocationID;
225 
226  // member index
227  enum class E_memberIndex {
228  e__allMandatory = 0,
229  e_Pagination,
231  };
232  typedef Tparent::CMemberIndex<E_memberIndex, 3> TmemberIndex;
233 
234  // getters
235  // setters
236 
237  /// Check if a value has been assigned to Pagination data member.
238  ///
239  /// Data member Pagination is mandatory;
240  /// its type is defined as 'typedef CPagination TPagination'
241  /// @return
242  /// - true, if a value has been assigned.
243  /// - false, otherwise.
244  bool IsSetPagination(void) const;
245 
246  /// Check if it is safe to call GetPagination method.
247  ///
248  /// @return
249  /// - true, if the data member is getatable.
250  /// - false, otherwise.
251  bool CanGetPagination(void) const;
252 
253  /// Reset Pagination data member.
254  void ResetPagination(void);
255 
256  /// Get the Pagination member data.
257  ///
258  /// @return
259  /// Reference to the member data.
260  const TPagination& GetPagination(void) const;
261 
262  /// Assign a value to Pagination data member.
263  ///
264  /// @param value
265  /// Reference to value.
267 
268  /// Assign a value to Pagination data member.
269  ///
270  /// @return
271  /// Reference to the data value.
272  TPagination& SetPagination(void);
273 
274  /// Check if a value has been assigned to ELocationID data member.
275  ///
276  /// Data member ELocationID is optional;
277  /// its type is defined as 'typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > TELocationID'
278  /// @return
279  /// - true, if a value has been assigned.
280  /// - false, otherwise.
281  bool IsSetELocationID(void) const;
282 
283  /// Check if it is safe to call GetELocationID method.
284  ///
285  /// @return
286  /// - true, if the data member is getatable.
287  /// - false, otherwise.
288  bool CanGetELocationID(void) const;
289 
290  /// Reset ELocationID data member.
291  void ResetELocationID(void);
292 
293  /// Get the ELocationID member data.
294  ///
295  /// @return
296  /// Reference to the member data.
297  const TELocationID& GetELocationID(void) const;
298 
299  /// Assign a value to ELocationID data member.
300  ///
301  /// @return
302  /// Reference to the data value.
304 
305  /// Reset the whole object
306  void Reset(void);
307 
308 
309  private:
310  // Prohibit copy constructor and assignment operator
311  C_PE(const C_PE&);
312  C_PE& operator=(const C_PE&);
313 
314  // data
316  NCBI_NS_NCBI::CRef< TPagination > m_Pagination;
317  NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > m_ELocationID;
318  };
319 
320  /// Choice variants.
321  enum E_Choice {
322  e_not_set = 0, ///< No variant selected
325  };
326  /// Maximum+1 value of the choice variant enumerator.
328  e_MaxChoice = 3 ///< == e_ELocationID+1
329  };
330 
331  /// Reset the whole object
332  void Reset(void);
333 
334  /// Reset the selection (set it to e_not_set).
335  void ResetSelection(void);
336 
337  /// Which variant is currently selected.
338  ///
339  /// @return
340  /// Choice state enumerator.
341  E_Choice Which(void) const;
342 
343  /// Verify selection, throw exception if it differs from the expected.
344  ///
345  /// @param index
346  /// Expected selection.
347  void CheckSelected(E_Choice index) const;
348 
349  /// Throw 'InvalidSelection' exception.
350  ///
351  /// @param index
352  /// Expected selection.
353  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
354 
355  /// Retrieve selection name (for diagnostic purposes).
356  ///
357  /// @param index
358  /// One of possible selection states.
359  /// @return
360  /// Name string.
362 
363  /// Select the requested variant if needed.
364  ///
365  /// @param index
366  /// New selection state.
367  /// @param reset
368  /// Flag that defines the resetting of the variant data. The data will
369  /// be reset if either the current selection differs from the new one,
370  /// or the flag is set to eDoResetVariant.
372  /// Select the requested variant if needed,
373  /// allocating CObject variants from memory pool.
374  void Select(E_Choice index,
376  NCBI_NS_NCBI::CObjectMemoryPool* pool);
377 
378  // types
379  typedef C_PE TPE;
380  typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > TELocationID;
381 
382  // getters
383  // setters
384 
385 
386  /// Check if variant PE is selected.
387  ///
388  /// PE type is defined as 'typedef C_PE TPE'.
389  /// @return
390  /// - true, if the variant is selected.
391  /// - false, otherwise.
392  bool IsPE(void) const;
393 
394  /// Get the variant data.
395  ///
396  /// @return
397  /// Reference to the data.
398  const TPE& GetPE(void) const;
399 
400  /// Select the variant.
401  ///
402  /// @return
403  /// Reference to the variant data.
404  TPE& SetPE(void);
405  /// Select the variant and set its data.
406  ///
407  /// @param value
408  /// Reference to the data.
409  void SetPE(TPE& value);
410 
411 
412  /// Check if variant ELocationID is selected.
413  ///
414  /// ELocationID type is defined as 'typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > TELocationID'.
415  /// @return
416  /// - true, if the variant is selected.
417  /// - false, otherwise.
418  bool IsELocationID(void) const;
419 
420  /// Get the variant data.
421  ///
422  /// @return
423  /// Reference to the data.
424  const TELocationID& GetELocationID(void) const;
425 
426  /// Select the variant.
427  ///
428  /// @return
429  /// Reference to the variant data.
431 
432 
433  private:
434  // copy constructor and assignment operator
435  C_PE_2(const C_PE_2& );
437  // choice state
439  // helper methods
440  void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool* pool = 0);
441 
442  static const char* const sm_SelectionNames[];
443  // data
444  union {
445  NCBI_NS_NCBI::CUnionBuffer<TELocationID> m_ELocationID;
446  NCBI_NS_NCBI::CSerialObject *m_object;
447  };
448  };
449  // types
453  typedef C_PE_2 TPE_2;
456  typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CLanguage > > TLanguage;
461  typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CArticleDate > > TArticleDate;
462 
463  // member index
464  enum class E_memberIndex {
465  e__allMandatory = 0,
466  e_Attlist,
467  e_Journal,
469  e_PE_2,
470  e_Abstract,
471  e_AuthorList,
472  e_Language,
474  e_GrantList,
478  };
479  typedef Tparent::CMemberIndex<E_memberIndex, 13> TmemberIndex;
480 
481  // getters
482  // setters
483 
484  /// Check if a value has been assigned to Attlist data member.
485  ///
486  /// Data member Attlist is mandatory;
487  /// its type is defined as 'typedef C_Attlist TAttlist'
488  /// @return
489  /// - true, if a value has been assigned.
490  /// - false, otherwise.
491  bool IsSetAttlist(void) const;
492 
493  /// Check if it is safe to call GetAttlist method.
494  ///
495  /// @return
496  /// - true, if the data member is getatable.
497  /// - false, otherwise.
498  bool CanGetAttlist(void) const;
499 
500  /// Reset Attlist data member.
501  void ResetAttlist(void);
502 
503  /// Get the Attlist member data.
504  ///
505  /// @return
506  /// Reference to the member data.
507  const TAttlist& GetAttlist(void) const;
508 
509  /// Assign a value to Attlist data member.
510  ///
511  /// @param value
512  /// Reference to value.
513  void SetAttlist(TAttlist& value);
514 
515  /// Assign a value to Attlist data member.
516  ///
517  /// @return
518  /// Reference to the data value.
519  TAttlist& SetAttlist(void);
520 
521  /// Check if a value has been assigned to Journal data member.
522  ///
523  /// Data member Journal is mandatory;
524  /// its type is defined as 'typedef CJournal TJournal'
525  /// @return
526  /// - true, if a value has been assigned.
527  /// - false, otherwise.
528  bool IsSetJournal(void) const;
529 
530  /// Check if it is safe to call GetJournal method.
531  ///
532  /// @return
533  /// - true, if the data member is getatable.
534  /// - false, otherwise.
535  bool CanGetJournal(void) const;
536 
537  /// Reset Journal data member.
538  void ResetJournal(void);
539 
540  /// Get the Journal member data.
541  ///
542  /// @return
543  /// Reference to the member data.
544  const TJournal& GetJournal(void) const;
545 
546  /// Assign a value to Journal data member.
547  ///
548  /// @param value
549  /// Reference to value.
550  void SetJournal(TJournal& value);
551 
552  /// Assign a value to Journal data member.
553  ///
554  /// @return
555  /// Reference to the data value.
556  TJournal& SetJournal(void);
557 
558  /// Check if a value has been assigned to ArticleTitle data member.
559  ///
560  /// Data member ArticleTitle is mandatory;
561  /// its type is defined as 'typedef CArticleTitle TArticleTitle'
562  /// @return
563  /// - true, if a value has been assigned.
564  /// - false, otherwise.
565  bool IsSetArticleTitle(void) const;
566 
567  /// Check if it is safe to call GetArticleTitle method.
568  ///
569  /// @return
570  /// - true, if the data member is getatable.
571  /// - false, otherwise.
572  bool CanGetArticleTitle(void) const;
573 
574  /// Reset ArticleTitle data member.
575  void ResetArticleTitle(void);
576 
577  /// Get the ArticleTitle member data.
578  ///
579  /// @return
580  /// Reference to the member data.
581  const TArticleTitle& GetArticleTitle(void) const;
582 
583  /// Assign a value to ArticleTitle data member.
584  ///
585  /// @param value
586  /// Reference to value.
588 
589  /// Assign a value to ArticleTitle data member.
590  ///
591  /// @return
592  /// Reference to the data value.
594 
595  /// Check if a value has been assigned to PE_2 data member.
596  ///
597  /// Data member PE_2 is mandatory;
598  /// its type is defined as 'typedef C_PE_2 TPE_2'
599  /// @return
600  /// - true, if a value has been assigned.
601  /// - false, otherwise.
602  bool IsSetPE_2(void) const;
603 
604  /// Check if it is safe to call GetPE_2 method.
605  ///
606  /// @return
607  /// - true, if the data member is getatable.
608  /// - false, otherwise.
609  bool CanGetPE_2(void) const;
610 
611  /// Reset PE_2 data member.
612  void ResetPE_2(void);
613 
614  /// Get the PE_2 member data.
615  ///
616  /// @return
617  /// Reference to the member data.
618  const TPE_2& GetPE_2(void) const;
619 
620  /// Assign a value to PE_2 data member.
621  ///
622  /// @param value
623  /// Reference to value.
624  void SetPE_2(TPE_2& value);
625 
626  /// Assign a value to PE_2 data member.
627  ///
628  /// @return
629  /// Reference to the data value.
630  TPE_2& SetPE_2(void);
631 
632  /// Check if a value has been assigned to Abstract data member.
633  ///
634  /// Data member Abstract is optional;
635  /// its type is defined as 'typedef CAbstract TAbstract'
636  /// @return
637  /// - true, if a value has been assigned.
638  /// - false, otherwise.
639  bool IsSetAbstract(void) const;
640 
641  /// Check if it is safe to call GetAbstract method.
642  ///
643  /// @return
644  /// - true, if the data member is getatable.
645  /// - false, otherwise.
646  bool CanGetAbstract(void) const;
647 
648  /// Reset Abstract data member.
649  void ResetAbstract(void);
650 
651  /// Get the Abstract member data.
652  ///
653  /// @return
654  /// Reference to the member data.
655  const TAbstract& GetAbstract(void) const;
656 
657  /// Assign a value to Abstract data member.
658  ///
659  /// @param value
660  /// Reference to value.
661  void SetAbstract(TAbstract& value);
662 
663  /// Assign a value to Abstract data member.
664  ///
665  /// @return
666  /// Reference to the data value.
667  TAbstract& SetAbstract(void);
668 
669  /// Check if a value has been assigned to AuthorList data member.
670  ///
671  /// Data member AuthorList is optional;
672  /// its type is defined as 'typedef CAuthorList TAuthorList'
673  /// @return
674  /// - true, if a value has been assigned.
675  /// - false, otherwise.
676  bool IsSetAuthorList(void) const;
677 
678  /// Check if it is safe to call GetAuthorList method.
679  ///
680  /// @return
681  /// - true, if the data member is getatable.
682  /// - false, otherwise.
683  bool CanGetAuthorList(void) const;
684 
685  /// Reset AuthorList data member.
686  void ResetAuthorList(void);
687 
688  /// Get the AuthorList member data.
689  ///
690  /// @return
691  /// Reference to the member data.
692  const TAuthorList& GetAuthorList(void) const;
693 
694  /// Assign a value to AuthorList data member.
695  ///
696  /// @param value
697  /// Reference to value.
699 
700  /// Assign a value to AuthorList data member.
701  ///
702  /// @return
703  /// Reference to the data value.
704  TAuthorList& SetAuthorList(void);
705 
706  /// Check if a value has been assigned to Language data member.
707  ///
708  /// Data member Language is mandatory;
709  /// its type is defined as 'typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CLanguage > > TLanguage'
710  /// @return
711  /// - true, if a value has been assigned.
712  /// - false, otherwise.
713  bool IsSetLanguage(void) const;
714 
715  /// Check if it is safe to call GetLanguage method.
716  ///
717  /// @return
718  /// - true, if the data member is getatable.
719  /// - false, otherwise.
720  bool CanGetLanguage(void) const;
721 
722  /// Reset Language data member.
723  void ResetLanguage(void);
724 
725  /// Get the Language member data.
726  ///
727  /// @return
728  /// Reference to the member data.
729  const TLanguage& GetLanguage(void) const;
730 
731  /// Assign a value to Language data member.
732  ///
733  /// @return
734  /// Reference to the data value.
735  TLanguage& SetLanguage(void);
736 
737  /// Check if a value has been assigned to DataBankList data member.
738  ///
739  /// Data member DataBankList is optional;
740  /// its type is defined as 'typedef CDataBankList TDataBankList'
741  /// @return
742  /// - true, if a value has been assigned.
743  /// - false, otherwise.
744  bool IsSetDataBankList(void) const;
745 
746  /// Check if it is safe to call GetDataBankList method.
747  ///
748  /// @return
749  /// - true, if the data member is getatable.
750  /// - false, otherwise.
751  bool CanGetDataBankList(void) const;
752 
753  /// Reset DataBankList data member.
754  void ResetDataBankList(void);
755 
756  /// Get the DataBankList member data.
757  ///
758  /// @return
759  /// Reference to the member data.
760  const TDataBankList& GetDataBankList(void) const;
761 
762  /// Assign a value to DataBankList data member.
763  ///
764  /// @param value
765  /// Reference to value.
767 
768  /// Assign a value to DataBankList data member.
769  ///
770  /// @return
771  /// Reference to the data value.
773 
774  /// Check if a value has been assigned to GrantList data member.
775  ///
776  /// Data member GrantList is optional;
777  /// its type is defined as 'typedef CGrantList TGrantList'
778  /// @return
779  /// - true, if a value has been assigned.
780  /// - false, otherwise.
781  bool IsSetGrantList(void) const;
782 
783  /// Check if it is safe to call GetGrantList method.
784  ///
785  /// @return
786  /// - true, if the data member is getatable.
787  /// - false, otherwise.
788  bool CanGetGrantList(void) const;
789 
790  /// Reset GrantList data member.
791  void ResetGrantList(void);
792 
793  /// Get the GrantList member data.
794  ///
795  /// @return
796  /// Reference to the member data.
797  const TGrantList& GetGrantList(void) const;
798 
799  /// Assign a value to GrantList data member.
800  ///
801  /// @param value
802  /// Reference to value.
804 
805  /// Assign a value to GrantList data member.
806  ///
807  /// @return
808  /// Reference to the data value.
809  TGrantList& SetGrantList(void);
810 
811  /// Check if a value has been assigned to PublicationTypeList data member.
812  ///
813  /// Data member PublicationTypeList is mandatory;
814  /// its type is defined as 'typedef CPublicationTypeList TPublicationTypeList'
815  /// @return
816  /// - true, if a value has been assigned.
817  /// - false, otherwise.
818  bool IsSetPublicationTypeList(void) const;
819 
820  /// Check if it is safe to call GetPublicationTypeList method.
821  ///
822  /// @return
823  /// - true, if the data member is getatable.
824  /// - false, otherwise.
825  bool CanGetPublicationTypeList(void) const;
826 
827  /// Reset PublicationTypeList data member.
828  void ResetPublicationTypeList(void);
829 
830  /// Get the PublicationTypeList member data.
831  ///
832  /// @return
833  /// Reference to the member data.
834  const TPublicationTypeList& GetPublicationTypeList(void) const;
835 
836  /// Assign a value to PublicationTypeList data member.
837  ///
838  /// @param value
839  /// Reference to value.
841 
842  /// Assign a value to PublicationTypeList data member.
843  ///
844  /// @return
845  /// Reference to the data value.
847 
848  /// Check if a value has been assigned to VernacularTitle data member.
849  ///
850  /// Data member VernacularTitle is optional;
851  /// its type is defined as 'typedef CVernacularTitle TVernacularTitle'
852  /// @return
853  /// - true, if a value has been assigned.
854  /// - false, otherwise.
855  bool IsSetVernacularTitle(void) const;
856 
857  /// Check if it is safe to call GetVernacularTitle method.
858  ///
859  /// @return
860  /// - true, if the data member is getatable.
861  /// - false, otherwise.
862  bool CanGetVernacularTitle(void) const;
863 
864  /// Reset VernacularTitle data member.
865  void ResetVernacularTitle(void);
866 
867  /// Get the VernacularTitle member data.
868  ///
869  /// @return
870  /// Reference to the member data.
871  const TVernacularTitle& GetVernacularTitle(void) const;
872 
873  /// Assign a value to VernacularTitle data member.
874  ///
875  /// @param value
876  /// Reference to value.
878 
879  /// Assign a value to VernacularTitle data member.
880  ///
881  /// @return
882  /// Reference to the data value.
884 
885  /// Check if a value has been assigned to ArticleDate data member.
886  ///
887  /// Data member ArticleDate is optional;
888  /// its type is defined as 'typedef NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CArticleDate > > TArticleDate'
889  /// @return
890  /// - true, if a value has been assigned.
891  /// - false, otherwise.
892  bool IsSetArticleDate(void) const;
893 
894  /// Check if it is safe to call GetArticleDate method.
895  ///
896  /// @return
897  /// - true, if the data member is getatable.
898  /// - false, otherwise.
899  bool CanGetArticleDate(void) const;
900 
901  /// Reset ArticleDate data member.
902  void ResetArticleDate(void);
903 
904  /// Get the ArticleDate member data.
905  ///
906  /// @return
907  /// Reference to the member data.
908  const TArticleDate& GetArticleDate(void) const;
909 
910  /// Assign a value to ArticleDate data member.
911  ///
912  /// @return
913  /// Reference to the data value.
915 
916  /// Reset the whole object
917  virtual void Reset(void);
918 
919 
920 private:
921  // Prohibit copy constructor and assignment operator
924 
925  // data
927  NCBI_NS_NCBI::CRef< TAttlist > m_Attlist;
928  NCBI_NS_NCBI::CRef< TJournal > m_Journal;
929  NCBI_NS_NCBI::CRef< TArticleTitle > m_ArticleTitle;
930  NCBI_NS_NCBI::CRef< TPE_2 > m_PE_2;
931  NCBI_NS_NCBI::CRef< TAbstract > m_Abstract;
932  NCBI_NS_NCBI::CRef< TAuthorList > m_AuthorList;
933  NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CLanguage > > m_Language;
934  NCBI_NS_NCBI::CRef< TDataBankList > m_DataBankList;
935  NCBI_NS_NCBI::CRef< TGrantList > m_GrantList;
936  NCBI_NS_NCBI::CRef< TPublicationTypeList > m_PublicationTypeList;
937  NCBI_NS_NCBI::CRef< TVernacularTitle > m_VernacularTitle;
938  NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CArticleDate > > m_ArticleDate;
939 };
940 
941 /* @} */
942 
943 
944 
945 
946 
947 ///////////////////////////////////////////////////////////
948 ///////////////////// inline methods //////////////////////
949 ///////////////////////////////////////////////////////////
950 inline
952 {
953  return ((m_set_State[0] & 0x3) != 0);
954 }
955 
956 inline
958 {
959  return IsSetPubModel();
960 }
961 
962 inline
964 {
965  m_PubModel = (EAttlist_PubModel)(0);
966  m_set_State[0] &= ~0x3;
967 }
968 
969 inline
971 {
972  if (!CanGetPubModel()) {
973  ThrowUnassigned(0);
974  }
975  return m_PubModel;
976 }
977 
978 inline
980 {
981  m_PubModel = value;
982  m_set_State[0] |= 0x3;
983 }
984 
985 inline
987 {
988 #ifdef _DEBUG
989  if (!IsSetPubModel()) {
990  memset(&m_PubModel,UnassignedByte(),sizeof(m_PubModel));
991  }
992 #endif
993  m_set_State[0] |= 0x1;
994  return m_PubModel;
995 }
996 
997 inline
999 {
1000  return m_Pagination.NotEmpty();
1001 }
1002 
1003 inline
1005 {
1006  return true;
1007 }
1008 
1009 inline
1011 {
1012  if ( !m_Pagination ) {
1013  const_cast<C_PE*>(this)->ResetPagination();
1014  }
1015  return (*m_Pagination);
1016 }
1017 
1018 inline
1020 {
1021  if ( !m_Pagination ) {
1022  ResetPagination();
1023  }
1024  return (*m_Pagination);
1025 }
1026 
1027 inline
1029 {
1030  return ((m_set_State[0] & 0xc) != 0);
1031 }
1032 
1033 inline
1035 {
1036  return true;
1037 }
1038 
1039 inline
1041 {
1042  return m_ELocationID;
1043 }
1044 
1045 inline
1047 {
1048  m_set_State[0] |= 0x4;
1049  return m_ELocationID;
1050 }
1051 
1052 inline
1054 {
1055  return m_choice;
1056 }
1057 
1058 inline
1060 {
1061  if ( m_choice != index )
1062  ThrowInvalidSelection(index);
1063 }
1064 
1065 inline
1066 void CArticle_Base::C_PE_2::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
1067 {
1068  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
1069  if ( m_choice != e_not_set )
1070  ResetSelection();
1071  DoSelect(index, pool);
1072  }
1073 }
1074 
1075 inline
1077 {
1078  Select(index, reset, 0);
1079 }
1080 
1081 inline
1083 {
1084  return m_choice == e_PE;
1085 }
1086 
1087 inline
1089 {
1090  return m_choice == e_ELocationID;
1091 }
1092 
1093 inline
1095 {
1096  CheckSelected(e_ELocationID);
1097  return *m_ELocationID;
1098 }
1099 
1100 inline
1102 {
1103  Select(e_ELocationID, NCBI_NS_NCBI::eDoNotResetVariant);
1104  return *m_ELocationID;
1105 }
1106 
1107 inline
1109 {
1110  return m_Attlist.NotEmpty();
1111 }
1112 
1113 inline
1115 {
1116  return true;
1117 }
1118 
1119 inline
1121 {
1122  if ( !m_Attlist ) {
1123  const_cast<CArticle_Base*>(this)->ResetAttlist();
1124  }
1125  return (*m_Attlist);
1126 }
1127 
1128 inline
1130 {
1131  if ( !m_Attlist ) {
1132  ResetAttlist();
1133  }
1134  return (*m_Attlist);
1135 }
1136 
1137 inline
1139 {
1140  return m_Journal.NotEmpty();
1141 }
1142 
1143 inline
1145 {
1146  return true;
1147 }
1148 
1149 inline
1151 {
1152  if ( !m_Journal ) {
1153  const_cast<CArticle_Base*>(this)->ResetJournal();
1154  }
1155  return (*m_Journal);
1156 }
1157 
1158 inline
1160 {
1161  if ( !m_Journal ) {
1162  ResetJournal();
1163  }
1164  return (*m_Journal);
1165 }
1166 
1167 inline
1169 {
1170  return m_ArticleTitle.NotEmpty();
1171 }
1172 
1173 inline
1175 {
1176  return true;
1177 }
1178 
1179 inline
1181 {
1182  if ( !m_ArticleTitle ) {
1183  const_cast<CArticle_Base*>(this)->ResetArticleTitle();
1184  }
1185  return (*m_ArticleTitle);
1186 }
1187 
1188 inline
1190 {
1191  if ( !m_ArticleTitle ) {
1193  }
1194  return (*m_ArticleTitle);
1195 }
1196 
1197 inline
1199 {
1200  return m_PE_2.NotEmpty();
1201 }
1202 
1203 inline
1205 {
1206  return true;
1207 }
1208 
1209 inline
1211 {
1212  if ( !m_PE_2 ) {
1213  const_cast<CArticle_Base*>(this)->ResetPE_2();
1214  }
1215  return (*m_PE_2);
1216 }
1217 
1218 inline
1220 {
1221  if ( !m_PE_2 ) {
1222  ResetPE_2();
1223  }
1224  return (*m_PE_2);
1225 }
1226 
1227 inline
1229 {
1230  return m_Abstract.NotEmpty();
1231 }
1232 
1233 inline
1235 {
1236  return IsSetAbstract();
1237 }
1238 
1239 inline
1241 {
1242  if (!CanGetAbstract()) {
1243  ThrowUnassigned(4);
1244  }
1245  return (*m_Abstract);
1246 }
1247 
1248 inline
1250 {
1251  return m_AuthorList.NotEmpty();
1252 }
1253 
1254 inline
1256 {
1257  return IsSetAuthorList();
1258 }
1259 
1260 inline
1262 {
1263  if (!CanGetAuthorList()) {
1264  ThrowUnassigned(5);
1265  }
1266  return (*m_AuthorList);
1267 }
1268 
1269 inline
1271 {
1272  return ((m_set_State[0] & 0x3000) != 0);
1273 }
1274 
1275 inline
1277 {
1278  return true;
1279 }
1280 
1281 inline
1283 {
1284  return m_Language;
1285 }
1286 
1287 inline
1289 {
1290  m_set_State[0] |= 0x1000;
1291  return m_Language;
1292 }
1293 
1294 inline
1296 {
1297  return m_DataBankList.NotEmpty();
1298 }
1299 
1300 inline
1302 {
1303  return IsSetDataBankList();
1304 }
1305 
1306 inline
1308 {
1309  if (!CanGetDataBankList()) {
1310  ThrowUnassigned(7);
1311  }
1312  return (*m_DataBankList);
1313 }
1314 
1315 inline
1317 {
1318  return m_GrantList.NotEmpty();
1319 }
1320 
1321 inline
1323 {
1324  return IsSetGrantList();
1325 }
1326 
1327 inline
1329 {
1330  if (!CanGetGrantList()) {
1331  ThrowUnassigned(8);
1332  }
1333  return (*m_GrantList);
1334 }
1335 
1336 inline
1338 {
1339  return m_PublicationTypeList.NotEmpty();
1340 }
1341 
1342 inline
1344 {
1345  return true;
1346 }
1347 
1348 inline
1350 {
1351  if ( !m_PublicationTypeList ) {
1352  const_cast<CArticle_Base*>(this)->ResetPublicationTypeList();
1353  }
1354  return (*m_PublicationTypeList);
1355 }
1356 
1357 inline
1359 {
1360  if ( !m_PublicationTypeList ) {
1362  }
1363  return (*m_PublicationTypeList);
1364 }
1365 
1366 inline
1368 {
1369  return m_VernacularTitle.NotEmpty();
1370 }
1371 
1372 inline
1374 {
1375  return IsSetVernacularTitle();
1376 }
1377 
1378 inline
1380 {
1381  if (!CanGetVernacularTitle()) {
1382  ThrowUnassigned(10);
1383  }
1384  return (*m_VernacularTitle);
1385 }
1386 
1387 inline
1389 {
1390  return ((m_set_State[0] & 0xc00000) != 0);
1391 }
1392 
1393 inline
1395 {
1396  return true;
1397 }
1398 
1399 inline
1401 {
1402  return m_ArticleDate;
1403 }
1404 
1405 inline
1407 {
1408  m_set_State[0] |= 0x400000;
1409  return m_ArticleDate;
1410 }
1411 
1412 ///////////////////////////////////////////////////////////
1413 ////////////////// end of inline methods //////////////////
1414 ///////////////////////////////////////////////////////////
1415 
1416 
1417 
1418 
1419 
1420 END_eutils_SCOPE // namespace eutils::
1421 
1422 
1423 #endif // eutils__OBJTOOLS_EUTILS_EFETCH_ARTICLE_BASE_HPP
#define BEGIN_eutils_SCOPE
Definition: Article_.hpp:51
#define END_eutils_SCOPE
Definition: Article_.hpp:52
CAbstract –.
Definition: Abstract.hpp:64
CArticleDate –.
Definition: ArticleDate.hpp:64
CArticleTitle –.
CArticle_Base –.
Definition: Article_.hpp:86
CAuthorList –.
Definition: AuthorList.hpp:64
CDataBankList –.
CELocationID –.
Definition: ELocationID.hpp:64
CGrantList –.
Definition: GrantList.hpp:64
CJournal –.
Definition: Journal.hpp:64
CLanguage –.
Definition: Language.hpp:64
CPagination –.
Definition: Pagination.hpp:64
CPublicationTypeList –.
CVernacularTitle –.
char value[7]
Definition: config.c:431
string
Definition: cgiapp.hpp:687
EResetVariant
Definition: serialbase.hpp:76
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:994
@ eDoResetVariant
Definition: serialbase.hpp:77
@ eDoNotResetVariant
Definition: serialbase.hpp:78
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
bool CanGetAbstract(void) const
Check if it is safe to call GetAbstract method.
Definition: Article_.hpp:1234
bool IsSetAbstract(void) const
Check if a value has been assigned to Abstract data member.
Definition: Article_.hpp:1228
Tparent::CMemberIndex< E_memberIndex, 13 > TmemberIndex
Definition: Article_.hpp:479
bool CanGetPubModel(void) const
Check if it is safe to call GetPubModel method.
Definition: Article_.hpp:957
TDataBankList & SetDataBankList(void)
Assign a value to DataBankList data member.
Definition: Article_.cpp:361
bool IsELocationID(void) const
Check if variant ELocationID is selected.
Definition: Article_.hpp:1088
NCBI_NS_NCBI::CRef< TJournal > m_Journal
Definition: Article_.hpp:928
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
Definition: Article_.hpp:327
virtual ~CArticle_Base(void)
Definition: Article_.cpp:474
CGrantList TGrantList
Definition: Article_.hpp:458
void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0)
Definition: Article_.cpp:175
const TVernacularTitle & GetVernacularTitle(void) const
Get the VernacularTitle member data.
Definition: Article_.hpp:1379
const TELocationID & GetELocationID(void) const
Get the variant data.
Definition: Article_.hpp:1094
TPublicationTypeList & SetPublicationTypeList(void)
Assign a value to PublicationTypeList data member.
Definition: Article_.hpp:1358
const TAuthorList & GetAuthorList(void) const
Get the AuthorList member data.
Definition: Article_.hpp:1261
const TArticleDate & GetArticleDate(void) const
Get the ArticleDate member data.
Definition: Article_.hpp:1400
const TLanguage & GetLanguage(void) const
Get the Language member data.
Definition: Article_.hpp:1282
bool CanGetPagination(void) const
Check if it is safe to call GetPagination method.
Definition: Article_.hpp:1004
void ResetDataBankList(void)
Reset DataBankList data member.
Definition: Article_.cpp:351
NCBI_NS_NCBI::CRef< TAttlist > m_Attlist
Definition: Article_.hpp:927
const TPE & GetPE(void) const
Get the variant data.
Definition: Article_.cpp:206
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
Definition: Article_.hpp:1059
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
Definition: Article_.hpp:1129
NCBI_NS_NCBI::CRef< TPE_2 > m_PE_2
Definition: Article_.hpp:930
bool IsSetPagination(void) const
Check if a value has been assigned to Pagination data member.
Definition: Article_.hpp:998
bool CanGetGrantList(void) const
Check if it is safe to call GetGrantList method.
Definition: Article_.hpp:1322
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
Definition: Article_.hpp:232
void ResetVernacularTitle(void)
Reset VernacularTitle data member.
Definition: Article_.cpp:399
C_Attlist(const C_Attlist &)
void ResetLanguage(void)
Reset Language data member.
Definition: Article_.cpp:345
NCBI_NS_NCBI::CRef< TDataBankList > m_DataBankList
Definition: Article_.hpp:934
EAttlist_PubModel TPubModel
Definition: Article_.hpp:126
Uint4 m_set_State[1]
Definition: Article_.hpp:926
NCBI_NS_NCBI::CSerialObject Tparent
Definition: Article_.hpp:212
bool IsSetGrantList(void) const
Check if a value has been assigned to GrantList data member.
Definition: Article_.hpp:1316
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > TELocationID
Definition: Article_.hpp:224
void ResetAbstract(void)
Reset Abstract data member.
Definition: Article_.cpp:311
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > m_ELocationID
Definition: Article_.hpp:317
const TDataBankList & GetDataBankList(void) const
Get the DataBankList member data.
Definition: Article_.hpp:1307
NCBI_NS_NCBI::CSerialObject Tparent
Definition: Article_.hpp:87
TArticleTitle & SetArticleTitle(void)
Assign a value to ArticleTitle data member.
Definition: Article_.hpp:1189
static NCBI_NS_STD::string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
Definition: Article_.cpp:196
TPubModel GetPubModel(void) const
Get the PubModel member data.
Definition: Article_.hpp:970
TPubModel & SetPubModel(void)
Assign a value to PubModel data member.
Definition: Article_.hpp:986
bool CanGetVernacularTitle(void) const
Check if it is safe to call GetVernacularTitle method.
Definition: Article_.hpp:1373
CPublicationTypeList TPublicationTypeList
Definition: Article_.hpp:459
void ResetGrantList(void)
Reset GrantList data member.
Definition: Article_.cpp:368
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
Definition: Article_.hpp:1114
void Reset(void)
Reset the whole object.
Definition: Article_.cpp:72
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CLanguage > > TLanguage
Definition: Article_.hpp:456
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Definition: Article_.hpp:1108
bool IsSetArticleTitle(void) const
Check if a value has been assigned to ArticleTitle data member.
Definition: Article_.hpp:1168
C_Attlist & operator=(const C_Attlist &)
bool IsSetDataBankList(void) const
Check if a value has been assigned to DataBankList data member.
Definition: Article_.hpp:1295
DECLARE_INTERNAL_TYPE_INFO()
CArticle_Base & operator=(const CArticle_Base &)
void ResetPagination(void)
Reset Pagination data member.
Definition: Article_.cpp:101
bool CanGetPE_2(void) const
Check if it is safe to call GetPE_2 method.
Definition: Article_.hpp:1204
bool CanGetELocationID(void) const
Check if it is safe to call GetELocationID method.
Definition: Article_.hpp:1034
CAuthorList TAuthorList
Definition: Article_.hpp:455
bool IsSetPE_2(void) const
Check if a value has been assigned to PE_2 data member.
Definition: Article_.hpp:1198
bool CanGetArticleDate(void) const
Check if it is safe to call GetArticleDate method.
Definition: Article_.hpp:1394
CDataBankList TDataBankList
Definition: Article_.hpp:457
bool IsSetAuthorList(void) const
Check if a value has been assigned to AuthorList data member.
Definition: Article_.hpp:1249
NCBI_NS_NCBI::CSerialObject Tparent
Definition: Article_.hpp:195
TVernacularTitle & SetVernacularTitle(void)
Assign a value to VernacularTitle data member.
Definition: Article_.cpp:409
NCBI_NS_NCBI::CRef< TPagination > m_Pagination
Definition: Article_.hpp:316
const TPE_2 & GetPE_2(void) const
Get the PE_2 member data.
Definition: Article_.hpp:1210
TELocationID & SetELocationID(void)
Assign a value to ELocationID data member.
Definition: Article_.hpp:1046
NCBI_NS_NCBI::CSerialObject * m_object
Definition: Article_.hpp:446
bool CanGetLanguage(void) const
Check if it is safe to call GetLanguage method.
Definition: Article_.hpp:1276
TPagination & SetPagination(void)
Assign a value to Pagination data member.
Definition: Article_.hpp:1019
CArticle_Base(const CArticle_Base &)
NCBI_NS_NCBI::CRef< TArticleTitle > m_ArticleTitle
Definition: Article_.hpp:929
NCBI_NS_NCBI::CRef< TPublicationTypeList > m_PublicationTypeList
Definition: Article_.hpp:936
bool IsSetELocationID(void) const
Check if a value has been assigned to ELocationID data member.
Definition: Article_.hpp:1028
bool CanGetArticleTitle(void) const
Check if it is safe to call GetArticleTitle method.
Definition: Article_.hpp:1174
const TELocationID & GetELocationID(void) const
Get the ELocationID member data.
Definition: Article_.hpp:1040
C_PE_2 & operator=(const C_PE_2 &)
TELocationID & SetELocationID(void)
Select the variant.
Definition: Article_.hpp:1101
TArticleDate & SetArticleDate(void)
Assign a value to ArticleDate data member.
Definition: Article_.hpp:1406
TGrantList & SetGrantList(void)
Assign a value to GrantList data member.
Definition: Article_.cpp:378
const TPublicationTypeList & GetPublicationTypeList(void) const
Get the PublicationTypeList member data.
Definition: Article_.hpp:1349
void ResetAuthorList(void)
Reset AuthorList data member.
Definition: Article_.cpp:328
NCBI_NS_NCBI::CSerialObject Tparent
Definition: Article_.hpp:104
bool CanGetJournal(void) const
Check if it is safe to call GetJournal method.
Definition: Article_.hpp:1144
E_Choice Which(void) const
Which variant is currently selected.
Definition: Article_.hpp:1053
TPE & SetPE(void)
Select the variant.
Definition: Article_.cpp:212
virtual void Reset(void)
Reset the whole object.
Definition: Article_.cpp:422
TAuthorList & SetAuthorList(void)
Assign a value to AuthorList data member.
Definition: Article_.cpp:338
TPE_2 & SetPE_2(void)
Assign a value to PE_2 data member.
Definition: Article_.hpp:1219
void Reset(void)
Reset the whole object.
Definition: Article_.cpp:121
NCBI_NS_NCBI::CRef< TVernacularTitle > m_VernacularTitle
Definition: Article_.hpp:937
void ResetArticleDate(void)
Reset ArticleDate data member.
Definition: Article_.cpp:416
CVernacularTitle TVernacularTitle
Definition: Article_.hpp:460
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
Definition: Article_.hpp:1120
const TPagination & GetPagination(void) const
Get the Pagination member data.
Definition: Article_.hpp:1010
const TJournal & GetJournal(void) const
Get the Journal member data.
Definition: Article_.hpp:1150
void ResetAttlist(void)
Reset Attlist data member.
Definition: Article_.cpp:255
const TGrantList & GetGrantList(void) const
Get the GrantList member data.
Definition: Article_.hpp:1328
void ResetPublicationTypeList(void)
Reset PublicationTypeList data member.
Definition: Article_.cpp:385
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
Definition: Article_.cpp:201
void ResetArticleTitle(void)
Reset ArticleTitle data member.
Definition: Article_.cpp:283
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CLanguage > > m_Language
Definition: Article_.hpp:933
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CArticleDate > > TArticleDate
Definition: Article_.hpp:461
CJournal TJournal
Definition: Article_.hpp:451
CAbstract TAbstract
Definition: Article_.hpp:454
void ResetSelection(void)
Reset the selection (set it to e_not_set).
Definition: Article_.cpp:160
TAbstract & SetAbstract(void)
Assign a value to Abstract data member.
Definition: Article_.cpp:321
bool CanGetAuthorList(void) const
Check if it is safe to call GetAuthorList method.
Definition: Article_.hpp:1255
CArticleTitle TArticleTitle
Definition: Article_.hpp:452
TLanguage & SetLanguage(void)
Assign a value to Language data member.
Definition: Article_.hpp:1288
bool IsSetPublicationTypeList(void) const
Check if a value has been assigned to PublicationTypeList data member.
Definition: Article_.hpp:1337
TJournal & SetJournal(void)
Assign a value to Journal data member.
Definition: Article_.hpp:1159
void Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant)
Select the requested variant if needed.
Definition: Article_.hpp:1076
NCBI_NS_NCBI::CUnionBuffer< TELocationID > m_ELocationID
Definition: Article_.hpp:445
const TArticleTitle & GetArticleTitle(void) const
Get the ArticleTitle member data.
Definition: Article_.hpp:1180
bool CanGetPublicationTypeList(void) const
Check if it is safe to call GetPublicationTypeList method.
Definition: Article_.hpp:1343
C_PE & operator=(const C_PE &)
bool IsSetVernacularTitle(void) const
Check if a value has been assigned to VernacularTitle data member.
Definition: Article_.hpp:1367
E_Choice
Choice variants.
Definition: Article_.hpp:321
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
Definition: Article_.hpp:133
bool IsSetPubModel(void) const
Check if a value has been assigned to PubModel data member.
Definition: Article_.hpp:951
EAttlist_PubModel m_PubModel
Definition: Article_.hpp:186
void ResetJournal(void)
Reset Journal data member.
Definition: Article_.cpp:269
static const char *const sm_SelectionNames[]
Definition: Article_.hpp:442
bool IsSetJournal(void) const
Check if a value has been assigned to Journal data member.
Definition: Article_.hpp:1138
const TAbstract & GetAbstract(void) const
Get the Abstract member data.
Definition: Article_.hpp:1240
CArticle_Base(void)
Definition: Article_.cpp:461
void Reset(void)
Reset the whole object.
Definition: Article_.cpp:154
bool CanGetDataBankList(void) const
Check if it is safe to call GetDataBankList method.
Definition: Article_.hpp:1301
C_Attlist TAttlist
Definition: Article_.hpp:450
C_PE_2 TPE_2
Definition: Article_.hpp:453
void ResetELocationID(void)
Reset ELocationID data member.
Definition: Article_.cpp:115
void ResetPubModel(void)
Reset PubModel data member.
Definition: Article_.hpp:963
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CArticleDate > > m_ArticleDate
Definition: Article_.hpp:938
C_PE_2(const C_PE_2 &)
NCBI_NS_STD::list< NCBI_NS_NCBI::CRef< CELocationID > > TELocationID
Definition: Article_.hpp:380
NCBI_NS_NCBI::CRef< TAuthorList > m_AuthorList
Definition: Article_.hpp:932
NCBI_NS_NCBI::CRef< TGrantList > m_GrantList
Definition: Article_.hpp:935
bool IsSetLanguage(void) const
Check if a value has been assigned to Language data member.
Definition: Article_.hpp:1270
bool IsSetArticleDate(void) const
Check if a value has been assigned to ArticleDate data member.
Definition: Article_.hpp:1388
bool IsPE(void) const
Check if variant PE is selected.
Definition: Article_.hpp:1082
NCBI_NS_NCBI::CRef< TAbstract > m_Abstract
Definition: Article_.hpp:931
void ResetPE_2(void)
Reset PE_2 data member.
Definition: Article_.cpp:297
@ e_MaxChoice
== e_ELocationID+1
Definition: Article_.hpp:328
@ e_not_set
No variant selected.
Definition: Article_.hpp:322
@ e_not_set
Modified on Fri Mar 01 10:07:33 2024 by modify_doxy.py rev. 669887