NCBI C++ ToolKit
Mover_.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 Mover_.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/pubmed_mathml3.xsd">pubmed_mathml3.xsd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objtools/eutils/efetch/pubmed_mathml3.def">pubmed_mathml3.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 OBJTOOLS_EUTILS_EFETCH_MOVER_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_MOVER_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #include <string>
51 
53 
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
57 #endif
58 BEGIN_objects_SCOPE // namespace ncbi::objects::
59 
60 
61 // generated classes
62 
63 
64 /** @addtogroup dataspec_pubmed_mathml3
65  *
66  * @{
67  */
68 
69 /////////////////////////////////////////////////////////////////////////////
70 ///
71 /// CMover_Base --
72 ///
73 
74 class CMover_Base : public CSerialObject
75 {
77 public:
78  // constructor
79  CMover_Base(void);
80  // destructor
81  virtual ~CMover_Base(void);
82 
83  // type info
85 
86  /////////////////////////////////////////////////////////////////////////////
87  ///
88  /// C_Attlist --
89  ///
90 
91  class C_Attlist : public CSerialObject
92  {
94  public:
95  // constructor
96  C_Attlist(void);
97  // destructor
98  ~C_Attlist(void);
99 
100  // type info
102 
106  };
107 
108  /// Access to EAttlist_accent's attributes (values, names) as defined in spec
109  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EAttlist_accent)(void);
110 
115  };
116 
117  /// Access to EAttlist_align's attributes (values, names) as defined in spec
118  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EAttlist_align)(void);
119 
120  // types
121  typedef string TId;
122  typedef string TXref;
123  typedef string TClass;
124  typedef string TStyle;
125  typedef string THref;
126  typedef string TMathcolor;
127  typedef string TMathbackground;
130 
131  // member index
132  enum class E_memberIndex {
133  e__allMandatory = 0,
134  e_id,
135  e_xref,
136  e_class,
137  e_style,
138  e_href,
139  e_mathcolor,
141  e_accent,
142  e_align
143  };
145 
146  // getters
147  // setters
148 
149  /// Check if a value has been assigned to Id data member.
150  ///
151  /// Data member Id is optional;
152  /// its type is defined as 'typedef string TId'
153  /// @return
154  /// - true, if a value has been assigned.
155  /// - false, otherwise.
156  bool IsSetId(void) const;
157 
158  /// Check if it is safe to call GetId method.
159  ///
160  /// @return
161  /// - true, if the data member is getatable.
162  /// - false, otherwise.
163  bool CanGetId(void) const;
164 
165  /// Reset Id data member.
166  void ResetId(void);
167 
168  /// Get the Id member data.
169  ///
170  /// @return
171  /// Reference to the member data.
172  const TId& GetId(void) const;
173 
174  /// Assign a value to Id data member.
175  ///
176  /// @param value
177  /// Value to assign
178  void SetId(const TId& value);
179  void SetId(TId&& value);
180 
181  /// Assign a value to Id data member.
182  ///
183  /// @return
184  /// Reference to the data value.
185  TId& SetId(void);
186 
187  /// Check if a value has been assigned to Xref data member.
188  ///
189  /// Data member Xref is optional;
190  /// its type is defined as 'typedef string TXref'
191  /// @return
192  /// - true, if a value has been assigned.
193  /// - false, otherwise.
194  bool IsSetXref(void) const;
195 
196  /// Check if it is safe to call GetXref method.
197  ///
198  /// @return
199  /// - true, if the data member is getatable.
200  /// - false, otherwise.
201  bool CanGetXref(void) const;
202 
203  /// Reset Xref data member.
204  void ResetXref(void);
205 
206  /// Get the Xref member data.
207  ///
208  /// @return
209  /// Reference to the member data.
210  const TXref& GetXref(void) const;
211 
212  /// Assign a value to Xref data member.
213  ///
214  /// @param value
215  /// Value to assign
216  void SetXref(const TXref& value);
217  void SetXref(TXref&& value);
218 
219  /// Assign a value to Xref data member.
220  ///
221  /// @return
222  /// Reference to the data value.
223  TXref& SetXref(void);
224 
225  /// Check if a value has been assigned to Class data member.
226  ///
227  /// Data member Class is optional;
228  /// its type is defined as 'typedef string TClass'
229  /// @return
230  /// - true, if a value has been assigned.
231  /// - false, otherwise.
232  bool IsSetClass(void) const;
233 
234  /// Check if it is safe to call GetClass method.
235  ///
236  /// @return
237  /// - true, if the data member is getatable.
238  /// - false, otherwise.
239  bool CanGetClass(void) const;
240 
241  /// Reset Class data member.
242  void ResetClass(void);
243 
244  /// Get the Class member data.
245  ///
246  /// @return
247  /// Reference to the member data.
248  const TClass& GetClass(void) const;
249 
250  /// Assign a value to Class data member.
251  ///
252  /// @param value
253  /// Value to assign
254  void SetClass(const TClass& value);
255  void SetClass(TClass&& value);
256 
257  /// Assign a value to Class data member.
258  ///
259  /// @return
260  /// Reference to the data value.
261  TClass& SetClass(void);
262 
263  /// Check if a value has been assigned to Style data member.
264  ///
265  /// Data member Style is optional;
266  /// its type is defined as 'typedef string TStyle'
267  /// @return
268  /// - true, if a value has been assigned.
269  /// - false, otherwise.
270  bool IsSetStyle(void) const;
271 
272  /// Check if it is safe to call GetStyle method.
273  ///
274  /// @return
275  /// - true, if the data member is getatable.
276  /// - false, otherwise.
277  bool CanGetStyle(void) const;
278 
279  /// Reset Style data member.
280  void ResetStyle(void);
281 
282  /// Get the Style member data.
283  ///
284  /// @return
285  /// Reference to the member data.
286  const TStyle& GetStyle(void) const;
287 
288  /// Assign a value to Style data member.
289  ///
290  /// @param value
291  /// Value to assign
292  void SetStyle(const TStyle& value);
293  void SetStyle(TStyle&& value);
294 
295  /// Assign a value to Style data member.
296  ///
297  /// @return
298  /// Reference to the data value.
299  TStyle& SetStyle(void);
300 
301  /// Check if a value has been assigned to Href data member.
302  ///
303  /// Data member Href is optional;
304  /// its type is defined as 'typedef string THref'
305  /// @return
306  /// - true, if a value has been assigned.
307  /// - false, otherwise.
308  bool IsSetHref(void) const;
309 
310  /// Check if it is safe to call GetHref method.
311  ///
312  /// @return
313  /// - true, if the data member is getatable.
314  /// - false, otherwise.
315  bool CanGetHref(void) const;
316 
317  /// Reset Href data member.
318  void ResetHref(void);
319 
320  /// Get the Href member data.
321  ///
322  /// @return
323  /// Reference to the member data.
324  const THref& GetHref(void) const;
325 
326  /// Assign a value to Href data member.
327  ///
328  /// @param value
329  /// Value to assign
330  void SetHref(const THref& value);
331  void SetHref(THref&& value);
332 
333  /// Assign a value to Href data member.
334  ///
335  /// @return
336  /// Reference to the data value.
337  THref& SetHref(void);
338 
339  /// Check if a value has been assigned to Mathcolor data member.
340  ///
341  /// Data member Mathcolor is optional;
342  /// its type is defined as 'typedef string TMathcolor'
343  /// @return
344  /// - true, if a value has been assigned.
345  /// - false, otherwise.
346  bool IsSetMathcolor(void) const;
347 
348  /// Check if it is safe to call GetMathcolor method.
349  ///
350  /// @return
351  /// - true, if the data member is getatable.
352  /// - false, otherwise.
353  bool CanGetMathcolor(void) const;
354 
355  /// Reset Mathcolor data member.
356  void ResetMathcolor(void);
357 
358  /// Get the Mathcolor member data.
359  ///
360  /// @return
361  /// Reference to the member data.
362  const TMathcolor& GetMathcolor(void) const;
363 
364  /// Assign a value to Mathcolor data member.
365  ///
366  /// @param value
367  /// Value to assign
368  void SetMathcolor(const TMathcolor& value);
369  void SetMathcolor(TMathcolor&& value);
370 
371  /// Assign a value to Mathcolor data member.
372  ///
373  /// @return
374  /// Reference to the data value.
375  TMathcolor& SetMathcolor(void);
376 
377  /// Check if a value has been assigned to Mathbackground data member.
378  ///
379  /// Data member Mathbackground is optional;
380  /// its type is defined as 'typedef string TMathbackground'
381  /// @return
382  /// - true, if a value has been assigned.
383  /// - false, otherwise.
384  bool IsSetMathbackground(void) const;
385 
386  /// Check if it is safe to call GetMathbackground method.
387  ///
388  /// @return
389  /// - true, if the data member is getatable.
390  /// - false, otherwise.
391  bool CanGetMathbackground(void) const;
392 
393  /// Reset Mathbackground data member.
394  void ResetMathbackground(void);
395 
396  /// Get the Mathbackground member data.
397  ///
398  /// @return
399  /// Reference to the member data.
400  const TMathbackground& GetMathbackground(void) const;
401 
402  /// Assign a value to Mathbackground data member.
403  ///
404  /// @param value
405  /// Value to assign
408 
409  /// Assign a value to Mathbackground data member.
410  ///
411  /// @return
412  /// Reference to the data value.
414 
415  /// Check if a value has been assigned to Accent data member.
416  ///
417  /// Data member Accent is optional;
418  /// its type is defined as 'typedef EAttlist_accent TAccent'
419  /// @return
420  /// - true, if a value has been assigned.
421  /// - false, otherwise.
422  bool IsSetAccent(void) const;
423 
424  /// Check if it is safe to call GetAccent method.
425  ///
426  /// @return
427  /// - true, if the data member is getatable.
428  /// - false, otherwise.
429  bool CanGetAccent(void) const;
430 
431  /// Reset Accent data member.
432  void ResetAccent(void);
433 
434  /// Get the Accent member data.
435  ///
436  /// @return
437  /// Copy of the member data.
438  TAccent GetAccent(void) const;
439 
440  /// Assign a value to Accent data member.
441  ///
442  /// @param value
443  /// Value to assign
444  void SetAccent(TAccent value);
445 
446  /// Assign a value to Accent data member.
447  ///
448  /// @return
449  /// Reference to the data value.
450  TAccent& SetAccent(void);
451 
452  /// Check if a value has been assigned to Align data member.
453  ///
454  /// Data member Align is optional;
455  /// its type is defined as 'typedef EAttlist_align TAlign'
456  /// @return
457  /// - true, if a value has been assigned.
458  /// - false, otherwise.
459  bool IsSetAlign(void) const;
460 
461  /// Check if it is safe to call GetAlign method.
462  ///
463  /// @return
464  /// - true, if the data member is getatable.
465  /// - false, otherwise.
466  bool CanGetAlign(void) const;
467 
468  /// Reset Align data member.
469  void ResetAlign(void);
470 
471  /// Get the Align member data.
472  ///
473  /// @return
474  /// Copy of the member data.
475  TAlign GetAlign(void) const;
476 
477  /// Assign a value to Align data member.
478  ///
479  /// @param value
480  /// Value to assign
481  void SetAlign(TAlign value);
482 
483  /// Assign a value to Align data member.
484  ///
485  /// @return
486  /// Reference to the data value.
487  TAlign& SetAlign(void);
488 
489  /// Reset the whole object
490  void Reset(void);
491 
492 
493  private:
494  // Prohibit copy constructor and assignment operator
497 
498  // data
500  string m_Id;
501  string m_Xref;
502  string m_Class;
503  string m_Style;
504  string m_Href;
505  string m_Mathcolor;
509  };
510  /////////////////////////////////////////////////////////////////////////////
511  ///
512  /// C_E_MathExpression --
513  ///
514 
516  {
518  public:
519  C_E_MathExpression(void);
520 
521  // type info
523 
524  };
525  // types
527  typedef list< CRef< C_E_MathExpression > > TMathExpression;
528 
529  // member index
530  enum class E_memberIndex {
531  e__allMandatory = 0,
532  e_Attlist,
534  };
536 
537  // getters
538  // setters
539 
540  /// Check if a value has been assigned to Attlist data member.
541  ///
542  /// Data member Attlist is mandatory;
543  /// its type is defined as 'typedef C_Attlist TAttlist'
544  /// @return
545  /// - true, if a value has been assigned.
546  /// - false, otherwise.
547  bool IsSetAttlist(void) const;
548 
549  /// Check if it is safe to call GetAttlist method.
550  ///
551  /// @return
552  /// - true, if the data member is getatable.
553  /// - false, otherwise.
554  bool CanGetAttlist(void) const;
555 
556  /// Reset Attlist data member.
557  void ResetAttlist(void);
558 
559  /// Get the Attlist member data.
560  ///
561  /// @return
562  /// Reference to the member data.
563  const TAttlist& GetAttlist(void) const;
564 
565  /// Assign a value to Attlist data member.
566  ///
567  /// @param value
568  /// Reference to value.
569  void SetAttlist(TAttlist& value);
570 
571  /// Assign a value to Attlist data member.
572  ///
573  /// @return
574  /// Reference to the data value.
575  TAttlist& SetAttlist(void);
576 
577  /// Check if a value has been assigned to MathExpression data member.
578  ///
579  /// Data member MathExpression is mandatory;
580  /// its type is defined as 'typedef list< CRef< C_E_MathExpression > > TMathExpression'
581  /// @return
582  /// - true, if a value has been assigned.
583  /// - false, otherwise.
584  bool IsSetMathExpression(void) const;
585 
586  /// Check if it is safe to call GetMathExpression method.
587  ///
588  /// @return
589  /// - true, if the data member is getatable.
590  /// - false, otherwise.
591  bool CanGetMathExpression(void) const;
592 
593  /// Reset MathExpression data member.
594  void ResetMathExpression(void);
595 
596  /// Get the MathExpression member data.
597  ///
598  /// @return
599  /// Reference to the member data.
600  const TMathExpression& GetMathExpression(void) const;
601 
602  /// Assign a value to MathExpression data member.
603  ///
604  /// @return
605  /// Reference to the data value.
607 
608  /// Reset the whole object
609  virtual void Reset(void);
610 
611 
612 private:
613  // Prohibit copy constructor and assignment operator
616 
617  // data
620  list< CRef< C_E_MathExpression > > m_MathExpression;
621 };
622 
623 /* @} */
624 
625 
626 
627 
628 
629 ///////////////////////////////////////////////////////////
630 ///////////////////// inline methods //////////////////////
631 ///////////////////////////////////////////////////////////
632 inline
634 {
635  return ((m_set_State[0] & 0x3) != 0);
636 }
637 
638 inline
640 {
641  return IsSetId();
642 }
643 
644 inline
646 {
647  if (!CanGetId()) {
648  ThrowUnassigned(0);
649  }
650  return m_Id;
651 }
652 
653 inline
655 {
656  m_Id = value;
657  m_set_State[0] |= 0x3;
658 }
659 
660 inline
662 {
663  m_Id = std::forward<CMover_Base::C_Attlist::TId>(value);
664  m_set_State[0] |= 0x3;
665 }
666 
667 inline
669 {
670 #ifdef _DEBUG
671  if (!IsSetId()) {
672  m_Id = UnassignedString();
673  }
674 #endif
675  m_set_State[0] |= 0x1;
676  return m_Id;
677 }
678 
679 inline
681 {
682  return ((m_set_State[0] & 0xc) != 0);
683 }
684 
685 inline
687 {
688  return IsSetXref();
689 }
690 
691 inline
693 {
694  if (!CanGetXref()) {
695  ThrowUnassigned(1);
696  }
697  return m_Xref;
698 }
699 
700 inline
702 {
703  m_Xref = value;
704  m_set_State[0] |= 0xc;
705 }
706 
707 inline
709 {
710  m_Xref = std::forward<CMover_Base::C_Attlist::TXref>(value);
711  m_set_State[0] |= 0xc;
712 }
713 
714 inline
716 {
717 #ifdef _DEBUG
718  if (!IsSetXref()) {
719  m_Xref = UnassignedString();
720  }
721 #endif
722  m_set_State[0] |= 0x4;
723  return m_Xref;
724 }
725 
726 inline
728 {
729  return ((m_set_State[0] & 0x30) != 0);
730 }
731 
732 inline
734 {
735  return IsSetClass();
736 }
737 
738 inline
740 {
741  if (!CanGetClass()) {
742  ThrowUnassigned(2);
743  }
744  return m_Class;
745 }
746 
747 inline
749 {
750  m_Class = value;
751  m_set_State[0] |= 0x30;
752 }
753 
754 inline
756 {
757  m_Class = std::forward<CMover_Base::C_Attlist::TClass>(value);
758  m_set_State[0] |= 0x30;
759 }
760 
761 inline
763 {
764 #ifdef _DEBUG
765  if (!IsSetClass()) {
766  m_Class = UnassignedString();
767  }
768 #endif
769  m_set_State[0] |= 0x10;
770  return m_Class;
771 }
772 
773 inline
775 {
776  return ((m_set_State[0] & 0xc0) != 0);
777 }
778 
779 inline
781 {
782  return IsSetStyle();
783 }
784 
785 inline
787 {
788  if (!CanGetStyle()) {
789  ThrowUnassigned(3);
790  }
791  return m_Style;
792 }
793 
794 inline
796 {
797  m_Style = value;
798  m_set_State[0] |= 0xc0;
799 }
800 
801 inline
803 {
804  m_Style = std::forward<CMover_Base::C_Attlist::TStyle>(value);
805  m_set_State[0] |= 0xc0;
806 }
807 
808 inline
810 {
811 #ifdef _DEBUG
812  if (!IsSetStyle()) {
813  m_Style = UnassignedString();
814  }
815 #endif
816  m_set_State[0] |= 0x40;
817  return m_Style;
818 }
819 
820 inline
822 {
823  return ((m_set_State[0] & 0x300) != 0);
824 }
825 
826 inline
828 {
829  return IsSetHref();
830 }
831 
832 inline
834 {
835  if (!CanGetHref()) {
836  ThrowUnassigned(4);
837  }
838  return m_Href;
839 }
840 
841 inline
843 {
844  m_Href = value;
845  m_set_State[0] |= 0x300;
846 }
847 
848 inline
850 {
851  m_Href = std::forward<CMover_Base::C_Attlist::THref>(value);
852  m_set_State[0] |= 0x300;
853 }
854 
855 inline
857 {
858 #ifdef _DEBUG
859  if (!IsSetHref()) {
860  m_Href = UnassignedString();
861  }
862 #endif
863  m_set_State[0] |= 0x100;
864  return m_Href;
865 }
866 
867 inline
869 {
870  return ((m_set_State[0] & 0xc00) != 0);
871 }
872 
873 inline
875 {
876  return IsSetMathcolor();
877 }
878 
879 inline
881 {
882  if (!CanGetMathcolor()) {
883  ThrowUnassigned(5);
884  }
885  return m_Mathcolor;
886 }
887 
888 inline
890 {
891  m_Mathcolor = value;
892  m_set_State[0] |= 0xc00;
893 }
894 
895 inline
897 {
898  m_Mathcolor = std::forward<CMover_Base::C_Attlist::TMathcolor>(value);
899  m_set_State[0] |= 0xc00;
900 }
901 
902 inline
904 {
905 #ifdef _DEBUG
906  if (!IsSetMathcolor()) {
907  m_Mathcolor = UnassignedString();
908  }
909 #endif
910  m_set_State[0] |= 0x400;
911  return m_Mathcolor;
912 }
913 
914 inline
916 {
917  return ((m_set_State[0] & 0x3000) != 0);
918 }
919 
920 inline
922 {
923  return IsSetMathbackground();
924 }
925 
926 inline
928 {
929  if (!CanGetMathbackground()) {
930  ThrowUnassigned(6);
931  }
932  return m_Mathbackground;
933 }
934 
935 inline
937 {
938  m_Mathbackground = value;
939  m_set_State[0] |= 0x3000;
940 }
941 
942 inline
944 {
945  m_Mathbackground = std::forward<CMover_Base::C_Attlist::TMathbackground>(value);
946  m_set_State[0] |= 0x3000;
947 }
948 
949 inline
951 {
952 #ifdef _DEBUG
953  if (!IsSetMathbackground()) {
954  m_Mathbackground = UnassignedString();
955  }
956 #endif
957  m_set_State[0] |= 0x1000;
958  return m_Mathbackground;
959 }
960 
961 inline
963 {
964  return ((m_set_State[0] & 0xc000) != 0);
965 }
966 
967 inline
969 {
970  return IsSetAccent();
971 }
972 
973 inline
975 {
976  m_Accent = (EAttlist_accent)(0);
977  m_set_State[0] &= ~0xc000;
978 }
979 
980 inline
982 {
983  if (!CanGetAccent()) {
984  ThrowUnassigned(7);
985  }
986  return m_Accent;
987 }
988 
989 inline
991 {
992  m_Accent = value;
993  m_set_State[0] |= 0xc000;
994 }
995 
996 inline
998 {
999 #ifdef _DEBUG
1000  if (!IsSetAccent()) {
1001  memset(&m_Accent,UnassignedByte(),sizeof(m_Accent));
1002  }
1003 #endif
1004  m_set_State[0] |= 0x4000;
1005  return m_Accent;
1006 }
1007 
1008 inline
1010 {
1011  return ((m_set_State[0] & 0x30000) != 0);
1012 }
1013 
1014 inline
1016 {
1017  return IsSetAlign();
1018 }
1019 
1020 inline
1022 {
1023  m_Align = (EAttlist_align)(0);
1024  m_set_State[0] &= ~0x30000;
1025 }
1026 
1027 inline
1029 {
1030  if (!CanGetAlign()) {
1031  ThrowUnassigned(8);
1032  }
1033  return m_Align;
1034 }
1035 
1036 inline
1038 {
1039  m_Align = value;
1040  m_set_State[0] |= 0x30000;
1041 }
1042 
1043 inline
1045 {
1046 #ifdef _DEBUG
1047  if (!IsSetAlign()) {
1048  memset(&m_Align,UnassignedByte(),sizeof(m_Align));
1049  }
1050 #endif
1051  m_set_State[0] |= 0x10000;
1052  return m_Align;
1053 }
1054 
1055 inline
1057 {
1058 }
1059 
1060 inline
1062 {
1063  return m_Attlist.NotEmpty();
1064 }
1065 
1066 inline
1068 {
1069  return true;
1070 }
1071 
1072 inline
1074 {
1075  if ( !m_Attlist ) {
1076  const_cast<CMover_Base*>(this)->ResetAttlist();
1077  }
1078  return (*m_Attlist);
1079 }
1080 
1081 inline
1083 {
1084  if ( !m_Attlist ) {
1085  ResetAttlist();
1086  }
1087  return (*m_Attlist);
1088 }
1089 
1090 inline
1092 {
1093  return ((m_set_State[0] & 0xc) != 0);
1094 }
1095 
1096 inline
1098 {
1099  return true;
1100 }
1101 
1102 inline
1104 {
1105  return m_MathExpression;
1106 }
1107 
1108 inline
1110 {
1111  m_set_State[0] |= 0x4;
1112  return m_MathExpression;
1113 }
1114 
1115 ///////////////////////////////////////////////////////////
1116 ////////////////// end of inline methods //////////////////
1117 ///////////////////////////////////////////////////////////
1118 
1119 
1120 
1121 
1122 
1123 END_objects_SCOPE // namespace ncbi::objects::
1124 
1126 
1127 
1128 #endif // OBJTOOLS_EUTILS_EFETCH_MOVER_BASE_HPP
User-defined methods of the data storage class.
CMathExpression –.
C_Attlist –.
Definition: Mover_.hpp:92
C_E_MathExpression –.
Definition: Mover_.hpp:516
CMover_Base –.
Definition: Mover_.hpp:75
CRef –.
Definition: ncbiobj.hpp:618
Base class for all serializable objects.
Definition: serialbase.hpp:150
char value[7]
Definition: config.c:431
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:994
static string UnassignedString(void)
Definition: serialbase.hpp:175
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
TAccent GetAccent(void) const
Get the Accent member data.
Definition: Mover_.hpp:981
const TMathExpression & GetMathExpression(void) const
Get the MathExpression member data.
Definition: Mover_.hpp:1103
list< CRef< C_E_MathExpression > > TMathExpression
Definition: Mover_.hpp:527
virtual ~CMover_Base(void)
Definition: Mover_.cpp:214
CMover_Base & operator=(const CMover_Base &)
void ResetMathcolor(void)
Reset Mathcolor data member.
Definition: Mover_.cpp:99
bool IsSetMathcolor(void) const
Check if a value has been assigned to Mathcolor data member.
Definition: Mover_.hpp:868
TMathcolor & SetMathcolor(void)
Assign a value to Mathcolor data member.
Definition: Mover_.hpp:903
bool IsSetAlign(void) const
Check if a value has been assigned to Align data member.
Definition: Mover_.hpp:1009
void ResetHref(void)
Reset Href data member.
Definition: Mover_.cpp:93
void ResetClass(void)
Reset Class data member.
Definition: Mover_.cpp:81
TXref & SetXref(void)
Assign a value to Xref data member.
Definition: Mover_.hpp:715
TAlign GetAlign(void) const
Get the Align member data.
Definition: Mover_.hpp:1028
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
Definition: Mover_.hpp:1073
void ResetMathbackground(void)
Reset Mathbackground data member.
Definition: Mover_.cpp:105
THref & SetHref(void)
Assign a value to Href data member.
Definition: Mover_.hpp:856
CMover_Base(const CMover_Base &)
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
Definition: Mover_.hpp:1082
EAttlist_accent TAccent
Definition: Mover_.hpp:128
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
Definition: Mover_.hpp:686
void ResetStyle(void)
Reset Style data member.
Definition: Mover_.cpp:87
Uint4 m_set_State[1]
Definition: Mover_.hpp:618
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
Definition: Mover_.hpp:1061
bool IsSetMathExpression(void) const
Check if a value has been assigned to MathExpression data member.
Definition: Mover_.hpp:1091
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
Definition: Mover_.hpp:680
TAlign & SetAlign(void)
Assign a value to Align data member.
Definition: Mover_.hpp:1044
const TMathcolor & GetMathcolor(void) const
Get the Mathcolor member data.
Definition: Mover_.hpp:880
void Reset(void)
Reset the whole object.
Definition: Mover_.cpp:111
const THref & GetHref(void) const
Get the Href member data.
Definition: Mover_.hpp:833
list< CRef< C_E_MathExpression > > m_MathExpression
Definition: Mover_.hpp:620
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
Definition: Mover_.hpp:733
void ResetAlign(void)
Reset Align data member.
Definition: Mover_.hpp:1021
bool CanGetMathcolor(void) const
Check if it is safe to call GetMathcolor method.
Definition: Mover_.hpp:874
TMathExpression & SetMathExpression(void)
Assign a value to MathExpression data member.
Definition: Mover_.hpp:1109
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
Definition: Mover_.hpp:827
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
Definition: Mover_.hpp:727
void ResetAccent(void)
Reset Accent data member.
Definition: Mover_.hpp:974
bool CanGetAlign(void) const
Check if it is safe to call GetAlign method.
Definition: Mover_.hpp:1015
bool IsSetMathbackground(void) const
Check if a value has been assigned to Mathbackground data member.
Definition: Mover_.hpp:915
void ResetMathExpression(void)
Reset MathExpression data member.
Definition: Mover_.cpp:180
CRef< TAttlist > m_Attlist
Definition: Mover_.hpp:619
const TMathbackground & GetMathbackground(void) const
Get the Mathbackground member data.
Definition: Mover_.hpp:927
CSerialObject Tparent
Definition: Mover_.hpp:93
TStyle & SetStyle(void)
Assign a value to Style data member.
Definition: Mover_.hpp:809
C_Attlist TAttlist
Definition: Mover_.hpp:526
void ResetId(void)
Reset Id data member.
Definition: Mover_.cpp:69
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
Definition: Mover_.hpp:821
void ResetAttlist(void)
Reset Attlist data member.
Definition: Mover_.cpp:166
const TStyle & GetStyle(void) const
Get the Style member data.
Definition: Mover_.hpp:786
const TClass & GetClass(void) const
Get the Class member data.
Definition: Mover_.hpp:739
TMathbackground & SetMathbackground(void)
Assign a value to Mathbackground data member.
Definition: Mover_.hpp:950
const TXref & GetXref(void) const
Get the Xref member data.
Definition: Mover_.hpp:692
EAttlist_accent m_Accent
Definition: Mover_.hpp:507
TId & SetId(void)
Assign a value to Id data member.
Definition: Mover_.hpp:668
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
Definition: Mover_.hpp:144
TAccent & SetAccent(void)
Assign a value to Accent data member.
Definition: Mover_.hpp:997
bool CanGetId(void) const
Check if it is safe to call GetId method.
Definition: Mover_.hpp:639
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
Definition: Mover_.hpp:1067
void ResetXref(void)
Reset Xref data member.
Definition: Mover_.cpp:75
CMover_Base(void)
Definition: Mover_.cpp:205
EAttlist_align m_Align
Definition: Mover_.hpp:508
virtual void Reset(void)
Reset the whole object.
Definition: Mover_.cpp:186
C_Attlist(const C_Attlist &)
CSerialObject Tparent
Definition: Mover_.hpp:76
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
Definition: Mover_.hpp:780
bool CanGetMathExpression(void) const
Check if it is safe to call GetMathExpression method.
Definition: Mover_.hpp:1097
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
Definition: Mover_.hpp:535
DECLARE_INTERNAL_TYPE_INFO()
TClass & SetClass(void)
Assign a value to Class data member.
Definition: Mover_.hpp:762
const TId & GetId(void) const
Get the Id member data.
Definition: Mover_.hpp:645
bool IsSetAccent(void) const
Check if a value has been assigned to Accent data member.
Definition: Mover_.hpp:962
C_Attlist & operator=(const C_Attlist &)
bool CanGetAccent(void) const
Check if it is safe to call GetAccent method.
Definition: Mover_.hpp:968
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
Definition: Mover_.hpp:774
bool CanGetMathbackground(void) const
Check if it is safe to call GetMathbackground method.
Definition: Mover_.hpp:921
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
Definition: Mover_.hpp:633
EAttlist_align TAlign
Definition: Mover_.hpp:129
Modified on Wed Dec 06 07:12:30 2023 by modify_doxy.py rev. 669887