NCBI C++ ToolKit
PubMedPubDate_.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 PubMedPubDate_.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_PUBMEDPUBDATE_BASE_HPP
42 #define eutils__OBJTOOLS_EUTILS_EFETCH_PUBMEDPUBDATE_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 #ifndef BEGIN_eutils_SCOPE
47 # define BEGIN_eutils_SCOPE BEGIN_SCOPE(eutils)
48 # define END_eutils_SCOPE END_SCOPE(eutils)
49 #endif
50 BEGIN_eutils_SCOPE // namespace eutils::
51 
52 
53 // forward declarations
54 class CDay;
55 class CHour;
56 class CMinute;
57 class CMonth;
58 class CSecond;
59 class CYear;
60 
61 
62 // generated classes
63 
64 
65 /** @addtogroup dataspec_efetch
66  *
67  * @{
68  */
69 
70 /////////////////////////////////////////////////////////////////////////////
71 ///
72 /// CPubMedPubDate_Base --
73 ///
74 
75 class CPubMedPubDate_Base : public NCBI_NS_NCBI::CSerialObject
76 {
77  typedef NCBI_NS_NCBI::CSerialObject Tparent;
78 public:
79  // constructor
80  CPubMedPubDate_Base(void);
81  // destructor
82  virtual ~CPubMedPubDate_Base(void);
83 
84  // type info
86 
87  /////////////////////////////////////////////////////////////////////////////
88  ///
89  /// C_Attlist --
90  ///
91 
92  class C_Attlist : public NCBI_NS_NCBI::CSerialObject
93  {
94  typedef NCBI_NS_NCBI::CSerialObject Tparent;
95  public:
96  // constructor
97  C_Attlist(void);
98  // destructor
99  ~C_Attlist(void);
100 
101  // type info
103 
122  };
123 
124  /// Access to EAttlist_PubStatus's attributes (values, names) as defined in spec
125  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EAttlist_PubStatus)(void);
126 
127  // types
129 
130  // member index
131  enum class E_memberIndex {
132  e__allMandatory = 0,
134  };
135  typedef Tparent::CMemberIndex<E_memberIndex, 2> TmemberIndex;
136 
137  // getters
138  // setters
139 
140  /// Check if a value has been assigned to PubStatus data member.
141  ///
142  /// Data member PubStatus is mandatory;
143  /// its type is defined as 'typedef EAttlist_PubStatus TPubStatus'
144  /// @return
145  /// - true, if a value has been assigned.
146  /// - false, otherwise.
147  bool IsSetPubStatus(void) const;
148 
149  /// Check if it is safe to call GetPubStatus method.
150  ///
151  /// @return
152  /// - true, if the data member is getatable.
153  /// - false, otherwise.
154  bool CanGetPubStatus(void) const;
155 
156  /// Reset PubStatus data member.
157  void ResetPubStatus(void);
158 
159  /// Get the PubStatus member data.
160  ///
161  /// @return
162  /// Copy of the member data.
163  TPubStatus GetPubStatus(void) const;
164 
165  /// Assign a value to PubStatus data member.
166  ///
167  /// @param value
168  /// Value to assign
170 
171  /// Assign a value to PubStatus data member.
172  ///
173  /// @return
174  /// Reference to the data value.
175  TPubStatus& SetPubStatus(void);
176 
177  /// Reset the whole object
178  void Reset(void);
179 
180 
181  private:
182  // Prohibit copy constructor and assignment operator
185 
186  // data
189  };
190  /////////////////////////////////////////////////////////////////////////////
191  ///
192  /// C_HM --
193  ///
194 
195  class C_HM : public NCBI_NS_NCBI::CSerialObject
196  {
197  typedef NCBI_NS_NCBI::CSerialObject Tparent;
198  public:
199  // constructor
200  C_HM(void);
201  // destructor
202  ~C_HM(void);
203 
204  // type info
206 
207  /////////////////////////////////////////////////////////////////////////////
208  ///
209  /// C_MS --
210  ///
211 
212  class C_MS : public NCBI_NS_NCBI::CSerialObject
213  {
214  typedef NCBI_NS_NCBI::CSerialObject Tparent;
215  public:
216  // constructor
217  C_MS(void);
218  // destructor
219  ~C_MS(void);
220 
221  // type info
223 
224  // types
225  typedef CMinute TMinute;
226  typedef CSecond TSecond;
227 
228  // member index
229  enum class E_memberIndex {
230  e__allMandatory = 0,
231  e_Minute,
232  e_Second
233  };
234  typedef Tparent::CMemberIndex<E_memberIndex, 3> TmemberIndex;
235 
236  // getters
237  // setters
238 
239  /// Check if a value has been assigned to Minute data member.
240  ///
241  /// Data member Minute is mandatory;
242  /// its type is defined as 'typedef CMinute TMinute'
243  /// @return
244  /// - true, if a value has been assigned.
245  /// - false, otherwise.
246  bool IsSetMinute(void) const;
247 
248  /// Check if it is safe to call GetMinute method.
249  ///
250  /// @return
251  /// - true, if the data member is getatable.
252  /// - false, otherwise.
253  bool CanGetMinute(void) const;
254 
255  /// Reset Minute data member.
256  void ResetMinute(void);
257 
258  /// Get the Minute member data.
259  ///
260  /// @return
261  /// Reference to the member data.
262  const TMinute& GetMinute(void) const;
263 
264  /// Assign a value to Minute data member.
265  ///
266  /// @param value
267  /// Reference to value.
268  void SetMinute(TMinute& value);
269 
270  /// Assign a value to Minute data member.
271  ///
272  /// @return
273  /// Reference to the data value.
274  TMinute& SetMinute(void);
275 
276  /// Check if a value has been assigned to Second data member.
277  ///
278  /// Data member Second is optional;
279  /// its type is defined as 'typedef CSecond TSecond'
280  /// @return
281  /// - true, if a value has been assigned.
282  /// - false, otherwise.
283  bool IsSetSecond(void) const;
284 
285  /// Check if it is safe to call GetSecond method.
286  ///
287  /// @return
288  /// - true, if the data member is getatable.
289  /// - false, otherwise.
290  bool CanGetSecond(void) const;
291 
292  /// Reset Second data member.
293  void ResetSecond(void);
294 
295  /// Get the Second member data.
296  ///
297  /// @return
298  /// Reference to the member data.
299  const TSecond& GetSecond(void) const;
300 
301  /// Assign a value to Second data member.
302  ///
303  /// @param value
304  /// Reference to value.
305  void SetSecond(TSecond& value);
306 
307  /// Assign a value to Second data member.
308  ///
309  /// @return
310  /// Reference to the data value.
311  TSecond& SetSecond(void);
312 
313  /// Reset the whole object
314  void Reset(void);
315 
316 
317  private:
318  // Prohibit copy constructor and assignment operator
319  C_MS(const C_MS&);
320  C_MS& operator=(const C_MS&);
321 
322  // data
324  NCBI_NS_NCBI::CRef< TMinute > m_Minute;
325  NCBI_NS_NCBI::CRef< TSecond > m_Second;
326  };
327  // types
328  typedef CHour THour;
329  typedef C_MS TMS;
330 
331  // member index
332  enum class E_memberIndex {
333  e__allMandatory = 0,
334  e_Hour,
335  e_MS
336  };
337  typedef Tparent::CMemberIndex<E_memberIndex, 3> TmemberIndex;
338 
339  // getters
340  // setters
341 
342  /// Check if a value has been assigned to Hour data member.
343  ///
344  /// Data member Hour is mandatory;
345  /// its type is defined as 'typedef CHour THour'
346  /// @return
347  /// - true, if a value has been assigned.
348  /// - false, otherwise.
349  bool IsSetHour(void) const;
350 
351  /// Check if it is safe to call GetHour method.
352  ///
353  /// @return
354  /// - true, if the data member is getatable.
355  /// - false, otherwise.
356  bool CanGetHour(void) const;
357 
358  /// Reset Hour data member.
359  void ResetHour(void);
360 
361  /// Get the Hour member data.
362  ///
363  /// @return
364  /// Reference to the member data.
365  const THour& GetHour(void) const;
366 
367  /// Assign a value to Hour data member.
368  ///
369  /// @param value
370  /// Reference to value.
371  void SetHour(THour& value);
372 
373  /// Assign a value to Hour data member.
374  ///
375  /// @return
376  /// Reference to the data value.
377  THour& SetHour(void);
378 
379  /// Check if a value has been assigned to MS data member.
380  ///
381  /// Data member MS is optional;
382  /// its type is defined as 'typedef C_MS TMS'
383  /// @return
384  /// - true, if a value has been assigned.
385  /// - false, otherwise.
386  bool IsSetMS(void) const;
387 
388  /// Check if it is safe to call GetMS method.
389  ///
390  /// @return
391  /// - true, if the data member is getatable.
392  /// - false, otherwise.
393  bool CanGetMS(void) const;
394 
395  /// Reset MS data member.
396  void ResetMS(void);
397 
398  /// Get the MS member data.
399  ///
400  /// @return
401  /// Reference to the member data.
402  const TMS& GetMS(void) const;
403 
404  /// Assign a value to MS data member.
405  ///
406  /// @param value
407  /// Reference to value.
408  void SetMS(TMS& value);
409 
410  /// Assign a value to MS data member.
411  ///
412  /// @return
413  /// Reference to the data value.
414  TMS& SetMS(void);
415 
416  /// Reset the whole object
417  void Reset(void);
418 
419 
420  private:
421  // Prohibit copy constructor and assignment operator
422  C_HM(const C_HM&);
423  C_HM& operator=(const C_HM&);
424 
425  // data
427  NCBI_NS_NCBI::CRef< THour > m_Hour;
428  NCBI_NS_NCBI::CRef< TMS > m_MS;
429  };
430  // types
432  typedef CYear TYear;
433  typedef CMonth TMonth;
434  typedef CDay TDay;
435  typedef C_HM THM;
436 
437  // member index
438  enum class E_memberIndex {
439  e__allMandatory = 0,
440  e_Attlist,
441  e_Year,
442  e_Month,
443  e_Day,
444  e_HM
445  };
446  typedef Tparent::CMemberIndex<E_memberIndex, 6> TmemberIndex;
447 
448  // getters
449  // setters
450 
451  /// Check if a value has been assigned to Attlist data member.
452  ///
453  /// Data member Attlist is mandatory;
454  /// its type is defined as 'typedef C_Attlist TAttlist'
455  /// @return
456  /// - true, if a value has been assigned.
457  /// - false, otherwise.
458  bool IsSetAttlist(void) const;
459 
460  /// Check if it is safe to call GetAttlist method.
461  ///
462  /// @return
463  /// - true, if the data member is getatable.
464  /// - false, otherwise.
465  bool CanGetAttlist(void) const;
466 
467  /// Reset Attlist data member.
468  void ResetAttlist(void);
469 
470  /// Get the Attlist member data.
471  ///
472  /// @return
473  /// Reference to the member data.
474  const TAttlist& GetAttlist(void) const;
475 
476  /// Assign a value to Attlist data member.
477  ///
478  /// @param value
479  /// Reference to value.
480  void SetAttlist(TAttlist& value);
481 
482  /// Assign a value to Attlist data member.
483  ///
484  /// @return
485  /// Reference to the data value.
486  TAttlist& SetAttlist(void);
487 
488  /// Check if a value has been assigned to Year data member.
489  ///
490  /// Data member Year is mandatory;
491  /// its type is defined as 'typedef CYear TYear'
492  /// @return
493  /// - true, if a value has been assigned.
494  /// - false, otherwise.
495  bool IsSetYear(void) const;
496 
497  /// Check if it is safe to call GetYear method.
498  ///
499  /// @return
500  /// - true, if the data member is getatable.
501  /// - false, otherwise.
502  bool CanGetYear(void) const;
503 
504  /// Reset Year data member.
505  void ResetYear(void);
506 
507  /// Get the Year member data.
508  ///
509  /// @return
510  /// Reference to the member data.
511  const TYear& GetYear(void) const;
512 
513  /// Assign a value to Year data member.
514  ///
515  /// @param value
516  /// Reference to value.
517  void SetYear(TYear& value);
518 
519  /// Assign a value to Year data member.
520  ///
521  /// @return
522  /// Reference to the data value.
523  TYear& SetYear(void);
524 
525  /// Check if a value has been assigned to Month data member.
526  ///
527  /// Data member Month is mandatory;
528  /// its type is defined as 'typedef CMonth TMonth'
529  /// @return
530  /// - true, if a value has been assigned.
531  /// - false, otherwise.
532  bool IsSetMonth(void) const;
533 
534  /// Check if it is safe to call GetMonth method.
535  ///
536  /// @return
537  /// - true, if the data member is getatable.
538  /// - false, otherwise.
539  bool CanGetMonth(void) const;
540 
541  /// Reset Month data member.
542  void ResetMonth(void);
543 
544  /// Get the Month member data.
545  ///
546  /// @return
547  /// Reference to the member data.
548  const TMonth& GetMonth(void) const;
549 
550  /// Assign a value to Month data member.
551  ///
552  /// @param value
553  /// Reference to value.
554  void SetMonth(TMonth& value);
555 
556  /// Assign a value to Month data member.
557  ///
558  /// @return
559  /// Reference to the data value.
560  TMonth& SetMonth(void);
561 
562  /// Check if a value has been assigned to Day data member.
563  ///
564  /// Data member Day is mandatory;
565  /// its type is defined as 'typedef CDay TDay'
566  /// @return
567  /// - true, if a value has been assigned.
568  /// - false, otherwise.
569  bool IsSetDay(void) const;
570 
571  /// Check if it is safe to call GetDay method.
572  ///
573  /// @return
574  /// - true, if the data member is getatable.
575  /// - false, otherwise.
576  bool CanGetDay(void) const;
577 
578  /// Reset Day data member.
579  void ResetDay(void);
580 
581  /// Get the Day member data.
582  ///
583  /// @return
584  /// Reference to the member data.
585  const TDay& GetDay(void) const;
586 
587  /// Assign a value to Day data member.
588  ///
589  /// @param value
590  /// Reference to value.
591  void SetDay(TDay& value);
592 
593  /// Assign a value to Day data member.
594  ///
595  /// @return
596  /// Reference to the data value.
597  TDay& SetDay(void);
598 
599  /// Check if a value has been assigned to HM data member.
600  ///
601  /// Data member HM is optional;
602  /// its type is defined as 'typedef C_HM THM'
603  /// @return
604  /// - true, if a value has been assigned.
605  /// - false, otherwise.
606  bool IsSetHM(void) const;
607 
608  /// Check if it is safe to call GetHM method.
609  ///
610  /// @return
611  /// - true, if the data member is getatable.
612  /// - false, otherwise.
613  bool CanGetHM(void) const;
614 
615  /// Reset HM data member.
616  void ResetHM(void);
617 
618  /// Get the HM member data.
619  ///
620  /// @return
621  /// Reference to the member data.
622  const THM& GetHM(void) const;
623 
624  /// Assign a value to HM data member.
625  ///
626  /// @param value
627  /// Reference to value.
628  void SetHM(THM& value);
629 
630  /// Assign a value to HM data member.
631  ///
632  /// @return
633  /// Reference to the data value.
634  THM& SetHM(void);
635 
636  /// Reset the whole object
637  virtual void Reset(void);
638 
639 
640 private:
641  // Prohibit copy constructor and assignment operator
644 
645  // data
647  NCBI_NS_NCBI::CRef< TAttlist > m_Attlist;
648  NCBI_NS_NCBI::CRef< TYear > m_Year;
649  NCBI_NS_NCBI::CRef< TMonth > m_Month;
650  NCBI_NS_NCBI::CRef< TDay > m_Day;
651  NCBI_NS_NCBI::CRef< THM > m_HM;
652 };
653 
654 /* @} */
655 
656 
657 
658 
659 
660 ///////////////////////////////////////////////////////////
661 ///////////////////// inline methods //////////////////////
662 ///////////////////////////////////////////////////////////
663 inline
665 {
666  return ((m_set_State[0] & 0x3) != 0);
667 }
668 
669 inline
671 {
672  return IsSetPubStatus();
673 }
674 
675 inline
677 {
678  m_PubStatus = (EAttlist_PubStatus)(0);
679  m_set_State[0] &= ~0x3;
680 }
681 
682 inline
684 {
685  if (!CanGetPubStatus()) {
686  ThrowUnassigned(0);
687  }
688  return m_PubStatus;
689 }
690 
691 inline
693 {
694  m_PubStatus = value;
695  m_set_State[0] |= 0x3;
696 }
697 
698 inline
700 {
701 #ifdef _DEBUG
702  if (!IsSetPubStatus()) {
703  memset(&m_PubStatus,UnassignedByte(),sizeof(m_PubStatus));
704  }
705 #endif
706  m_set_State[0] |= 0x1;
707  return m_PubStatus;
708 }
709 
710 inline
712 {
713  return m_Minute.NotEmpty();
714 }
715 
716 inline
718 {
719  return true;
720 }
721 
722 inline
724 {
725  if ( !m_Minute ) {
726  const_cast<C_MS*>(this)->ResetMinute();
727  }
728  return (*m_Minute);
729 }
730 
731 inline
733 {
734  if ( !m_Minute ) {
735  ResetMinute();
736  }
737  return (*m_Minute);
738 }
739 
740 inline
742 {
743  return m_Second.NotEmpty();
744 }
745 
746 inline
748 {
749  return IsSetSecond();
750 }
751 
752 inline
754 {
755  if (!CanGetSecond()) {
756  ThrowUnassigned(1);
757  }
758  return (*m_Second);
759 }
760 
761 inline
763 {
764  return m_Hour.NotEmpty();
765 }
766 
767 inline
769 {
770  return true;
771 }
772 
773 inline
775 {
776  if ( !m_Hour ) {
777  const_cast<C_HM*>(this)->ResetHour();
778  }
779  return (*m_Hour);
780 }
781 
782 inline
784 {
785  if ( !m_Hour ) {
786  ResetHour();
787  }
788  return (*m_Hour);
789 }
790 
791 inline
793 {
794  return m_MS.NotEmpty();
795 }
796 
797 inline
799 {
800  return IsSetMS();
801 }
802 
803 inline
805 {
806  if (!CanGetMS()) {
807  ThrowUnassigned(1);
808  }
809  return (*m_MS);
810 }
811 
812 inline
814 {
815  return m_Attlist.NotEmpty();
816 }
817 
818 inline
820 {
821  return true;
822 }
823 
824 inline
826 {
827  if ( !m_Attlist ) {
828  const_cast<CPubMedPubDate_Base*>(this)->ResetAttlist();
829  }
830  return (*m_Attlist);
831 }
832 
833 inline
835 {
836  if ( !m_Attlist ) {
837  ResetAttlist();
838  }
839  return (*m_Attlist);
840 }
841 
842 inline
844 {
845  return m_Year.NotEmpty();
846 }
847 
848 inline
850 {
851  return true;
852 }
853 
854 inline
856 {
857  if ( !m_Year ) {
858  const_cast<CPubMedPubDate_Base*>(this)->ResetYear();
859  }
860  return (*m_Year);
861 }
862 
863 inline
865 {
866  if ( !m_Year ) {
867  ResetYear();
868  }
869  return (*m_Year);
870 }
871 
872 inline
874 {
875  return m_Month.NotEmpty();
876 }
877 
878 inline
880 {
881  return true;
882 }
883 
884 inline
886 {
887  if ( !m_Month ) {
888  const_cast<CPubMedPubDate_Base*>(this)->ResetMonth();
889  }
890  return (*m_Month);
891 }
892 
893 inline
895 {
896  if ( !m_Month ) {
897  ResetMonth();
898  }
899  return (*m_Month);
900 }
901 
902 inline
904 {
905  return m_Day.NotEmpty();
906 }
907 
908 inline
910 {
911  return true;
912 }
913 
914 inline
916 {
917  if ( !m_Day ) {
918  const_cast<CPubMedPubDate_Base*>(this)->ResetDay();
919  }
920  return (*m_Day);
921 }
922 
923 inline
925 {
926  if ( !m_Day ) {
927  ResetDay();
928  }
929  return (*m_Day);
930 }
931 
932 inline
934 {
935  return m_HM.NotEmpty();
936 }
937 
938 inline
940 {
941  return IsSetHM();
942 }
943 
944 inline
946 {
947  if (!CanGetHM()) {
948  ThrowUnassigned(4);
949  }
950  return (*m_HM);
951 }
952 
953 ///////////////////////////////////////////////////////////
954 ////////////////// end of inline methods //////////////////
955 ///////////////////////////////////////////////////////////
956 
957 
958 
959 
960 
961 END_eutils_SCOPE // namespace eutils::
962 
963 
964 #endif // eutils__OBJTOOLS_EUTILS_EFETCH_PUBMEDPUBDATE_BASE_HPP
#define BEGIN_eutils_SCOPE
#define END_eutils_SCOPE
CDay –.
Definition: Day.hpp:64
CHour –.
Definition: Hour.hpp:64
CMinute –.
Definition: Minute.hpp:64
CMonth –.
Definition: Month.hpp:64
CPubMedPubDate_Base –.
CSecond –.
Definition: Second.hpp:64
CYear –.
Definition: Year.hpp:64
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:994
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
NCBI_NS_NCBI::CRef< TYear > m_Year
void Reset(void)
Reset the whole object.
NCBI_NS_NCBI::CRef< THour > m_Hour
NCBI_NS_NCBI::CRef< TMS > m_MS
void ResetSecond(void)
Reset Second data member.
bool IsSetMinute(void) const
Check if a value has been assigned to Minute data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
const TSecond & GetSecond(void) const
Get the Second member data.
bool CanGetDay(void) const
Check if it is safe to call GetDay method.
void ResetPubStatus(void)
Reset PubStatus data member.
bool CanGetHour(void) const
Check if it is safe to call GetHour method.
virtual ~CPubMedPubDate_Base(void)
bool CanGetHM(void) const
Check if it is safe to call GetHM method.
TDay & SetDay(void)
Assign a value to Day data member.
CPubMedPubDate_Base & operator=(const CPubMedPubDate_Base &)
NCBI_NS_NCBI::CRef< TSecond > m_Second
TPubStatus GetPubStatus(void) const
Get the PubStatus member data.
const TYear & GetYear(void) const
Get the Year member data.
void ResetHM(void)
Reset HM data member.
NCBI_NS_NCBI::CSerialObject Tparent
const TDay & GetDay(void) const
Get the Day member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsSetSecond(void) const
Check if a value has been assigned to Second data member.
const THM & GetHM(void) const
Get the HM member data.
bool IsSetMS(void) const
Check if a value has been assigned to MS data member.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
NCBI_NS_NCBI::CSerialObject Tparent
bool CanGetYear(void) const
Check if it is safe to call GetYear method.
TPubStatus & SetPubStatus(void)
Assign a value to PubStatus data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
void ResetHour(void)
Reset Hour data member.
void ResetMinute(void)
Reset Minute data member.
THour & SetHour(void)
Assign a value to Hour data member.
NCBI_NS_NCBI::CRef< TMonth > m_Month
C_MS & operator=(const C_MS &)
bool IsSetYear(void) const
Check if a value has been assigned to Year data member.
Tparent::CMemberIndex< E_memberIndex, 6 > TmemberIndex
void Reset(void)
Reset the whole object.
bool CanGetMinute(void) const
Check if it is safe to call GetMinute method.
const TMinute & GetMinute(void) const
Get the Minute member data.
void ResetAttlist(void)
Reset Attlist data member.
THM & SetHM(void)
Assign a value to HM data member.
bool IsSetDay(void) const
Check if a value has been assigned to Day data member.
NCBI_NS_NCBI::CRef< TMinute > m_Minute
TMinute & SetMinute(void)
Assign a value to Minute data member.
const TMonth & GetMonth(void) const
Get the Month member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetYear(void)
Reset Year data member.
virtual void Reset(void)
Reset the whole object.
bool IsSetHour(void) const
Check if a value has been assigned to Hour data member.
NCBI_NS_NCBI::CRef< THM > m_HM
NCBI_NS_NCBI::CRef< TAttlist > m_Attlist
bool CanGetSecond(void) const
Check if it is safe to call GetSecond method.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
bool CanGetPubStatus(void) const
Check if it is safe to call GetPubStatus method.
bool IsSetPubStatus(void) const
Check if a value has been assigned to PubStatus data member.
void ResetDay(void)
Reset Day data member.
bool CanGetMS(void) const
Check if it is safe to call GetMS method.
bool CanGetMonth(void) const
Check if it is safe to call GetMonth method.
C_Attlist & operator=(const C_Attlist &)
void Reset(void)
Reset the whole object.
const THour & GetHour(void) const
Get the Hour member data.
void ResetMS(void)
Reset MS data member.
TSecond & SetSecond(void)
Assign a value to Second data member.
C_HM & operator=(const C_HM &)
TYear & SetYear(void)
Assign a value to Year data member.
bool IsSetHM(void) const
Check if a value has been assigned to HM data member.
C_Attlist(const C_Attlist &)
bool IsSetMonth(void) const
Check if a value has been assigned to Month data member.
CPubMedPubDate_Base(const CPubMedPubDate_Base &)
NCBI_NS_NCBI::CSerialObject Tparent
TMS & SetMS(void)
Assign a value to MS data member.
void ResetMonth(void)
Reset Month data member.
const TMS & GetMS(void) const
Get the MS member data.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
NCBI_NS_NCBI::CSerialObject Tparent
NCBI_NS_NCBI::CRef< TDay > m_Day
TMonth & SetMonth(void)
Assign a value to Month data member.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Sun Jul 21 04:15:34 2024 by modify_doxy.py rev. 669887