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