NCBI C++ ToolKit
Title_.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 Title_.hpp
29 /// Data storage class.
30 ///
31 /// This file was generated by application DATATOOL
32 /// using the following specifications:
33 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/biblio/biblio.asn">biblio.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/biblio/biblio.def">biblio.def</a>
36 ///
37 /// ATTENTION:
38 /// Don't edit or commit this file into CVS as this file will
39 /// be overridden (by DATATOOL) without warning!
40 
41 #ifndef OBJECTS_BIBLIO_TITLE_BASE_HPP
42 #define OBJECTS_BIBLIO_TITLE_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 // generated classes
61 
62 
63 /** @addtogroup dataspec_NCBI_Biblio
64  *
65  * @{
66  */
67 
68 /////////////////////////////////////////////////////////////////////////////
69 /// Title Group
70 /// Valid for = A = Analytic (Cit-art)
71 /// J = Journals (Cit-jour)
72 /// B = Book (Cit-book)
73 /// Valid for:
74 ///
75 /// CTitle_Base --
76 ///
77 
79 {
81 public:
82  // constructor
83  CTitle_Base(void);
84  // destructor
85  virtual ~CTitle_Base(void);
86 
87  // type info
89 
90  /////////////////////////////////////////////////////////////////////////////
91  ///
92  /// C_E --
93  ///
94 
96  {
98  public:
99  // constructor
100  C_E(void);
101  // destructor
102  ~C_E(void);
103 
104  // type info
106 
107 
108  /// Choice variants.
109  enum E_Choice {
110  e_not_set = 0, ///< No variant selected
111  e_Name, ///< Title, Anal,Coll,Mono AJB
112  e_Tsub, ///< Title, Subordinate A B
113  e_Trans, ///< Title, Translated AJB
114  e_Jta, ///< Title, Abbreviated J
115  e_Iso_jta, ///< specifically ISO jta J
116  e_Ml_jta, ///< specifically MEDLINE jta J
117  e_Coden, ///< a coden J
118  e_Issn, ///< ISSN J
119  e_Abr, ///< Title, Abbreviated B
120  e_Isbn ///< ISBN B
121  };
122  /// Maximum+1 value of the choice variant enumerator.
124  e_MaxChoice = 11 ///< == e_Isbn+1
125  };
126 
127  /// Reset the whole object
128  void Reset(void);
129 
130  /// Reset the selection (set it to e_not_set).
131  void ResetSelection(void);
132 
133  /// Which variant is currently selected.
134  ///
135  /// @return
136  /// Choice state enumerator.
137  E_Choice Which(void) const;
138 
139  /// Verify selection, throw exception if it differs from the expected.
140  ///
141  /// @param index
142  /// Expected selection.
143  void CheckSelected(E_Choice index) const;
144 
145  /// Throw 'InvalidSelection' exception.
146  ///
147  /// @param index
148  /// Expected selection.
149  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
150 
151  /// Retrieve selection name (for diagnostic purposes).
152  ///
153  /// @param index
154  /// One of possible selection states.
155  /// @return
156  /// Name string.
157  static string SelectionName(E_Choice index);
158 
159  /// Select the requested variant if needed.
160  ///
161  /// @param index
162  /// New selection state.
163  /// @param reset
164  /// Flag that defines the resetting of the variant data. The data will
165  /// be reset if either the current selection differs from the new one,
166  /// or the flag is set to eDoResetVariant.
168  /// Select the requested variant if needed,
169  /// allocating CObject variants from memory pool.
170  void Select(E_Choice index,
171  EResetVariant reset,
172  CObjectMemoryPool* pool);
173 
174  // types
175  typedef string TName;
176  typedef string TTsub;
177  typedef string TTrans;
178  typedef string TJta;
179  typedef string TIso_jta;
180  typedef string TMl_jta;
181  typedef string TCoden;
182  typedef string TIssn;
183  typedef string TAbr;
184  typedef string TIsbn;
185 
186  // getters
187  // setters
188 
189 
190  /// Check if variant Name is selected.
191  ///
192  /// Name type is defined as 'typedef string TName'.
193  /// @return
194  /// - true, if the variant is selected.
195  /// - false, otherwise.
196  bool IsName(void) const;
197 
198  /// Get the variant data.
199  ///
200  /// @return
201  /// Reference to the data.
202  const TName& GetName(void) const;
203 
204  /// Select the variant.
205  ///
206  /// @return
207  /// Reference to the variant data.
208  TName& SetName(void);
209 
210  /// Select the variant and set its data.
211  ///
212  /// @param value
213  /// Variant data.
214  void SetName(const TName& value);
215 
216 
217  /// Check if variant Tsub is selected.
218  ///
219  /// Tsub type is defined as 'typedef string TTsub'.
220  /// @return
221  /// - true, if the variant is selected.
222  /// - false, otherwise.
223  bool IsTsub(void) const;
224 
225  /// Get the variant data.
226  ///
227  /// @return
228  /// Reference to the data.
229  const TTsub& GetTsub(void) const;
230 
231  /// Select the variant.
232  ///
233  /// @return
234  /// Reference to the variant data.
235  TTsub& SetTsub(void);
236 
237  /// Select the variant and set its data.
238  ///
239  /// @param value
240  /// Variant data.
241  void SetTsub(const TTsub& value);
242 
243 
244  /// Check if variant Trans is selected.
245  ///
246  /// Trans type is defined as 'typedef string TTrans'.
247  /// @return
248  /// - true, if the variant is selected.
249  /// - false, otherwise.
250  bool IsTrans(void) const;
251 
252  /// Get the variant data.
253  ///
254  /// @return
255  /// Reference to the data.
256  const TTrans& GetTrans(void) const;
257 
258  /// Select the variant.
259  ///
260  /// @return
261  /// Reference to the variant data.
262  TTrans& SetTrans(void);
263 
264  /// Select the variant and set its data.
265  ///
266  /// @param value
267  /// Variant data.
268  void SetTrans(const TTrans& value);
269 
270 
271  /// Check if variant Jta is selected.
272  ///
273  /// Jta type is defined as 'typedef string TJta'.
274  /// @return
275  /// - true, if the variant is selected.
276  /// - false, otherwise.
277  bool IsJta(void) const;
278 
279  /// Get the variant data.
280  ///
281  /// @return
282  /// Reference to the data.
283  const TJta& GetJta(void) const;
284 
285  /// Select the variant.
286  ///
287  /// @return
288  /// Reference to the variant data.
289  TJta& SetJta(void);
290 
291  /// Select the variant and set its data.
292  ///
293  /// @param value
294  /// Variant data.
295  void SetJta(const TJta& value);
296 
297 
298  /// Check if variant Iso_jta is selected.
299  ///
300  /// Iso_jta type is defined as 'typedef string TIso_jta'.
301  /// @return
302  /// - true, if the variant is selected.
303  /// - false, otherwise.
304  bool IsIso_jta(void) const;
305 
306  /// Get the variant data.
307  ///
308  /// @return
309  /// Reference to the data.
310  const TIso_jta& GetIso_jta(void) const;
311 
312  /// Select the variant.
313  ///
314  /// @return
315  /// Reference to the variant data.
316  TIso_jta& SetIso_jta(void);
317 
318  /// Select the variant and set its data.
319  ///
320  /// @param value
321  /// Variant data.
322  void SetIso_jta(const TIso_jta& value);
323 
324 
325  /// Check if variant Ml_jta is selected.
326  ///
327  /// Ml_jta type is defined as 'typedef string TMl_jta'.
328  /// @return
329  /// - true, if the variant is selected.
330  /// - false, otherwise.
331  bool IsMl_jta(void) const;
332 
333  /// Get the variant data.
334  ///
335  /// @return
336  /// Reference to the data.
337  const TMl_jta& GetMl_jta(void) const;
338 
339  /// Select the variant.
340  ///
341  /// @return
342  /// Reference to the variant data.
343  TMl_jta& SetMl_jta(void);
344 
345  /// Select the variant and set its data.
346  ///
347  /// @param value
348  /// Variant data.
349  void SetMl_jta(const TMl_jta& value);
350 
351 
352  /// Check if variant Coden is selected.
353  ///
354  /// Coden type is defined as 'typedef string TCoden'.
355  /// @return
356  /// - true, if the variant is selected.
357  /// - false, otherwise.
358  bool IsCoden(void) const;
359 
360  /// Get the variant data.
361  ///
362  /// @return
363  /// Reference to the data.
364  const TCoden& GetCoden(void) const;
365 
366  /// Select the variant.
367  ///
368  /// @return
369  /// Reference to the variant data.
370  TCoden& SetCoden(void);
371 
372  /// Select the variant and set its data.
373  ///
374  /// @param value
375  /// Variant data.
376  void SetCoden(const TCoden& value);
377 
378 
379  /// Check if variant Issn is selected.
380  ///
381  /// Issn type is defined as 'typedef string TIssn'.
382  /// @return
383  /// - true, if the variant is selected.
384  /// - false, otherwise.
385  bool IsIssn(void) const;
386 
387  /// Get the variant data.
388  ///
389  /// @return
390  /// Reference to the data.
391  const TIssn& GetIssn(void) const;
392 
393  /// Select the variant.
394  ///
395  /// @return
396  /// Reference to the variant data.
397  TIssn& SetIssn(void);
398 
399  /// Select the variant and set its data.
400  ///
401  /// @param value
402  /// Variant data.
403  void SetIssn(const TIssn& value);
404 
405 
406  /// Check if variant Abr is selected.
407  ///
408  /// Abr type is defined as 'typedef string TAbr'.
409  /// @return
410  /// - true, if the variant is selected.
411  /// - false, otherwise.
412  bool IsAbr(void) const;
413 
414  /// Get the variant data.
415  ///
416  /// @return
417  /// Reference to the data.
418  const TAbr& GetAbr(void) const;
419 
420  /// Select the variant.
421  ///
422  /// @return
423  /// Reference to the variant data.
424  TAbr& SetAbr(void);
425 
426  /// Select the variant and set its data.
427  ///
428  /// @param value
429  /// Variant data.
430  void SetAbr(const TAbr& value);
431 
432 
433  /// Check if variant Isbn is selected.
434  ///
435  /// Isbn type is defined as 'typedef string TIsbn'.
436  /// @return
437  /// - true, if the variant is selected.
438  /// - false, otherwise.
439  bool IsIsbn(void) const;
440 
441  /// Get the variant data.
442  ///
443  /// @return
444  /// Reference to the data.
445  const TIsbn& GetIsbn(void) const;
446 
447  /// Select the variant.
448  ///
449  /// @return
450  /// Reference to the variant data.
451  TIsbn& SetIsbn(void);
452 
453  /// Select the variant and set its data.
454  ///
455  /// @param value
456  /// Variant data.
457  void SetIsbn(const TIsbn& value);
458 
459 
460  private:
461  // copy constructor and assignment operator
462  C_E(const C_E& );
463  C_E& operator=(const C_E& );
464  // choice state
466  // helper methods
467  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
468 
469  static const char* const sm_SelectionNames[];
470  // data
471  union {
472  NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string> m_string;
474  };
475  };
476  // types
477  typedef list< CRef< C_E > > Tdata;
478 
479  // getters
480  // setters
481 
482  /// Check if a value has been assigned to data member.
483  ///
484  /// Data member is mandatory;
485  /// its type is defined as 'typedef list< CRef< C_E > > Tdata'
486  /// @return
487  /// - true, if a value has been assigned.
488  /// - false, otherwise.
489  bool IsSet(void) const;
490 
491  /// Check if it is safe to call Get method.
492  ///
493  /// @return
494  /// - true, if the data member is getatable.
495  /// - false, otherwise.
496  bool CanGet(void) const;
497 
498  /// Reset data member.
499  void Reset(void);
500 
501  /// Get the member data.
502  ///
503  /// @return
504  /// Reference to the member data.
505  const Tdata& Get(void) const;
506 
507  /// Assign a value to data member.
508  ///
509  /// @return
510  /// Reference to the data value.
511  Tdata& Set(void);
512 
513  /// Conversion operator to 'const Tdata' type.
514  operator const Tdata& (void) const;
515  /// Conversion operator to 'Tdata' type.
516  operator Tdata& (void);
517 
518 
519 
520 private:
521  // Prohibit copy constructor and assignment operator
524 
525  // data
526  Uint4 m_set_State[1];
527  list< CRef< C_E > > m_data;
528 };
529 
530 /* @} */
531 
532 
533 
534 
535 
536 ///////////////////////////////////////////////////////////
537 ///////////////////// inline methods //////////////////////
538 ///////////////////////////////////////////////////////////
539 inline
541 {
542  return m_choice;
543 }
544 
545 inline
547 {
548  if ( m_choice != index )
549  ThrowInvalidSelection(index);
550 }
551 
552 inline
553 void CTitle_Base::C_E::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
554 {
555  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
556  if ( m_choice != e_not_set )
557  ResetSelection();
558  DoSelect(index, pool);
559  }
560 }
561 
562 inline
563 void CTitle_Base::C_E::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset)
564 {
565  Select(index, reset, 0);
566 }
567 
568 inline
569 bool CTitle_Base::C_E::IsName(void) const
570 {
571  return m_choice == e_Name;
572 }
573 
574 inline
576 {
577  CheckSelected(e_Name);
578  return *m_string;
579 }
580 
581 inline
583 {
584  Select(e_Name, NCBI_NS_NCBI::eDoNotResetVariant);
585  return *m_string;
586 }
587 
588 inline
589 bool CTitle_Base::C_E::IsTsub(void) const
590 {
591  return m_choice == e_Tsub;
592 }
593 
594 inline
596 {
597  CheckSelected(e_Tsub);
598  return *m_string;
599 }
600 
601 inline
603 {
604  Select(e_Tsub, NCBI_NS_NCBI::eDoNotResetVariant);
605  return *m_string;
606 }
607 
608 inline
610 {
611  return m_choice == e_Trans;
612 }
613 
614 inline
616 {
617  CheckSelected(e_Trans);
618  return *m_string;
619 }
620 
621 inline
623 {
624  Select(e_Trans, NCBI_NS_NCBI::eDoNotResetVariant);
625  return *m_string;
626 }
627 
628 inline
629 bool CTitle_Base::C_E::IsJta(void) const
630 {
631  return m_choice == e_Jta;
632 }
633 
634 inline
636 {
637  CheckSelected(e_Jta);
638  return *m_string;
639 }
640 
641 inline
643 {
644  Select(e_Jta, NCBI_NS_NCBI::eDoNotResetVariant);
645  return *m_string;
646 }
647 
648 inline
650 {
651  return m_choice == e_Iso_jta;
652 }
653 
654 inline
656 {
657  CheckSelected(e_Iso_jta);
658  return *m_string;
659 }
660 
661 inline
663 {
664  Select(e_Iso_jta, NCBI_NS_NCBI::eDoNotResetVariant);
665  return *m_string;
666 }
667 
668 inline
670 {
671  return m_choice == e_Ml_jta;
672 }
673 
674 inline
676 {
677  CheckSelected(e_Ml_jta);
678  return *m_string;
679 }
680 
681 inline
683 {
684  Select(e_Ml_jta, NCBI_NS_NCBI::eDoNotResetVariant);
685  return *m_string;
686 }
687 
688 inline
690 {
691  return m_choice == e_Coden;
692 }
693 
694 inline
696 {
697  CheckSelected(e_Coden);
698  return *m_string;
699 }
700 
701 inline
703 {
704  Select(e_Coden, NCBI_NS_NCBI::eDoNotResetVariant);
705  return *m_string;
706 }
707 
708 inline
709 bool CTitle_Base::C_E::IsIssn(void) const
710 {
711  return m_choice == e_Issn;
712 }
713 
714 inline
716 {
717  CheckSelected(e_Issn);
718  return *m_string;
719 }
720 
721 inline
723 {
724  Select(e_Issn, NCBI_NS_NCBI::eDoNotResetVariant);
725  return *m_string;
726 }
727 
728 inline
729 bool CTitle_Base::C_E::IsAbr(void) const
730 {
731  return m_choice == e_Abr;
732 }
733 
734 inline
736 {
737  CheckSelected(e_Abr);
738  return *m_string;
739 }
740 
741 inline
743 {
744  Select(e_Abr, NCBI_NS_NCBI::eDoNotResetVariant);
745  return *m_string;
746 }
747 
748 inline
749 bool CTitle_Base::C_E::IsIsbn(void) const
750 {
751  return m_choice == e_Isbn;
752 }
753 
754 inline
756 {
757  CheckSelected(e_Isbn);
758  return *m_string;
759 }
760 
761 inline
763 {
764  Select(e_Isbn, NCBI_NS_NCBI::eDoNotResetVariant);
765  return *m_string;
766 }
767 
768 inline
769 bool CTitle_Base::IsSet(void) const
770 {
771  return ((m_set_State[0] & 0x3) != 0);
772 }
773 
774 inline
775 bool CTitle_Base::CanGet(void) const
776 {
777  return true;
778 }
779 
780 inline
782 {
783  return m_data;
784 }
785 
786 inline
788 {
789  m_set_State[0] |= 0x1;
790  return m_data;
791 }
792 
793 inline
794 CTitle_Base::operator const CTitle_Base::Tdata& (void) const
795 {
796  return m_data;
797 }
798 
799 inline
800 CTitle_Base::operator CTitle_Base::Tdata& (void)
801 {
802  m_set_State[0] |= 0x1;
803  return m_data;
804 }
805 
806 ///////////////////////////////////////////////////////////
807 ////////////////// end of inline methods //////////////////
808 ///////////////////////////////////////////////////////////
809 
810 
811 
812 
813 
814 END_objects_SCOPE // namespace ncbi::objects::
815 
817 
818 
819 #endif // OBJECTS_BIBLIO_TITLE_BASE_HPP
Base class for all serializable objects.
Definition: serialbase.hpp:150
C_E –.
Definition: Title_.hpp:96
Title Group Valid for = A = Analytic (Cit-art) J = Journals (Cit-jour) B = Book (Cit-book) Valid for:
Definition: Title_.hpp:79
char value[7]
Definition: config.c:431
EResetVariant
Definition: serialbase.hpp:76
@ eDoResetVariant
Definition: serialbase.hpp:77
@ eDoNotResetVariant
Definition: serialbase.hpp:78
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_BIBLIO_EXPORT
Definition: ncbi_export.h:312
C_E & operator=(const C_E &)
TIsbn & SetIsbn(void)
Select the variant.
Definition: Title_.hpp:762
DECLARE_INTERNAL_TYPE_INFO()
CSerialObject Tparent
Definition: Title_.hpp:80
TTsub & SetTsub(void)
Select the variant.
Definition: Title_.hpp:602
E_Choice m_choice
Definition: Title_.hpp:465
TJta & SetJta(void)
Select the variant.
Definition: Title_.hpp:642
list< CRef< C_E > > m_data
Definition: Title_.hpp:527
bool IsName(void) const
Check if variant Name is selected.
Definition: Title_.hpp:569
TMl_jta & SetMl_jta(void)
Select the variant.
Definition: Title_.hpp:682
bool CanGet(void) const
Check if it is safe to call Get method.
Definition: Title_.hpp:775
const TMl_jta & GetMl_jta(void) const
Get the variant data.
Definition: Title_.hpp:675
TTrans & SetTrans(void)
Select the variant.
Definition: Title_.hpp:622
const TIssn & GetIssn(void) const
Get the variant data.
Definition: Title_.hpp:715
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
TIssn & SetIssn(void)
Select the variant.
Definition: Title_.hpp:722
TIso_jta & SetIso_jta(void)
Select the variant.
Definition: Title_.hpp:662
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
Definition: Title_.hpp:472
E_Choice Which(void) const
Which variant is currently selected.
Definition: Title_.hpp:540
bool IsCoden(void) const
Check if variant Coden is selected.
Definition: Title_.hpp:689
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
C_E(const C_E &)
list< CRef< C_E > > Tdata
Definition: Title_.hpp:477
const TCoden & GetCoden(void) const
Get the variant data.
Definition: Title_.hpp:695
const TName & GetName(void) const
Get the variant data.
Definition: Title_.hpp:575
string TIso_jta
Definition: Title_.hpp:179
E_Choice
Choice variants.
Definition: Title_.hpp:109
const TIso_jta & GetIso_jta(void) const
Get the variant data.
Definition: Title_.hpp:655
CSerialObject Tparent
Definition: Title_.hpp:97
TName & SetName(void)
Select the variant.
Definition: Title_.hpp:582
CTitle_Base & operator=(const CTitle_Base &)
const TJta & GetJta(void) const
Get the variant data.
Definition: Title_.hpp:635
TAbr & SetAbr(void)
Select the variant.
Definition: Title_.hpp:742
TCoden & SetCoden(void)
Select the variant.
Definition: Title_.hpp:702
const TAbr & GetAbr(void) const
Get the variant data.
Definition: Title_.hpp:735
bool IsAbr(void) const
Check if variant Abr is selected.
Definition: Title_.hpp:729
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
Definition: Title_.hpp:546
bool IsJta(void) const
Check if variant Jta is selected.
Definition: Title_.hpp:629
void * m_dummy_pointer_for_alignment
Definition: Title_.hpp:473
const TIsbn & GetIsbn(void) const
Get the variant data.
Definition: Title_.hpp:755
bool IsIssn(void) const
Check if variant Issn is selected.
Definition: Title_.hpp:709
bool IsSet(void) const
Check if a value has been assigned to data member.
Definition: Title_.hpp:769
bool IsTrans(void) const
Check if variant Trans is selected.
Definition: Title_.hpp:609
const TTsub & GetTsub(void) const
Get the variant data.
Definition: Title_.hpp:595
Uint4 m_set_State[1]
Definition: Title_.hpp:526
bool IsIso_jta(void) const
Check if variant Iso_jta is selected.
Definition: Title_.hpp:649
string TMl_jta
Definition: Title_.hpp:180
bool IsMl_jta(void) const
Check if variant Ml_jta is selected.
Definition: Title_.hpp:669
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
Definition: Title_.hpp:123
bool IsIsbn(void) const
Check if variant Isbn is selected.
Definition: Title_.hpp:749
const TTrans & GetTrans(void) const
Get the variant data.
Definition: Title_.hpp:615
const Tdata & Get(void) const
Get the member data.
Definition: Title_.hpp:781
bool IsTsub(void) const
Check if variant Tsub is selected.
Definition: Title_.hpp:589
CTitle_Base(const CTitle_Base &)
Tdata & Set(void)
Assign a value to data member.
Definition: Title_.hpp:787
@ e_Ml_jta
specifically MEDLINE jta J
Definition: Title_.hpp:116
@ e_Trans
Title, Translated AJB.
Definition: Title_.hpp:113
@ e_Abr
Title, Abbreviated B.
Definition: Title_.hpp:119
@ e_Issn
ISSN J.
Definition: Title_.hpp:118
@ e_Jta
Title, Abbreviated J.
Definition: Title_.hpp:114
@ e_Tsub
Title, Subordinate A B.
Definition: Title_.hpp:112
@ e_Coden
a coden J
Definition: Title_.hpp:117
@ e_Iso_jta
specifically ISO jta J
Definition: Title_.hpp:115
@ e_Name
Title, Anal,Coll,Mono AJB.
Definition: Title_.hpp:111
@ e_not_set
const TYPE & Get(const CNamedParameterList *param)
Modified on Wed Nov 29 02:24:50 2023 by modify_doxy.py rev. 669887