NCBI C++ ToolKit
Bind_content_.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 Bind_content_.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_BIND_CONTENT_BASE_HPP
42 #define OBJTOOLS_EUTILS_EFETCH_BIND_CONTENT_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 
51 
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
55 #endif
56 BEGIN_objects_SCOPE // namespace ncbi::objects::
57 
58 
59 // forward declarations
60 class CAbs;
61 class CAnd;
62 class CApply;
63 class CApprox;
64 class CArccos;
65 class CArccosh;
66 class CArccot;
67 class CArccoth;
68 class CArccsc;
69 class CArccsch;
70 class CArcsec;
71 class CArcsech;
72 class CArcsin;
73 class CArcsinh;
74 class CArctan;
75 class CArctanh;
76 class CArg;
77 class CBind;
78 class CBvar;
79 class CCard;
80 class CCartesianproduct;
81 class CCbytes;
82 class CCeiling;
83 class CCerror;
84 class CCi;
85 class CCn;
86 class CCodomain;
87 class CComplexes;
88 class CCompose;
89 class CCondition;
90 class CConjugate;
91 class CCos;
92 class CCosh;
93 class CCot;
94 class CCoth;
95 class CCs;
96 class CCsc;
97 class CCsch;
98 class CCsymbol;
99 class CCurl;
100 class CDeclare;
101 class CDegree;
102 class CDeterminant;
103 class CDiff;
104 class CDivergence;
105 class CDivide;
106 class CDomain;
108 class CEmptyset;
109 class CEq;
110 class CEquivalent;
111 class CEulergamma;
112 class CExists;
113 class CExp;
114 class CExponentiale;
115 class CFactorial;
116 class CFactorof;
117 class CFalse;
118 class CFloor;
119 class CFn;
120 class CForall;
121 class CGcd;
122 class CGeq;
123 class CGrad;
124 class CGt;
125 class CIdent;
126 class CImage;
127 class CImaginary;
128 class CImaginaryi;
129 class CImplies;
130 class CIn;
131 class CInfinity;
132 class CInt;
133 class CIntegers;
134 class CIntersect;
135 class CInterval;
136 class CInverse;
137 class CLambda;
138 class CLaplacian;
139 class CLcm;
140 class CLeq;
141 class CLimit;
142 class CList;
143 class CLn;
144 class CLog;
145 class CLogbase;
146 class CLowlimit;
147 class CLt;
148 class CMatrix;
149 class CMatrixrow;
150 class CMax;
151 class CMean;
152 class CMedian;
153 class CMin;
154 class CMinus;
155 class CMode;
156 class CMoment;
157 class CMomentabout;
158 class CNaturalnumbers;
159 class CNeq;
160 class CNot;
161 class CNotanumber;
162 class CNotin;
163 class CNotprsubset;
164 class CNotsubset;
165 class COr;
166 class COuterproduct;
167 class CPartialdiff;
168 class CPi;
169 class CPiecewise;
170 class CPlus;
171 class CPower;
172 class CPrimes;
173 class CProduct;
174 class CPrsubset;
175 class CQuotient;
176 class CRationals;
177 class CReal;
178 class CReals;
179 class CReln;
180 class CRem;
181 class CRoot;
182 class CScalarproduct;
183 class CSdev;
184 class CSec;
185 class CSech;
186 class CSelector;
187 class CSemantics;
188 class CSet;
189 class CSetdiff;
190 class CShare;
191 class CSin;
192 class CSinh;
193 class CSubset;
194 class CSum;
195 class CTan;
196 class CTanh;
197 class CTendsto;
198 class CTimes;
199 class CTranspose;
200 class CTrue;
201 class CUnion;
202 class CUplimit;
203 class CVariance;
204 class CVector;
205 class CVectorproduct;
206 class CXor;
207 
208 
209 // generated classes
210 
211 
212 /** @addtogroup dataspec_pubmed_mathml3
213  *
214  * @{
215  */
216 
217 /////////////////////////////////////////////////////////////////////////////
218 ///
219 /// CBind_content_Base --
220 ///
221 
223 {
225 public:
226  // constructor
227  CBind_content_Base(void);
228  // destructor
229  virtual ~CBind_content_Base(void);
230 
231  // type info
233 
234  /////////////////////////////////////////////////////////////////////////////
235  ///
236  /// C_ContExp --
237  ///
238 
239  class C_ContExp : public CSerialObject
240  {
242  public:
243  // constructor
244  C_ContExp(void);
245  // destructor
246  ~C_ContExp(void);
247 
248  // type info
250 
251  /////////////////////////////////////////////////////////////////////////////
252  ///
253  /// C_E_ContExp --
254  ///
255 
256  class C_E_ContExp : public CSerialObject
257  {
259  public:
260  // constructor
261  C_E_ContExp(void);
262  // destructor
263  ~C_E_ContExp(void);
264 
265  // type info
267 
268  /////////////////////////////////////////////////////////////////////////////
269  ///
270  /// C_DeprecatedContExp --
271  ///
272 
274  {
276  public:
277  // constructor
278  C_DeprecatedContExp(void);
279  // destructor
280  ~C_DeprecatedContExp(void);
281 
282  // type info
284 
285 
286  /// Choice variants.
287  enum E_Choice {
288  e_not_set = 0, ///< No variant selected
291  e_Declare
292  };
293  /// Maximum+1 value of the choice variant enumerator.
295  e_MaxChoice = 4 ///< == e_Declare+1
296  };
297 
298  /// Reset the whole object
299  void Reset(void);
300 
301  /// Reset the selection (set it to e_not_set).
302  void ResetSelection(void);
303 
304  /// Which variant is currently selected.
305  ///
306  /// @return
307  /// Choice state enumerator.
308  E_Choice Which(void) const;
309 
310  /// Verify selection, throw exception if it differs from the expected.
311  ///
312  /// @param index
313  /// Expected selection.
314  void CheckSelected(E_Choice index) const;
315 
316  /// Throw 'InvalidSelection' exception.
317  ///
318  /// @param index
319  /// Expected selection.
320  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
321 
322  /// Retrieve selection name (for diagnostic purposes).
323  ///
324  /// @param index
325  /// One of possible selection states.
326  /// @return
327  /// Name string.
328  static string SelectionName(E_Choice index);
329 
330  /// Select the requested variant if needed.
331  ///
332  /// @param index
333  /// New selection state.
334  /// @param reset
335  /// Flag that defines the resetting of the variant data. The data will
336  /// be reset if either the current selection differs from the new one,
337  /// or the flag is set to eDoResetVariant.
339  /// Select the requested variant if needed,
340  /// allocating CObject variants from memory pool.
341  void Select(E_Choice index,
342  EResetVariant reset,
343  CObjectMemoryPool* pool);
344 
345  // types
346  typedef CReln TReln;
347  typedef CFn TFn;
349 
350  // getters
351  // setters
352 
353 
354  /// Check if variant Reln is selected.
355  ///
356  /// Reln type is defined as 'typedef CReln TReln'.
357  /// @return
358  /// - true, if the variant is selected.
359  /// - false, otherwise.
360  bool IsReln(void) const;
361 
362  /// Get the variant data.
363  ///
364  /// @return
365  /// Reference to the data.
366  const TReln& GetReln(void) const;
367 
368  /// Select the variant.
369  ///
370  /// @return
371  /// Reference to the variant data.
372  TReln& SetReln(void);
373  /// Select the variant and set its data.
374  ///
375  /// @param value
376  /// Reference to the data.
377  void SetReln(TReln& value);
378 
379 
380  /// Check if variant Fn is selected.
381  ///
382  /// Fn type is defined as 'typedef CFn TFn'.
383  /// @return
384  /// - true, if the variant is selected.
385  /// - false, otherwise.
386  bool IsFn(void) const;
387 
388  /// Get the variant data.
389  ///
390  /// @return
391  /// Reference to the data.
392  const TFn& GetFn(void) const;
393 
394  /// Select the variant.
395  ///
396  /// @return
397  /// Reference to the variant data.
398  TFn& SetFn(void);
399  /// Select the variant and set its data.
400  ///
401  /// @param value
402  /// Reference to the data.
403  void SetFn(TFn& value);
404 
405 
406  /// Check if variant Declare is selected.
407  ///
408  /// Declare type is defined as 'typedef CDeclare TDeclare'.
409  /// @return
410  /// - true, if the variant is selected.
411  /// - false, otherwise.
412  bool IsDeclare(void) const;
413 
414  /// Get the variant data.
415  ///
416  /// @return
417  /// Reference to the data.
418  const TDeclare& GetDeclare(void) const;
419 
420  /// Select the variant.
421  ///
422  /// @return
423  /// Reference to the variant data.
424  TDeclare& SetDeclare(void);
425  /// Select the variant and set its data.
426  ///
427  /// @param value
428  /// Reference to the data.
429  void SetDeclare(TDeclare& value);
430 
431 
432  private:
433  // copy constructor and assignment operator
436  // choice state
438  // helper methods
439  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
440 
441  static const char* const sm_SelectionNames[];
442  // data
443  NCBI_NS_NCBI::CSerialObject *m_object;
444  };
445  /////////////////////////////////////////////////////////////////////////////
446  ///
447  /// C_Interval_mmlclass --
448  ///
449 
451  {
453  public:
454  // constructor
455  C_Interval_mmlclass(void);
456  // destructor
457  ~C_Interval_mmlclass(void);
458 
459  // type info
461 
462  // types
464 
465  // member index
466  enum class E_memberIndex {
467  e__allMandatory = 0,
468  e_interval
469  };
471 
472  // getters
473  // setters
474 
475  /// Check if a value has been assigned to Interval data member.
476  ///
477  /// Data member Interval is mandatory;
478  /// its type is defined as 'typedef CInterval TInterval'
479  /// @return
480  /// - true, if a value has been assigned.
481  /// - false, otherwise.
482  bool IsSetInterval(void) const;
483 
484  /// Check if it is safe to call GetInterval method.
485  ///
486  /// @return
487  /// - true, if the data member is getatable.
488  /// - false, otherwise.
489  bool CanGetInterval(void) const;
490 
491  /// Reset Interval data member.
492  void ResetInterval(void);
493 
494  /// Get the Interval member data.
495  ///
496  /// @return
497  /// Reference to the member data.
498  const TInterval& GetInterval(void) const;
499 
500  /// Assign a value to Interval data member.
501  ///
502  /// @param value
503  /// Reference to value.
504  void SetInterval(TInterval& value);
505 
506  /// Assign a value to Interval data member.
507  ///
508  /// @return
509  /// Reference to the data value.
510  TInterval& SetInterval(void);
511 
512  /// Reset the whole object
513  void Reset(void);
514 
515 
516  private:
517  // Prohibit copy constructor and assignment operator
520 
521  // data
524  };
525  /////////////////////////////////////////////////////////////////////////////
526  ///
527  /// C_Unary_functional_mmlclass --
528  ///
529 
531  {
533  public:
534  // constructor
536  // destructor
538 
539  // type info
541 
542 
543  /// Choice variants.
544  enum E_Choice {
545  e_not_set = 0, ///< No variant selected
553  e_Moment
554  };
555  /// Maximum+1 value of the choice variant enumerator.
557  e_MaxChoice = 9 ///< == e_Moment+1
558  };
559 
560  /// Reset the whole object
561  void Reset(void);
562 
563  /// Reset the selection (set it to e_not_set).
564  void ResetSelection(void);
565 
566  /// Which variant is currently selected.
567  ///
568  /// @return
569  /// Choice state enumerator.
570  E_Choice Which(void) const;
571 
572  /// Verify selection, throw exception if it differs from the expected.
573  ///
574  /// @param index
575  /// Expected selection.
576  void CheckSelected(E_Choice index) const;
577 
578  /// Throw 'InvalidSelection' exception.
579  ///
580  /// @param index
581  /// Expected selection.
582  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
583 
584  /// Retrieve selection name (for diagnostic purposes).
585  ///
586  /// @param index
587  /// One of possible selection states.
588  /// @return
589  /// Name string.
590  static string SelectionName(E_Choice index);
591 
592  /// Select the requested variant if needed.
593  ///
594  /// @param index
595  /// New selection state.
596  /// @param reset
597  /// Flag that defines the resetting of the variant data. The data will
598  /// be reset if either the current selection differs from the new one,
599  /// or the flag is set to eDoResetVariant.
601  /// Select the requested variant if needed,
602  /// allocating CObject variants from memory pool.
603  void Select(E_Choice index,
604  EResetVariant reset,
605  CObjectMemoryPool* pool);
606 
607  // types
609  typedef CIdent TIdent;
610  typedef CDomain TDomain;
612  typedef CImage TImage;
613  typedef CLn TLn;
614  typedef CLog TLog;
615  typedef CMoment TMoment;
616 
617  // getters
618  // setters
619 
620 
621  /// Check if variant Inverse is selected.
622  ///
623  /// Inverse type is defined as 'typedef CInverse TInverse'.
624  /// @return
625  /// - true, if the variant is selected.
626  /// - false, otherwise.
627  bool IsInverse(void) const;
628 
629  /// Get the variant data.
630  ///
631  /// @return
632  /// Reference to the data.
633  const TInverse& GetInverse(void) const;
634 
635  /// Select the variant.
636  ///
637  /// @return
638  /// Reference to the variant data.
639  TInverse& SetInverse(void);
640 
641 
642  /// Check if variant Ident is selected.
643  ///
644  /// Ident type is defined as 'typedef CIdent TIdent'.
645  /// @return
646  /// - true, if the variant is selected.
647  /// - false, otherwise.
648  bool IsIdent(void) const;
649 
650  /// Get the variant data.
651  ///
652  /// @return
653  /// Reference to the data.
654  const TIdent& GetIdent(void) const;
655 
656  /// Select the variant.
657  ///
658  /// @return
659  /// Reference to the variant data.
660  TIdent& SetIdent(void);
661 
662 
663  /// Check if variant Domain is selected.
664  ///
665  /// Domain type is defined as 'typedef CDomain TDomain'.
666  /// @return
667  /// - true, if the variant is selected.
668  /// - false, otherwise.
669  bool IsDomain(void) const;
670 
671  /// Get the variant data.
672  ///
673  /// @return
674  /// Reference to the data.
675  const TDomain& GetDomain(void) const;
676 
677  /// Select the variant.
678  ///
679  /// @return
680  /// Reference to the variant data.
681  TDomain& SetDomain(void);
682 
683 
684  /// Check if variant Codomain is selected.
685  ///
686  /// Codomain type is defined as 'typedef CCodomain TCodomain'.
687  /// @return
688  /// - true, if the variant is selected.
689  /// - false, otherwise.
690  bool IsCodomain(void) const;
691 
692  /// Get the variant data.
693  ///
694  /// @return
695  /// Reference to the data.
696  const TCodomain& GetCodomain(void) const;
697 
698  /// Select the variant.
699  ///
700  /// @return
701  /// Reference to the variant data.
702  TCodomain& SetCodomain(void);
703 
704 
705  /// Check if variant Image is selected.
706  ///
707  /// Image type is defined as 'typedef CImage TImage'.
708  /// @return
709  /// - true, if the variant is selected.
710  /// - false, otherwise.
711  bool IsImage(void) const;
712 
713  /// Get the variant data.
714  ///
715  /// @return
716  /// Reference to the data.
717  const TImage& GetImage(void) const;
718 
719  /// Select the variant.
720  ///
721  /// @return
722  /// Reference to the variant data.
723  TImage& SetImage(void);
724 
725 
726  /// Check if variant Ln is selected.
727  ///
728  /// Ln type is defined as 'typedef CLn TLn'.
729  /// @return
730  /// - true, if the variant is selected.
731  /// - false, otherwise.
732  bool IsLn(void) const;
733 
734  /// Get the variant data.
735  ///
736  /// @return
737  /// Reference to the data.
738  const TLn& GetLn(void) const;
739 
740  /// Select the variant.
741  ///
742  /// @return
743  /// Reference to the variant data.
744  TLn& SetLn(void);
745 
746 
747  /// Check if variant Log is selected.
748  ///
749  /// Log type is defined as 'typedef CLog TLog'.
750  /// @return
751  /// - true, if the variant is selected.
752  /// - false, otherwise.
753  bool IsLog(void) const;
754 
755  /// Get the variant data.
756  ///
757  /// @return
758  /// Reference to the data.
759  const TLog& GetLog(void) const;
760 
761  /// Select the variant.
762  ///
763  /// @return
764  /// Reference to the variant data.
765  TLog& SetLog(void);
766 
767 
768  /// Check if variant Moment is selected.
769  ///
770  /// Moment type is defined as 'typedef CMoment TMoment'.
771  /// @return
772  /// - true, if the variant is selected.
773  /// - false, otherwise.
774  bool IsMoment(void) const;
775 
776  /// Get the variant data.
777  ///
778  /// @return
779  /// Reference to the data.
780  const TMoment& GetMoment(void) const;
781 
782  /// Select the variant.
783  ///
784  /// @return
785  /// Reference to the variant data.
786  TMoment& SetMoment(void);
787 
788 
789  private:
790  // copy constructor and assignment operator
793  // choice state
795  // helper methods
796  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
797 
798  static const char* const sm_SelectionNames[];
799  // data
800  NCBI_NS_NCBI::CSerialObject *m_object;
801  };
802  /////////////////////////////////////////////////////////////////////////////
803  ///
804  /// C_Lambda_mmlclass --
805  ///
806 
808  {
810  public:
811  // constructor
812  C_Lambda_mmlclass(void);
813  // destructor
814  ~C_Lambda_mmlclass(void);
815 
816  // type info
818 
819  // types
820  typedef CLambda TLambda;
821 
822  // member index
823  enum class E_memberIndex {
824  e__allMandatory = 0,
825  e_lambda
826  };
828 
829  // getters
830  // setters
831 
832  /// Check if a value has been assigned to Lambda data member.
833  ///
834  /// Data member Lambda is mandatory;
835  /// its type is defined as 'typedef CLambda TLambda'
836  /// @return
837  /// - true, if a value has been assigned.
838  /// - false, otherwise.
839  bool IsSetLambda(void) const;
840 
841  /// Check if it is safe to call GetLambda method.
842  ///
843  /// @return
844  /// - true, if the data member is getatable.
845  /// - false, otherwise.
846  bool CanGetLambda(void) const;
847 
848  /// Reset Lambda data member.
849  void ResetLambda(void);
850 
851  /// Get the Lambda member data.
852  ///
853  /// @return
854  /// Reference to the member data.
855  const TLambda& GetLambda(void) const;
856 
857  /// Assign a value to Lambda data member.
858  ///
859  /// @param value
860  /// Reference to value.
861  void SetLambda(TLambda& value);
862 
863  /// Assign a value to Lambda data member.
864  ///
865  /// @return
866  /// Reference to the data value.
867  TLambda& SetLambda(void);
868 
869  /// Reset the whole object
870  void Reset(void);
871 
872 
873  private:
874  // Prohibit copy constructor and assignment operator
877 
878  // data
881  };
882  /////////////////////////////////////////////////////////////////////////////
883  ///
884  /// C_Nary_functional_mmlclass --
885  ///
886 
888  {
890  public:
891  // constructor
893  // destructor
895 
896  // type info
898 
899  // types
901 
902  // member index
903  enum class E_memberIndex {
904  e__allMandatory = 0,
905  e_compose
906  };
908 
909  // getters
910  // setters
911 
912  /// Check if a value has been assigned to Compose data member.
913  ///
914  /// Data member Compose is mandatory;
915  /// its type is defined as 'typedef CCompose TCompose'
916  /// @return
917  /// - true, if a value has been assigned.
918  /// - false, otherwise.
919  bool IsSetCompose(void) const;
920 
921  /// Check if value of Compose member is getatable.
922  ///
923  /// @return
924  /// - false; the data member of type 'NULL' has no value.
925  bool CanGetCompose(void) const;
926 
927  /// Reset Compose data member.
928  void ResetCompose(void);
929 
930  /// Get the Compose member data.
931  ///
932  /// @return
933  /// Reference to the member data.
934  const TCompose& GetCompose(void) const;
935 
936  /// Assign a value to Compose data member.
937  ///
938  /// @param value
939  /// Reference to value.
940  void SetCompose(TCompose& value);
941 
942  /// Assign a value to Compose data member.
943  ///
944  /// @return
945  /// Reference to the data value.
946  TCompose& SetCompose(void);
947 
948  /// Reset the whole object
949  void Reset(void);
950 
951 
952  private:
953  // Prohibit copy constructor and assignment operator
956 
957  // data
960  };
961  /////////////////////////////////////////////////////////////////////////////
962  ///
963  /// C_Binary_arith_mmlclass --
964  ///
965 
967  {
969  public:
970  // constructor
972  // destructor
974 
975  // type info
977 
978 
979  /// Choice variants.
980  enum E_Choice {
981  e_not_set = 0, ///< No variant selected
987  e_Root
988  };
989  /// Maximum+1 value of the choice variant enumerator.
991  e_MaxChoice = 7 ///< == e_Root+1
992  };
993 
994  /// Reset the whole object
995  void Reset(void);
996 
997  /// Reset the selection (set it to e_not_set).
998  void ResetSelection(void);
999 
1000  /// Which variant is currently selected.
1001  ///
1002  /// @return
1003  /// Choice state enumerator.
1004  E_Choice Which(void) const;
1005 
1006  /// Verify selection, throw exception if it differs from the expected.
1007  ///
1008  /// @param index
1009  /// Expected selection.
1010  void CheckSelected(E_Choice index) const;
1011 
1012  /// Throw 'InvalidSelection' exception.
1013  ///
1014  /// @param index
1015  /// Expected selection.
1016  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
1017 
1018  /// Retrieve selection name (for diagnostic purposes).
1019  ///
1020  /// @param index
1021  /// One of possible selection states.
1022  /// @return
1023  /// Name string.
1024  static string SelectionName(E_Choice index);
1025 
1026  /// Select the requested variant if needed.
1027  ///
1028  /// @param index
1029  /// New selection state.
1030  /// @param reset
1031  /// Flag that defines the resetting of the variant data. The data will
1032  /// be reset if either the current selection differs from the new one,
1033  /// or the flag is set to eDoResetVariant.
1035  /// Select the requested variant if needed,
1036  /// allocating CObject variants from memory pool.
1037  void Select(E_Choice index,
1038  EResetVariant reset,
1039  CObjectMemoryPool* pool);
1040 
1041  // types
1043  typedef CDivide TDivide;
1044  typedef CMinus TMinus;
1045  typedef CPower TPower;
1046  typedef CRem TRem;
1047  typedef CRoot TRoot;
1048 
1049  // getters
1050  // setters
1051 
1052 
1053  /// Check if variant Quotient is selected.
1054  ///
1055  /// Quotient type is defined as 'typedef CQuotient TQuotient'.
1056  /// @return
1057  /// - true, if the variant is selected.
1058  /// - false, otherwise.
1059  bool IsQuotient(void) const;
1060 
1061  /// Get the variant data.
1062  ///
1063  /// @return
1064  /// Reference to the data.
1065  const TQuotient& GetQuotient(void) const;
1066 
1067  /// Select the variant.
1068  ///
1069  /// @return
1070  /// Reference to the variant data.
1071  TQuotient& SetQuotient(void);
1072 
1073 
1074  /// Check if variant Divide is selected.
1075  ///
1076  /// Divide type is defined as 'typedef CDivide TDivide'.
1077  /// @return
1078  /// - true, if the variant is selected.
1079  /// - false, otherwise.
1080  bool IsDivide(void) const;
1081 
1082  /// Get the variant data.
1083  ///
1084  /// @return
1085  /// Reference to the data.
1086  const TDivide& GetDivide(void) const;
1087 
1088  /// Select the variant.
1089  ///
1090  /// @return
1091  /// Reference to the variant data.
1092  TDivide& SetDivide(void);
1093 
1094 
1095  /// Check if variant Minus is selected.
1096  ///
1097  /// Minus type is defined as 'typedef CMinus TMinus'.
1098  /// @return
1099  /// - true, if the variant is selected.
1100  /// - false, otherwise.
1101  bool IsMinus(void) const;
1102 
1103  /// Get the variant data.
1104  ///
1105  /// @return
1106  /// Reference to the data.
1107  const TMinus& GetMinus(void) const;
1108 
1109  /// Select the variant.
1110  ///
1111  /// @return
1112  /// Reference to the variant data.
1113  TMinus& SetMinus(void);
1114 
1115 
1116  /// Check if variant Power is selected.
1117  ///
1118  /// Power type is defined as 'typedef CPower TPower'.
1119  /// @return
1120  /// - true, if the variant is selected.
1121  /// - false, otherwise.
1122  bool IsPower(void) const;
1123 
1124  /// Get the variant data.
1125  ///
1126  /// @return
1127  /// Reference to the data.
1128  const TPower& GetPower(void) const;
1129 
1130  /// Select the variant.
1131  ///
1132  /// @return
1133  /// Reference to the variant data.
1134  TPower& SetPower(void);
1135 
1136 
1137  /// Check if variant Rem is selected.
1138  ///
1139  /// Rem type is defined as 'typedef CRem TRem'.
1140  /// @return
1141  /// - true, if the variant is selected.
1142  /// - false, otherwise.
1143  bool IsRem(void) const;
1144 
1145  /// Get the variant data.
1146  ///
1147  /// @return
1148  /// Reference to the data.
1149  const TRem& GetRem(void) const;
1150 
1151  /// Select the variant.
1152  ///
1153  /// @return
1154  /// Reference to the variant data.
1155  TRem& SetRem(void);
1156 
1157 
1158  /// Check if variant Root is selected.
1159  ///
1160  /// Root type is defined as 'typedef CRoot TRoot'.
1161  /// @return
1162  /// - true, if the variant is selected.
1163  /// - false, otherwise.
1164  bool IsRoot(void) const;
1165 
1166  /// Get the variant data.
1167  ///
1168  /// @return
1169  /// Reference to the data.
1170  const TRoot& GetRoot(void) const;
1171 
1172  /// Select the variant.
1173  ///
1174  /// @return
1175  /// Reference to the variant data.
1176  TRoot& SetRoot(void);
1177 
1178 
1179  private:
1180  // copy constructor and assignment operator
1183  // choice state
1185  // helper methods
1186  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
1187 
1188  static const char* const sm_SelectionNames[];
1189  // data
1190  NCBI_NS_NCBI::CSerialObject *m_object;
1191  };
1192  /////////////////////////////////////////////////////////////////////////////
1193  ///
1194  /// C_Unary_arith_mmlclass --
1195  ///
1196 
1198  {
1200  public:
1201  // constructor
1202  C_Unary_arith_mmlclass(void);
1203  // destructor
1205 
1206  // type info
1208 
1209 
1210  /// Choice variants.
1211  enum E_Choice {
1212  e_not_set = 0, ///< No variant selected
1221  e_Exp
1222  };
1223  /// Maximum+1 value of the choice variant enumerator.
1225  e_MaxChoice = 10 ///< == e_Exp+1
1226  };
1227 
1228  /// Reset the whole object
1229  void Reset(void);
1230 
1231  /// Reset the selection (set it to e_not_set).
1232  void ResetSelection(void);
1233 
1234  /// Which variant is currently selected.
1235  ///
1236  /// @return
1237  /// Choice state enumerator.
1238  E_Choice Which(void) const;
1239 
1240  /// Verify selection, throw exception if it differs from the expected.
1241  ///
1242  /// @param index
1243  /// Expected selection.
1244  void CheckSelected(E_Choice index) const;
1245 
1246  /// Throw 'InvalidSelection' exception.
1247  ///
1248  /// @param index
1249  /// Expected selection.
1250  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
1251 
1252  /// Retrieve selection name (for diagnostic purposes).
1253  ///
1254  /// @param index
1255  /// One of possible selection states.
1256  /// @return
1257  /// Name string.
1258  static string SelectionName(E_Choice index);
1259 
1260  /// Select the requested variant if needed.
1261  ///
1262  /// @param index
1263  /// New selection state.
1264  /// @param reset
1265  /// Flag that defines the resetting of the variant data. The data will
1266  /// be reset if either the current selection differs from the new one,
1267  /// or the flag is set to eDoResetVariant.
1269  /// Select the requested variant if needed,
1270  /// allocating CObject variants from memory pool.
1271  void Select(E_Choice index,
1272  EResetVariant reset,
1273  CObjectMemoryPool* pool);
1274 
1275  // types
1277  typedef CAbs TAbs;
1279  typedef CArg TArg;
1280  typedef CReal TReal;
1282  typedef CFloor TFloor;
1284  typedef CExp TExp;
1285 
1286  // getters
1287  // setters
1288 
1289 
1290  /// Check if variant Factorial is selected.
1291  ///
1292  /// Factorial type is defined as 'typedef CFactorial TFactorial'.
1293  /// @return
1294  /// - true, if the variant is selected.
1295  /// - false, otherwise.
1296  bool IsFactorial(void) const;
1297 
1298  /// Get the variant data.
1299  ///
1300  /// @return
1301  /// Reference to the data.
1302  const TFactorial& GetFactorial(void) const;
1303 
1304  /// Select the variant.
1305  ///
1306  /// @return
1307  /// Reference to the variant data.
1308  TFactorial& SetFactorial(void);
1309 
1310 
1311  /// Check if variant Abs is selected.
1312  ///
1313  /// Abs type is defined as 'typedef CAbs TAbs'.
1314  /// @return
1315  /// - true, if the variant is selected.
1316  /// - false, otherwise.
1317  bool IsAbs(void) const;
1318 
1319  /// Get the variant data.
1320  ///
1321  /// @return
1322  /// Reference to the data.
1323  const TAbs& GetAbs(void) const;
1324 
1325  /// Select the variant.
1326  ///
1327  /// @return
1328  /// Reference to the variant data.
1329  TAbs& SetAbs(void);
1330 
1331 
1332  /// Check if variant Conjugate is selected.
1333  ///
1334  /// Conjugate type is defined as 'typedef CConjugate TConjugate'.
1335  /// @return
1336  /// - true, if the variant is selected.
1337  /// - false, otherwise.
1338  bool IsConjugate(void) const;
1339 
1340  /// Get the variant data.
1341  ///
1342  /// @return
1343  /// Reference to the data.
1344  const TConjugate& GetConjugate(void) const;
1345 
1346  /// Select the variant.
1347  ///
1348  /// @return
1349  /// Reference to the variant data.
1350  TConjugate& SetConjugate(void);
1351 
1352 
1353  /// Check if variant Arg is selected.
1354  ///
1355  /// Arg type is defined as 'typedef CArg TArg'.
1356  /// @return
1357  /// - true, if the variant is selected.
1358  /// - false, otherwise.
1359  bool IsArg(void) const;
1360 
1361  /// Get the variant data.
1362  ///
1363  /// @return
1364  /// Reference to the data.
1365  const TArg& GetArg(void) const;
1366 
1367  /// Select the variant.
1368  ///
1369  /// @return
1370  /// Reference to the variant data.
1371  TArg& SetArg(void);
1372 
1373 
1374  /// Check if variant Real is selected.
1375  ///
1376  /// Real type is defined as 'typedef CReal TReal'.
1377  /// @return
1378  /// - true, if the variant is selected.
1379  /// - false, otherwise.
1380  bool IsReal(void) const;
1381 
1382  /// Get the variant data.
1383  ///
1384  /// @return
1385  /// Reference to the data.
1386  const TReal& GetReal(void) const;
1387 
1388  /// Select the variant.
1389  ///
1390  /// @return
1391  /// Reference to the variant data.
1392  TReal& SetReal(void);
1393 
1394 
1395  /// Check if variant Imaginary is selected.
1396  ///
1397  /// Imaginary type is defined as 'typedef CImaginary TImaginary'.
1398  /// @return
1399  /// - true, if the variant is selected.
1400  /// - false, otherwise.
1401  bool IsImaginary(void) const;
1402 
1403  /// Get the variant data.
1404  ///
1405  /// @return
1406  /// Reference to the data.
1407  const TImaginary& GetImaginary(void) const;
1408 
1409  /// Select the variant.
1410  ///
1411  /// @return
1412  /// Reference to the variant data.
1413  TImaginary& SetImaginary(void);
1414 
1415 
1416  /// Check if variant Floor is selected.
1417  ///
1418  /// Floor type is defined as 'typedef CFloor TFloor'.
1419  /// @return
1420  /// - true, if the variant is selected.
1421  /// - false, otherwise.
1422  bool IsFloor(void) const;
1423 
1424  /// Get the variant data.
1425  ///
1426  /// @return
1427  /// Reference to the data.
1428  const TFloor& GetFloor(void) const;
1429 
1430  /// Select the variant.
1431  ///
1432  /// @return
1433  /// Reference to the variant data.
1434  TFloor& SetFloor(void);
1435 
1436 
1437  /// Check if variant Ceiling is selected.
1438  ///
1439  /// Ceiling type is defined as 'typedef CCeiling TCeiling'.
1440  /// @return
1441  /// - true, if the variant is selected.
1442  /// - false, otherwise.
1443  bool IsCeiling(void) const;
1444 
1445  /// Get the variant data.
1446  ///
1447  /// @return
1448  /// Reference to the data.
1449  const TCeiling& GetCeiling(void) const;
1450 
1451  /// Select the variant.
1452  ///
1453  /// @return
1454  /// Reference to the variant data.
1455  TCeiling& SetCeiling(void);
1456 
1457 
1458  /// Check if variant Exp is selected.
1459  ///
1460  /// Exp type is defined as 'typedef CExp TExp'.
1461  /// @return
1462  /// - true, if the variant is selected.
1463  /// - false, otherwise.
1464  bool IsExp(void) const;
1465 
1466  /// Get the variant data.
1467  ///
1468  /// @return
1469  /// Reference to the data.
1470  const TExp& GetExp(void) const;
1471 
1472  /// Select the variant.
1473  ///
1474  /// @return
1475  /// Reference to the variant data.
1476  TExp& SetExp(void);
1477 
1478 
1479  private:
1480  // copy constructor and assignment operator
1483  // choice state
1485  // helper methods
1486  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
1487 
1488  static const char* const sm_SelectionNames[];
1489  // data
1490  NCBI_NS_NCBI::CSerialObject *m_object;
1491  };
1492  /////////////////////////////////////////////////////////////////////////////
1493  ///
1494  /// C_Nary_minmax_mmlclass --
1495  ///
1496 
1498  {
1500  public:
1501  // constructor
1502  C_Nary_minmax_mmlclass(void);
1503  // destructor
1505 
1506  // type info
1508 
1509 
1510  /// Choice variants.
1511  enum E_Choice {
1512  e_not_set = 0, ///< No variant selected
1514  e_Min
1515  };
1516  /// Maximum+1 value of the choice variant enumerator.
1518  e_MaxChoice = 3 ///< == e_Min+1
1519  };
1520 
1521  /// Reset the whole object
1522  void Reset(void);
1523 
1524  /// Reset the selection (set it to e_not_set).
1525  void ResetSelection(void);
1526 
1527  /// Which variant is currently selected.
1528  ///
1529  /// @return
1530  /// Choice state enumerator.
1531  E_Choice Which(void) const;
1532 
1533  /// Verify selection, throw exception if it differs from the expected.
1534  ///
1535  /// @param index
1536  /// Expected selection.
1537  void CheckSelected(E_Choice index) const;
1538 
1539  /// Throw 'InvalidSelection' exception.
1540  ///
1541  /// @param index
1542  /// Expected selection.
1543  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
1544 
1545  /// Retrieve selection name (for diagnostic purposes).
1546  ///
1547  /// @param index
1548  /// One of possible selection states.
1549  /// @return
1550  /// Name string.
1551  static string SelectionName(E_Choice index);
1552 
1553  /// Select the requested variant if needed.
1554  ///
1555  /// @param index
1556  /// New selection state.
1557  /// @param reset
1558  /// Flag that defines the resetting of the variant data. The data will
1559  /// be reset if either the current selection differs from the new one,
1560  /// or the flag is set to eDoResetVariant.
1562  /// Select the requested variant if needed,
1563  /// allocating CObject variants from memory pool.
1564  void Select(E_Choice index,
1565  EResetVariant reset,
1566  CObjectMemoryPool* pool);
1567 
1568  // types
1569  typedef CMax TMax;
1570  typedef CMin TMin;
1571 
1572  // getters
1573  // setters
1574 
1575 
1576  /// Check if variant Max is selected.
1577  ///
1578  /// Max type is defined as 'typedef CMax TMax'.
1579  /// @return
1580  /// - true, if the variant is selected.
1581  /// - false, otherwise.
1582  bool IsMax(void) const;
1583 
1584  /// Get the variant data.
1585  ///
1586  /// @return
1587  /// Reference to the data.
1588  const TMax& GetMax(void) const;
1589 
1590  /// Select the variant.
1591  ///
1592  /// @return
1593  /// Reference to the variant data.
1594  TMax& SetMax(void);
1595 
1596 
1597  /// Check if variant Min is selected.
1598  ///
1599  /// Min type is defined as 'typedef CMin TMin'.
1600  /// @return
1601  /// - true, if the variant is selected.
1602  /// - false, otherwise.
1603  bool IsMin(void) const;
1604 
1605  /// Get the variant data.
1606  ///
1607  /// @return
1608  /// Reference to the data.
1609  const TMin& GetMin(void) const;
1610 
1611  /// Select the variant.
1612  ///
1613  /// @return
1614  /// Reference to the variant data.
1615  TMin& SetMin(void);
1616 
1617 
1618  private:
1619  // copy constructor and assignment operator
1622  // choice state
1624  // helper methods
1625  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
1626 
1627  static const char* const sm_SelectionNames[];
1628  // data
1629  NCBI_NS_NCBI::CSerialObject *m_object;
1630  };
1631  /////////////////////////////////////////////////////////////////////////////
1632  ///
1633  /// C_Nary_arith_mmlclass --
1634  ///
1635 
1637  {
1639  public:
1640  // constructor
1641  C_Nary_arith_mmlclass(void);
1642  // destructor
1643  ~C_Nary_arith_mmlclass(void);
1644 
1645  // type info
1647 
1648 
1649  /// Choice variants.
1650  enum E_Choice {
1651  e_not_set = 0, ///< No variant selected
1655  e_Lcm
1656  };
1657  /// Maximum+1 value of the choice variant enumerator.
1659  e_MaxChoice = 5 ///< == e_Lcm+1
1660  };
1661 
1662  /// Reset the whole object
1663  void Reset(void);
1664 
1665  /// Reset the selection (set it to e_not_set).
1666  void ResetSelection(void);
1667 
1668  /// Which variant is currently selected.
1669  ///
1670  /// @return
1671  /// Choice state enumerator.
1672  E_Choice Which(void) const;
1673 
1674  /// Verify selection, throw exception if it differs from the expected.
1675  ///
1676  /// @param index
1677  /// Expected selection.
1678  void CheckSelected(E_Choice index) const;
1679 
1680  /// Throw 'InvalidSelection' exception.
1681  ///
1682  /// @param index
1683  /// Expected selection.
1684  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
1685 
1686  /// Retrieve selection name (for diagnostic purposes).
1687  ///
1688  /// @param index
1689  /// One of possible selection states.
1690  /// @return
1691  /// Name string.
1692  static string SelectionName(E_Choice index);
1693 
1694  /// Select the requested variant if needed.
1695  ///
1696  /// @param index
1697  /// New selection state.
1698  /// @param reset
1699  /// Flag that defines the resetting of the variant data. The data will
1700  /// be reset if either the current selection differs from the new one,
1701  /// or the flag is set to eDoResetVariant.
1703  /// Select the requested variant if needed,
1704  /// allocating CObject variants from memory pool.
1705  void Select(E_Choice index,
1706  EResetVariant reset,
1707  CObjectMemoryPool* pool);
1708 
1709  // types
1710  typedef CPlus TPlus;
1711  typedef CTimes TTimes;
1712  typedef CGcd TGcd;
1713  typedef CLcm TLcm;
1714 
1715  // getters
1716  // setters
1717 
1718 
1719  /// Check if variant Plus is selected.
1720  ///
1721  /// Plus type is defined as 'typedef CPlus TPlus'.
1722  /// @return
1723  /// - true, if the variant is selected.
1724  /// - false, otherwise.
1725  bool IsPlus(void) const;
1726 
1727  /// Get the variant data.
1728  ///
1729  /// @return
1730  /// Reference to the data.
1731  const TPlus& GetPlus(void) const;
1732 
1733  /// Select the variant.
1734  ///
1735  /// @return
1736  /// Reference to the variant data.
1737  TPlus& SetPlus(void);
1738 
1739 
1740  /// Check if variant Times is selected.
1741  ///
1742  /// Times type is defined as 'typedef CTimes TTimes'.
1743  /// @return
1744  /// - true, if the variant is selected.
1745  /// - false, otherwise.
1746  bool IsTimes(void) const;
1747 
1748  /// Get the variant data.
1749  ///
1750  /// @return
1751  /// Reference to the data.
1752  const TTimes& GetTimes(void) const;
1753 
1754  /// Select the variant.
1755  ///
1756  /// @return
1757  /// Reference to the variant data.
1758  TTimes& SetTimes(void);
1759 
1760 
1761  /// Check if variant Gcd is selected.
1762  ///
1763  /// Gcd type is defined as 'typedef CGcd TGcd'.
1764  /// @return
1765  /// - true, if the variant is selected.
1766  /// - false, otherwise.
1767  bool IsGcd(void) const;
1768 
1769  /// Get the variant data.
1770  ///
1771  /// @return
1772  /// Reference to the data.
1773  const TGcd& GetGcd(void) const;
1774 
1775  /// Select the variant.
1776  ///
1777  /// @return
1778  /// Reference to the variant data.
1779  TGcd& SetGcd(void);
1780 
1781 
1782  /// Check if variant Lcm is selected.
1783  ///
1784  /// Lcm type is defined as 'typedef CLcm TLcm'.
1785  /// @return
1786  /// - true, if the variant is selected.
1787  /// - false, otherwise.
1788  bool IsLcm(void) const;
1789 
1790  /// Get the variant data.
1791  ///
1792  /// @return
1793  /// Reference to the data.
1794  const TLcm& GetLcm(void) const;
1795 
1796  /// Select the variant.
1797  ///
1798  /// @return
1799  /// Reference to the variant data.
1800  TLcm& SetLcm(void);
1801 
1802 
1803  private:
1804  // copy constructor and assignment operator
1807  // choice state
1809  // helper methods
1810  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
1811 
1812  static const char* const sm_SelectionNames[];
1813  // data
1814  NCBI_NS_NCBI::CSerialObject *m_object;
1815  };
1816  /////////////////////////////////////////////////////////////////////////////
1817  ///
1818  /// C_Nary_logical_mmlclass --
1819  ///
1820 
1822  {
1824  public:
1825  // constructor
1827  // destructor
1829 
1830  // type info
1832 
1833 
1834  /// Choice variants.
1835  enum E_Choice {
1836  e_not_set = 0, ///< No variant selected
1839  e_Xor
1840  };
1841  /// Maximum+1 value of the choice variant enumerator.
1843  e_MaxChoice = 4 ///< == e_Xor+1
1844  };
1845 
1846  /// Reset the whole object
1847  void Reset(void);
1848 
1849  /// Reset the selection (set it to e_not_set).
1850  void ResetSelection(void);
1851 
1852  /// Which variant is currently selected.
1853  ///
1854  /// @return
1855  /// Choice state enumerator.
1856  E_Choice Which(void) const;
1857 
1858  /// Verify selection, throw exception if it differs from the expected.
1859  ///
1860  /// @param index
1861  /// Expected selection.
1862  void CheckSelected(E_Choice index) const;
1863 
1864  /// Throw 'InvalidSelection' exception.
1865  ///
1866  /// @param index
1867  /// Expected selection.
1868  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
1869 
1870  /// Retrieve selection name (for diagnostic purposes).
1871  ///
1872  /// @param index
1873  /// One of possible selection states.
1874  /// @return
1875  /// Name string.
1876  static string SelectionName(E_Choice index);
1877 
1878  /// Select the requested variant if needed.
1879  ///
1880  /// @param index
1881  /// New selection state.
1882  /// @param reset
1883  /// Flag that defines the resetting of the variant data. The data will
1884  /// be reset if either the current selection differs from the new one,
1885  /// or the flag is set to eDoResetVariant.
1887  /// Select the requested variant if needed,
1888  /// allocating CObject variants from memory pool.
1889  void Select(E_Choice index,
1890  EResetVariant reset,
1891  CObjectMemoryPool* pool);
1892 
1893  // types
1894  typedef CAnd TAnd;
1895  typedef COr TOr;
1896  typedef CXor TXor;
1897 
1898  // getters
1899  // setters
1900 
1901 
1902  /// Check if variant And is selected.
1903  ///
1904  /// And type is defined as 'typedef CAnd TAnd'.
1905  /// @return
1906  /// - true, if the variant is selected.
1907  /// - false, otherwise.
1908  bool IsAnd(void) const;
1909 
1910  /// Get the variant data.
1911  ///
1912  /// @return
1913  /// Reference to the data.
1914  const TAnd& GetAnd(void) const;
1915 
1916  /// Select the variant.
1917  ///
1918  /// @return
1919  /// Reference to the variant data.
1920  TAnd& SetAnd(void);
1921 
1922 
1923  /// Check if variant Or is selected.
1924  ///
1925  /// Or type is defined as 'typedef COr TOr'.
1926  /// @return
1927  /// - true, if the variant is selected.
1928  /// - false, otherwise.
1929  bool IsOr(void) const;
1930 
1931  /// Get the variant data.
1932  ///
1933  /// @return
1934  /// Reference to the data.
1935  const TOr& GetOr(void) const;
1936 
1937  /// Select the variant.
1938  ///
1939  /// @return
1940  /// Reference to the variant data.
1941  TOr& SetOr(void);
1942 
1943 
1944  /// Check if variant Xor is selected.
1945  ///
1946  /// Xor type is defined as 'typedef CXor TXor'.
1947  /// @return
1948  /// - true, if the variant is selected.
1949  /// - false, otherwise.
1950  bool IsXor(void) const;
1951 
1952  /// Get the variant data.
1953  ///
1954  /// @return
1955  /// Reference to the data.
1956  const TXor& GetXor(void) const;
1957 
1958  /// Select the variant.
1959  ///
1960  /// @return
1961  /// Reference to the variant data.
1962  TXor& SetXor(void);
1963 
1964 
1965  private:
1966  // copy constructor and assignment operator
1969  // choice state
1971  // helper methods
1972  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
1973 
1974  static const char* const sm_SelectionNames[];
1975  // data
1976  NCBI_NS_NCBI::CSerialObject *m_object;
1977  };
1978  /////////////////////////////////////////////////////////////////////////////
1979  ///
1980  /// C_Unary_logical_mmlclass --
1981  ///
1982 
1984  {
1986  public:
1987  // constructor
1989  // destructor
1991 
1992  // type info
1994 
1995  // types
1996  typedef CNot TNot;
1997 
1998  // member index
1999  enum class E_memberIndex {
2000  e__allMandatory = 0,
2001  e_not
2002  };
2004 
2005  // getters
2006  // setters
2007 
2008  /// Check if a value has been assigned to Not data member.
2009  ///
2010  /// Data member Not is mandatory;
2011  /// its type is defined as 'typedef CNot TNot'
2012  /// @return
2013  /// - true, if a value has been assigned.
2014  /// - false, otherwise.
2015  bool IsSetNot(void) const;
2016 
2017  /// Check if value of Not member is getatable.
2018  ///
2019  /// @return
2020  /// - false; the data member of type 'NULL' has no value.
2021  bool CanGetNot(void) const;
2022 
2023  /// Reset Not data member.
2024  void ResetNot(void);
2025 
2026  /// Get the Not member data.
2027  ///
2028  /// @return
2029  /// Reference to the member data.
2030  const TNot& GetNot(void) const;
2031 
2032  /// Assign a value to Not data member.
2033  ///
2034  /// @param value
2035  /// Reference to value.
2036  void SetNot(TNot& value);
2037 
2038  /// Assign a value to Not data member.
2039  ///
2040  /// @return
2041  /// Reference to the data value.
2042  TNot& SetNot(void);
2043 
2044  /// Reset the whole object
2045  void Reset(void);
2046 
2047 
2048  private:
2049  // Prohibit copy constructor and assignment operator
2052 
2053  // data
2056  };
2057  /////////////////////////////////////////////////////////////////////////////
2058  ///
2059  /// C_Binary_logical_mmlclass --
2060  ///
2061 
2063  {
2065  public:
2066  // constructor
2068  // destructor
2070 
2071  // type info
2073 
2074 
2075  /// Choice variants.
2076  enum E_Choice {
2077  e_not_set = 0, ///< No variant selected
2079  e_Equivalent
2080  };
2081  /// Maximum+1 value of the choice variant enumerator.
2083  e_MaxChoice = 3 ///< == e_Equivalent+1
2084  };
2085 
2086  /// Reset the whole object
2087  void Reset(void);
2088 
2089  /// Reset the selection (set it to e_not_set).
2090  void ResetSelection(void);
2091 
2092  /// Which variant is currently selected.
2093  ///
2094  /// @return
2095  /// Choice state enumerator.
2096  E_Choice Which(void) const;
2097 
2098  /// Verify selection, throw exception if it differs from the expected.
2099  ///
2100  /// @param index
2101  /// Expected selection.
2102  void CheckSelected(E_Choice index) const;
2103 
2104  /// Throw 'InvalidSelection' exception.
2105  ///
2106  /// @param index
2107  /// Expected selection.
2108  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
2109 
2110  /// Retrieve selection name (for diagnostic purposes).
2111  ///
2112  /// @param index
2113  /// One of possible selection states.
2114  /// @return
2115  /// Name string.
2116  static string SelectionName(E_Choice index);
2117 
2118  /// Select the requested variant if needed.
2119  ///
2120  /// @param index
2121  /// New selection state.
2122  /// @param reset
2123  /// Flag that defines the resetting of the variant data. The data will
2124  /// be reset if either the current selection differs from the new one,
2125  /// or the flag is set to eDoResetVariant.
2127  /// Select the requested variant if needed,
2128  /// allocating CObject variants from memory pool.
2129  void Select(E_Choice index,
2130  EResetVariant reset,
2131  CObjectMemoryPool* pool);
2132 
2133  // types
2136 
2137  // getters
2138  // setters
2139 
2140 
2141  /// Check if variant Implies is selected.
2142  ///
2143  /// Implies type is defined as 'typedef CImplies TImplies'.
2144  /// @return
2145  /// - true, if the variant is selected.
2146  /// - false, otherwise.
2147  bool IsImplies(void) const;
2148 
2149  /// Get the variant data.
2150  ///
2151  /// @return
2152  /// Reference to the data.
2153  const TImplies& GetImplies(void) const;
2154 
2155  /// Select the variant.
2156  ///
2157  /// @return
2158  /// Reference to the variant data.
2159  TImplies& SetImplies(void);
2160 
2161 
2162  /// Check if variant Equivalent is selected.
2163  ///
2164  /// Equivalent type is defined as 'typedef CEquivalent TEquivalent'.
2165  /// @return
2166  /// - true, if the variant is selected.
2167  /// - false, otherwise.
2168  bool IsEquivalent(void) const;
2169 
2170  /// Get the variant data.
2171  ///
2172  /// @return
2173  /// Reference to the data.
2174  const TEquivalent& GetEquivalent(void) const;
2175 
2176  /// Select the variant.
2177  ///
2178  /// @return
2179  /// Reference to the variant data.
2180  TEquivalent& SetEquivalent(void);
2181 
2182 
2183  private:
2184  // copy constructor and assignment operator
2187  // choice state
2189  // helper methods
2190  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
2191 
2192  static const char* const sm_SelectionNames[];
2193  // data
2194  NCBI_NS_NCBI::CSerialObject *m_object;
2195  };
2196  /////////////////////////////////////////////////////////////////////////////
2197  ///
2198  /// C_Quantifier_mmlclass --
2199  ///
2200 
2202  {
2204  public:
2205  // constructor
2206  C_Quantifier_mmlclass(void);
2207  // destructor
2208  ~C_Quantifier_mmlclass(void);
2209 
2210  // type info
2212 
2213 
2214  /// Choice variants.
2215  enum E_Choice {
2216  e_not_set = 0, ///< No variant selected
2218  e_Exists
2219  };
2220  /// Maximum+1 value of the choice variant enumerator.
2222  e_MaxChoice = 3 ///< == e_Exists+1
2223  };
2224 
2225  /// Reset the whole object
2226  void Reset(void);
2227 
2228  /// Reset the selection (set it to e_not_set).
2229  void ResetSelection(void);
2230 
2231  /// Which variant is currently selected.
2232  ///
2233  /// @return
2234  /// Choice state enumerator.
2235  E_Choice Which(void) const;
2236 
2237  /// Verify selection, throw exception if it differs from the expected.
2238  ///
2239  /// @param index
2240  /// Expected selection.
2241  void CheckSelected(E_Choice index) const;
2242 
2243  /// Throw 'InvalidSelection' exception.
2244  ///
2245  /// @param index
2246  /// Expected selection.
2247  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
2248 
2249  /// Retrieve selection name (for diagnostic purposes).
2250  ///
2251  /// @param index
2252  /// One of possible selection states.
2253  /// @return
2254  /// Name string.
2255  static string SelectionName(E_Choice index);
2256 
2257  /// Select the requested variant if needed.
2258  ///
2259  /// @param index
2260  /// New selection state.
2261  /// @param reset
2262  /// Flag that defines the resetting of the variant data. The data will
2263  /// be reset if either the current selection differs from the new one,
2264  /// or the flag is set to eDoResetVariant.
2266  /// Select the requested variant if needed,
2267  /// allocating CObject variants from memory pool.
2268  void Select(E_Choice index,
2269  EResetVariant reset,
2270  CObjectMemoryPool* pool);
2271 
2272  // types
2273  typedef CForall TForall;
2274  typedef CExists TExists;
2275 
2276  // getters
2277  // setters
2278 
2279 
2280  /// Check if variant Forall is selected.
2281  ///
2282  /// Forall type is defined as 'typedef CForall TForall'.
2283  /// @return
2284  /// - true, if the variant is selected.
2285  /// - false, otherwise.
2286  bool IsForall(void) const;
2287 
2288  /// Get the variant data.
2289  ///
2290  /// @return
2291  /// Reference to the data.
2292  const TForall& GetForall(void) const;
2293 
2294  /// Select the variant.
2295  ///
2296  /// @return
2297  /// Reference to the variant data.
2298  TForall& SetForall(void);
2299 
2300 
2301  /// Check if variant Exists is selected.
2302  ///
2303  /// Exists type is defined as 'typedef CExists TExists'.
2304  /// @return
2305  /// - true, if the variant is selected.
2306  /// - false, otherwise.
2307  bool IsExists(void) const;
2308 
2309  /// Get the variant data.
2310  ///
2311  /// @return
2312  /// Reference to the data.
2313  const TExists& GetExists(void) const;
2314 
2315  /// Select the variant.
2316  ///
2317  /// @return
2318  /// Reference to the variant data.
2319  TExists& SetExists(void);
2320 
2321 
2322  private:
2323  // copy constructor and assignment operator
2326  // choice state
2328  // helper methods
2329  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
2330 
2331  static const char* const sm_SelectionNames[];
2332  // data
2333  NCBI_NS_NCBI::CSerialObject *m_object;
2334  };
2335  /////////////////////////////////////////////////////////////////////////////
2336  ///
2337  /// C_Nary_reln_mmlclass --
2338  ///
2339 
2341  {
2343  public:
2344  // constructor
2345  C_Nary_reln_mmlclass(void);
2346  // destructor
2347  ~C_Nary_reln_mmlclass(void);
2348 
2349  // type info
2351 
2352 
2353  /// Choice variants.
2354  enum E_Choice {
2355  e_not_set = 0, ///< No variant selected
2360  e_Leq
2361  };
2362  /// Maximum+1 value of the choice variant enumerator.
2364  e_MaxChoice = 6 ///< == e_Leq+1
2365  };
2366 
2367  /// Reset the whole object
2368  void Reset(void);
2369 
2370  /// Reset the selection (set it to e_not_set).
2371  void ResetSelection(void);
2372 
2373  /// Which variant is currently selected.
2374  ///
2375  /// @return
2376  /// Choice state enumerator.
2377  E_Choice Which(void) const;
2378 
2379  /// Verify selection, throw exception if it differs from the expected.
2380  ///
2381  /// @param index
2382  /// Expected selection.
2383  void CheckSelected(E_Choice index) const;
2384 
2385  /// Throw 'InvalidSelection' exception.
2386  ///
2387  /// @param index
2388  /// Expected selection.
2389  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
2390 
2391  /// Retrieve selection name (for diagnostic purposes).
2392  ///
2393  /// @param index
2394  /// One of possible selection states.
2395  /// @return
2396  /// Name string.
2397  static string SelectionName(E_Choice index);
2398 
2399  /// Select the requested variant if needed.
2400  ///
2401  /// @param index
2402  /// New selection state.
2403  /// @param reset
2404  /// Flag that defines the resetting of the variant data. The data will
2405  /// be reset if either the current selection differs from the new one,
2406  /// or the flag is set to eDoResetVariant.
2408  /// Select the requested variant if needed,
2409  /// allocating CObject variants from memory pool.
2410  void Select(E_Choice index,
2411  EResetVariant reset,
2412  CObjectMemoryPool* pool);
2413 
2414  // types
2415  typedef CEq TEq;
2416  typedef CGt TGt;
2417  typedef CLt TLt;
2418  typedef CGeq TGeq;
2419  typedef CLeq TLeq;
2420 
2421  // getters
2422  // setters
2423 
2424 
2425  /// Check if variant Eq is selected.
2426  ///
2427  /// Eq type is defined as 'typedef CEq TEq'.
2428  /// @return
2429  /// - true, if the variant is selected.
2430  /// - false, otherwise.
2431  bool IsEq(void) const;
2432 
2433  /// Get the variant data.
2434  ///
2435  /// @return
2436  /// Reference to the data.
2437  const TEq& GetEq(void) const;
2438 
2439  /// Select the variant.
2440  ///
2441  /// @return
2442  /// Reference to the variant data.
2443  TEq& SetEq(void);
2444 
2445 
2446  /// Check if variant Gt is selected.
2447  ///
2448  /// Gt type is defined as 'typedef CGt TGt'.
2449  /// @return
2450  /// - true, if the variant is selected.
2451  /// - false, otherwise.
2452  bool IsGt(void) const;
2453 
2454  /// Get the variant data.
2455  ///
2456  /// @return
2457  /// Reference to the data.
2458  const TGt& GetGt(void) const;
2459 
2460  /// Select the variant.
2461  ///
2462  /// @return
2463  /// Reference to the variant data.
2464  TGt& SetGt(void);
2465 
2466 
2467  /// Check if variant Lt is selected.
2468  ///
2469  /// Lt type is defined as 'typedef CLt TLt'.
2470  /// @return
2471  /// - true, if the variant is selected.
2472  /// - false, otherwise.
2473  bool IsLt(void) const;
2474 
2475  /// Get the variant data.
2476  ///
2477  /// @return
2478  /// Reference to the data.
2479  const TLt& GetLt(void) const;
2480 
2481  /// Select the variant.
2482  ///
2483  /// @return
2484  /// Reference to the variant data.
2485  TLt& SetLt(void);
2486 
2487 
2488  /// Check if variant Geq is selected.
2489  ///
2490  /// Geq type is defined as 'typedef CGeq TGeq'.
2491  /// @return
2492  /// - true, if the variant is selected.
2493  /// - false, otherwise.
2494  bool IsGeq(void) const;
2495 
2496  /// Get the variant data.
2497  ///
2498  /// @return
2499  /// Reference to the data.
2500  const TGeq& GetGeq(void) const;
2501 
2502  /// Select the variant.
2503  ///
2504  /// @return
2505  /// Reference to the variant data.
2506  TGeq& SetGeq(void);
2507 
2508 
2509  /// Check if variant Leq is selected.
2510  ///
2511  /// Leq type is defined as 'typedef CLeq TLeq'.
2512  /// @return
2513  /// - true, if the variant is selected.
2514  /// - false, otherwise.
2515  bool IsLeq(void) const;
2516 
2517  /// Get the variant data.
2518  ///
2519  /// @return
2520  /// Reference to the data.
2521  const TLeq& GetLeq(void) const;
2522 
2523  /// Select the variant.
2524  ///
2525  /// @return
2526  /// Reference to the variant data.
2527  TLeq& SetLeq(void);
2528 
2529 
2530  private:
2531  // copy constructor and assignment operator
2534  // choice state
2536  // helper methods
2537  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
2538 
2539  static const char* const sm_SelectionNames[];
2540  // data
2541  NCBI_NS_NCBI::CSerialObject *m_object;
2542  };
2543  /////////////////////////////////////////////////////////////////////////////
2544  ///
2545  /// C_Binary_reln_mmlclass --
2546  ///
2547 
2549  {
2551  public:
2552  // constructor
2553  C_Binary_reln_mmlclass(void);
2554  // destructor
2556 
2557  // type info
2559 
2560 
2561  /// Choice variants.
2562  enum E_Choice {
2563  e_not_set = 0, ///< No variant selected
2567  e_Tendsto
2568  };
2569  /// Maximum+1 value of the choice variant enumerator.
2571  e_MaxChoice = 5 ///< == e_Tendsto+1
2572  };
2573 
2574  /// Reset the whole object
2575  void Reset(void);
2576 
2577  /// Reset the selection (set it to e_not_set).
2578  void ResetSelection(void);
2579 
2580  /// Which variant is currently selected.
2581  ///
2582  /// @return
2583  /// Choice state enumerator.
2584  E_Choice Which(void) const;
2585 
2586  /// Verify selection, throw exception if it differs from the expected.
2587  ///
2588  /// @param index
2589  /// Expected selection.
2590  void CheckSelected(E_Choice index) const;
2591 
2592  /// Throw 'InvalidSelection' exception.
2593  ///
2594  /// @param index
2595  /// Expected selection.
2596  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
2597 
2598  /// Retrieve selection name (for diagnostic purposes).
2599  ///
2600  /// @param index
2601  /// One of possible selection states.
2602  /// @return
2603  /// Name string.
2604  static string SelectionName(E_Choice index);
2605 
2606  /// Select the requested variant if needed.
2607  ///
2608  /// @param index
2609  /// New selection state.
2610  /// @param reset
2611  /// Flag that defines the resetting of the variant data. The data will
2612  /// be reset if either the current selection differs from the new one,
2613  /// or the flag is set to eDoResetVariant.
2615  /// Select the requested variant if needed,
2616  /// allocating CObject variants from memory pool.
2617  void Select(E_Choice index,
2618  EResetVariant reset,
2619  CObjectMemoryPool* pool);
2620 
2621  // types
2622  typedef CNeq TNeq;
2623  typedef CApprox TApprox;
2626 
2627  // getters
2628  // setters
2629 
2630 
2631  /// Check if variant Neq is selected.
2632  ///
2633  /// Neq type is defined as 'typedef CNeq TNeq'.
2634  /// @return
2635  /// - true, if the variant is selected.
2636  /// - false, otherwise.
2637  bool IsNeq(void) const;
2638 
2639  /// Get the variant data.
2640  ///
2641  /// @return
2642  /// Reference to the data.
2643  const TNeq& GetNeq(void) const;
2644 
2645  /// Select the variant.
2646  ///
2647  /// @return
2648  /// Reference to the variant data.
2649  TNeq& SetNeq(void);
2650 
2651 
2652  /// Check if variant Approx is selected.
2653  ///
2654  /// Approx type is defined as 'typedef CApprox TApprox'.
2655  /// @return
2656  /// - true, if the variant is selected.
2657  /// - false, otherwise.
2658  bool IsApprox(void) const;
2659 
2660  /// Get the variant data.
2661  ///
2662  /// @return
2663  /// Reference to the data.
2664  const TApprox& GetApprox(void) const;
2665 
2666  /// Select the variant.
2667  ///
2668  /// @return
2669  /// Reference to the variant data.
2670  TApprox& SetApprox(void);
2671 
2672 
2673  /// Check if variant Factorof is selected.
2674  ///
2675  /// Factorof type is defined as 'typedef CFactorof TFactorof'.
2676  /// @return
2677  /// - true, if the variant is selected.
2678  /// - false, otherwise.
2679  bool IsFactorof(void) const;
2680 
2681  /// Get the variant data.
2682  ///
2683  /// @return
2684  /// Reference to the data.
2685  const TFactorof& GetFactorof(void) const;
2686 
2687  /// Select the variant.
2688  ///
2689  /// @return
2690  /// Reference to the variant data.
2691  TFactorof& SetFactorof(void);
2692 
2693 
2694  /// Check if variant Tendsto is selected.
2695  ///
2696  /// Tendsto type is defined as 'typedef CTendsto TTendsto'.
2697  /// @return
2698  /// - true, if the variant is selected.
2699  /// - false, otherwise.
2700  bool IsTendsto(void) const;
2701 
2702  /// Get the variant data.
2703  ///
2704  /// @return
2705  /// Reference to the data.
2706  const TTendsto& GetTendsto(void) const;
2707 
2708  /// Select the variant.
2709  ///
2710  /// @return
2711  /// Reference to the variant data.
2712  TTendsto& SetTendsto(void);
2713 
2714 
2715  private:
2716  // copy constructor and assignment operator
2719  // choice state
2721  // helper methods
2722  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
2723 
2724  static const char* const sm_SelectionNames[];
2725  // data
2726  NCBI_NS_NCBI::CSerialObject *m_object;
2727  };
2728  /////////////////////////////////////////////////////////////////////////////
2729  ///
2730  /// C_Int_mmlclass --
2731  ///
2732 
2734  {
2736  public:
2737  // constructor
2738  C_Int_mmlclass(void);
2739  // destructor
2740  ~C_Int_mmlclass(void);
2741 
2742  // type info
2744 
2745  // types
2746  typedef CInt TInt;
2747 
2748  // member index
2749  enum class E_memberIndex {
2750  e__allMandatory = 0,
2751  e_int
2752  };
2754 
2755  // getters
2756  // setters
2757 
2758  /// Check if a value has been assigned to Int data member.
2759  ///
2760  /// Data member Int is mandatory;
2761  /// its type is defined as 'typedef CInt TInt'
2762  /// @return
2763  /// - true, if a value has been assigned.
2764  /// - false, otherwise.
2765  bool IsSetInt(void) const;
2766 
2767  /// Check if value of Int member is getatable.
2768  ///
2769  /// @return
2770  /// - false; the data member of type 'NULL' has no value.
2771  bool CanGetInt(void) const;
2772 
2773  /// Reset Int data member.
2774  void ResetInt(void);
2775 
2776  /// Get the Int member data.
2777  ///
2778  /// @return
2779  /// Reference to the member data.
2780  const TInt& GetInt(void) const;
2781 
2782  /// Assign a value to Int data member.
2783  ///
2784  /// @param value
2785  /// Reference to value.
2786  void SetInt(TInt& value);
2787 
2788  /// Assign a value to Int data member.
2789  ///
2790  /// @return
2791  /// Reference to the data value.
2792  TInt& SetInt(void);
2793 
2794  /// Reset the whole object
2795  void Reset(void);
2796 
2797 
2798  private:
2799  // Prohibit copy constructor and assignment operator
2802 
2803  // data
2806  };
2807  /////////////////////////////////////////////////////////////////////////////
2808  ///
2809  /// C_Differential_Operator_mmlclass --
2810  ///
2811 
2813  {
2815  public:
2816  // constructor
2818  // destructor
2820 
2821  // type info
2823 
2824  // types
2825  typedef CDiff TDiff;
2826 
2827  // member index
2828  enum class E_memberIndex {
2829  e__allMandatory = 0,
2830  e_diff
2831  };
2833 
2834  // getters
2835  // setters
2836 
2837  /// Check if a value has been assigned to Diff data member.
2838  ///
2839  /// Data member Diff is mandatory;
2840  /// its type is defined as 'typedef CDiff TDiff'
2841  /// @return
2842  /// - true, if a value has been assigned.
2843  /// - false, otherwise.
2844  bool IsSetDiff(void) const;
2845 
2846  /// Check if value of Diff member is getatable.
2847  ///
2848  /// @return
2849  /// - false; the data member of type 'NULL' has no value.
2850  bool CanGetDiff(void) const;
2851 
2852  /// Reset Diff data member.
2853  void ResetDiff(void);
2854 
2855  /// Get the Diff member data.
2856  ///
2857  /// @return
2858  /// Reference to the member data.
2859  const TDiff& GetDiff(void) const;
2860 
2861  /// Assign a value to Diff data member.
2862  ///
2863  /// @param value
2864  /// Reference to value.
2865  void SetDiff(TDiff& value);
2866 
2867  /// Assign a value to Diff data member.
2868  ///
2869  /// @return
2870  /// Reference to the data value.
2871  TDiff& SetDiff(void);
2872 
2873  /// Reset the whole object
2874  void Reset(void);
2875 
2876 
2877  private:
2878  // Prohibit copy constructor and assignment operator
2881 
2882  // data
2885  };
2886  /////////////////////////////////////////////////////////////////////////////
2887  ///
2888  /// C_Partialdiff_mmlclass --
2889  ///
2890 
2892  {
2894  public:
2895  // constructor
2896  C_Partialdiff_mmlclass(void);
2897  // destructor
2899 
2900  // type info
2902 
2903  // types
2905 
2906  // member index
2907  enum class E_memberIndex {
2908  e__allMandatory = 0,
2910  };
2912 
2913  // getters
2914  // setters
2915 
2916  /// Check if a value has been assigned to Partialdiff data member.
2917  ///
2918  /// Data member Partialdiff is mandatory;
2919  /// its type is defined as 'typedef CPartialdiff TPartialdiff'
2920  /// @return
2921  /// - true, if a value has been assigned.
2922  /// - false, otherwise.
2923  bool IsSetPartialdiff(void) const;
2924 
2925  /// Check if value of Partialdiff member is getatable.
2926  ///
2927  /// @return
2928  /// - false; the data member of type 'NULL' has no value.
2929  bool CanGetPartialdiff(void) const;
2930 
2931  /// Reset Partialdiff data member.
2932  void ResetPartialdiff(void);
2933 
2934  /// Get the Partialdiff member data.
2935  ///
2936  /// @return
2937  /// Reference to the member data.
2938  const TPartialdiff& GetPartialdiff(void) const;
2939 
2940  /// Assign a value to Partialdiff data member.
2941  ///
2942  /// @param value
2943  /// Reference to value.
2945 
2946  /// Assign a value to Partialdiff data member.
2947  ///
2948  /// @return
2949  /// Reference to the data value.
2951 
2952  /// Reset the whole object
2953  void Reset(void);
2954 
2955 
2956  private:
2957  // Prohibit copy constructor and assignment operator
2960 
2961  // data
2964  };
2965  /////////////////////////////////////////////////////////////////////////////
2966  ///
2967  /// C_Unary_veccalc_mmlclass --
2968  ///
2969 
2971  {
2973  public:
2974  // constructor
2976  // destructor
2978 
2979  // type info
2981 
2982 
2983  /// Choice variants.
2984  enum E_Choice {
2985  e_not_set = 0, ///< No variant selected
2989  e_Laplacian
2990  };
2991  /// Maximum+1 value of the choice variant enumerator.
2993  e_MaxChoice = 5 ///< == e_Laplacian+1
2994  };
2995 
2996  /// Reset the whole object
2997  void Reset(void);
2998 
2999  /// Reset the selection (set it to e_not_set).
3000  void ResetSelection(void);
3001 
3002  /// Which variant is currently selected.
3003  ///
3004  /// @return
3005  /// Choice state enumerator.
3006  E_Choice Which(void) const;
3007 
3008  /// Verify selection, throw exception if it differs from the expected.
3009  ///
3010  /// @param index
3011  /// Expected selection.
3012  void CheckSelected(E_Choice index) const;
3013 
3014  /// Throw 'InvalidSelection' exception.
3015  ///
3016  /// @param index
3017  /// Expected selection.
3018  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
3019 
3020  /// Retrieve selection name (for diagnostic purposes).
3021  ///
3022  /// @param index
3023  /// One of possible selection states.
3024  /// @return
3025  /// Name string.
3026  static string SelectionName(E_Choice index);
3027 
3028  /// Select the requested variant if needed.
3029  ///
3030  /// @param index
3031  /// New selection state.
3032  /// @param reset
3033  /// Flag that defines the resetting of the variant data. The data will
3034  /// be reset if either the current selection differs from the new one,
3035  /// or the flag is set to eDoResetVariant.
3037  /// Select the requested variant if needed,
3038  /// allocating CObject variants from memory pool.
3039  void Select(E_Choice index,
3040  EResetVariant reset,
3041  CObjectMemoryPool* pool);
3042 
3043  // types
3045  typedef CGrad TGrad;
3046  typedef CCurl TCurl;
3048 
3049  // getters
3050  // setters
3051 
3052 
3053  /// Check if variant Divergence is selected.
3054  ///
3055  /// Divergence type is defined as 'typedef CDivergence TDivergence'.
3056  /// @return
3057  /// - true, if the variant is selected.
3058  /// - false, otherwise.
3059  bool IsDivergence(void) const;
3060 
3061  /// Get the variant data.
3062  ///
3063  /// @return
3064  /// Reference to the data.
3065  const TDivergence& GetDivergence(void) const;
3066 
3067  /// Select the variant.
3068  ///
3069  /// @return
3070  /// Reference to the variant data.
3071  TDivergence& SetDivergence(void);
3072 
3073 
3074  /// Check if variant Grad is selected.
3075  ///
3076  /// Grad type is defined as 'typedef CGrad TGrad'.
3077  /// @return
3078  /// - true, if the variant is selected.
3079  /// - false, otherwise.
3080  bool IsGrad(void) const;
3081 
3082  /// Get the variant data.
3083  ///
3084  /// @return
3085  /// Reference to the data.
3086  const TGrad& GetGrad(void) const;
3087 
3088  /// Select the variant.
3089  ///
3090  /// @return
3091  /// Reference to the variant data.
3092  TGrad& SetGrad(void);
3093 
3094 
3095  /// Check if variant Curl is selected.
3096  ///
3097  /// Curl type is defined as 'typedef CCurl TCurl'.
3098  /// @return
3099  /// - true, if the variant is selected.
3100  /// - false, otherwise.
3101  bool IsCurl(void) const;
3102 
3103  /// Get the variant data.
3104  ///
3105  /// @return
3106  /// Reference to the data.
3107  const TCurl& GetCurl(void) const;
3108 
3109  /// Select the variant.
3110  ///
3111  /// @return
3112  /// Reference to the variant data.
3113  TCurl& SetCurl(void);
3114 
3115 
3116  /// Check if variant Laplacian is selected.
3117  ///
3118  /// Laplacian type is defined as 'typedef CLaplacian TLaplacian'.
3119  /// @return
3120  /// - true, if the variant is selected.
3121  /// - false, otherwise.
3122  bool IsLaplacian(void) const;
3123 
3124  /// Get the variant data.
3125  ///
3126  /// @return
3127  /// Reference to the data.
3128  const TLaplacian& GetLaplacian(void) const;
3129 
3130  /// Select the variant.
3131  ///
3132  /// @return
3133  /// Reference to the variant data.
3134  TLaplacian& SetLaplacian(void);
3135 
3136 
3137  private:
3138  // copy constructor and assignment operator
3141  // choice state
3143  // helper methods
3144  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
3145 
3146  static const char* const sm_SelectionNames[];
3147  // data
3148  NCBI_NS_NCBI::CSerialObject *m_object;
3149  };
3150  /////////////////////////////////////////////////////////////////////////////
3151  ///
3152  /// C_Nary_setlist_constructor_mmlclass --
3153  ///
3154 
3156  {
3158  public:
3159  // constructor
3161  // destructor
3163 
3164  // type info
3166 
3167 
3168  /// Choice variants.
3169  enum E_Choice {
3170  e_not_set = 0, ///< No variant selected
3172  e_List
3173  };
3174  /// Maximum+1 value of the choice variant enumerator.
3176  e_MaxChoice = 3 ///< == e_List+1
3177  };
3178 
3179  /// Reset the whole object
3180  void Reset(void);
3181 
3182  /// Reset the selection (set it to e_not_set).
3183  void ResetSelection(void);
3184 
3185  /// Which variant is currently selected.
3186  ///
3187  /// @return
3188  /// Choice state enumerator.
3189  E_Choice Which(void) const;
3190 
3191  /// Verify selection, throw exception if it differs from the expected.
3192  ///
3193  /// @param index
3194  /// Expected selection.
3195  void CheckSelected(E_Choice index) const;
3196 
3197  /// Throw 'InvalidSelection' exception.
3198  ///
3199  /// @param index
3200  /// Expected selection.
3201  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
3202 
3203  /// Retrieve selection name (for diagnostic purposes).
3204  ///
3205  /// @param index
3206  /// One of possible selection states.
3207  /// @return
3208  /// Name string.
3209  static string SelectionName(E_Choice index);
3210 
3211  /// Select the requested variant if needed.
3212  ///
3213  /// @param index
3214  /// New selection state.
3215  /// @param reset
3216  /// Flag that defines the resetting of the variant data. The data will
3217  /// be reset if either the current selection differs from the new one,
3218  /// or the flag is set to eDoResetVariant.
3220  /// Select the requested variant if needed,
3221  /// allocating CObject variants from memory pool.
3222  void Select(E_Choice index,
3223  EResetVariant reset,
3224  CObjectMemoryPool* pool);
3225 
3226  // types
3227  typedef CSet TSet;
3228  typedef CList TList;
3229 
3230  // getters
3231  // setters
3232 
3233 
3234  /// Check if variant Set is selected.
3235  ///
3236  /// Set type is defined as 'typedef CSet TSet'.
3237  /// @return
3238  /// - true, if the variant is selected.
3239  /// - false, otherwise.
3240  bool IsSet(void) const;
3241 
3242  /// Get the variant data.
3243  ///
3244  /// @return
3245  /// Reference to the data.
3246  const TSet& GetSet(void) const;
3247 
3248  /// Select the variant.
3249  ///
3250  /// @return
3251  /// Reference to the variant data.
3252  TSet& SetSet(void);
3253  /// Select the variant and set its data.
3254  ///
3255  /// @param value
3256  /// Reference to the data.
3257  void SetSet(TSet& value);
3258 
3259 
3260  /// Check if variant List is selected.
3261  ///
3262  /// List type is defined as 'typedef CList TList'.
3263  /// @return
3264  /// - true, if the variant is selected.
3265  /// - false, otherwise.
3266  bool IsList(void) const;
3267 
3268  /// Get the variant data.
3269  ///
3270  /// @return
3271  /// Reference to the data.
3272  const TList& GetList(void) const;
3273 
3274  /// Select the variant.
3275  ///
3276  /// @return
3277  /// Reference to the variant data.
3278  TList& SetList(void);
3279  /// Select the variant and set its data.
3280  ///
3281  /// @param value
3282  /// Reference to the data.
3283  void SetList(TList& value);
3284 
3285 
3286  private:
3287  // copy constructor and assignment operator
3290  // choice state
3292  // helper methods
3293  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
3294 
3295  static const char* const sm_SelectionNames[];
3296  // data
3297  NCBI_NS_NCBI::CSerialObject *m_object;
3298  };
3299  /////////////////////////////////////////////////////////////////////////////
3300  ///
3301  /// C_Nary_set_mmlclass --
3302  ///
3303 
3305  {
3307  public:
3308  // constructor
3309  C_Nary_set_mmlclass(void);
3310  // destructor
3311  ~C_Nary_set_mmlclass(void);
3312 
3313  // type info
3315 
3316 
3317  /// Choice variants.
3318  enum E_Choice {
3319  e_not_set = 0, ///< No variant selected
3323  };
3324  /// Maximum+1 value of the choice variant enumerator.
3326  e_MaxChoice = 4 ///< == e_Cartesianproduct+1
3327  };
3328 
3329  /// Reset the whole object
3330  void Reset(void);
3331 
3332  /// Reset the selection (set it to e_not_set).
3333  void ResetSelection(void);
3334 
3335  /// Which variant is currently selected.
3336  ///
3337  /// @return
3338  /// Choice state enumerator.
3339  E_Choice Which(void) const;
3340 
3341  /// Verify selection, throw exception if it differs from the expected.
3342  ///
3343  /// @param index
3344  /// Expected selection.
3345  void CheckSelected(E_Choice index) const;
3346 
3347  /// Throw 'InvalidSelection' exception.
3348  ///
3349  /// @param index
3350  /// Expected selection.
3351  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
3352 
3353  /// Retrieve selection name (for diagnostic purposes).
3354  ///
3355  /// @param index
3356  /// One of possible selection states.
3357  /// @return
3358  /// Name string.
3359  static string SelectionName(E_Choice index);
3360 
3361  /// Select the requested variant if needed.
3362  ///
3363  /// @param index
3364  /// New selection state.
3365  /// @param reset
3366  /// Flag that defines the resetting of the variant data. The data will
3367  /// be reset if either the current selection differs from the new one,
3368  /// or the flag is set to eDoResetVariant.
3370  /// Select the requested variant if needed,
3371  /// allocating CObject variants from memory pool.
3372  void Select(E_Choice index,
3373  EResetVariant reset,
3374  CObjectMemoryPool* pool);
3375 
3376  // types
3377  typedef CUnion TUnion;
3380 
3381  // getters
3382  // setters
3383 
3384 
3385  /// Check if variant Union is selected.
3386  ///
3387  /// Union type is defined as 'typedef CUnion TUnion'.
3388  /// @return
3389  /// - true, if the variant is selected.
3390  /// - false, otherwise.
3391  bool IsUnion(void) const;
3392 
3393  /// Get the variant data.
3394  ///
3395  /// @return
3396  /// Reference to the data.
3397  const TUnion& GetUnion(void) const;
3398 
3399  /// Select the variant.
3400  ///
3401  /// @return
3402  /// Reference to the variant data.
3403  TUnion& SetUnion(void);
3404 
3405 
3406  /// Check if variant Intersect is selected.
3407  ///
3408  /// Intersect type is defined as 'typedef CIntersect TIntersect'.
3409  /// @return
3410  /// - true, if the variant is selected.
3411  /// - false, otherwise.
3412  bool IsIntersect(void) const;
3413 
3414  /// Get the variant data.
3415  ///
3416  /// @return
3417  /// Reference to the data.
3418  const TIntersect& GetIntersect(void) const;
3419 
3420  /// Select the variant.
3421  ///
3422  /// @return
3423  /// Reference to the variant data.
3424  TIntersect& SetIntersect(void);
3425 
3426 
3427  /// Check if variant Cartesianproduct is selected.
3428  ///
3429  /// Cartesianproduct type is defined as 'typedef CCartesianproduct TCartesianproduct'.
3430  /// @return
3431  /// - true, if the variant is selected.
3432  /// - false, otherwise.
3433  bool IsCartesianproduct(void) const;
3434 
3435  /// Get the variant data.
3436  ///
3437  /// @return
3438  /// Reference to the data.
3439  const TCartesianproduct& GetCartesianproduct(void) const;
3440 
3441  /// Select the variant.
3442  ///
3443  /// @return
3444  /// Reference to the variant data.
3446 
3447 
3448  private:
3449  // copy constructor and assignment operator
3452  // choice state
3454  // helper methods
3455  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
3456 
3457  static const char* const sm_SelectionNames[];
3458  // data
3459  NCBI_NS_NCBI::CSerialObject *m_object;
3460  };
3461  /////////////////////////////////////////////////////////////////////////////
3462  ///
3463  /// C_Binary_set_mmlclass --
3464  ///
3465 
3467  {
3469  public:
3470  // constructor
3471  C_Binary_set_mmlclass(void);
3472  // destructor
3473  ~C_Binary_set_mmlclass(void);
3474 
3475  // type info
3477 
3478 
3479  /// Choice variants.
3480  enum E_Choice {
3481  e_not_set = 0, ///< No variant selected
3486  e_Setdiff
3487  };
3488  /// Maximum+1 value of the choice variant enumerator.
3490  e_MaxChoice = 6 ///< == e_Setdiff+1
3491  };
3492 
3493  /// Reset the whole object
3494  void Reset(void);
3495 
3496  /// Reset the selection (set it to e_not_set).
3497  void ResetSelection(void);
3498 
3499  /// Which variant is currently selected.
3500  ///
3501  /// @return
3502  /// Choice state enumerator.
3503  E_Choice Which(void) const;
3504 
3505  /// Verify selection, throw exception if it differs from the expected.
3506  ///
3507  /// @param index
3508  /// Expected selection.
3509  void CheckSelected(E_Choice index) const;
3510 
3511  /// Throw 'InvalidSelection' exception.
3512  ///
3513  /// @param index
3514  /// Expected selection.
3515  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
3516 
3517  /// Retrieve selection name (for diagnostic purposes).
3518  ///
3519  /// @param index
3520  /// One of possible selection states.
3521  /// @return
3522  /// Name string.
3523  static string SelectionName(E_Choice index);
3524 
3525  /// Select the requested variant if needed.
3526  ///
3527  /// @param index
3528  /// New selection state.
3529  /// @param reset
3530  /// Flag that defines the resetting of the variant data. The data will
3531  /// be reset if either the current selection differs from the new one,
3532  /// or the flag is set to eDoResetVariant.
3534  /// Select the requested variant if needed,
3535  /// allocating CObject variants from memory pool.
3536  void Select(E_Choice index,
3537  EResetVariant reset,
3538  CObjectMemoryPool* pool);
3539 
3540  // types
3541  typedef CIn TIn;
3542  typedef CNotin TNotin;
3546 
3547  // getters
3548  // setters
3549 
3550 
3551  /// Check if variant In is selected.
3552  ///
3553  /// In type is defined as 'typedef CIn TIn'.
3554  /// @return
3555  /// - true, if the variant is selected.
3556  /// - false, otherwise.
3557  bool IsIn(void) const;
3558 
3559  /// Get the variant data.
3560  ///
3561  /// @return
3562  /// Reference to the data.
3563  const TIn& GetIn(void) const;
3564 
3565  /// Select the variant.
3566  ///
3567  /// @return
3568  /// Reference to the variant data.
3569  TIn& SetIn(void);
3570 
3571 
3572  /// Check if variant Notin is selected.
3573  ///
3574  /// Notin type is defined as 'typedef CNotin TNotin'.
3575  /// @return
3576  /// - true, if the variant is selected.
3577  /// - false, otherwise.
3578  bool IsNotin(void) const;
3579 
3580  /// Get the variant data.
3581  ///
3582  /// @return
3583  /// Reference to the data.
3584  const TNotin& GetNotin(void) const;
3585 
3586  /// Select the variant.
3587  ///
3588  /// @return
3589  /// Reference to the variant data.
3590  TNotin& SetNotin(void);
3591 
3592 
3593  /// Check if variant Notsubset is selected.
3594  ///
3595  /// Notsubset type is defined as 'typedef CNotsubset TNotsubset'.
3596  /// @return
3597  /// - true, if the variant is selected.
3598  /// - false, otherwise.
3599  bool IsNotsubset(void) const;
3600 
3601  /// Get the variant data.
3602  ///
3603  /// @return
3604  /// Reference to the data.
3605  const TNotsubset& GetNotsubset(void) const;
3606 
3607  /// Select the variant.
3608  ///
3609  /// @return
3610  /// Reference to the variant data.
3611  TNotsubset& SetNotsubset(void);
3612 
3613 
3614  /// Check if variant Notprsubset is selected.
3615  ///
3616  /// Notprsubset type is defined as 'typedef CNotprsubset TNotprsubset'.
3617  /// @return
3618  /// - true, if the variant is selected.
3619  /// - false, otherwise.
3620  bool IsNotprsubset(void) const;
3621 
3622  /// Get the variant data.
3623  ///
3624  /// @return
3625  /// Reference to the data.
3626  const TNotprsubset& GetNotprsubset(void) const;
3627 
3628  /// Select the variant.
3629  ///
3630  /// @return
3631  /// Reference to the variant data.
3633 
3634 
3635  /// Check if variant Setdiff is selected.
3636  ///
3637  /// Setdiff type is defined as 'typedef CSetdiff TSetdiff'.
3638  /// @return
3639  /// - true, if the variant is selected.
3640  /// - false, otherwise.
3641  bool IsSetdiff(void) const;
3642 
3643  /// Get the variant data.
3644  ///
3645  /// @return
3646  /// Reference to the data.
3647  const TSetdiff& GetSetdiff(void) const;
3648 
3649  /// Select the variant.
3650  ///
3651  /// @return
3652  /// Reference to the variant data.
3653  TSetdiff& SetSetdiff(void);
3654 
3655 
3656  private:
3657  // copy constructor and assignment operator
3660  // choice state
3662  // helper methods
3663  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
3664 
3665  static const char* const sm_SelectionNames[];
3666  // data
3667  NCBI_NS_NCBI::CSerialObject *m_object;
3668  };
3669  /////////////////////////////////////////////////////////////////////////////
3670  ///
3671  /// C_Nary_set_reln_mmlclass --
3672  ///
3673 
3675  {
3677  public:
3678  // constructor
3680  // destructor
3682 
3683  // type info
3685 
3686 
3687  /// Choice variants.
3688  enum E_Choice {
3689  e_not_set = 0, ///< No variant selected
3691  e_Prsubset
3692  };
3693  /// Maximum+1 value of the choice variant enumerator.
3695  e_MaxChoice = 3 ///< == e_Prsubset+1
3696  };
3697 
3698  /// Reset the whole object
3699  void Reset(void);
3700 
3701  /// Reset the selection (set it to e_not_set).
3702  void ResetSelection(void);
3703 
3704  /// Which variant is currently selected.
3705  ///
3706  /// @return
3707  /// Choice state enumerator.
3708  E_Choice Which(void) const;
3709 
3710  /// Verify selection, throw exception if it differs from the expected.
3711  ///
3712  /// @param index
3713  /// Expected selection.
3714  void CheckSelected(E_Choice index) const;
3715 
3716  /// Throw 'InvalidSelection' exception.
3717  ///
3718  /// @param index
3719  /// Expected selection.
3720  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
3721 
3722  /// Retrieve selection name (for diagnostic purposes).
3723  ///
3724  /// @param index
3725  /// One of possible selection states.
3726  /// @return
3727  /// Name string.
3728  static string SelectionName(E_Choice index);
3729 
3730  /// Select the requested variant if needed.
3731  ///
3732  /// @param index
3733  /// New selection state.
3734  /// @param reset
3735  /// Flag that defines the resetting of the variant data. The data will
3736  /// be reset if either the current selection differs from the new one,
3737  /// or the flag is set to eDoResetVariant.
3739  /// Select the requested variant if needed,
3740  /// allocating CObject variants from memory pool.
3741  void Select(E_Choice index,
3742  EResetVariant reset,
3743  CObjectMemoryPool* pool);
3744 
3745  // types
3746  typedef CSubset TSubset;
3748 
3749  // getters
3750  // setters
3751 
3752 
3753  /// Check if variant Subset is selected.
3754  ///
3755  /// Subset type is defined as 'typedef CSubset TSubset'.
3756  /// @return
3757  /// - true, if the variant is selected.
3758  /// - false, otherwise.
3759  bool IsSubset(void) const;
3760 
3761  /// Get the variant data.
3762  ///
3763  /// @return
3764  /// Reference to the data.
3765  const TSubset& GetSubset(void) const;
3766 
3767  /// Select the variant.
3768  ///
3769  /// @return
3770  /// Reference to the variant data.
3771  TSubset& SetSubset(void);
3772 
3773 
3774  /// Check if variant Prsubset is selected.
3775  ///
3776  /// Prsubset type is defined as 'typedef CPrsubset TPrsubset'.
3777  /// @return
3778  /// - true, if the variant is selected.
3779  /// - false, otherwise.
3780  bool IsPrsubset(void) const;
3781 
3782  /// Get the variant data.
3783  ///
3784  /// @return
3785  /// Reference to the data.
3786  const TPrsubset& GetPrsubset(void) const;
3787 
3788  /// Select the variant.
3789  ///
3790  /// @return
3791  /// Reference to the variant data.
3792  TPrsubset& SetPrsubset(void);
3793 
3794 
3795  private:
3796  // copy constructor and assignment operator
3799  // choice state
3801  // helper methods
3802  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
3803 
3804  static const char* const sm_SelectionNames[];
3805  // data
3806  NCBI_NS_NCBI::CSerialObject *m_object;
3807  };
3808  /////////////////////////////////////////////////////////////////////////////
3809  ///
3810  /// C_Unary_set_mmlclass --
3811  ///
3812 
3814  {
3816  public:
3817  // constructor
3818  C_Unary_set_mmlclass(void);
3819  // destructor
3820  ~C_Unary_set_mmlclass(void);
3821 
3822  // type info
3824 
3825  // types
3826  typedef CCard TCard;
3827 
3828  // member index
3829  enum class E_memberIndex {
3830  e__allMandatory = 0,
3831  e_card
3832  };
3834 
3835  // getters
3836  // setters
3837 
3838  /// Check if a value has been assigned to Card data member.
3839  ///
3840  /// Data member Card is mandatory;
3841  /// its type is defined as 'typedef CCard TCard'
3842  /// @return
3843  /// - true, if a value has been assigned.
3844  /// - false, otherwise.
3845  bool IsSetCard(void) const;
3846 
3847  /// Check if value of Card member is getatable.
3848  ///
3849  /// @return
3850  /// - false; the data member of type 'NULL' has no value.
3851  bool CanGetCard(void) const;
3852 
3853  /// Reset Card data member.
3854  void ResetCard(void);
3855 
3856  /// Get the Card member data.
3857  ///
3858  /// @return
3859  /// Reference to the member data.
3860  const TCard& GetCard(void) const;
3861 
3862  /// Assign a value to Card data member.
3863  ///
3864  /// @param value
3865  /// Reference to value.
3866  void SetCard(TCard& value);
3867 
3868  /// Assign a value to Card data member.
3869  ///
3870  /// @return
3871  /// Reference to the data value.
3872  TCard& SetCard(void);
3873 
3874  /// Reset the whole object
3875  void Reset(void);
3876 
3877 
3878  private:
3879  // Prohibit copy constructor and assignment operator
3882 
3883  // data
3886  };
3887  /////////////////////////////////////////////////////////////////////////////
3888  ///
3889  /// C_Sum_mmlclass --
3890  ///
3891 
3893  {
3895  public:
3896  // constructor
3897  C_Sum_mmlclass(void);
3898  // destructor
3899  ~C_Sum_mmlclass(void);
3900 
3901  // type info
3903 
3904  // types
3905  typedef CSum TSum;
3906 
3907  // member index
3908  enum class E_memberIndex {
3909  e__allMandatory = 0,
3910  e_sum
3911  };
3913 
3914  // getters
3915  // setters
3916 
3917  /// Check if a value has been assigned to Sum data member.
3918  ///
3919  /// Data member Sum is mandatory;
3920  /// its type is defined as 'typedef CSum TSum'
3921  /// @return
3922  /// - true, if a value has been assigned.
3923  /// - false, otherwise.
3924  bool IsSetSum(void) const;
3925 
3926  /// Check if value of Sum member is getatable.
3927  ///
3928  /// @return
3929  /// - false; the data member of type 'NULL' has no value.
3930  bool CanGetSum(void) const;
3931 
3932  /// Reset Sum data member.
3933  void ResetSum(void);
3934 
3935  /// Get the Sum member data.
3936  ///
3937  /// @return
3938  /// Reference to the member data.
3939  const TSum& GetSum(void) const;
3940 
3941  /// Assign a value to Sum data member.
3942  ///
3943  /// @param value
3944  /// Reference to value.
3945  void SetSum(TSum& value);
3946 
3947  /// Assign a value to Sum data member.
3948  ///
3949  /// @return
3950  /// Reference to the data value.
3951  TSum& SetSum(void);
3952 
3953  /// Reset the whole object
3954  void Reset(void);
3955 
3956 
3957  private:
3958  // Prohibit copy constructor and assignment operator
3961 
3962  // data
3965  };
3966  /////////////////////////////////////////////////////////////////////////////
3967  ///
3968  /// C_Product_mmlclass --
3969  ///
3970 
3972  {
3974  public:
3975  // constructor
3976  C_Product_mmlclass(void);
3977  // destructor
3978  ~C_Product_mmlclass(void);
3979 
3980  // type info
3982 
3983  // types
3985 
3986  // member index
3987  enum class E_memberIndex {
3988  e__allMandatory = 0,
3989  e_product
3990  };
3992 
3993  // getters
3994  // setters
3995 
3996  /// Check if a value has been assigned to Product data member.
3997  ///
3998  /// Data member Product is mandatory;
3999  /// its type is defined as 'typedef CProduct TProduct'
4000  /// @return
4001  /// - true, if a value has been assigned.
4002  /// - false, otherwise.
4003  bool IsSetProduct(void) const;
4004 
4005  /// Check if value of Product member is getatable.
4006  ///
4007  /// @return
4008  /// - false; the data member of type 'NULL' has no value.
4009  bool CanGetProduct(void) const;
4010 
4011  /// Reset Product data member.
4012  void ResetProduct(void);
4013 
4014  /// Get the Product member data.
4015  ///
4016  /// @return
4017  /// Reference to the member data.
4018  const TProduct& GetProduct(void) const;
4019 
4020  /// Assign a value to Product data member.
4021  ///
4022  /// @param value
4023  /// Reference to value.
4024  void SetProduct(TProduct& value);
4025 
4026  /// Assign a value to Product data member.
4027  ///
4028  /// @return
4029  /// Reference to the data value.
4030  TProduct& SetProduct(void);
4031 
4032  /// Reset the whole object
4033  void Reset(void);
4034 
4035 
4036  private:
4037  // Prohibit copy constructor and assignment operator
4040 
4041  // data
4044  };
4045  /////////////////////////////////////////////////////////////////////////////
4046  ///
4047  /// C_Limit_mmlclass --
4048  ///
4049 
4051  {
4053  public:
4054  // constructor
4055  C_Limit_mmlclass(void);
4056  // destructor
4057  ~C_Limit_mmlclass(void);
4058 
4059  // type info
4061 
4062  // types
4063  typedef CLimit TLimit;
4064 
4065  // member index
4066  enum class E_memberIndex {
4067  e__allMandatory = 0,
4068  e_limit
4069  };
4071 
4072  // getters
4073  // setters
4074 
4075  /// Check if a value has been assigned to Limit data member.
4076  ///
4077  /// Data member Limit is mandatory;
4078  /// its type is defined as 'typedef CLimit TLimit'
4079  /// @return
4080  /// - true, if a value has been assigned.
4081  /// - false, otherwise.
4082  bool IsSetLimit(void) const;
4083 
4084  /// Check if value of Limit member is getatable.
4085  ///
4086  /// @return
4087  /// - false; the data member of type 'NULL' has no value.
4088  bool CanGetLimit(void) const;
4089 
4090  /// Reset Limit data member.
4091  void ResetLimit(void);
4092 
4093  /// Get the Limit member data.
4094  ///
4095  /// @return
4096  /// Reference to the member data.
4097  const TLimit& GetLimit(void) const;
4098 
4099  /// Assign a value to Limit data member.
4100  ///
4101  /// @param value
4102  /// Reference to value.
4103  void SetLimit(TLimit& value);
4104 
4105  /// Assign a value to Limit data member.
4106  ///
4107  /// @return
4108  /// Reference to the data value.
4109  TLimit& SetLimit(void);
4110 
4111  /// Reset the whole object
4112  void Reset(void);
4113 
4114 
4115  private:
4116  // Prohibit copy constructor and assignment operator
4119 
4120  // data
4123  };
4124  /////////////////////////////////////////////////////////////////////////////
4125  ///
4126  /// C_Unary_elementary_mmlclass --
4127  ///
4128 
4130  {
4132  public:
4133  // constructor
4135  // destructor
4137 
4138  // type info
4140 
4141 
4142  /// Choice variants.
4143  enum E_Choice {
4144  e_not_set = 0, ///< No variant selected
4168  e_Arctanh
4169  };
4170  /// Maximum+1 value of the choice variant enumerator.
4172  e_MaxChoice = 25 ///< == e_Arctanh+1
4173  };
4174 
4175  /// Reset the whole object
4176  void Reset(void);
4177 
4178  /// Reset the selection (set it to e_not_set).
4179  void ResetSelection(void);
4180 
4181  /// Which variant is currently selected.
4182  ///
4183  /// @return
4184  /// Choice state enumerator.
4185  E_Choice Which(void) const;
4186 
4187  /// Verify selection, throw exception if it differs from the expected.
4188  ///
4189  /// @param index
4190  /// Expected selection.
4191  void CheckSelected(E_Choice index) const;
4192 
4193  /// Throw 'InvalidSelection' exception.
4194  ///
4195  /// @param index
4196  /// Expected selection.
4197  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
4198 
4199  /// Retrieve selection name (for diagnostic purposes).
4200  ///
4201  /// @param index
4202  /// One of possible selection states.
4203  /// @return
4204  /// Name string.
4205  static string SelectionName(E_Choice index);
4206 
4207  /// Select the requested variant if needed.
4208  ///
4209  /// @param index
4210  /// New selection state.
4211  /// @param reset
4212  /// Flag that defines the resetting of the variant data. The data will
4213  /// be reset if either the current selection differs from the new one,
4214  /// or the flag is set to eDoResetVariant.
4216  /// Select the requested variant if needed,
4217  /// allocating CObject variants from memory pool.
4218  void Select(E_Choice index,
4219  EResetVariant reset,
4220  CObjectMemoryPool* pool);
4221 
4222  // types
4223  typedef CSin TSin;
4224  typedef CCos TCos;
4225  typedef CTan TTan;
4226  typedef CSec TSec;
4227  typedef CCsc TCsc;
4228  typedef CCot TCot;
4229  typedef CSinh TSinh;
4230  typedef CCosh TCosh;
4231  typedef CTanh TTanh;
4232  typedef CSech TSech;
4233  typedef CCsch TCsch;
4234  typedef CCoth TCoth;
4235  typedef CArcsin TArcsin;
4236  typedef CArccos TArccos;
4237  typedef CArctan TArctan;
4239  typedef CArccot TArccot;
4241  typedef CArccsc TArccsc;
4243  typedef CArcsec TArcsec;
4247 
4248  // getters
4249  // setters
4250 
4251 
4252  /// Check if variant Sin is selected.
4253  ///
4254  /// Sin type is defined as 'typedef CSin TSin'.
4255  /// @return
4256  /// - true, if the variant is selected.
4257  /// - false, otherwise.
4258  bool IsSin(void) const;
4259 
4260  /// Get the variant data.
4261  ///
4262  /// @return
4263  /// Reference to the data.
4264  const TSin& GetSin(void) const;
4265 
4266  /// Select the variant.
4267  ///
4268  /// @return
4269  /// Reference to the variant data.
4270  TSin& SetSin(void);
4271 
4272 
4273  /// Check if variant Cos is selected.
4274  ///
4275  /// Cos type is defined as 'typedef CCos TCos'.
4276  /// @return
4277  /// - true, if the variant is selected.
4278  /// - false, otherwise.
4279  bool IsCos(void) const;
4280 
4281  /// Get the variant data.
4282  ///
4283  /// @return
4284  /// Reference to the data.
4285  const TCos& GetCos(void) const;
4286 
4287  /// Select the variant.
4288  ///
4289  /// @return
4290  /// Reference to the variant data.
4291  TCos& SetCos(void);
4292 
4293 
4294  /// Check if variant Tan is selected.
4295  ///
4296  /// Tan type is defined as 'typedef CTan TTan'.
4297  /// @return
4298  /// - true, if the variant is selected.
4299  /// - false, otherwise.
4300  bool IsTan(void) const;
4301 
4302  /// Get the variant data.
4303  ///
4304  /// @return
4305  /// Reference to the data.
4306  const TTan& GetTan(void) const;
4307 
4308  /// Select the variant.
4309  ///
4310  /// @return
4311  /// Reference to the variant data.
4312  TTan& SetTan(void);
4313 
4314 
4315  /// Check if variant Sec is selected.
4316  ///
4317  /// Sec type is defined as 'typedef CSec TSec'.
4318  /// @return
4319  /// - true, if the variant is selected.
4320  /// - false, otherwise.
4321  bool IsSec(void) const;
4322 
4323  /// Get the variant data.
4324  ///
4325  /// @return
4326  /// Reference to the data.
4327  const TSec& GetSec(void) const;
4328 
4329  /// Select the variant.
4330  ///
4331  /// @return
4332  /// Reference to the variant data.
4333  TSec& SetSec(void);
4334 
4335 
4336  /// Check if variant Csc is selected.
4337  ///
4338  /// Csc type is defined as 'typedef CCsc TCsc'.
4339  /// @return
4340  /// - true, if the variant is selected.
4341  /// - false, otherwise.
4342  bool IsCsc(void) const;
4343 
4344  /// Get the variant data.
4345  ///
4346  /// @return
4347  /// Reference to the data.
4348  const TCsc& GetCsc(void) const;
4349 
4350  /// Select the variant.
4351  ///
4352  /// @return
4353  /// Reference to the variant data.
4354  TCsc& SetCsc(void);
4355 
4356 
4357  /// Check if variant Cot is selected.
4358  ///
4359  /// Cot type is defined as 'typedef CCot TCot'.
4360  /// @return
4361  /// - true, if the variant is selected.
4362  /// - false, otherwise.
4363  bool IsCot(void) const;
4364 
4365  /// Get the variant data.
4366  ///
4367  /// @return
4368  /// Reference to the data.
4369  const TCot& GetCot(void) const;
4370 
4371  /// Select the variant.
4372  ///
4373  /// @return
4374  /// Reference to the variant data.
4375  TCot& SetCot(void);
4376 
4377 
4378  /// Check if variant Sinh is selected.
4379  ///
4380  /// Sinh type is defined as 'typedef CSinh TSinh'.
4381  /// @return
4382  /// - true, if the variant is selected.
4383  /// - false, otherwise.
4384  bool IsSinh(void) const;
4385 
4386  /// Get the variant data.
4387  ///
4388  /// @return
4389  /// Reference to the data.
4390  const TSinh& GetSinh(void) const;
4391 
4392  /// Select the variant.
4393  ///
4394  /// @return
4395  /// Reference to the variant data.
4396  TSinh& SetSinh(void);
4397 
4398 
4399  /// Check if variant Cosh is selected.
4400  ///
4401  /// Cosh type is defined as 'typedef CCosh TCosh'.
4402  /// @return
4403  /// - true, if the variant is selected.
4404  /// - false, otherwise.
4405  bool IsCosh(void) const;
4406 
4407  /// Get the variant data.
4408  ///
4409  /// @return
4410  /// Reference to the data.
4411  const TCosh& GetCosh(void) const;
4412 
4413  /// Select the variant.
4414  ///
4415  /// @return
4416  /// Reference to the variant data.
4417  TCosh& SetCosh(void);
4418 
4419 
4420  /// Check if variant Tanh is selected.
4421  ///
4422  /// Tanh type is defined as 'typedef CTanh TTanh'.
4423  /// @return
4424  /// - true, if the variant is selected.
4425  /// - false, otherwise.
4426  bool IsTanh(void) const;
4427 
4428  /// Get the variant data.
4429  ///
4430  /// @return
4431  /// Reference to the data.
4432  const TTanh& GetTanh(void) const;
4433 
4434  /// Select the variant.
4435  ///
4436  /// @return
4437  /// Reference to the variant data.
4438  TTanh& SetTanh(void);
4439 
4440 
4441  /// Check if variant Sech is selected.
4442  ///
4443  /// Sech type is defined as 'typedef CSech TSech'.
4444  /// @return
4445  /// - true, if the variant is selected.
4446  /// - false, otherwise.
4447  bool IsSech(void) const;
4448 
4449  /// Get the variant data.
4450  ///
4451  /// @return
4452  /// Reference to the data.
4453  const TSech& GetSech(void) const;
4454 
4455  /// Select the variant.
4456  ///
4457  /// @return
4458  /// Reference to the variant data.
4459  TSech& SetSech(void);
4460 
4461 
4462  /// Check if variant Csch is selected.
4463  ///
4464  /// Csch type is defined as 'typedef CCsch TCsch'.
4465  /// @return
4466  /// - true, if the variant is selected.
4467  /// - false, otherwise.
4468  bool IsCsch(void) const;
4469 
4470  /// Get the variant data.
4471  ///
4472  /// @return
4473  /// Reference to the data.
4474  const TCsch& GetCsch(void) const;
4475 
4476  /// Select the variant.
4477  ///
4478  /// @return
4479  /// Reference to the variant data.
4480  TCsch& SetCsch(void);
4481 
4482 
4483  /// Check if variant Coth is selected.
4484  ///
4485  /// Coth type is defined as 'typedef CCoth TCoth'.
4486  /// @return
4487  /// - true, if the variant is selected.
4488  /// - false, otherwise.
4489  bool IsCoth(void) const;
4490 
4491  /// Get the variant data.
4492  ///
4493  /// @return
4494  /// Reference to the data.
4495  const TCoth& GetCoth(void) const;
4496 
4497  /// Select the variant.
4498  ///
4499  /// @return
4500  /// Reference to the variant data.
4501  TCoth& SetCoth(void);
4502 
4503 
4504  /// Check if variant Arcsin is selected.
4505  ///
4506  /// Arcsin type is defined as 'typedef CArcsin TArcsin'.
4507  /// @return
4508  /// - true, if the variant is selected.
4509  /// - false, otherwise.
4510  bool IsArcsin(void) const;
4511 
4512  /// Get the variant data.
4513  ///
4514  /// @return
4515  /// Reference to the data.
4516  const TArcsin& GetArcsin(void) const;
4517 
4518  /// Select the variant.
4519  ///
4520  /// @return
4521  /// Reference to the variant data.
4522  TArcsin& SetArcsin(void);
4523 
4524 
4525  /// Check if variant Arccos is selected.
4526  ///
4527  /// Arccos type is defined as 'typedef CArccos TArccos'.
4528  /// @return
4529  /// - true, if the variant is selected.
4530  /// - false, otherwise.
4531  bool IsArccos(void) const;
4532 
4533  /// Get the variant data.
4534  ///
4535  /// @return
4536  /// Reference to the data.
4537  const TArccos& GetArccos(void) const;
4538 
4539  /// Select the variant.
4540  ///
4541  /// @return
4542  /// Reference to the variant data.
4543  TArccos& SetArccos(void);
4544 
4545 
4546  /// Check if variant Arctan is selected.
4547  ///
4548  /// Arctan type is defined as 'typedef CArctan TArctan'.
4549  /// @return
4550  /// - true, if the variant is selected.
4551  /// - false, otherwise.
4552  bool IsArctan(void) const;
4553 
4554  /// Get the variant data.
4555  ///
4556  /// @return
4557  /// Reference to the data.
4558  const TArctan& GetArctan(void) const;
4559 
4560  /// Select the variant.
4561  ///
4562  /// @return
4563  /// Reference to the variant data.
4564  TArctan& SetArctan(void);
4565 
4566 
4567  /// Check if variant Arccosh is selected.
4568  ///
4569  /// Arccosh type is defined as 'typedef CArccosh TArccosh'.
4570  /// @return
4571  /// - true, if the variant is selected.
4572  /// - false, otherwise.
4573  bool IsArccosh(void) const;
4574 
4575  /// Get the variant data.
4576  ///
4577  /// @return
4578  /// Reference to the data.
4579  const TArccosh& GetArccosh(void) const;
4580 
4581  /// Select the variant.
4582  ///
4583  /// @return
4584  /// Reference to the variant data.
4585  TArccosh& SetArccosh(void);
4586 
4587 
4588  /// Check if variant Arccot is selected.
4589  ///
4590  /// Arccot type is defined as 'typedef CArccot TArccot'.
4591  /// @return
4592  /// - true, if the variant is selected.
4593  /// - false, otherwise.
4594  bool IsArccot(void) const;
4595 
4596  /// Get the variant data.
4597  ///
4598  /// @return
4599  /// Reference to the data.
4600  const TArccot& GetArccot(void) const;
4601 
4602  /// Select the variant.
4603  ///
4604  /// @return
4605  /// Reference to the variant data.
4606  TArccot& SetArccot(void);
4607 
4608 
4609  /// Check if variant Arccoth is selected.
4610  ///
4611  /// Arccoth type is defined as 'typedef CArccoth TArccoth'.
4612  /// @return
4613  /// - true, if the variant is selected.
4614  /// - false, otherwise.
4615  bool IsArccoth(void) const;
4616 
4617  /// Get the variant data.
4618  ///
4619  /// @return
4620  /// Reference to the data.
4621  const TArccoth& GetArccoth(void) const;
4622 
4623  /// Select the variant.
4624  ///
4625  /// @return
4626  /// Reference to the variant data.
4627  TArccoth& SetArccoth(void);
4628 
4629 
4630  /// Check if variant Arccsc is selected.
4631  ///
4632  /// Arccsc type is defined as 'typedef CArccsc TArccsc'.
4633  /// @return
4634  /// - true, if the variant is selected.
4635  /// - false, otherwise.
4636  bool IsArccsc(void) const;
4637 
4638  /// Get the variant data.
4639  ///
4640  /// @return
4641  /// Reference to the data.
4642  const TArccsc& GetArccsc(void) const;
4643 
4644  /// Select the variant.
4645  ///
4646  /// @return
4647  /// Reference to the variant data.
4648  TArccsc& SetArccsc(void);
4649 
4650 
4651  /// Check if variant Arccsch is selected.
4652  ///
4653  /// Arccsch type is defined as 'typedef CArccsch TArccsch'.
4654  /// @return
4655  /// - true, if the variant is selected.
4656  /// - false, otherwise.
4657  bool IsArccsch(void) const;
4658 
4659  /// Get the variant data.
4660  ///
4661  /// @return
4662  /// Reference to the data.
4663  const TArccsch& GetArccsch(void) const;
4664 
4665  /// Select the variant.
4666  ///
4667  /// @return
4668  /// Reference to the variant data.
4669  TArccsch& SetArccsch(void);
4670 
4671 
4672  /// Check if variant Arcsec is selected.
4673  ///
4674  /// Arcsec type is defined as 'typedef CArcsec TArcsec'.
4675  /// @return
4676  /// - true, if the variant is selected.
4677  /// - false, otherwise.
4678  bool IsArcsec(void) const;
4679 
4680  /// Get the variant data.
4681  ///
4682  /// @return
4683  /// Reference to the data.
4684  const TArcsec& GetArcsec(void) const;
4685 
4686  /// Select the variant.
4687  ///
4688  /// @return
4689  /// Reference to the variant data.
4690  TArcsec& SetArcsec(void);
4691 
4692 
4693  /// Check if variant Arcsech is selected.
4694  ///
4695  /// Arcsech type is defined as 'typedef CArcsech TArcsech'.
4696  /// @return
4697  /// - true, if the variant is selected.
4698  /// - false, otherwise.
4699  bool IsArcsech(void) const;
4700 
4701  /// Get the variant data.
4702  ///
4703  /// @return
4704  /// Reference to the data.
4705  const TArcsech& GetArcsech(void) const;
4706 
4707  /// Select the variant.
4708  ///
4709  /// @return
4710  /// Reference to the variant data.
4711  TArcsech& SetArcsech(void);
4712 
4713 
4714  /// Check if variant Arcsinh is selected.
4715  ///
4716  /// Arcsinh type is defined as 'typedef CArcsinh TArcsinh'.
4717  /// @return
4718  /// - true, if the variant is selected.
4719  /// - false, otherwise.
4720  bool IsArcsinh(void) const;
4721 
4722  /// Get the variant data.
4723  ///
4724  /// @return
4725  /// Reference to the data.
4726  const TArcsinh& GetArcsinh(void) const;
4727 
4728  /// Select the variant.
4729  ///
4730  /// @return
4731  /// Reference to the variant data.
4732  TArcsinh& SetArcsinh(void);
4733 
4734 
4735  /// Check if variant Arctanh is selected.
4736  ///
4737  /// Arctanh type is defined as 'typedef CArctanh TArctanh'.
4738  /// @return
4739  /// - true, if the variant is selected.
4740  /// - false, otherwise.
4741  bool IsArctanh(void) const;
4742 
4743  /// Get the variant data.
4744  ///
4745  /// @return
4746  /// Reference to the data.
4747  const TArctanh& GetArctanh(void) const;
4748 
4749  /// Select the variant.
4750  ///
4751  /// @return
4752  /// Reference to the variant data.
4753  TArctanh& SetArctanh(void);
4754 
4755 
4756  private:
4757  // copy constructor and assignment operator
4760  // choice state
4762  // helper methods
4763  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
4764 
4765  static const char* const sm_SelectionNames[];
4766  // data
4767  NCBI_NS_NCBI::CSerialObject *m_object;
4768  };
4769  /////////////////////////////////////////////////////////////////////////////
4770  ///
4771  /// C_Nary_stats_mmlclass --
4772  ///
4773 
4775  {
4777  public:
4778  // constructor
4779  C_Nary_stats_mmlclass(void);
4780  // destructor
4781  ~C_Nary_stats_mmlclass(void);
4782 
4783  // type info
4785 
4786 
4787  /// Choice variants.
4788  enum E_Choice {
4789  e_not_set = 0, ///< No variant selected
4794  e_Mode
4795  };
4796  /// Maximum+1 value of the choice variant enumerator.
4798  e_MaxChoice = 6 ///< == e_Mode+1
4799  };
4800 
4801  /// Reset the whole object
4802  void Reset(void);
4803 
4804  /// Reset the selection (set it to e_not_set).
4805  void ResetSelection(void);
4806 
4807  /// Which variant is currently selected.
4808  ///
4809  /// @return
4810  /// Choice state enumerator.
4811  E_Choice Which(void) const;
4812 
4813  /// Verify selection, throw exception if it differs from the expected.
4814  ///
4815  /// @param index
4816  /// Expected selection.
4817  void CheckSelected(E_Choice index) const;
4818 
4819  /// Throw 'InvalidSelection' exception.
4820  ///
4821  /// @param index
4822  /// Expected selection.
4823  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
4824 
4825  /// Retrieve selection name (for diagnostic purposes).
4826  ///
4827  /// @param index
4828  /// One of possible selection states.
4829  /// @return
4830  /// Name string.
4831  static string SelectionName(E_Choice index);
4832 
4833  /// Select the requested variant if needed.
4834  ///
4835  /// @param index
4836  /// New selection state.
4837  /// @param reset
4838  /// Flag that defines the resetting of the variant data. The data will
4839  /// be reset if either the current selection differs from the new one,
4840  /// or the flag is set to eDoResetVariant.
4842  /// Select the requested variant if needed,
4843  /// allocating CObject variants from memory pool.
4844  void Select(E_Choice index,
4845  EResetVariant reset,
4846  CObjectMemoryPool* pool);
4847 
4848  // types
4849  typedef CMean TMean;
4850  typedef CSdev TSdev;
4852  typedef CMedian TMedian;
4853  typedef CMode TMode;
4854 
4855  // getters
4856  // setters
4857 
4858 
4859  /// Check if variant Mean is selected.
4860  ///
4861  /// Mean type is defined as 'typedef CMean TMean'.
4862  /// @return
4863  /// - true, if the variant is selected.
4864  /// - false, otherwise.
4865  bool IsMean(void) const;
4866 
4867  /// Get the variant data.
4868  ///
4869  /// @return
4870  /// Reference to the data.
4871  const TMean& GetMean(void) const;
4872 
4873  /// Select the variant.
4874  ///
4875  /// @return
4876  /// Reference to the variant data.
4877  TMean& SetMean(void);
4878 
4879 
4880  /// Check if variant Sdev is selected.
4881  ///
4882  /// Sdev type is defined as 'typedef CSdev TSdev'.
4883  /// @return
4884  /// - true, if the variant is selected.
4885  /// - false, otherwise.
4886  bool IsSdev(void) const;
4887 
4888  /// Get the variant data.
4889  ///
4890  /// @return
4891  /// Reference to the data.
4892  const TSdev& GetSdev(void) const;
4893 
4894  /// Select the variant.
4895  ///
4896  /// @return
4897  /// Reference to the variant data.
4898  TSdev& SetSdev(void);
4899 
4900 
4901  /// Check if variant Variance is selected.
4902  ///
4903  /// Variance type is defined as 'typedef CVariance TVariance'.
4904  /// @return
4905  /// - true, if the variant is selected.
4906  /// - false, otherwise.
4907  bool IsVariance(void) const;
4908 
4909  /// Get the variant data.
4910  ///
4911  /// @return
4912  /// Reference to the data.
4913  const TVariance& GetVariance(void) const;
4914 
4915  /// Select the variant.
4916  ///
4917  /// @return
4918  /// Reference to the variant data.
4919  TVariance& SetVariance(void);
4920 
4921 
4922  /// Check if variant Median is selected.
4923  ///
4924  /// Median type is defined as 'typedef CMedian TMedian'.
4925  /// @return
4926  /// - true, if the variant is selected.
4927  /// - false, otherwise.
4928  bool IsMedian(void) const;
4929 
4930  /// Get the variant data.
4931  ///
4932  /// @return
4933  /// Reference to the data.
4934  const TMedian& GetMedian(void) const;
4935 
4936  /// Select the variant.
4937  ///
4938  /// @return
4939  /// Reference to the variant data.
4940  TMedian& SetMedian(void);
4941 
4942 
4943  /// Check if variant Mode is selected.
4944  ///
4945  /// Mode type is defined as 'typedef CMode TMode'.
4946  /// @return
4947  /// - true, if the variant is selected.
4948  /// - false, otherwise.
4949  bool IsMode(void) const;
4950 
4951  /// Get the variant data.
4952  ///
4953  /// @return
4954  /// Reference to the data.
4955  const TMode& GetMode(void) const;
4956 
4957  /// Select the variant.
4958  ///
4959  /// @return
4960  /// Reference to the variant data.
4961  TMode& SetMode(void);
4962 
4963 
4964  private:
4965  // copy constructor and assignment operator
4968  // choice state
4970  // helper methods
4971  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
4972 
4973  static const char* const sm_SelectionNames[];
4974  // data
4975  NCBI_NS_NCBI::CSerialObject *m_object;
4976  };
4977  /////////////////////////////////////////////////////////////////////////////
4978  ///
4979  /// C_Nary_constructor_mmlclass --
4980  ///
4981 
4983  {
4985  public:
4986  // constructor
4988  // destructor
4990 
4991  // type info
4993 
4994 
4995  /// Choice variants.
4996  enum E_Choice {
4997  e_not_set = 0, ///< No variant selected
5000  e_Matrixrow
5001  };
5002  /// Maximum+1 value of the choice variant enumerator.
5004  e_MaxChoice = 4 ///< == e_Matrixrow+1
5005  };
5006 
5007  /// Reset the whole object
5008  void Reset(void);
5009 
5010  /// Reset the selection (set it to e_not_set).
5011  void ResetSelection(void);
5012 
5013  /// Which variant is currently selected.
5014  ///
5015  /// @return
5016  /// Choice state enumerator.
5017  E_Choice Which(void) const;
5018 
5019  /// Verify selection, throw exception if it differs from the expected.
5020  ///
5021  /// @param index
5022  /// Expected selection.
5023  void CheckSelected(E_Choice index) const;
5024 
5025  /// Throw 'InvalidSelection' exception.
5026  ///
5027  /// @param index
5028  /// Expected selection.
5029  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
5030 
5031  /// Retrieve selection name (for diagnostic purposes).
5032  ///
5033  /// @param index
5034  /// One of possible selection states.
5035  /// @return
5036  /// Name string.
5037  static string SelectionName(E_Choice index);
5038 
5039  /// Select the requested variant if needed.
5040  ///
5041  /// @param index
5042  /// New selection state.
5043  /// @param reset
5044  /// Flag that defines the resetting of the variant data. The data will
5045  /// be reset if either the current selection differs from the new one,
5046  /// or the flag is set to eDoResetVariant.
5048  /// Select the requested variant if needed,
5049  /// allocating CObject variants from memory pool.
5050  void Select(E_Choice index,
5051  EResetVariant reset,
5052  CObjectMemoryPool* pool);
5053 
5054  // types
5055  typedef CVector TVector;
5056  typedef CMatrix TMatrix;
5058 
5059  // getters
5060  // setters
5061 
5062 
5063  /// Check if variant Vector is selected.
5064  ///
5065  /// Vector type is defined as 'typedef CVector TVector'.
5066  /// @return
5067  /// - true, if the variant is selected.
5068  /// - false, otherwise.
5069  bool IsVector(void) const;
5070 
5071  /// Get the variant data.
5072  ///
5073  /// @return
5074  /// Reference to the data.
5075  const TVector& GetVector(void) const;
5076 
5077  /// Select the variant.
5078  ///
5079  /// @return
5080  /// Reference to the variant data.
5081  TVector& SetVector(void);
5082  /// Select the variant and set its data.
5083  ///
5084  /// @param value
5085  /// Reference to the data.
5086  void SetVector(TVector& value);
5087 
5088 
5089  /// Check if variant Matrix is selected.
5090  ///
5091  /// Matrix type is defined as 'typedef CMatrix TMatrix'.
5092  /// @return
5093  /// - true, if the variant is selected.
5094  /// - false, otherwise.
5095  bool IsMatrix(void) const;
5096 
5097  /// Get the variant data.
5098  ///
5099  /// @return
5100  /// Reference to the data.
5101  const TMatrix& GetMatrix(void) const;
5102 
5103  /// Select the variant.
5104  ///
5105  /// @return
5106  /// Reference to the variant data.
5107  TMatrix& SetMatrix(void);
5108  /// Select the variant and set its data.
5109  ///
5110  /// @param value
5111  /// Reference to the data.
5112  void SetMatrix(TMatrix& value);
5113 
5114 
5115  /// Check if variant Matrixrow is selected.
5116  ///
5117  /// Matrixrow type is defined as 'typedef CMatrixrow TMatrixrow'.
5118  /// @return
5119  /// - true, if the variant is selected.
5120  /// - false, otherwise.
5121  bool IsMatrixrow(void) const;
5122 
5123  /// Get the variant data.
5124  ///
5125  /// @return
5126  /// Reference to the data.
5127  const TMatrixrow& GetMatrixrow(void) const;
5128 
5129  /// Select the variant.
5130  ///
5131  /// @return
5132  /// Reference to the variant data.
5133  TMatrixrow& SetMatrixrow(void);
5134  /// Select the variant and set its data.
5135  ///
5136  /// @param value
5137  /// Reference to the data.
5138  void SetMatrixrow(TMatrixrow& value);
5139 
5140 
5141  private:
5142  // copy constructor and assignment operator
5145  // choice state
5147  // helper methods
5148  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
5149 
5150  static const char* const sm_SelectionNames[];
5151  // data
5152  NCBI_NS_NCBI::CSerialObject *m_object;
5153  };
5154  /////////////////////////////////////////////////////////////////////////////
5155  ///
5156  /// C_Unary_linalg_mmlclass --
5157  ///
5158 
5160  {
5162  public:
5163  // constructor
5165  // destructor
5167 
5168  // type info
5170 
5171 
5172  /// Choice variants.
5173  enum E_Choice {
5174  e_not_set = 0, ///< No variant selected
5176  e_Transpose
5177  };
5178  /// Maximum+1 value of the choice variant enumerator.
5180  e_MaxChoice = 3 ///< == e_Transpose+1
5181  };
5182 
5183  /// Reset the whole object
5184  void Reset(void);
5185 
5186  /// Reset the selection (set it to e_not_set).
5187  void ResetSelection(void);
5188 
5189  /// Which variant is currently selected.
5190  ///
5191  /// @return
5192  /// Choice state enumerator.
5193  E_Choice Which(void) const;
5194 
5195  /// Verify selection, throw exception if it differs from the expected.
5196  ///
5197  /// @param index
5198  /// Expected selection.
5199  void CheckSelected(E_Choice index) const;
5200 
5201  /// Throw 'InvalidSelection' exception.
5202  ///
5203  /// @param index
5204  /// Expected selection.
5205  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
5206 
5207  /// Retrieve selection name (for diagnostic purposes).
5208  ///
5209  /// @param index
5210  /// One of possible selection states.
5211  /// @return
5212  /// Name string.
5213  static string SelectionName(E_Choice index);
5214 
5215  /// Select the requested variant if needed.
5216  ///
5217  /// @param index
5218  /// New selection state.
5219  /// @param reset
5220  /// Flag that defines the resetting of the variant data. The data will
5221  /// be reset if either the current selection differs from the new one,
5222  /// or the flag is set to eDoResetVariant.
5224  /// Select the requested variant if needed,
5225  /// allocating CObject variants from memory pool.
5226  void Select(E_Choice index,
5227  EResetVariant reset,
5228  CObjectMemoryPool* pool);
5229 
5230  // types
5233 
5234  // getters
5235  // setters
5236 
5237 
5238  /// Check if variant Determinant is selected.
5239  ///
5240  /// Determinant type is defined as 'typedef CDeterminant TDeterminant'.
5241  /// @return
5242  /// - true, if the variant is selected.
5243  /// - false, otherwise.
5244  bool IsDeterminant(void) const;
5245 
5246  /// Get the variant data.
5247  ///
5248  /// @return
5249  /// Reference to the data.
5250  const TDeterminant& GetDeterminant(void) const;
5251 
5252  /// Select the variant.
5253  ///
5254  /// @return
5255  /// Reference to the variant data.
5257 
5258 
5259  /// Check if variant Transpose is selected.
5260  ///
5261  /// Transpose type is defined as 'typedef CTranspose TTranspose'.
5262  /// @return
5263  /// - true, if the variant is selected.
5264  /// - false, otherwise.
5265  bool IsTranspose(void) const;
5266 
5267  /// Get the variant data.
5268  ///
5269  /// @return
5270  /// Reference to the data.
5271  const TTranspose& GetTranspose(void) const;
5272 
5273  /// Select the variant.
5274  ///
5275  /// @return
5276  /// Reference to the variant data.
5277  TTranspose& SetTranspose(void);
5278 
5279 
5280  private:
5281  // copy constructor and assignment operator
5284  // choice state
5286  // helper methods
5287  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
5288 
5289  static const char* const sm_SelectionNames[];
5290  // data
5291  NCBI_NS_NCBI::CSerialObject *m_object;
5292  };
5293  /////////////////////////////////////////////////////////////////////////////
5294  ///
5295  /// C_Nary_linalg_mmlclass --
5296  ///
5297 
5299  {
5301  public:
5302  // constructor
5303  C_Nary_linalg_mmlclass(void);
5304  // destructor
5306 
5307  // type info
5309 
5310  // types
5312 
5313  // member index
5314  enum class E_memberIndex {
5315  e__allMandatory = 0,
5316  e_selector
5317  };
5319 
5320  // getters
5321  // setters
5322 
5323  /// Check if a value has been assigned to Selector data member.
5324  ///
5325  /// Data member Selector is mandatory;
5326  /// its type is defined as 'typedef CSelector TSelector'
5327  /// @return
5328  /// - true, if a value has been assigned.
5329  /// - false, otherwise.
5330  bool IsSetSelector(void) const;
5331 
5332  /// Check if value of Selector member is getatable.
5333  ///
5334  /// @return
5335  /// - false; the data member of type 'NULL' has no value.
5336  bool CanGetSelector(void) const;
5337 
5338  /// Reset Selector data member.
5339  void ResetSelector(void);
5340 
5341  /// Get the Selector member data.
5342  ///
5343  /// @return
5344  /// Reference to the member data.
5345  const TSelector& GetSelector(void) const;
5346 
5347  /// Assign a value to Selector data member.
5348  ///
5349  /// @param value
5350  /// Reference to value.
5351  void SetSelector(TSelector& value);
5352 
5353  /// Assign a value to Selector data member.
5354  ///
5355  /// @return
5356  /// Reference to the data value.
5357  TSelector& SetSelector(void);
5358 
5359  /// Reset the whole object
5360  void Reset(void);
5361 
5362 
5363  private:
5364  // Prohibit copy constructor and assignment operator
5367 
5368  // data
5371  };
5372  /////////////////////////////////////////////////////////////////////////////
5373  ///
5374  /// C_Binary_linalg_mmlclass --
5375  ///
5376 
5378  {
5380  public:
5381  // constructor
5383  // destructor
5385 
5386  // type info
5388 
5389 
5390  /// Choice variants.
5391  enum E_Choice {
5392  e_not_set = 0, ///< No variant selected
5396  };
5397  /// Maximum+1 value of the choice variant enumerator.
5399  e_MaxChoice = 4 ///< == e_Outerproduct+1
5400  };
5401 
5402  /// Reset the whole object
5403  void Reset(void);
5404 
5405  /// Reset the selection (set it to e_not_set).
5406  void ResetSelection(void);
5407 
5408  /// Which variant is currently selected.
5409  ///
5410  /// @return
5411  /// Choice state enumerator.
5412  E_Choice Which(void) const;
5413 
5414  /// Verify selection, throw exception if it differs from the expected.
5415  ///
5416  /// @param index
5417  /// Expected selection.
5418  void CheckSelected(E_Choice index) const;
5419 
5420  /// Throw 'InvalidSelection' exception.
5421  ///
5422  /// @param index
5423  /// Expected selection.
5424  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
5425 
5426  /// Retrieve selection name (for diagnostic purposes).
5427  ///
5428  /// @param index
5429  /// One of possible selection states.
5430  /// @return
5431  /// Name string.
5432  static string SelectionName(E_Choice index);
5433 
5434  /// Select the requested variant if needed.
5435  ///
5436  /// @param index
5437  /// New selection state.
5438  /// @param reset
5439  /// Flag that defines the resetting of the variant data. The data will
5440  /// be reset if either the current selection differs from the new one,
5441  /// or the flag is set to eDoResetVariant.
5443  /// Select the requested variant if needed,
5444  /// allocating CObject variants from memory pool.
5445  void Select(E_Choice index,
5446  EResetVariant reset,
5447  CObjectMemoryPool* pool);
5448 
5449  // types
5453 
5454  // getters
5455  // setters
5456 
5457 
5458  /// Check if variant Vectorproduct is selected.
5459  ///
5460  /// Vectorproduct type is defined as 'typedef CVectorproduct TVectorproduct'.
5461  /// @return
5462  /// - true, if the variant is selected.
5463  /// - false, otherwise.
5464  bool IsVectorproduct(void) const;
5465 
5466  /// Get the variant data.
5467  ///
5468  /// @return
5469  /// Reference to the data.
5470  const TVectorproduct& GetVectorproduct(void) const;
5471 
5472  /// Select the variant.
5473  ///
5474  /// @return
5475  /// Reference to the variant data.
5477 
5478 
5479  /// Check if variant Scalarproduct is selected.
5480  ///
5481  /// Scalarproduct type is defined as 'typedef CScalarproduct TScalarproduct'.
5482  /// @return
5483  /// - true, if the variant is selected.
5484  /// - false, otherwise.
5485  bool IsScalarproduct(void) const;
5486 
5487  /// Get the variant data.
5488  ///
5489  /// @return
5490  /// Reference to the data.
5491  const TScalarproduct& GetScalarproduct(void) const;
5492 
5493  /// Select the variant.
5494  ///
5495  /// @return
5496  /// Reference to the variant data.
5498 
5499 
5500  /// Check if variant Outerproduct is selected.
5501  ///
5502  /// Outerproduct type is defined as 'typedef COuterproduct TOuterproduct'.
5503  /// @return
5504  /// - true, if the variant is selected.
5505  /// - false, otherwise.
5506  bool IsOuterproduct(void) const;
5507 
5508  /// Get the variant data.
5509  ///
5510  /// @return
5511  /// Reference to the data.
5512  const TOuterproduct& GetOuterproduct(void) const;
5513 
5514  /// Select the variant.
5515  ///
5516  /// @return
5517  /// Reference to the variant data.
5519 
5520 
5521  private:
5522  // copy constructor and assignment operator
5525  // choice state
5527  // helper methods
5528  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
5529 
5530  static const char* const sm_SelectionNames[];
5531  // data
5532  NCBI_NS_NCBI::CSerialObject *m_object;
5533  };
5534  /////////////////////////////////////////////////////////////////////////////
5535  ///
5536  /// C_Constant_set_mmlclass --
5537  ///
5538 
5540  {
5542  public:
5543  // constructor
5545  // destructor
5547 
5548  // type info
5550 
5551 
5552  /// Choice variants.
5553  enum E_Choice {
5554  e_not_set = 0, ///< No variant selected
5561  e_Emptyset
5562  };
5563  /// Maximum+1 value of the choice variant enumerator.
5565  e_MaxChoice = 8 ///< == e_Emptyset+1
5566  };
5567 
5568  /// Reset the whole object
5569  void Reset(void);
5570 
5571  /// Reset the selection (set it to e_not_set).
5572  void ResetSelection(void);
5573 
5574  /// Which variant is currently selected.
5575  ///
5576  /// @return
5577  /// Choice state enumerator.
5578  E_Choice Which(void) const;
5579 
5580  /// Verify selection, throw exception if it differs from the expected.
5581  ///
5582  /// @param index
5583  /// Expected selection.
5584  void CheckSelected(E_Choice index) const;
5585 
5586  /// Throw 'InvalidSelection' exception.
5587  ///
5588  /// @param index
5589  /// Expected selection.
5590  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
5591 
5592  /// Retrieve selection name (for diagnostic purposes).
5593  ///
5594  /// @param index
5595  /// One of possible selection states.
5596  /// @return
5597  /// Name string.
5598  static string SelectionName(E_Choice index);
5599 
5600  /// Select the requested variant if needed.
5601  ///
5602  /// @param index
5603  /// New selection state.
5604  /// @param reset
5605  /// Flag that defines the resetting of the variant data. The data will
5606  /// be reset if either the current selection differs from the new one,
5607  /// or the flag is set to eDoResetVariant.
5609  /// Select the requested variant if needed,
5610  /// allocating CObject variants from memory pool.
5611  void Select(E_Choice index,
5612  EResetVariant reset,
5613  CObjectMemoryPool* pool);
5614 
5615  // types
5617  typedef CReals TReals;
5621  typedef CPrimes TPrimes;
5623 
5624  // getters
5625  // setters
5626 
5627 
5628  /// Check if variant Integers is selected.
5629  ///
5630  /// Integers type is defined as 'typedef CIntegers TIntegers'.
5631  /// @return
5632  /// - true, if the variant is selected.
5633  /// - false, otherwise.
5634  bool IsIntegers(void) const;
5635 
5636  /// Get the variant data.
5637  ///
5638  /// @return
5639  /// Reference to the data.
5640  const TIntegers& GetIntegers(void) const;
5641 
5642  /// Select the variant.
5643  ///
5644  /// @return
5645  /// Reference to the variant data.
5646  TIntegers& SetIntegers(void);
5647 
5648 
5649  /// Check if variant Reals is selected.
5650  ///
5651  /// Reals type is defined as 'typedef CReals TReals'.
5652  /// @return
5653  /// - true, if the variant is selected.
5654  /// - false, otherwise.
5655  bool IsReals(void) const;
5656 
5657  /// Get the variant data.
5658  ///
5659  /// @return
5660  /// Reference to the data.
5661  const TReals& GetReals(void) const;
5662 
5663  /// Select the variant.
5664  ///
5665  /// @return
5666  /// Reference to the variant data.
5667  TReals& SetReals(void);
5668 
5669 
5670  /// Check if variant Rationals is selected.
5671  ///
5672  /// Rationals type is defined as 'typedef CRationals TRationals'.
5673  /// @return
5674  /// - true, if the variant is selected.
5675  /// - false, otherwise.
5676  bool IsRationals(void) const;
5677 
5678  /// Get the variant data.
5679  ///
5680  /// @return
5681  /// Reference to the data.
5682  const TRationals& GetRationals(void) const;
5683 
5684  /// Select the variant.
5685  ///
5686  /// @return
5687  /// Reference to the variant data.
5688  TRationals& SetRationals(void);
5689 
5690 
5691  /// Check if variant Naturalnumbers is selected.
5692  ///
5693  /// Naturalnumbers type is defined as 'typedef CNaturalnumbers TNaturalnumbers'.
5694  /// @return
5695  /// - true, if the variant is selected.
5696  /// - false, otherwise.
5697  bool IsNaturalnumbers(void) const;
5698 
5699  /// Get the variant data.
5700  ///
5701  /// @return
5702  /// Reference to the data.
5703  const TNaturalnumbers& GetNaturalnumbers(void) const;
5704 
5705  /// Select the variant.
5706  ///
5707  /// @return
5708  /// Reference to the variant data.
5710 
5711 
5712  /// Check if variant Complexes is selected.
5713  ///
5714  /// Complexes type is defined as 'typedef CComplexes TComplexes'.
5715  /// @return
5716  /// - true, if the variant is selected.
5717  /// - false, otherwise.
5718  bool IsComplexes(void) const;
5719 
5720  /// Get the variant data.
5721  ///
5722  /// @return
5723  /// Reference to the data.
5724  const TComplexes& GetComplexes(void) const;
5725 
5726  /// Select the variant.
5727  ///
5728  /// @return
5729  /// Reference to the variant data.
5730  TComplexes& SetComplexes(void);
5731 
5732 
5733  /// Check if variant Primes is selected.
5734  ///
5735  /// Primes type is defined as 'typedef CPrimes TPrimes'.
5736  /// @return
5737  /// - true, if the variant is selected.
5738  /// - false, otherwise.
5739  bool IsPrimes(void) const;
5740 
5741  /// Get the variant data.
5742  ///
5743  /// @return
5744  /// Reference to the data.
5745  const TPrimes& GetPrimes(void) const;
5746 
5747  /// Select the variant.
5748  ///
5749  /// @return
5750  /// Reference to the variant data.
5751  TPrimes& SetPrimes(void);
5752 
5753 
5754  /// Check if variant Emptyset is selected.
5755  ///
5756  /// Emptyset type is defined as 'typedef CEmptyset TEmptyset'.
5757  /// @return
5758  /// - true, if the variant is selected.
5759  /// - false, otherwise.
5760  bool IsEmptyset(void) const;
5761 
5762  /// Get the variant data.
5763  ///
5764  /// @return
5765  /// Reference to the data.
5766  const TEmptyset& GetEmptyset(void) const;
5767 
5768  /// Select the variant.
5769  ///
5770  /// @return
5771  /// Reference to the variant data.
5772  TEmptyset& SetEmptyset(void);
5773 
5774 
5775  private:
5776  // copy constructor and assignment operator
5779  // choice state
5781  // helper methods
5782  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
5783 
5784  static const char* const sm_SelectionNames[];
5785  // data
5786  NCBI_NS_NCBI::CSerialObject *m_object;
5787  };
5788  /////////////////////////////////////////////////////////////////////////////
5789  ///
5790  /// C_Constant_arith_mmlclass --
5791  ///
5792 
5794  {
5796  public:
5797  // constructor
5799  // destructor
5801 
5802  // type info
5804 
5805 
5806  /// Choice variants.
5807  enum E_Choice {
5808  e_not_set = 0, ///< No variant selected
5816  e_Infinity
5817  };
5818  /// Maximum+1 value of the choice variant enumerator.
5820  e_MaxChoice = 9 ///< == e_Infinity+1
5821  };
5822 
5823  /// Reset the whole object
5824  void Reset(void);
5825 
5826  /// Reset the selection (set it to e_not_set).
5827  void ResetSelection(void);
5828 
5829  /// Which variant is currently selected.
5830  ///
5831  /// @return
5832  /// Choice state enumerator.
5833  E_Choice Which(void) const;
5834 
5835  /// Verify selection, throw exception if it differs from the expected.
5836  ///
5837  /// @param index
5838  /// Expected selection.
5839  void CheckSelected(E_Choice index) const;
5840 
5841  /// Throw 'InvalidSelection' exception.
5842  ///
5843  /// @param index
5844  /// Expected selection.
5845  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
5846 
5847  /// Retrieve selection name (for diagnostic purposes).
5848  ///
5849  /// @param index
5850  /// One of possible selection states.
5851  /// @return
5852  /// Name string.
5853  static string SelectionName(E_Choice index);
5854 
5855  /// Select the requested variant if needed.
5856  ///
5857  /// @param index
5858  /// New selection state.
5859  /// @param reset
5860  /// Flag that defines the resetting of the variant data. The data will
5861  /// be reset if either the current selection differs from the new one,
5862  /// or the flag is set to eDoResetVariant.
5864  /// Select the requested variant if needed,
5865  /// allocating CObject variants from memory pool.
5866  void Select(E_Choice index,
5867  EResetVariant reset,
5868  CObjectMemoryPool* pool);
5869 
5870  // types
5874  typedef CTrue TTrue;
5875  typedef CFalse TFalse;
5876  typedef CPi TPi;
5879 
5880  // getters
5881  // setters
5882 
5883 
5884  /// Check if variant Exponentiale is selected.
5885  ///
5886  /// Exponentiale type is defined as 'typedef CExponentiale TExponentiale'.
5887  /// @return
5888  /// - true, if the variant is selected.
5889  /// - false, otherwise.
5890  bool IsExponentiale(void) const;
5891 
5892  /// Get the variant data.
5893  ///
5894  /// @return
5895  /// Reference to the data.
5896  const TExponentiale& GetExponentiale(void) const;
5897 
5898  /// Select the variant.
5899  ///
5900  /// @return
5901  /// Reference to the variant data.
5903 
5904 
5905  /// Check if variant Imaginaryi is selected.
5906  ///
5907  /// Imaginaryi type is defined as 'typedef CImaginaryi TImaginaryi'.
5908  /// @return
5909  /// - true, if the variant is selected.
5910  /// - false, otherwise.
5911  bool IsImaginaryi(void) const;
5912 
5913  /// Get the variant data.
5914  ///
5915  /// @return
5916  /// Reference to the data.
5917  const TImaginaryi& GetImaginaryi(void) const;
5918 
5919  /// Select the variant.
5920  ///
5921  /// @return
5922  /// Reference to the variant data.
5923  TImaginaryi& SetImaginaryi(void);
5924 
5925 
5926  /// Check if variant Notanumber is selected.
5927  ///
5928  /// Notanumber type is defined as 'typedef CNotanumber TNotanumber'.
5929  /// @return
5930  /// - true, if the variant is selected.
5931  /// - false, otherwise.
5932  bool IsNotanumber(void) const;
5933 
5934  /// Get the variant data.
5935  ///
5936  /// @return
5937  /// Reference to the data.
5938  const TNotanumber& GetNotanumber(void) const;
5939 
5940  /// Select the variant.
5941  ///
5942  /// @return
5943  /// Reference to the variant data.
5944  TNotanumber& SetNotanumber(void);
5945 
5946 
5947  /// Check if variant True is selected.
5948  ///
5949  /// True type is defined as 'typedef CTrue TTrue'.
5950  /// @return
5951  /// - true, if the variant is selected.
5952  /// - false, otherwise.
5953  bool IsTrue(void) const;
5954 
5955  /// Get the variant data.
5956  ///
5957  /// @return
5958  /// Reference to the data.
5959  const TTrue& GetTrue(void) const;
5960 
5961  /// Select the variant.
5962  ///
5963  /// @return
5964  /// Reference to the variant data.
5965  TTrue& SetTrue(void);
5966 
5967 
5968  /// Check if variant False is selected.
5969  ///
5970  /// False type is defined as 'typedef CFalse TFalse'.
5971  /// @return
5972  /// - true, if the variant is selected.
5973  /// - false, otherwise.
5974  bool IsFalse(void) const;
5975 
5976  /// Get the variant data.
5977  ///
5978  /// @return
5979  /// Reference to the data.
5980  const TFalse& GetFalse(void) const;
5981 
5982  /// Select the variant.
5983  ///
5984  /// @return
5985  /// Reference to the variant data.
5986  TFalse& SetFalse(void);
5987 
5988 
5989  /// Check if variant Pi is selected.
5990  ///
5991  /// Pi type is defined as 'typedef CPi TPi'.
5992  /// @return
5993  /// - true, if the variant is selected.
5994  /// - false, otherwise.
5995  bool IsPi(void) const;
5996 
5997  /// Get the variant data.
5998  ///
5999  /// @return
6000  /// Reference to the data.
6001  const TPi& GetPi(void) const;
6002 
6003  /// Select the variant.
6004  ///
6005  /// @return
6006  /// Reference to the variant data.
6007  TPi& SetPi(void);
6008 
6009 
6010  /// Check if variant Eulergamma is selected.
6011  ///
6012  /// Eulergamma type is defined as 'typedef CEulergamma TEulergamma'.
6013  /// @return
6014  /// - true, if the variant is selected.
6015  /// - false, otherwise.
6016  bool IsEulergamma(void) const;
6017 
6018  /// Get the variant data.
6019  ///
6020  /// @return
6021  /// Reference to the data.
6022  const TEulergamma& GetEulergamma(void) const;
6023 
6024  /// Select the variant.
6025  ///
6026  /// @return
6027  /// Reference to the variant data.
6028  TEulergamma& SetEulergamma(void);
6029 
6030 
6031  /// Check if variant Infinity is selected.
6032  ///
6033  /// Infinity type is defined as 'typedef CInfinity TInfinity'.
6034  /// @return
6035  /// - true, if the variant is selected.
6036  /// - false, otherwise.
6037  bool IsInfinity(void) const;
6038 
6039  /// Get the variant data.
6040  ///
6041  /// @return
6042  /// Reference to the data.
6043  const TInfinity& GetInfinity(void) const;
6044 
6045  /// Select the variant.
6046  ///
6047  /// @return
6048  /// Reference to the variant data.
6049  TInfinity& SetInfinity(void);
6050 
6051 
6052  private:
6053  // copy constructor and assignment operator
6056  // choice state
6058  // helper methods
6059  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
6060 
6061  static const char* const sm_SelectionNames[];
6062  // data
6063  NCBI_NS_NCBI::CSerialObject *m_object;
6064  };
6065 
6066  /// Choice variants.
6067  enum E_Choice {
6068  e_not_set = 0, ///< No variant selected
6114  e_Cs
6115  };
6116  /// Maximum+1 value of the choice variant enumerator.
6118  e_MaxChoice = 47 ///< == e_Cs+1
6119  };
6120 
6121  /// Reset the whole object
6122  void Reset(void);
6123 
6124  /// Reset the selection (set it to e_not_set).
6125  void ResetSelection(void);
6126 
6127  /// Which variant is currently selected.
6128  ///
6129  /// @return
6130  /// Choice state enumerator.
6131  E_Choice Which(void) const;
6132 
6133  /// Verify selection, throw exception if it differs from the expected.
6134  ///
6135  /// @param index
6136  /// Expected selection.
6137  void CheckSelected(E_Choice index) const;
6138 
6139  /// Throw 'InvalidSelection' exception.
6140  ///
6141  /// @param index
6142  /// Expected selection.
6143  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
6144 
6145  /// Retrieve selection name (for diagnostic purposes).
6146  ///
6147  /// @param index
6148  /// One of possible selection states.
6149  /// @return
6150  /// Name string.
6151  static string SelectionName(E_Choice index);
6152 
6153  /// Select the requested variant if needed.
6154  ///
6155  /// @param index
6156  /// New selection state.
6157  /// @param reset
6158  /// Flag that defines the resetting of the variant data. The data will
6159  /// be reset if either the current selection differs from the new one,
6160  /// or the flag is set to eDoResetVariant.
6162  /// Select the requested variant if needed,
6163  /// allocating CObject variants from memory pool.
6164  void Select(E_Choice index,
6165  EResetVariant reset,
6166  CObjectMemoryPool* pool);
6167 
6168  // types
6206  typedef CCn TCn;
6207  typedef CCi TCi;
6209  typedef CApply TApply;
6210  typedef CBind TBind;
6211  typedef CShare TShare;
6212  typedef CCerror TCerror;
6213  typedef CCbytes TCbytes;
6214  typedef CCs TCs;
6215 
6216  // getters
6217  // setters
6218 
6219 
6220  /// Check if variant Piecewise is selected.
6221  ///
6222  /// Piecewise type is defined as 'typedef CPiecewise TPiecewise'.
6223  /// @return
6224  /// - true, if the variant is selected.
6225  /// - false, otherwise.
6226  bool IsPiecewise(void) const;
6227 
6228  /// Get the variant data.
6229  ///
6230  /// @return
6231  /// Reference to the data.
6232  const TPiecewise& GetPiecewise(void) const;
6233 
6234  /// Select the variant.
6235  ///
6236  /// @return
6237  /// Reference to the variant data.
6238  TPiecewise& SetPiecewise(void);
6239  /// Select the variant and set its data.
6240  ///
6241  /// @param value
6242  /// Reference to the data.
6243  void SetPiecewise(TPiecewise& value);
6244 
6245 
6246  /// Check if variant DeprecatedContExp is selected.
6247  ///
6248  /// DeprecatedContExp type is defined as 'typedef C_DeprecatedContExp TDeprecatedContExp'.
6249  /// @return
6250  /// - true, if the variant is selected.
6251  /// - false, otherwise.
6252  bool IsDeprecatedContExp(void) const;
6253 
6254  /// Get the variant data.
6255  ///
6256  /// @return
6257  /// Reference to the data.
6258  const TDeprecatedContExp& GetDeprecatedContExp(void) const;
6259 
6260  /// Select the variant.
6261  ///
6262  /// @return
6263  /// Reference to the variant data.
6265  /// Select the variant and set its data.
6266  ///
6267  /// @param value
6268  /// Reference to the data.
6270 
6271 
6272  /// Check if variant Interval_mmlclass is selected.
6273  ///
6274  /// Interval_mmlclass type is defined as 'typedef C_Interval_mmlclass TInterval_mmlclass'.
6275  /// @return
6276  /// - true, if the variant is selected.
6277  /// - false, otherwise.
6278  bool IsInterval_mmlclass(void) const;
6279 
6280  /// Get the variant data.
6281  ///
6282  /// @return
6283  /// Reference to the data.
6284  const TInterval_mmlclass& GetInterval_mmlclass(void) const;
6285 
6286  /// Select the variant.
6287  ///
6288  /// @return
6289  /// Reference to the variant data.
6291  /// Select the variant and set its data.
6292  ///
6293  /// @param value
6294  /// Reference to the data.
6296 
6297 
6298  /// Check if variant Unary_functional_mmlclass is selected.
6299  ///
6300  /// Unary_functional_mmlclass type is defined as 'typedef C_Unary_functional_mmlclass TUnary_functional_mmlclass'.
6301  /// @return
6302  /// - true, if the variant is selected.
6303  /// - false, otherwise.
6304  bool IsUnary_functional_mmlclass(void) const;
6305 
6306  /// Get the variant data.
6307  ///
6308  /// @return
6309  /// Reference to the data.
6311 
6312  /// Select the variant.
6313  ///
6314  /// @return
6315  /// Reference to the variant data.
6317  /// Select the variant and set its data.
6318  ///
6319  /// @param value
6320  /// Reference to the data.
6322 
6323 
6324  /// Check if variant Lambda_mmlclass is selected.
6325  ///
6326  /// Lambda_mmlclass type is defined as 'typedef C_Lambda_mmlclass TLambda_mmlclass'.
6327  /// @return
6328  /// - true, if the variant is selected.
6329  /// - false, otherwise.
6330  bool IsLambda_mmlclass(void) const;
6331 
6332  /// Get the variant data.
6333  ///
6334  /// @return
6335  /// Reference to the data.
6336  const TLambda_mmlclass& GetLambda_mmlclass(void) const;
6337 
6338  /// Select the variant.
6339  ///
6340  /// @return
6341  /// Reference to the variant data.
6343  /// Select the variant and set its data.
6344  ///
6345  /// @param value
6346  /// Reference to the data.
6348 
6349 
6350  /// Check if variant Nary_functional_mmlclass is selected.
6351  ///
6352  /// Nary_functional_mmlclass type is defined as 'typedef C_Nary_functional_mmlclass TNary_functional_mmlclass'.
6353  /// @return
6354  /// - true, if the variant is selected.
6355  /// - false, otherwise.
6356  bool IsNary_functional_mmlclass(void) const;
6357 
6358  /// Get the variant data.
6359  ///
6360  /// @return
6361  /// Reference to the data.
6363 
6364  /// Select the variant.
6365  ///
6366  /// @return
6367  /// Reference to the variant data.
6369  /// Select the variant and set its data.
6370  ///
6371  /// @param value
6372  /// Reference to the data.
6374 
6375 
6376  /// Check if variant Binary_arith_mmlclass is selected.
6377  ///
6378  /// Binary_arith_mmlclass type is defined as 'typedef C_Binary_arith_mmlclass TBinary_arith_mmlclass'.
6379  /// @return
6380  /// - true, if the variant is selected.
6381  /// - false, otherwise.
6382  bool IsBinary_arith_mmlclass(void) const;
6383 
6384  /// Get the variant data.
6385  ///
6386  /// @return
6387  /// Reference to the data.
6389 
6390  /// Select the variant.
6391  ///
6392  /// @return
6393  /// Reference to the variant data.
6395  /// Select the variant and set its data.
6396  ///
6397  /// @param value
6398  /// Reference to the data.
6400 
6401 
6402  /// Check if variant Unary_arith_mmlclass is selected.
6403  ///
6404  /// Unary_arith_mmlclass type is defined as 'typedef C_Unary_arith_mmlclass TUnary_arith_mmlclass'.
6405  /// @return
6406  /// - true, if the variant is selected.
6407  /// - false, otherwise.
6408  bool IsUnary_arith_mmlclass(void) const;
6409 
6410  /// Get the variant data.
6411  ///
6412  /// @return
6413  /// Reference to the data.
6415 
6416  /// Select the variant.
6417  ///
6418  /// @return
6419  /// Reference to the variant data.
6421  /// Select the variant and set its data.
6422  ///
6423  /// @param value
6424  /// Reference to the data.
6426 
6427 
6428  /// Check if variant Nary_minmax_mmlclass is selected.
6429  ///
6430  /// Nary_minmax_mmlclass type is defined as 'typedef C_Nary_minmax_mmlclass TNary_minmax_mmlclass'.
6431  /// @return
6432  /// - true, if the variant is selected.
6433  /// - false, otherwise.
6434  bool IsNary_minmax_mmlclass(void) const;
6435 
6436  /// Get the variant data.
6437  ///
6438  /// @return
6439  /// Reference to the data.
6441 
6442  /// Select the variant.
6443  ///
6444  /// @return
6445  /// Reference to the variant data.
6447  /// Select the variant and set its data.
6448  ///
6449  /// @param value
6450  /// Reference to the data.
6452 
6453 
6454  /// Check if variant Nary_arith_mmlclass is selected.
6455  ///
6456  /// Nary_arith_mmlclass type is defined as 'typedef C_Nary_arith_mmlclass TNary_arith_mmlclass'.
6457  /// @return
6458  /// - true, if the variant is selected.
6459  /// - false, otherwise.
6460  bool IsNary_arith_mmlclass(void) const;
6461 
6462  /// Get the variant data.
6463  ///
6464  /// @return
6465  /// Reference to the data.
6466  const TNary_arith_mmlclass& GetNary_arith_mmlclass(void) const;
6467 
6468  /// Select the variant.
6469  ///
6470  /// @return
6471  /// Reference to the variant data.
6473  /// Select the variant and set its data.
6474  ///
6475  /// @param value
6476  /// Reference to the data.
6478 
6479 
6480  /// Check if variant Nary_logical_mmlclass is selected.
6481  ///
6482  /// Nary_logical_mmlclass type is defined as 'typedef C_Nary_logical_mmlclass TNary_logical_mmlclass'.
6483  /// @return
6484  /// - true, if the variant is selected.
6485  /// - false, otherwise.
6486  bool IsNary_logical_mmlclass(void) const;
6487 
6488  /// Get the variant data.
6489  ///
6490  /// @return
6491  /// Reference to the data.
6493 
6494  /// Select the variant.
6495  ///
6496  /// @return
6497  /// Reference to the variant data.
6499  /// Select the variant and set its data.
6500  ///
6501  /// @param value
6502  /// Reference to the data.
6504 
6505 
6506  /// Check if variant Unary_logical_mmlclass is selected.
6507  ///
6508  /// Unary_logical_mmlclass type is defined as 'typedef C_Unary_logical_mmlclass TUnary_logical_mmlclass'.
6509  /// @return
6510  /// - true, if the variant is selected.
6511  /// - false, otherwise.
6512  bool IsUnary_logical_mmlclass(void) const;
6513 
6514  /// Get the variant data.
6515  ///
6516  /// @return
6517  /// Reference to the data.
6519 
6520  /// Select the variant.
6521  ///
6522  /// @return
6523  /// Reference to the variant data.
6525  /// Select the variant and set its data.
6526  ///
6527  /// @param value
6528  /// Reference to the data.
6530 
6531 
6532  /// Check if variant Binary_logical_mmlclass is selected.
6533  ///
6534  /// Binary_logical_mmlclass type is defined as 'typedef C_Binary_logical_mmlclass TBinary_logical_mmlclass'.
6535  /// @return
6536  /// - true, if the variant is selected.
6537  /// - false, otherwise.
6538  bool IsBinary_logical_mmlclass(void) const;
6539 
6540  /// Get the variant data.
6541  ///
6542  /// @return
6543  /// Reference to the data.
6545 
6546  /// Select the variant.
6547  ///
6548  /// @return
6549  /// Reference to the variant data.
6551  /// Select the variant and set its data.
6552  ///
6553  /// @param value
6554  /// Reference to the data.
6556 
6557 
6558  /// Check if variant Quantifier_mmlclass is selected.
6559  ///
6560  /// Quantifier_mmlclass type is defined as 'typedef C_Quantifier_mmlclass TQuantifier_mmlclass'.
6561  /// @return
6562  /// - true, if the variant is selected.
6563  /// - false, otherwise.
6564  bool IsQuantifier_mmlclass(void) const;
6565 
6566  /// Get the variant data.
6567  ///
6568  /// @return
6569  /// Reference to the data.
6570  const TQuantifier_mmlclass& GetQuantifier_mmlclass(void) const;
6571 
6572  /// Select the variant.
6573  ///
6574  /// @return
6575  /// Reference to the variant data.
6577  /// Select the variant and set its data.
6578  ///
6579  /// @param value
6580  /// Reference to the data.
6582 
6583 
6584  /// Check if variant Nary_reln_mmlclass is selected.
6585  ///
6586  /// Nary_reln_mmlclass type is defined as 'typedef C_Nary_reln_mmlclass TNary_reln_mmlclass'.
6587  /// @return
6588  /// - true, if the variant is selected.
6589  /// - false, otherwise.
6590  bool IsNary_reln_mmlclass(void) const;
6591 
6592  /// Get the variant data.
6593  ///
6594  /// @return
6595  /// Reference to the data.
6596  const TNary_reln_mmlclass& GetNary_reln_mmlclass(void) const;
6597 
6598  /// Select the variant.
6599  ///
6600  /// @return
6601  /// Reference to the variant data.
6603  /// Select the variant and set its data.
6604  ///
6605  /// @param value
6606  /// Reference to the data.
6608 
6609 
6610  /// Check if variant Binary_reln_mmlclass is selected.
6611  ///
6612  /// Binary_reln_mmlclass type is defined as 'typedef C_Binary_reln_mmlclass TBinary_reln_mmlclass'.
6613  /// @return
6614  /// - true, if the variant is selected.
6615  /// - false, otherwise.
6616  bool IsBinary_reln_mmlclass(void) const;
6617 
6618  /// Get the variant data.
6619  ///
6620  /// @return
6621  /// Reference to the data.
6623 
6624  /// Select the variant.
6625  ///
6626  /// @return
6627  /// Reference to the variant data.
6629  /// Select the variant and set its data.
6630  ///
6631  /// @param value
6632  /// Reference to the data.
6634 
6635 
6636  /// Check if variant Int_mmlclass is selected.
6637  ///
6638  /// Int_mmlclass type is defined as 'typedef C_Int_mmlclass TInt_mmlclass'.
6639  /// @return
6640  /// - true, if the variant is selected.
6641  /// - false, otherwise.
6642  bool IsInt_mmlclass(void) const;
6643 
6644  /// Get the variant data.
6645  ///
6646  /// @return
6647  /// Reference to the data.
6648  const TInt_mmlclass& GetInt_mmlclass(void) const;
6649 
6650  /// Select the variant.
6651  ///
6652  /// @return
6653  /// Reference to the variant data.
6655  /// Select the variant and set its data.
6656  ///
6657  /// @param value
6658  /// Reference to the data.
6660 
6661 
6662  /// Check if variant Differential_Operator_mmlclass is selected.
6663  ///
6664  /// Differential_Operator_mmlclass type is defined as 'typedef C_Differential_Operator_mmlclass TDifferential_Operator_mmlclass'.
6665  /// @return
6666  /// - true, if the variant is selected.
6667  /// - false, otherwise.
6668  bool IsDifferential_Operator_mmlclass(void) const;
6669 
6670  /// Get the variant data.
6671  ///
6672  /// @return
6673  /// Reference to the data.
6675 
6676  /// Select the variant.
6677  ///
6678  /// @return
6679  /// Reference to the variant data.
6681  /// Select the variant and set its data.
6682  ///
6683  /// @param value
6684  /// Reference to the data.
6686 
6687 
6688  /// Check if variant Partialdiff_mmlclass is selected.
6689  ///
6690  /// Partialdiff_mmlclass type is defined as 'typedef C_Partialdiff_mmlclass TPartialdiff_mmlclass'.
6691  /// @return
6692  /// - true, if the variant is selected.
6693  /// - false, otherwise.
6694  bool IsPartialdiff_mmlclass(void) const;
6695 
6696  /// Get the variant data.
6697  ///
6698  /// @return
6699  /// Reference to the data.
6701 
6702  /// Select the variant.
6703  ///
6704  /// @return
6705  /// Reference to the variant data.
6707  /// Select the variant and set its data.
6708  ///
6709  /// @param value
6710  /// Reference to the data.
6712 
6713 
6714  /// Check if variant Unary_veccalc_mmlclass is selected.
6715  ///
6716  /// Unary_veccalc_mmlclass type is defined as 'typedef C_Unary_veccalc_mmlclass TUnary_veccalc_mmlclass'.
6717  /// @return
6718  /// - true, if the variant is selected.
6719  /// - false, otherwise.
6720  bool IsUnary_veccalc_mmlclass(void) const;
6721 
6722  /// Get the variant data.
6723  ///
6724  /// @return
6725  /// Reference to the data.
6727 
6728  /// Select the variant.
6729  ///
6730  /// @return
6731  /// Reference to the variant data.
6733  /// Select the variant and set its data.
6734  ///
6735  /// @param value
6736  /// Reference to the data.
6738 
6739 
6740  /// Check if variant Nary_setlist_constructor_mmlclass is selected.
6741  ///
6742  /// Nary_setlist_constructor_mmlclass type is defined as 'typedef C_Nary_setlist_constructor_mmlclass TNary_setlist_constructor_mmlclass'.
6743  /// @return
6744  /// - true, if the variant is selected.
6745  /// - false, otherwise.
6746  bool IsNary_setlist_constructor_mmlclass(void) const;
6747 
6748  /// Get the variant data.
6749  ///
6750  /// @return
6751  /// Reference to the data.
6753 
6754  /// Select the variant.
6755  ///
6756  /// @return
6757  /// Reference to the variant data.
6759  /// Select the variant and set its data.
6760  ///
6761  /// @param value
6762  /// Reference to the data.
6764 
6765 
6766  /// Check if variant Nary_set_mmlclass is selected.
6767  ///
6768  /// Nary_set_mmlclass type is defined as 'typedef C_Nary_set_mmlclass TNary_set_mmlclass'.
6769  /// @return
6770  /// - true, if the variant is selected.
6771  /// - false, otherwise.
6772  bool IsNary_set_mmlclass(void) const;
6773 
6774  /// Get the variant data.
6775  ///
6776  /// @return
6777  /// Reference to the data.
6778  const TNary_set_mmlclass& GetNary_set_mmlclass(void) const;
6779 
6780  /// Select the variant.
6781  ///
6782  /// @return
6783  /// Reference to the variant data.
6785  /// Select the variant and set its data.
6786  ///
6787  /// @param value
6788  /// Reference to the data.
6790 
6791 
6792  /// Check if variant Binary_set_mmlclass is selected.
6793  ///
6794  /// Binary_set_mmlclass type is defined as 'typedef C_Binary_set_mmlclass TBinary_set_mmlclass'.
6795  /// @return
6796  /// - true, if the variant is selected.
6797  /// - false, otherwise.
6798  bool IsBinary_set_mmlclass(void) const;
6799 
6800  /// Get the variant data.
6801  ///
6802  /// @return
6803  /// Reference to the data.
6804  const TBinary_set_mmlclass& GetBinary_set_mmlclass(void) const;
6805 
6806  /// Select the variant.
6807  ///
6808  /// @return
6809  /// Reference to the variant data.
6811  /// Select the variant and set its data.
6812  ///
6813  /// @param value
6814  /// Reference to the data.
6816 
6817 
6818  /// Check if variant Nary_set_reln_mmlclass is selected.
6819  ///
6820  /// Nary_set_reln_mmlclass type is defined as 'typedef C_Nary_set_reln_mmlclass TNary_set_reln_mmlclass'.
6821  /// @return
6822  /// - true, if the variant is selected.
6823  /// - false, otherwise.
6824  bool IsNary_set_reln_mmlclass(void) const;
6825 
6826  /// Get the variant data.
6827  ///
6828  /// @return
6829  /// Reference to the data.
6831 
6832  /// Select the variant.
6833  ///
6834  /// @return
6835  /// Reference to the variant data.
6837  /// Select the variant and set its data.
6838  ///
6839  /// @param value
6840  /// Reference to the data.
6842 
6843 
6844  /// Check if variant Unary_set_mmlclass is selected.
6845  ///
6846  /// Unary_set_mmlclass type is defined as 'typedef C_Unary_set_mmlclass TUnary_set_mmlclass'.
6847  /// @return
6848  /// - true, if the variant is selected.
6849  /// - false, otherwise.
6850  bool IsUnary_set_mmlclass(void) const;
6851 
6852  /// Get the variant data.
6853  ///
6854  /// @return
6855  /// Reference to the data.
6856  const TUnary_set_mmlclass& GetUnary_set_mmlclass(void) const;
6857 
6858  /// Select the variant.
6859  ///
6860  /// @return
6861  /// Reference to the variant data.
6863  /// Select the variant and set its data.
6864  ///
6865  /// @param value
6866  /// Reference to the data.
6868 
6869 
6870  /// Check if variant Sum_mmlclass is selected.
6871  ///
6872  /// Sum_mmlclass type is defined as 'typedef C_Sum_mmlclass TSum_mmlclass'.
6873  /// @return
6874  /// - true, if the variant is selected.
6875  /// - false, otherwise.
6876  bool IsSum_mmlclass(void) const;
6877 
6878  /// Get the variant data.
6879  ///
6880  /// @return
6881  /// Reference to the data.
6882  const TSum_mmlclass& GetSum_mmlclass(void) const;
6883 
6884  /// Select the variant.
6885  ///
6886  /// @return
6887  /// Reference to the variant data.
6889  /// Select the variant and set its data.
6890  ///
6891  /// @param value
6892  /// Reference to the data.
6894 
6895 
6896  /// Check if variant Product_mmlclass is selected.
6897  ///
6898  /// Product_mmlclass type is defined as 'typedef C_Product_mmlclass TProduct_mmlclass'.
6899  /// @return
6900  /// - true, if the variant is selected.
6901  /// - false, otherwise.
6902  bool IsProduct_mmlclass(void) const;
6903 
6904  /// Get the variant data.
6905  ///
6906  /// @return
6907  /// Reference to the data.
6908  const TProduct_mmlclass& GetProduct_mmlclass(void) const;
6909 
6910  /// Select the variant.
6911  ///
6912  /// @return
6913  /// Reference to the variant data.
6915  /// Select the variant and set its data.
6916  ///
6917  /// @param value
6918  /// Reference to the data.
6920 
6921 
6922  /// Check if variant Limit_mmlclass is selected.
6923  ///
6924  /// Limit_mmlclass type is defined as 'typedef C_Limit_mmlclass TLimit_mmlclass'.
6925  /// @return
6926  /// - true, if the variant is selected.
6927  /// - false, otherwise.
6928  bool IsLimit_mmlclass(void) const;
6929 
6930  /// Get the variant data.
6931  ///
6932  /// @return
6933  /// Reference to the data.
6934  const TLimit_mmlclass& GetLimit_mmlclass(void) const;
6935 
6936  /// Select the variant.
6937  ///
6938  /// @return
6939  /// Reference to the variant data.
6941  /// Select the variant and set its data.
6942  ///
6943  /// @param value
6944  /// Reference to the data.
6946 
6947 
6948  /// Check if variant Unary_elementary_mmlclass is selected.
6949  ///
6950  /// Unary_elementary_mmlclass type is defined as 'typedef C_Unary_elementary_mmlclass TUnary_elementary_mmlclass'.
6951  /// @return
6952  /// - true, if the variant is selected.
6953  /// - false, otherwise.
6954  bool IsUnary_elementary_mmlclass(void) const;
6955 
6956  /// Get the variant data.
6957  ///
6958  /// @return
6959  /// Reference to the data.
6961 
6962  /// Select the variant.
6963  ///
6964  /// @return
6965  /// Reference to the variant data.
6967  /// Select the variant and set its data.
6968  ///
6969  /// @param value
6970  /// Reference to the data.
6972 
6973 
6974  /// Check if variant Nary_stats_mmlclass is selected.
6975  ///
6976  /// Nary_stats_mmlclass type is defined as 'typedef C_Nary_stats_mmlclass TNary_stats_mmlclass'.
6977  /// @return
6978  /// - true, if the variant is selected.
6979  /// - false, otherwise.
6980  bool IsNary_stats_mmlclass(void) const;
6981 
6982  /// Get the variant data.
6983  ///
6984  /// @return
6985  /// Reference to the data.
6986  const TNary_stats_mmlclass& GetNary_stats_mmlclass(void) const;
6987 
6988  /// Select the variant.
6989  ///
6990  /// @return
6991  /// Reference to the variant data.
6993  /// Select the variant and set its data.
6994  ///
6995  /// @param value
6996  /// Reference to the data.
6998 
6999 
7000  /// Check if variant Nary_constructor_mmlclass is selected.
7001  ///
7002  /// Nary_constructor_mmlclass type is defined as 'typedef C_Nary_constructor_mmlclass TNary_constructor_mmlclass'.
7003  /// @return
7004  /// - true, if the variant is selected.
7005  /// - false, otherwise.
7006  bool IsNary_constructor_mmlclass(void) const;
7007 
7008  /// Get the variant data.
7009  ///
7010  /// @return
7011  /// Reference to the data.
7013 
7014  /// Select the variant.
7015  ///
7016  /// @return
7017  /// Reference to the variant data.
7019  /// Select the variant and set its data.
7020  ///
7021  /// @param value
7022  /// Reference to the data.
7024 
7025 
7026  /// Check if variant Unary_linalg_mmlclass is selected.
7027  ///
7028  /// Unary_linalg_mmlclass type is defined as 'typedef C_Unary_linalg_mmlclass TUnary_linalg_mmlclass'.
7029  /// @return
7030  /// - true, if the variant is selected.
7031  /// - false, otherwise.
7032  bool IsUnary_linalg_mmlclass(void) const;
7033 
7034  /// Get the variant data.
7035  ///
7036  /// @return
7037  /// Reference to the data.
7039 
7040  /// Select the variant.
7041  ///
7042  /// @return
7043  /// Reference to the variant data.
7045  /// Select the variant and set its data.
7046  ///
7047  /// @param value
7048  /// Reference to the data.
7050 
7051 
7052  /// Check if variant Nary_linalg_mmlclass is selected.
7053  ///
7054  /// Nary_linalg_mmlclass type is defined as 'typedef C_Nary_linalg_mmlclass TNary_linalg_mmlclass'.
7055  /// @return
7056  /// - true, if the variant is selected.
7057  /// - false, otherwise.
7058  bool IsNary_linalg_mmlclass(void) const;
7059 
7060  /// Get the variant data.
7061  ///
7062  /// @return
7063  /// Reference to the data.
7065 
7066  /// Select the variant.
7067  ///
7068  /// @return
7069  /// Reference to the variant data.
7071  /// Select the variant and set its data.
7072  ///
7073  /// @param value
7074  /// Reference to the data.
7076 
7077 
7078  /// Check if variant Binary_linalg_mmlclass is selected.
7079  ///
7080  /// Binary_linalg_mmlclass type is defined as 'typedef C_Binary_linalg_mmlclass TBinary_linalg_mmlclass'.
7081  /// @return
7082  /// - true, if the variant is selected.
7083  /// - false, otherwise.
7084  bool IsBinary_linalg_mmlclass(void) const;
7085 
7086  /// Get the variant data.
7087  ///
7088  /// @return
7089  /// Reference to the data.
7091 
7092  /// Select the variant.
7093  ///
7094  /// @return
7095  /// Reference to the variant data.
7097  /// Select the variant and set its data.
7098  ///
7099  /// @param value
7100  /// Reference to the data.
7102 
7103 
7104  /// Check if variant Constant_set_mmlclass is selected.
7105  ///
7106  /// Constant_set_mmlclass type is defined as 'typedef C_Constant_set_mmlclass TConstant_set_mmlclass'.
7107  /// @return
7108  /// - true, if the variant is selected.
7109  /// - false, otherwise.
7110  bool IsConstant_set_mmlclass(void) const;
7111 
7112  /// Get the variant data.
7113  ///
7114  /// @return
7115  /// Reference to the data.
7117 
7118  /// Select the variant.
7119  ///
7120  /// @return
7121  /// Reference to the variant data.
7123  /// Select the variant and set its data.
7124  ///
7125  /// @param value
7126  /// Reference to the data.
7128 
7129 
7130  /// Check if variant Constant_arith_mmlclass is selected.
7131  ///
7132  /// Constant_arith_mmlclass type is defined as 'typedef C_Constant_arith_mmlclass TConstant_arith_mmlclass'.
7133  /// @return
7134  /// - true, if the variant is selected.
7135  /// - false, otherwise.
7136  bool IsConstant_arith_mmlclass(void) const;
7137 
7138  /// Get the variant data.
7139  ///
7140  /// @return
7141  /// Reference to the data.
7143 
7144  /// Select the variant.
7145  ///
7146  /// @return
7147  /// Reference to the variant data.
7149  /// Select the variant and set its data.
7150  ///
7151  /// @param value
7152  /// Reference to the data.
7154 
7155 
7156  /// Check if variant Semantics is selected.
7157  ///
7158  /// Semantics type is defined as 'typedef CSemantics TSemantics'.
7159  /// @return
7160  /// - true, if the variant is selected.
7161  /// - false, otherwise.
7162  bool IsSemantics(void) const;
7163 
7164  /// Get the variant data.
7165  ///
7166  /// @return
7167  /// Reference to the data.
7168  const TSemantics& GetSemantics(void) const;
7169 
7170  /// Select the variant.
7171  ///
7172  /// @return
7173  /// Reference to the variant data.
7174  TSemantics& SetSemantics(void);
7175  /// Select the variant and set its data.
7176  ///
7177  /// @param value
7178  /// Reference to the data.
7179  void SetSemantics(TSemantics& value);
7180 
7181 
7182  /// Check if variant Cn is selected.
7183  ///
7184  /// Cn type is defined as 'typedef CCn TCn'.
7185  /// @return
7186  /// - true, if the variant is selected.
7187  /// - false, otherwise.
7188  bool IsCn(void) const;
7189 
7190  /// Get the variant data.
7191  ///
7192  /// @return
7193  /// Reference to the data.
7194  const TCn& GetCn(void) const;
7195 
7196  /// Select the variant.
7197  ///
7198  /// @return
7199  /// Reference to the variant data.
7200  TCn& SetCn(void);
7201  /// Select the variant and set its data.
7202  ///
7203  /// @param value
7204  /// Reference to the data.
7205  void SetCn(TCn& value);
7206 
7207 
7208  /// Check if variant Ci is selected.
7209  ///
7210  /// Ci type is defined as 'typedef CCi TCi'.
7211  /// @return
7212  /// - true, if the variant is selected.
7213  /// - false, otherwise.
7214  bool IsCi(void) const;
7215 
7216  /// Get the variant data.
7217  ///
7218  /// @return
7219  /// Reference to the data.
7220  const TCi& GetCi(void) const;
7221 
7222  /// Select the variant.
7223  ///
7224  /// @return
7225  /// Reference to the variant data.
7226  TCi& SetCi(void);
7227  /// Select the variant and set its data.
7228  ///
7229  /// @param value
7230  /// Reference to the data.
7231  void SetCi(TCi& value);
7232 
7233 
7234  /// Check if variant Csymbol is selected.
7235  ///
7236  /// Csymbol type is defined as 'typedef CCsymbol TCsymbol'.
7237  /// @return
7238  /// - true, if the variant is selected.
7239  /// - false, otherwise.
7240  bool IsCsymbol(void) const;
7241 
7242  /// Get the variant data.
7243  ///
7244  /// @return
7245  /// Reference to the data.
7246  const TCsymbol& GetCsymbol(void) const;
7247 
7248  /// Select the variant.
7249  ///
7250  /// @return
7251  /// Reference to the variant data.
7252  TCsymbol& SetCsymbol(void);
7253  /// Select the variant and set its data.
7254  ///
7255  /// @param value
7256  /// Reference to the data.
7257  void SetCsymbol(TCsymbol& value);
7258 
7259 
7260  /// Check if variant Apply is selected.
7261  ///
7262  /// Apply type is defined as 'typedef CApply TApply'.
7263  /// @return
7264  /// - true, if the variant is selected.
7265  /// - false, otherwise.
7266  bool IsApply(void) const;
7267 
7268  /// Get the variant data.
7269  ///
7270  /// @return
7271  /// Reference to the data.
7272  const TApply& GetApply(void) const;
7273 
7274  /// Select the variant.
7275  ///
7276  /// @return
7277  /// Reference to the variant data.
7278  TApply& SetApply(void);
7279  /// Select the variant and set its data.
7280  ///
7281  /// @param value
7282  /// Reference to the data.
7283  void SetApply(TApply& value);
7284 
7285 
7286  /// Check if variant Bind is selected.
7287  ///
7288  /// Bind type is defined as 'typedef CBind TBind'.
7289  /// @return
7290  /// - true, if the variant is selected.
7291  /// - false, otherwise.
7292  bool IsBind(void) const;
7293 
7294  /// Get the variant data.
7295  ///
7296  /// @return
7297  /// Reference to the data.
7298  const TBind& GetBind(void) const;
7299 
7300  /// Select the variant.
7301  ///
7302  /// @return
7303  /// Reference to the variant data.
7304  TBind& SetBind(void);
7305  /// Select the variant and set its data.
7306  ///
7307  /// @param value
7308  /// Reference to the data.
7309  void SetBind(TBind& value);
7310 
7311 
7312  /// Check if variant Share is selected.
7313  ///
7314  /// Share type is defined as 'typedef CShare TShare'.
7315  /// @return
7316  /// - true, if the variant is selected.
7317  /// - false, otherwise.
7318  bool IsShare(void) const;
7319 
7320  /// Get the variant data.
7321  ///
7322  /// @return
7323  /// Reference to the data.
7324  const TShare& GetShare(void) const;
7325 
7326  /// Select the variant.
7327  ///
7328  /// @return
7329  /// Reference to the variant data.
7330  TShare& SetShare(void);
7331 
7332 
7333  /// Check if variant Cerror is selected.
7334  ///
7335  /// Cerror type is defined as 'typedef CCerror TCerror'.
7336  /// @return
7337  /// - true, if the variant is selected.
7338  /// - false, otherwise.
7339  bool IsCerror(void) const;
7340 
7341  /// Get the variant data.
7342  ///
7343  /// @return
7344  /// Reference to the data.
7345  const TCerror& GetCerror(void) const;
7346 
7347  /// Select the variant.
7348  ///
7349  /// @return
7350  /// Reference to the variant data.
7351  TCerror& SetCerror(void);
7352  /// Select the variant and set its data.
7353  ///
7354  /// @param value
7355  /// Reference to the data.
7356  void SetCerror(TCerror& value);
7357 
7358 
7359  /// Check if variant Cbytes is selected.
7360  ///
7361  /// Cbytes type is defined as 'typedef CCbytes TCbytes'.
7362  /// @return
7363  /// - true, if the variant is selected.
7364  /// - false, otherwise.
7365  bool IsCbytes(void) const;
7366 
7367  /// Get the variant data.
7368  ///
7369  /// @return
7370  /// Reference to the data.
7371  const TCbytes& GetCbytes(void) const;
7372 
7373  /// Select the variant.
7374  ///
7375  /// @return
7376  /// Reference to the variant data.
7377  TCbytes& SetCbytes(void);
7378  /// Select the variant and set its data.
7379  ///
7380  /// @param value
7381  /// Reference to the data.
7382  void SetCbytes(TCbytes& value);
7383 
7384 
7385  /// Check if variant Cs is selected.
7386  ///
7387  /// Cs type is defined as 'typedef CCs TCs'.
7388  /// @return
7389  /// - true, if the variant is selected.
7390  /// - false, otherwise.
7391  bool IsCs(void) const;
7392 
7393  /// Get the variant data.
7394  ///
7395  /// @return
7396  /// Reference to the data.
7397  const TCs& GetCs(void) const;
7398 
7399  /// Select the variant.
7400  ///
7401  /// @return
7402  /// Reference to the variant data.
7403  TCs& SetCs(void);
7404  /// Select the variant and set its data.
7405  ///
7406  /// @param value
7407  /// Reference to the data.
7408  void SetCs(TCs& value);
7409 
7410 
7411  private:
7412  // copy constructor and assignment operator
7415  // choice state
7417  // helper methods
7418  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
7419 
7420  static const char* const sm_SelectionNames[];
7421  // data
7422  NCBI_NS_NCBI::CSerialObject *m_object;
7423  };
7424  // types
7425  typedef C_E_ContExp C_E;
7426  typedef list< CRef< C_E_ContExp > > TContExp;
7427 
7428  // member index
7429  enum class E_memberIndex {
7430  e__allMandatory = 0,
7431  e_ContExp
7432  };
7434 
7435  // getters
7436  // setters
7437 
7438  /// Check if a value has been assigned to ContExp data member.
7439  ///
7440  /// Data member ContExp is optional;
7441  /// its type is defined as 'typedef list< CRef< C_E_ContExp > > TContExp'
7442  /// @return
7443  /// - true, if a value has been assigned.
7444  /// - false, otherwise.
7445  bool IsSetContExp(void) const;
7446 
7447  /// Check if it is safe to call GetContExp method.
7448  ///
7449  /// @return
7450  /// - true, if the data member is getatable.
7451  /// - false, otherwise.
7452  bool CanGetContExp(void) const;
7453 
7454  /// Reset ContExp data member.
7455  void ResetContExp(void);
7456 
7457  /// Get the ContExp member data.
7458  ///
7459  /// @return
7460  /// Reference to the member data.
7461  const TContExp& GetContExp(void) const;
7462 
7463  /// Assign a value to ContExp data member.
7464  ///
7465  /// @return
7466  /// Reference to the data value.
7467  TContExp& SetContExp(void);
7468 
7469  /// Reset the whole object
7470  void Reset(void);
7471 
7472 
7473  private:
7474  // Prohibit copy constructor and assignment operator
7477 
7478  // data
7480  list< CRef< C_E_ContExp > > m_ContExp;
7481  };
7482  /////////////////////////////////////////////////////////////////////////////
7483  ///
7484  /// C_BvarQ --
7485  ///
7486 
7487  class C_BvarQ : public CSerialObject
7488  {
7490  public:
7491  // constructor
7492  C_BvarQ(void);
7493  // destructor
7494  ~C_BvarQ(void);
7495 
7496  // type info
7498 
7499  // types
7500  typedef CBvar C_E;
7501  typedef list< CRef< CBvar > > TBvar;
7502 
7503  // member index
7504  enum class E_memberIndex {
7505  e__allMandatory = 0,
7506  e_bvar
7507  };
7509 
7510  // getters
7511  // setters
7512 
7513  /// Check if a value has been assigned to Bvar data member.
7514  ///
7515  /// Data member Bvar is optional;
7516  /// its type is defined as 'typedef list< CRef< CBvar > > TBvar'
7517  /// @return
7518  /// - true, if a value has been assigned.
7519  /// - false, otherwise.
7520  bool IsSetBvar(void) const;
7521 
7522  /// Check if it is safe to call GetBvar method.
7523  ///
7524  /// @return
7525  /// - true, if the data member is getatable.
7526  /// - false, otherwise.
7527  bool CanGetBvar(void) const;
7528 
7529  /// Reset Bvar data member.
7530  void ResetBvar(void);
7531 
7532  /// Get the Bvar member data.
7533  ///
7534  /// @return
7535  /// Reference to the member data.
7536  const TBvar& GetBvar(void) const;
7537 
7538  /// Assign a value to Bvar data member.
7539  ///
7540  /// @return
7541  /// Reference to the data value.
7542  TBvar& SetBvar(void);
7543 
7544  /// Reset the whole object
7545  void Reset(void);
7546 
7547 
7548  private:
7549  // Prohibit copy constructor and assignment operator
7550  C_BvarQ(const C_BvarQ&);
7552 
7553  // data
7555  list< CRef< CBvar > > m_Bvar;
7556  };
7557  /////////////////////////////////////////////////////////////////////////////
7558  ///
7559  /// C_Qualifier --
7560  ///
7561 
7563  {
7565  public:
7566  // constructor
7567  C_Qualifier(void);
7568  // destructor
7569  ~C_Qualifier(void);
7570 
7571  // type info
7573 
7574  /////////////////////////////////////////////////////////////////////////////
7575  ///
7576  /// C_E_Qualifier --
7577  ///
7578 
7580  {
7582  public:
7583  // constructor
7584  C_E_Qualifier(void);
7585  // destructor
7586  ~C_E_Qualifier(void);
7587 
7588  // type info
7590 
7591  /////////////////////////////////////////////////////////////////////////////
7592  ///
7593  /// C_DCL --
7594  ///
7595 
7596  class C_DCL : public CSerialObject
7597  {
7599  public:
7600  // constructor
7601  C_DCL(void);
7602  // destructor
7603  ~C_DCL(void);
7604 
7605  // type info
7607 
7608  /////////////////////////////////////////////////////////////////////////////
7609  ///
7610  /// C_LU --
7611  ///
7612 
7613  class C_LU : public CSerialObject
7614  {
7616  public:
7617  // constructor
7618  C_LU(void);
7619  // destructor
7620  ~C_LU(void);
7621 
7622  // type info
7624 
7625  // types
7628 
7629  // member index
7630  enum class E_memberIndex {
7631  e__allMandatory = 0,
7632  e_lowlimit,
7633  e_uplimit
7634  };
7636 
7637  // getters
7638  // setters
7639 
7640  /// Check if a value has been assigned to Lowlimit data member.
7641  ///
7642  /// Data member Lowlimit is mandatory;
7643  /// its type is defined as 'typedef CLowlimit TLowlimit'
7644  /// @return
7645  /// - true, if a value has been assigned.
7646  /// - false, otherwise.
7647  bool IsSetLowlimit(void) const;
7648 
7649  /// Check if it is safe to call GetLowlimit method.
7650  ///
7651  /// @return
7652  /// - true, if the data member is getatable.
7653  /// - false, otherwise.
7654  bool CanGetLowlimit(void) const;
7655 
7656  /// Reset Lowlimit data member.
7657  void ResetLowlimit(void);
7658 
7659  /// Get the Lowlimit member data.
7660  ///
7661  /// @return
7662  /// Reference to the member data.
7663  const TLowlimit& GetLowlimit(void) const;
7664 
7665  /// Assign a value to Lowlimit data member.
7666  ///
7667  /// @param value
7668  /// Reference to value.
7669  void SetLowlimit(TLowlimit& value);
7670 
7671  /// Assign a value to Lowlimit data member.
7672  ///
7673  /// @return
7674  /// Reference to the data value.
7675  TLowlimit& SetLowlimit(void);
7676 
7677  /// Check if a value has been assigned to Uplimit data member.
7678  ///
7679  /// Data member Uplimit is optional;
7680  /// its type is defined as 'typedef CUplimit TUplimit'
7681  /// @return
7682  /// - true, if a value has been assigned.
7683  /// - false, otherwise.
7684  bool IsSetUplimit(void) const;
7685 
7686  /// Check if it is safe to call GetUplimit method.
7687  ///
7688  /// @return
7689  /// - true, if the data member is getatable.
7690  /// - false, otherwise.
7691  bool CanGetUplimit(void) const;
7692 
7693  /// Reset Uplimit data member.
7694  void ResetUplimit(void);
7695 
7696  /// Get the Uplimit member data.
7697  ///
7698  /// @return
7699  /// Reference to the member data.
7700  const TUplimit& GetUplimit(void) const;
7701 
7702  /// Assign a value to Uplimit data member.
7703  ///
7704  /// @param value
7705  /// Reference to value.
7706  void SetUplimit(TUplimit& value);
7707 
7708  /// Assign a value to Uplimit data member.
7709  ///
7710  /// @return
7711  /// Reference to the data value.
7712  TUplimit& SetUplimit(void);
7713 
7714  /// Reset the whole object
7715  void Reset(void);
7716 
7717 
7718  private:
7719  // Prohibit copy constructor and assignment operator
7720  C_LU(const C_LU&);
7721  C_LU& operator=(const C_LU&);
7722 
7723  // data
7727  };
7728 
7729  /// Choice variants.
7730  enum E_Choice {
7731  e_not_set = 0, ///< No variant selected
7734  e_LU
7735  };
7736  /// Maximum+1 value of the choice variant enumerator.
7738  e_MaxChoice = 4 ///< == e_LU+1
7739  };
7740 
7741  /// Reset the whole object
7742  void Reset(void);
7743 
7744  /// Reset the selection (set it to e_not_set).
7745  void ResetSelection(void);
7746 
7747  /// Which variant is currently selected.
7748  ///
7749  /// @return
7750  /// Choice state enumerator.
7751  E_Choice Which(void) const;
7752 
7753  /// Verify selection, throw exception if it differs from the expected.
7754  ///
7755  /// @param index
7756  /// Expected selection.
7757  void CheckSelected(E_Choice index) const;
7758 
7759  /// Throw 'InvalidSelection' exception.
7760  ///
7761  /// @param index
7762  /// Expected selection.
7763  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
7764 
7765  /// Retrieve selection name (for diagnostic purposes).
7766  ///
7767  /// @param index
7768  /// One of possible selection states.
7769  /// @return
7770  /// Name string.
7771  static string SelectionName(E_Choice index);
7772 
7773  /// Select the requested variant if needed.
7774  ///
7775  /// @param index
7776  /// New selection state.
7777  /// @param reset
7778  /// Flag that defines the resetting of the variant data. The data will
7779  /// be reset if either the current selection differs from the new one,
7780  /// or the flag is set to eDoResetVariant.
7782  /// Select the requested variant if needed,
7783  /// allocating CObject variants from memory pool.
7784  void Select(E_Choice index,
7785  EResetVariant reset,
7786  CObjectMemoryPool* pool);
7787 
7788  // types
7791  typedef C_LU TLU;
7792 
7793  // getters
7794  // setters
7795 
7796 
7797  /// Check if variant Domainofapplication is selected.
7798  ///
7799  /// Domainofapplication type is defined as 'typedef CDomainofapplication TDomainofapplication'.
7800  /// @return
7801  /// - true, if the variant is selected.
7802  /// - false, otherwise.
7803  bool IsDomainofapplication(void) const;
7804 
7805  /// Get the variant data.
7806  ///
7807  /// @return
7808  /// Reference to the data.
7809  const TDomainofapplication& GetDomainofapplication(void) const;
7810 
7811  /// Select the variant.
7812  ///
7813  /// @return
7814  /// Reference to the variant data.
7816  /// Select the variant and set its data.
7817  ///
7818  /// @param value
7819  /// Reference to the data.
7821 
7822 
7823  /// Check if variant Condition is selected.
7824  ///
7825  /// Condition type is defined as 'typedef CCondition TCondition'.
7826  /// @return
7827  /// - true, if the variant is selected.
7828  /// - false, otherwise.
7829  bool IsCondition(void) const;
7830 
7831  /// Get the variant data.
7832  ///
7833  /// @return
7834  /// Reference to the data.
7835  const TCondition& GetCondition(void) const;
7836 
7837  /// Select the variant.
7838  ///
7839  /// @return
7840  /// Reference to the variant data.
7841  TCondition& SetCondition(void);
7842  /// Select the variant and set its data.
7843  ///
7844  /// @param value
7845  /// Reference to the data.
7846  void SetCondition(TCondition& value);
7847 
7848 
7849  /// Check if variant LU is selected.
7850  ///
7851  /// LU type is defined as 'typedef C_LU TLU'.
7852  /// @return
7853  /// - true, if the variant is selected.
7854  /// - false, otherwise.
7855  bool IsLU(void) const;
7856 
7857  /// Get the variant data.
7858  ///
7859  /// @return
7860  /// Reference to the data.
7861  const TLU& GetLU(void) const;
7862 
7863  /// Select the variant.
7864  ///
7865  /// @return
7866  /// Reference to the variant data.
7867  TLU& SetLU(void);
7868  /// Select the variant and set its data.
7869  ///
7870  /// @param value
7871  /// Reference to the data.
7872  void SetLU(TLU& value);
7873 
7874 
7875  private:
7876  // copy constructor and assignment operator
7877  C_DCL(const C_DCL& );
7878  C_DCL& operator=(const C_DCL& );
7879  // choice state
7881  // helper methods
7882  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
7883 
7884  static const char* const sm_SelectionNames[];
7885  // data
7886  NCBI_NS_NCBI::CSerialObject *m_object;
7887  };
7888 
7889  /// Choice variants.
7890  enum E_Choice {
7891  e_not_set = 0, ///< No variant selected
7895  e_Logbase
7896  };
7897  /// Maximum+1 value of the choice variant enumerator.
7899  e_MaxChoice = 5 ///< == e_Logbase+1
7900  };
7901 
7902  /// Reset the whole object
7903  void Reset(void);
7904 
7905  /// Reset the selection (set it to e_not_set).
7906  void ResetSelection(void);
7907 
7908  /// Which variant is currently selected.
7909  ///
7910  /// @return
7911  /// Choice state enumerator.
7912  E_Choice Which(void) const;
7913 
7914  /// Verify selection, throw exception if it differs from the expected.
7915  ///
7916  /// @param index
7917  /// Expected selection.
7918  void CheckSelected(E_Choice index) const;
7919 
7920  /// Throw 'InvalidSelection' exception.
7921  ///
7922  /// @param index
7923  /// Expected selection.
7924  NCBI_NORETURN void ThrowInvalidSelection(E_Choice index) const;
7925 
7926  /// Retrieve selection name (for diagnostic purposes).
7927  ///
7928  /// @param index
7929  /// One of possible selection states.
7930  /// @return
7931  /// Name string.
7932  static string SelectionName(E_Choice index);
7933 
7934  /// Select the requested variant if needed.
7935  ///
7936  /// @param index
7937  /// New selection state.
7938  /// @param reset
7939  /// Flag that defines the resetting of the variant data. The data will
7940  /// be reset if either the current selection differs from the new one,
7941  /// or the flag is set to eDoResetVariant.
7943  /// Select the requested variant if needed,
7944  /// allocating CObject variants from memory pool.
7945  void Select(E_Choice index,
7946  EResetVariant reset,
7947  CObjectMemoryPool* pool);
7948 
7949  // types
7950  typedef C_DCL TDCL;
7951  typedef CDegree TDegree;
7954 
7955  // getters
7956  // setters
7957 
7958 
7959  /// Check if variant DCL is selected.
7960  ///
7961  /// DCL type is defined as 'typedef C_DCL TDCL'.
7962  /// @return
7963  /// - true, if the variant is selected.
7964  /// - false, otherwise.
7965  bool IsDCL(void) const;
7966 
7967  /// Get the variant data.
7968  ///
7969  /// @return
7970  /// Reference to the data.
7971  const TDCL& GetDCL(void) const;
7972 
7973  /// Select the variant.
7974  ///
7975  /// @return
7976  /// Reference to the variant data.
7977  TDCL& SetDCL(void);
7978  /// Select the variant and set its data.
7979  ///
7980  /// @param value
7981  /// Reference to the data.
7982  void SetDCL(TDCL& value);
7983 
7984 
7985  /// Check if variant Degree is selected.
7986  ///
7987  /// Degree type is defined as 'typedef CDegree TDegree'.
7988  /// @return
7989  /// - true, if the variant is selected.
7990  /// - false, otherwise.
7991  bool IsDegree(void) const;
7992 
7993  /// Get the variant data.
7994  ///
7995  /// @return
7996  /// Reference to the data.
7997  const TDegree& GetDegree(void) const;
7998 
7999  /// Select the variant.
8000  ///
8001  /// @return
8002  /// Reference to the variant data.
8003  TDegree& SetDegree(void);
8004  /// Select the variant and set its data.
8005  ///
8006  /// @param value
8007  /// Reference to the data.
8008  void SetDegree(TDegree& value);
8009 
8010 
8011  /// Check if variant Momentabout is selected.
8012  ///
8013  /// Momentabout type is defined as 'typedef CMomentabout TMomentabout'.
8014  /// @return
8015  /// - true, if the variant is selected.
8016  /// - false, otherwise.
8017  bool IsMomentabout(void) const;
8018 
8019  /// Get the variant data.
8020  ///
8021  /// @return
8022  /// Reference to the data.
8023  const TMomentabout& GetMomentabout(void) const;
8024 
8025  /// Select the variant.
8026  ///
8027  /// @return
8028  /// Reference to the variant data.
8030  /// Select the variant and set its data.
8031  ///
8032  /// @param value
8033  /// Reference to the data.
8035 
8036 
8037  /// Check if variant Logbase is selected.
8038  ///
8039  /// Logbase type is defined as 'typedef CLogbase TLogbase'.
8040  /// @return
8041  /// - true, if the variant is selected.
8042  /// - false, otherwise.
8043  bool IsLogbase(void) const;
8044 
8045  /// Get the variant data.
8046  ///
8047  /// @return
8048  /// Reference to the data.
8049  const TLogbase& GetLogbase(void) const;
8050 
8051  /// Select the variant.
8052  ///
8053  /// @return
8054  /// Reference to the variant data.
8055  TLogbase& SetLogbase(void);
8056  /// Select the variant and set its data.
8057  ///
8058  /// @param value
8059  /// Reference to the data.
8060  void SetLogbase(TLogbase& value);
8061 
8062 
8063  private:
8064  // copy constructor and assignment operator
8067  // choice state
8069  // helper methods
8070  void DoSelect(E_Choice index, CObjectMemoryPool* pool = 0);
8071 
8072  static const char* const sm_SelectionNames[];
8073  // data
8074  NCBI_NS_NCBI::CSerialObject *m_object;
8075  };
8076  // types
8078  typedef list< CRef< C_E_Qualifier > > TQualifier;
8079 
8080  // member index
8081  enum class E_memberIndex {
8082  e__allMandatory = 0,
8083  e_Qualifier
8084  };
8086 
8087  // getters
8088  // setters
8089 
8090  /// Check if a value has been assigned to Qualifier data member.
8091  ///
8092  /// Data member Qualifier is optional;
8093  /// its type is defined as 'typedef list< CRef< C_E_Qualifier > > TQualifier'
8094  /// @return
8095  /// - true, if a value has been assigned.
8096  /// - false, otherwise.
8097  bool IsSetQualifier(void) const;
8098 
8099  /// Check if it is safe to call GetQualifier method.
8100  ///
8101  /// @return
8102  /// - true, if the data member is getatable.
8103  /// - false, otherwise.
8104  bool CanGetQualifier(void) const;
8105 
8106  /// Reset Qualifier data member.
8107  void ResetQualifier(void);
8108 
8109  /// Get the Qualifier member data.
8110  ///
8111  /// @return
8112  /// Reference to the member data.
8113  const TQualifier& GetQualifier(void) const;
8114 
8115  /// Assign a value to Qualifier data member.
8116  ///
8117  /// @return
8118  /// Reference to the data value.
8119  TQualifier& SetQualifier(void);
8120 
8121  /// Reset the whole object
8122  void Reset(void);
8123 
8124 
8125  private:
8126  // Prohibit copy constructor and assignment operator
8129 
8130  // data
8132  list< CRef< C_E_Qualifier > > m_Qualifier;
8133  };
8134  // types
8136  typedef C_BvarQ TBvarQ;
8138 
8139  // member index
8140  enum class E_memberIndex {
8141  e__allMandatory = 0,
8142  e_ContExp,
8143  e_BvarQ,
8144  e_Qualifier
8145  };
8147 
8148  // getters
8149  // setters
8150 
8151  /// Check if a value has been assigned to ContExp data member.
8152  ///
8153  /// Data member ContExp is optional;
8154  /// its type is defined as 'typedef C_ContExp TContExp'
8155  /// @return
8156  /// - true, if a value has been assigned.
8157  /// - false, otherwise.
8158  bool IsSetContExp(void) const;
8159 
8160  /// Check if it is safe to call GetContExp method.
8161  ///
8162  /// @return
8163  /// - true, if the data member is getatable.
8164  /// - false, otherwise.
8165  bool CanGetContExp(void) const;
8166 
8167  /// Reset ContExp data member.
8168  void ResetContExp(void);
8169 
8170  /// Get the ContExp member data.
8171  ///
8172  /// @return
8173  /// Reference to the member data.
8174  const TContExp& GetContExp(void) const;
8175 
8176  /// Assign a value to ContExp data member.
8177  ///
8178  /// @param value
8179  /// Reference to value.
8180  void SetContExp(TContExp& value);
8181 
8182  /// Assign a value to ContExp data member.
8183  ///
8184  /// @return
8185  /// Reference to the data value.
8186  TContExp& SetContExp(void);
8187 
8188  /// Check if a value has been assigned to BvarQ data member.
8189  ///
8190  /// Data member BvarQ is mandatory;
8191  /// its type is defined as 'typedef C_BvarQ TBvarQ'
8192  /// @return
8193  /// - true, if a value has been assigned.
8194  /// - false, otherwise.
8195  bool IsSetBvarQ(void) const;
8196 
8197  /// Check if it is safe to call GetBvarQ method.
8198  ///
8199  /// @return
8200  /// - true, if the data member is getatable.
8201  /// - false, otherwise.
8202  bool CanGetBvarQ(void) const;
8203 
8204  /// Reset BvarQ data member.
8205  void ResetBvarQ(void);
8206 
8207  /// Get the BvarQ member data.
8208  ///
8209  /// @return
8210  /// Reference to the member data.
8211  const TBvarQ& GetBvarQ(void) const;
8212 
8213  /// Assign a value to BvarQ data member.
8214  ///
8215  /// @param value
8216  /// Reference to value.
8217  void SetBvarQ(TBvarQ& value);
8218 
8219  /// Assign a value to BvarQ data member.
8220  ///
8221  /// @return
8222  /// Reference to the data value.
8223  TBvarQ& SetBvarQ(void);
8224 
8225  /// Check if a value has been assigned to Qualifier data member.
8226  ///
8227  /// Data member Qualifier is optional;
8228  /// its type is defined as 'typedef C_Qualifier TQualifier'
8229  /// @return
8230  /// - true, if a value has been assigned.
8231  /// - false, otherwise.
8232  bool IsSetQualifier(void) const;
8233 
8234  /// Check if it is safe to call GetQualifier method.
8235  ///
8236  /// @return
8237  /// - true, if the data member is getatable.
8238  /// - false, otherwise.
8239  bool CanGetQualifier(void) const;
8240 
8241  /// Reset Qualifier data member.
8242  void ResetQualifier(void);
8243 
8244  /// Get the Qualifier member data.
8245  ///
8246  /// @return
8247  /// Reference to the member data.
8248  const TQualifier& GetQualifier(void) const;
8249 
8250  /// Assign a value to Qualifier data member.
8251  ///
8252  /// @param value
8253  /// Reference to value.
8254  void SetQualifier(TQualifier& value);
8255 
8256  /// Assign a value to Qualifier data member.
8257  ///
8258  /// @return
8259  /// Reference to the data value.
8260  TQualifier& SetQualifier(void);
8261 
8262  /// Reset the whole object
8263  virtual void Reset(void);
8264 
8265 
8266 private:
8267  // Prohibit copy constructor and assignment operator
8270 
8271  // data
8276 };
8277 
8278 /* @} */
8279 
8280 
8281 
8282 
8283 
8284 ///////////////////////////////////////////////////////////
8285 ///////////////////// inline methods //////////////////////
8286 ///////////////////////////////////////////////////////////
8287 inline
8289 {
8290  return m_choice;
8291 }
8292 
8293 inline
8295 {
8296  if ( m_choice != index )
8297  ThrowInvalidSelection(index);
8298 }
8299 
8300 inline
8302 {
8303  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8304  if ( m_choice != e_not_set )
8305  ResetSelection();
8306  DoSelect(index, pool);
8307  }
8308 }
8309 
8310 inline
8312 {
8313  Select(index, reset, 0);
8314 }
8315 
8316 inline
8318 {
8319  return m_choice == e_Reln;
8320 }
8321 
8322 inline
8324 {
8325  return m_choice == e_Fn;
8326 }
8327 
8328 inline
8330 {
8331  return m_choice == e_Declare;
8332 }
8333 
8334 inline
8336 {
8337  return m_Interval.NotEmpty();
8338 }
8339 
8340 inline
8342 {
8343  return true;
8344 }
8345 
8346 inline
8348 {
8349  if ( !m_Interval ) {
8350  const_cast<C_Interval_mmlclass*>(this)->ResetInterval();
8351  }
8352  return (*m_Interval);
8353 }
8354 
8355 inline
8357 {
8358  if ( !m_Interval ) {
8359  ResetInterval();
8360  }
8361  return (*m_Interval);
8362 }
8363 
8364 inline
8366 {
8367  return m_choice;
8368 }
8369 
8370 inline
8372 {
8373  if ( m_choice != index )
8374  ThrowInvalidSelection(index);
8375 }
8376 
8377 inline
8379 {
8380  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8381  if ( m_choice != e_not_set )
8382  ResetSelection();
8383  DoSelect(index, pool);
8384  }
8385 }
8386 
8387 inline
8389 {
8390  Select(index, reset, 0);
8391 }
8392 
8393 inline
8395 {
8396  return m_choice == e_Inverse;
8397 }
8398 
8399 inline
8401 {
8402  return m_choice == e_Ident;
8403 }
8404 
8405 inline
8407 {
8408  return m_choice == e_Domain;
8409 }
8410 
8411 inline
8413 {
8414  return m_choice == e_Codomain;
8415 }
8416 
8417 inline
8419 {
8420  return m_choice == e_Image;
8421 }
8422 
8423 inline
8425 {
8426  return m_choice == e_Ln;
8427 }
8428 
8429 inline
8431 {
8432  return m_choice == e_Log;
8433 }
8434 
8435 inline
8437 {
8438  return m_choice == e_Moment;
8439 }
8440 
8441 inline
8443 {
8444  return m_Lambda.NotEmpty();
8445 }
8446 
8447 inline
8449 {
8450  return true;
8451 }
8452 
8453 inline
8455 {
8456  if ( !m_Lambda ) {
8457  const_cast<C_Lambda_mmlclass*>(this)->ResetLambda();
8458  }
8459  return (*m_Lambda);
8460 }
8461 
8462 inline
8464 {
8465  if ( !m_Lambda ) {
8466  ResetLambda();
8467  }
8468  return (*m_Lambda);
8469 }
8470 
8471 inline
8473 {
8474  return true;
8475 }
8476 
8477 inline
8479 {
8480  if ( !m_Compose ) {
8481  const_cast<C_Nary_functional_mmlclass*>(this)->ResetCompose();
8482  }
8483  return (*m_Compose);
8484 }
8485 
8486 inline
8488 {
8489  return m_choice;
8490 }
8491 
8492 inline
8494 {
8495  if ( m_choice != index )
8496  ThrowInvalidSelection(index);
8497 }
8498 
8499 inline
8501 {
8502  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8503  if ( m_choice != e_not_set )
8504  ResetSelection();
8505  DoSelect(index, pool);
8506  }
8507 }
8508 
8509 inline
8511 {
8512  Select(index, reset, 0);
8513 }
8514 
8515 inline
8517 {
8518  return m_choice == e_Quotient;
8519 }
8520 
8521 inline
8523 {
8524  return m_choice == e_Divide;
8525 }
8526 
8527 inline
8529 {
8530  return m_choice == e_Minus;
8531 }
8532 
8533 inline
8535 {
8536  return m_choice == e_Power;
8537 }
8538 
8539 inline
8541 {
8542  return m_choice == e_Rem;
8543 }
8544 
8545 inline
8547 {
8548  return m_choice == e_Root;
8549 }
8550 
8551 inline
8553 {
8554  return m_choice;
8555 }
8556 
8557 inline
8559 {
8560  if ( m_choice != index )
8561  ThrowInvalidSelection(index);
8562 }
8563 
8564 inline
8566 {
8567  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8568  if ( m_choice != e_not_set )
8569  ResetSelection();
8570  DoSelect(index, pool);
8571  }
8572 }
8573 
8574 inline
8576 {
8577  Select(index, reset, 0);
8578 }
8579 
8580 inline
8582 {
8583  return m_choice == e_Factorial;
8584 }
8585 
8586 inline
8588 {
8589  return m_choice == e_Abs;
8590 }
8591 
8592 inline
8594 {
8595  return m_choice == e_Conjugate;
8596 }
8597 
8598 inline
8600 {
8601  return m_choice == e_Arg;
8602 }
8603 
8604 inline
8606 {
8607  return m_choice == e_Real;
8608 }
8609 
8610 inline
8612 {
8613  return m_choice == e_Imaginary;
8614 }
8615 
8616 inline
8618 {
8619  return m_choice == e_Floor;
8620 }
8621 
8622 inline
8624 {
8625  return m_choice == e_Ceiling;
8626 }
8627 
8628 inline
8630 {
8631  return m_choice == e_Exp;
8632 }
8633 
8634 inline
8636 {
8637  return m_choice;
8638 }
8639 
8640 inline
8642 {
8643  if ( m_choice != index )
8644  ThrowInvalidSelection(index);
8645 }
8646 
8647 inline
8649 {
8650  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8651  if ( m_choice != e_not_set )
8652  ResetSelection();
8653  DoSelect(index, pool);
8654  }
8655 }
8656 
8657 inline
8659 {
8660  Select(index, reset, 0);
8661 }
8662 
8663 inline
8665 {
8666  return m_choice == e_Max;
8667 }
8668 
8669 inline
8671 {
8672  return m_choice == e_Min;
8673 }
8674 
8675 inline
8677 {
8678  return m_choice;
8679 }
8680 
8681 inline
8683 {
8684  if ( m_choice != index )
8685  ThrowInvalidSelection(index);
8686 }
8687 
8688 inline
8690 {
8691  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8692  if ( m_choice != e_not_set )
8693  ResetSelection();
8694  DoSelect(index, pool);
8695  }
8696 }
8697 
8698 inline
8700 {
8701  Select(index, reset, 0);
8702 }
8703 
8704 inline
8706 {
8707  return m_choice == e_Plus;
8708 }
8709 
8710 inline
8712 {
8713  return m_choice == e_Times;
8714 }
8715 
8716 inline
8718 {
8719  return m_choice == e_Gcd;
8720 }
8721 
8722 inline
8724 {
8725  return m_choice == e_Lcm;
8726 }
8727 
8728 inline
8730 {
8731  return m_choice;
8732 }
8733 
8734 inline
8736 {
8737  if ( m_choice != index )
8738  ThrowInvalidSelection(index);
8739 }
8740 
8741 inline
8743 {
8744  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8745  if ( m_choice != e_not_set )
8746  ResetSelection();
8747  DoSelect(index, pool);
8748  }
8749 }
8750 
8751 inline
8753 {
8754  Select(index, reset, 0);
8755 }
8756 
8757 inline
8759 {
8760  return m_choice == e_And;
8761 }
8762 
8763 inline
8765 {
8766  return m_choice == e_Or;
8767 }
8768 
8769 inline
8771 {
8772  return m_choice == e_Xor;
8773 }
8774 
8775 inline
8777 {
8778  return true;
8779 }
8780 
8781 inline
8783 {
8784  if ( !m_Not ) {
8785  const_cast<C_Unary_logical_mmlclass*>(this)->ResetNot();
8786  }
8787  return (*m_Not);
8788 }
8789 
8790 inline
8792 {
8793  return m_choice;
8794 }
8795 
8796 inline
8798 {
8799  if ( m_choice != index )
8800  ThrowInvalidSelection(index);
8801 }
8802 
8803 inline
8805 {
8806  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8807  if ( m_choice != e_not_set )
8808  ResetSelection();
8809  DoSelect(index, pool);
8810  }
8811 }
8812 
8813 inline
8815 {
8816  Select(index, reset, 0);
8817 }
8818 
8819 inline
8821 {
8822  return m_choice == e_Implies;
8823 }
8824 
8825 inline
8827 {
8828  return m_choice == e_Equivalent;
8829 }
8830 
8831 inline
8833 {
8834  return m_choice;
8835 }
8836 
8837 inline
8839 {
8840  if ( m_choice != index )
8841  ThrowInvalidSelection(index);
8842 }
8843 
8844 inline
8846 {
8847  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8848  if ( m_choice != e_not_set )
8849  ResetSelection();
8850  DoSelect(index, pool);
8851  }
8852 }
8853 
8854 inline
8856 {
8857  Select(index, reset, 0);
8858 }
8859 
8860 inline
8862 {
8863  return m_choice == e_Forall;
8864 }
8865 
8866 inline
8868 {
8869  return m_choice == e_Exists;
8870 }
8871 
8872 inline
8874 {
8875  return m_choice;
8876 }
8877 
8878 inline
8880 {
8881  if ( m_choice != index )
8882  ThrowInvalidSelection(index);
8883 }
8884 
8885 inline
8887 {
8888  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8889  if ( m_choice != e_not_set )
8890  ResetSelection();
8891  DoSelect(index, pool);
8892  }
8893 }
8894 
8895 inline
8897 {
8898  Select(index, reset, 0);
8899 }
8900 
8901 inline
8903 {
8904  return m_choice == e_Eq;
8905 }
8906 
8907 inline
8909 {
8910  return m_choice == e_Gt;
8911 }
8912 
8913 inline
8915 {
8916  return m_choice == e_Lt;
8917 }
8918 
8919 inline
8921 {
8922  return m_choice == e_Geq;
8923 }
8924 
8925 inline
8927 {
8928  return m_choice == e_Leq;
8929 }
8930 
8931 inline
8933 {
8934  return m_choice;
8935 }
8936 
8937 inline
8939 {
8940  if ( m_choice != index )
8941  ThrowInvalidSelection(index);
8942 }
8943 
8944 inline
8946 {
8947  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
8948  if ( m_choice != e_not_set )
8949  ResetSelection();
8950  DoSelect(index, pool);
8951  }
8952 }
8953 
8954 inline
8956 {
8957  Select(index, reset, 0);
8958 }
8959 
8960 inline
8962 {
8963  return m_choice == e_Neq;
8964 }
8965 
8966 inline
8968 {
8969  return m_choice == e_Approx;
8970 }
8971 
8972 inline
8974 {
8975  return m_choice == e_Factorof;
8976 }
8977 
8978 inline
8980 {
8981  return m_choice == e_Tendsto;
8982 }
8983 
8984 inline
8986 {
8987  return true;
8988 }
8989 
8990 inline
8992 {
8993  if ( !m_Int ) {
8994  const_cast<C_Int_mmlclass*>(this)->ResetInt();
8995  }
8996  return (*m_Int);
8997 }
8998 
8999 inline
9001 {
9002  return true;
9003 }
9004 
9005 inline
9007 {
9008  if ( !m_Diff ) {
9009  const_cast<C_Differential_Operator_mmlclass*>(this)->ResetDiff();
9010  }
9011  return (*m_Diff);
9012 }
9013 
9014 inline
9016 {
9017  return true;
9018 }
9019 
9020 inline
9022 {
9023  if ( !m_Partialdiff ) {
9024  const_cast<C_Partialdiff_mmlclass*>(this)->ResetPartialdiff();
9025  }
9026  return (*m_Partialdiff);
9027 }
9028 
9029 inline
9031 {
9032  return m_choice;
9033 }
9034 
9035 inline
9037 {
9038  if ( m_choice != index )
9039  ThrowInvalidSelection(index);
9040 }
9041 
9042 inline
9044 {
9045  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9046  if ( m_choice != e_not_set )
9047  ResetSelection();
9048  DoSelect(index, pool);
9049  }
9050 }
9051 
9052 inline
9054 {
9055  Select(index, reset, 0);
9056 }
9057 
9058 inline
9060 {
9061  return m_choice == e_Divergence;
9062 }
9063 
9064 inline
9066 {
9067  return m_choice == e_Grad;
9068 }
9069 
9070 inline
9072 {
9073  return m_choice == e_Curl;
9074 }
9075 
9076 inline
9078 {
9079  return m_choice == e_Laplacian;
9080 }
9081 
9082 inline
9084 {
9085  return m_choice;
9086 }
9087 
9088 inline
9090 {
9091  if ( m_choice != index )
9092  ThrowInvalidSelection(index);
9093 }
9094 
9095 inline
9097 {
9098  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9099  if ( m_choice != e_not_set )
9100  ResetSelection();
9101  DoSelect(index, pool);
9102  }
9103 }
9104 
9105 inline
9107 {
9108  Select(index, reset, 0);
9109 }
9110 
9111 inline
9113 {
9114  return m_choice == e_Set;
9115 }
9116 
9117 inline
9119 {
9120  return m_choice == e_List;
9121 }
9122 
9123 inline
9125 {
9126  return m_choice;
9127 }
9128 
9129 inline
9131 {
9132  if ( m_choice != index )
9133  ThrowInvalidSelection(index);
9134 }
9135 
9136 inline
9138 {
9139  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9140  if ( m_choice != e_not_set )
9141  ResetSelection();
9142  DoSelect(index, pool);
9143  }
9144 }
9145 
9146 inline
9148 {
9149  Select(index, reset, 0);
9150 }
9151 
9152 inline
9154 {
9155  return m_choice == e_Union;
9156 }
9157 
9158 inline
9160 {
9161  return m_choice == e_Intersect;
9162 }
9163 
9164 inline
9166 {
9167  return m_choice == e_Cartesianproduct;
9168 }
9169 
9170 inline
9172 {
9173  return m_choice;
9174 }
9175 
9176 inline
9178 {
9179  if ( m_choice != index )
9180  ThrowInvalidSelection(index);
9181 }
9182 
9183 inline
9185 {
9186  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9187  if ( m_choice != e_not_set )
9188  ResetSelection();
9189  DoSelect(index, pool);
9190  }
9191 }
9192 
9193 inline
9195 {
9196  Select(index, reset, 0);
9197 }
9198 
9199 inline
9201 {
9202  return m_choice == e_In;
9203 }
9204 
9205 inline
9207 {
9208  return m_choice == e_Notin;
9209 }
9210 
9211 inline
9213 {
9214  return m_choice == e_Notsubset;
9215 }
9216 
9217 inline
9219 {
9220  return m_choice == e_Notprsubset;
9221 }
9222 
9223 inline
9225 {
9226  return m_choice == e_Setdiff;
9227 }
9228 
9229 inline
9231 {
9232  return m_choice;
9233 }
9234 
9235 inline
9237 {
9238  if ( m_choice != index )
9239  ThrowInvalidSelection(index);
9240 }
9241 
9242 inline
9244 {
9245  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9246  if ( m_choice != e_not_set )
9247  ResetSelection();
9248  DoSelect(index, pool);
9249  }
9250 }
9251 
9252 inline
9254 {
9255  Select(index, reset, 0);
9256 }
9257 
9258 inline
9260 {
9261  return m_choice == e_Subset;
9262 }
9263 
9264 inline
9266 {
9267  return m_choice == e_Prsubset;
9268 }
9269 
9270 inline
9272 {
9273  return true;
9274 }
9275 
9276 inline
9278 {
9279  if ( !m_Card ) {
9280  const_cast<C_Unary_set_mmlclass*>(this)->ResetCard();
9281  }
9282  return (*m_Card);
9283 }
9284 
9285 inline
9287 {
9288  return true;
9289 }
9290 
9291 inline
9293 {
9294  if ( !m_Sum ) {
9295  const_cast<C_Sum_mmlclass*>(this)->ResetSum();
9296  }
9297  return (*m_Sum);
9298 }
9299 
9300 inline
9302 {
9303  return true;
9304 }
9305 
9306 inline
9308 {
9309  if ( !m_Product ) {
9310  const_cast<C_Product_mmlclass*>(this)->ResetProduct();
9311  }
9312  return (*m_Product);
9313 }
9314 
9315 inline
9317 {
9318  return true;
9319 }
9320 
9321 inline
9323 {
9324  if ( !m_Limit ) {
9325  const_cast<C_Limit_mmlclass*>(this)->ResetLimit();
9326  }
9327  return (*m_Limit);
9328 }
9329 
9330 inline
9332 {
9333  return m_choice;
9334 }
9335 
9336 inline
9338 {
9339  if ( m_choice != index )
9340  ThrowInvalidSelection(index);
9341 }
9342 
9343 inline
9345 {
9346  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9347  if ( m_choice != e_not_set )
9348  ResetSelection();
9349  DoSelect(index, pool);
9350  }
9351 }
9352 
9353 inline
9355 {
9356  Select(index, reset, 0);
9357 }
9358 
9359 inline
9361 {
9362  return m_choice == e_Sin;
9363 }
9364 
9365 inline
9367 {
9368  return m_choice == e_Cos;
9369 }
9370 
9371 inline
9373 {
9374  return m_choice == e_Tan;
9375 }
9376 
9377 inline
9379 {
9380  return m_choice == e_Sec;
9381 }
9382 
9383 inline
9385 {
9386  return m_choice == e_Csc;
9387 }
9388 
9389 inline
9391 {
9392  return m_choice == e_Cot;
9393 }
9394 
9395 inline
9397 {
9398  return m_choice == e_Sinh;
9399 }
9400 
9401 inline
9403 {
9404  return m_choice == e_Cosh;
9405 }
9406 
9407 inline
9409 {
9410  return m_choice == e_Tanh;
9411 }
9412 
9413 inline
9415 {
9416  return m_choice == e_Sech;
9417 }
9418 
9419 inline
9421 {
9422  return m_choice == e_Csch;
9423 }
9424 
9425 inline
9427 {
9428  return m_choice == e_Coth;
9429 }
9430 
9431 inline
9433 {
9434  return m_choice == e_Arcsin;
9435 }
9436 
9437 inline
9439 {
9440  return m_choice == e_Arccos;
9441 }
9442 
9443 inline
9445 {
9446  return m_choice == e_Arctan;
9447 }
9448 
9449 inline
9451 {
9452  return m_choice == e_Arccosh;
9453 }
9454 
9455 inline
9457 {
9458  return m_choice == e_Arccot;
9459 }
9460 
9461 inline
9463 {
9464  return m_choice == e_Arccoth;
9465 }
9466 
9467 inline
9469 {
9470  return m_choice == e_Arccsc;
9471 }
9472 
9473 inline
9475 {
9476  return m_choice == e_Arccsch;
9477 }
9478 
9479 inline
9481 {
9482  return m_choice == e_Arcsec;
9483 }
9484 
9485 inline
9487 {
9488  return m_choice == e_Arcsech;
9489 }
9490 
9491 inline
9493 {
9494  return m_choice == e_Arcsinh;
9495 }
9496 
9497 inline
9499 {
9500  return m_choice == e_Arctanh;
9501 }
9502 
9503 inline
9505 {
9506  return m_choice;
9507 }
9508 
9509 inline
9511 {
9512  if ( m_choice != index )
9513  ThrowInvalidSelection(index);
9514 }
9515 
9516 inline
9518 {
9519  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9520  if ( m_choice != e_not_set )
9521  ResetSelection();
9522  DoSelect(index, pool);
9523  }
9524 }
9525 
9526 inline
9528 {
9529  Select(index, reset, 0);
9530 }
9531 
9532 inline
9534 {
9535  return m_choice == e_Mean;
9536 }
9537 
9538 inline
9540 {
9541  return m_choice == e_Sdev;
9542 }
9543 
9544 inline
9546 {
9547  return m_choice == e_Variance;
9548 }
9549 
9550 inline
9552 {
9553  return m_choice == e_Median;
9554 }
9555 
9556 inline
9558 {
9559  return m_choice == e_Mode;
9560 }
9561 
9562 inline
9564 {
9565  return m_choice;
9566 }
9567 
9568 inline
9570 {
9571  if ( m_choice != index )
9572  ThrowInvalidSelection(index);
9573 }
9574 
9575 inline
9577 {
9578  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9579  if ( m_choice != e_not_set )
9580  ResetSelection();
9581  DoSelect(index, pool);
9582  }
9583 }
9584 
9585 inline
9587 {
9588  Select(index, reset, 0);
9589 }
9590 
9591 inline
9593 {
9594  return m_choice == e_Vector;
9595 }
9596 
9597 inline
9599 {
9600  return m_choice == e_Matrix;
9601 }
9602 
9603 inline
9605 {
9606  return m_choice == e_Matrixrow;
9607 }
9608 
9609 inline
9611 {
9612  return m_choice;
9613 }
9614 
9615 inline
9617 {
9618  if ( m_choice != index )
9619  ThrowInvalidSelection(index);
9620 }
9621 
9622 inline
9624 {
9625  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9626  if ( m_choice != e_not_set )
9627  ResetSelection();
9628  DoSelect(index, pool);
9629  }
9630 }
9631 
9632 inline
9634 {
9635  Select(index, reset, 0);
9636 }
9637 
9638 inline
9640 {
9641  return m_choice == e_Determinant;
9642 }
9643 
9644 inline
9646 {
9647  return m_choice == e_Transpose;
9648 }
9649 
9650 inline
9652 {
9653  return true;
9654 }
9655 
9656 inline
9658 {
9659  if ( !m_Selector ) {
9660  const_cast<C_Nary_linalg_mmlclass*>(this)->ResetSelector();
9661  }
9662  return (*m_Selector);
9663 }
9664 
9665 inline
9667 {
9668  return m_choice;
9669 }
9670 
9671 inline
9673 {
9674  if ( m_choice != index )
9675  ThrowInvalidSelection(index);
9676 }
9677 
9678 inline
9680 {
9681  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9682  if ( m_choice != e_not_set )
9683  ResetSelection();
9684  DoSelect(index, pool);
9685  }
9686 }
9687 
9688 inline
9690 {
9691  Select(index, reset, 0);
9692 }
9693 
9694 inline
9696 {
9697  return m_choice == e_Vectorproduct;
9698 }
9699 
9700 inline
9702 {
9703  return m_choice == e_Scalarproduct;
9704 }
9705 
9706 inline
9708 {
9709  return m_choice == e_Outerproduct;
9710 }
9711 
9712 inline
9714 {
9715  return m_choice;
9716 }
9717 
9718 inline
9720 {
9721  if ( m_choice != index )
9722  ThrowInvalidSelection(index);
9723 }
9724 
9725 inline
9727 {
9728  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9729  if ( m_choice != e_not_set )
9730  ResetSelection();
9731  DoSelect(index, pool);
9732  }
9733 }
9734 
9735 inline
9737 {
9738  Select(index, reset, 0);
9739 }
9740 
9741 inline
9743 {
9744  return m_choice == e_Integers;
9745 }
9746 
9747 inline
9749 {
9750  return m_choice == e_Reals;
9751 }
9752 
9753 inline
9755 {
9756  return m_choice == e_Rationals;
9757 }
9758 
9759 inline
9761 {
9762  return m_choice == e_Naturalnumbers;
9763 }
9764 
9765 inline
9767 {
9768  return m_choice == e_Complexes;
9769 }
9770 
9771 inline
9773 {
9774  return m_choice == e_Primes;
9775 }
9776 
9777 inline
9779 {
9780  return m_choice == e_Emptyset;
9781 }
9782 
9783 inline
9785 {
9786  return m_choice;
9787 }
9788 
9789 inline
9791 {
9792  if ( m_choice != index )
9793  ThrowInvalidSelection(index);
9794 }
9795 
9796 inline
9798 {
9799  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9800  if ( m_choice != e_not_set )
9801  ResetSelection();
9802  DoSelect(index, pool);
9803  }
9804 }
9805 
9806 inline
9808 {
9809  Select(index, reset, 0);
9810 }
9811 
9812 inline
9814 {
9815  return m_choice == e_Exponentiale;
9816 }
9817 
9818 inline
9820 {
9821  return m_choice == e_Imaginaryi;
9822 }
9823 
9824 inline
9826 {
9827  return m_choice == e_Notanumber;
9828 }
9829 
9830 inline
9832 {
9833  return m_choice == e_True;
9834 }
9835 
9836 inline
9838 {
9839  return m_choice == e_False;
9840 }
9841 
9842 inline
9844 {
9845  return m_choice == e_Pi;
9846 }
9847 
9848 inline
9850 {
9851  return m_choice == e_Eulergamma;
9852 }
9853 
9854 inline
9856 {
9857  return m_choice == e_Infinity;
9858 }
9859 
9860 inline
9862 {
9863  return m_choice;
9864 }
9865 
9866 inline
9868 {
9869  if ( m_choice != index )
9870  ThrowInvalidSelection(index);
9871 }
9872 
9873 inline
9874 void CBind_content_Base::C_ContExp::C_E_ContExp::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
9875 {
9876  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
9877  if ( m_choice != e_not_set )
9878  ResetSelection();
9879  DoSelect(index, pool);
9880  }
9881 }
9882 
9883 inline
9885 {
9886  Select(index, reset, 0);
9887 }
9888 
9889 inline
9891 {
9892  return m_choice == e_Piecewise;
9893 }
9894 
9895 inline
9897 {
9898  return m_choice == e_DeprecatedContExp;
9899 }
9900 
9901 inline
9903 {
9904  return m_choice == e_Interval_mmlclass;
9905 }
9906 
9907 inline
9909 {
9911 }
9912 
9913 inline
9915 {
9916  return m_choice == e_Lambda_mmlclass;
9917 }
9918 
9919 inline
9921 {
9923 }
9924 
9925 inline
9927 {
9929 }
9930 
9931 inline
9933 {
9934  return m_choice == e_Unary_arith_mmlclass;
9935 }
9936 
9937 inline
9939 {
9940  return m_choice == e_Nary_minmax_mmlclass;
9941 }
9942 
9943 inline
9945 {
9946  return m_choice == e_Nary_arith_mmlclass;
9947 }
9948 
9949 inline
9951 {
9953 }
9954 
9955 inline
9957 {
9959 }
9960 
9961 inline
9963 {
9965 }
9966 
9967 inline
9969 {
9970  return m_choice == e_Quantifier_mmlclass;
9971 }
9972 
9973 inline
9975 {
9976  return m_choice == e_Nary_reln_mmlclass;
9977 }
9978 
9979 inline
9981 {
9982  return m_choice == e_Binary_reln_mmlclass;
9983 }
9984 
9985 inline
9987 {
9988  return m_choice == e_Int_mmlclass;
9989 }
9990 
9991 inline
9993 {
9995 }
9996 
9997 inline
9999 {
10000  return m_choice == e_Partialdiff_mmlclass;
10001 }
10002 
10003 inline
10005 {
10007 }
10008 
10009 inline
10011 {
10013 }
10014 
10015 inline
10017 {
10018  return m_choice == e_Nary_set_mmlclass;
10019 }
10020 
10021 inline
10023 {
10024  return m_choice == e_Binary_set_mmlclass;
10025 }
10026 
10027 inline
10029 {
10031 }
10032 
10033 inline
10035 {
10036  return m_choice == e_Unary_set_mmlclass;
10037 }
10038 
10039 inline
10041 {
10042  return m_choice == e_Sum_mmlclass;
10043 }
10044 
10045 inline
10047 {
10048  return m_choice == e_Product_mmlclass;
10049 }
10050 
10051 inline
10053 {
10054  return m_choice == e_Limit_mmlclass;
10055 }
10056 
10057 inline
10059 {
10061 }
10062 
10063 inline
10065 {
10066  return m_choice == e_Nary_stats_mmlclass;
10067 }
10068 
10069 inline
10071 {
10073 }
10074 
10075 inline
10077 {
10079 }
10080 
10081 inline
10083 {
10084  return m_choice == e_Nary_linalg_mmlclass;
10085 }
10086 
10087 inline
10089 {
10091 }
10092 
10093 inline
10095 {
10097 }
10098 
10099 inline
10101 {
10103 }
10104 
10105 inline
10107 {
10108  return m_choice == e_Semantics;
10109 }
10110 
10111 inline
10113 {
10114  return m_choice == e_Cn;
10115 }
10116 
10117 inline
10119 {
10120  return m_choice == e_Ci;
10121 }
10122 
10123 inline
10125 {
10126  return m_choice == e_Csymbol;
10127 }
10128 
10129 inline
10131 {
10132  return m_choice == e_Apply;
10133 }
10134 
10135 inline
10137 {
10138  return m_choice == e_Bind;
10139 }
10140 
10141 inline
10143 {
10144  return m_choice == e_Share;
10145 }
10146 
10147 inline
10149 {
10150  return m_choice == e_Cerror;
10151 }
10152 
10153 inline
10155 {
10156  return m_choice == e_Cbytes;
10157 }
10158 
10159 inline
10161 {
10162  return m_choice == e_Cs;
10163 }
10164 
10165 inline
10167 {
10168  return ((m_set_State[0] & 0x3) != 0);
10169 }
10170 
10171 inline
10173 {
10174  return true;
10175 }
10176 
10177 inline
10179 {
10180  return m_ContExp;
10181 }
10182 
10183 inline
10185 {
10186  m_set_State[0] |= 0x1;
10187  return m_ContExp;
10188 }
10189 
10190 inline
10192 {
10193  return ((m_set_State[0] & 0x3) != 0);
10194 }
10195 
10196 inline
10198 {
10199  return true;
10200 }
10201 
10202 inline
10204 {
10205  return m_Bvar;
10206 }
10207 
10208 inline
10210 {
10211  m_set_State[0] |= 0x1;
10212  return m_Bvar;
10213 }
10214 
10215 inline
10217 {
10218  return m_Lowlimit.NotEmpty();
10219 }
10220 
10221 inline
10223 {
10224  return true;
10225 }
10226 
10227 inline
10229 {
10230  if ( !m_Lowlimit ) {
10231  const_cast<C_LU*>(this)->ResetLowlimit();
10232  }
10233  return (*m_Lowlimit);
10234 }
10235 
10236 inline
10238 {
10239  if ( !m_Lowlimit ) {
10240  ResetLowlimit();
10241  }
10242  return (*m_Lowlimit);
10243 }
10244 
10245 inline
10247 {
10248  return m_Uplimit.NotEmpty();
10249 }
10250 
10251 inline
10253 {
10254  return IsSetUplimit();
10255 }
10256 
10257 inline
10259 {
10260  if (!CanGetUplimit()) {
10261  ThrowUnassigned(1);
10262  }
10263  return (*m_Uplimit);
10264 }
10265 
10266 inline
10268 {
10269  return m_choice;
10270 }
10271 
10272 inline
10274 {
10275  if ( m_choice != index )
10276  ThrowInvalidSelection(index);
10277 }
10278 
10279 inline
10280 void CBind_content_Base::C_Qualifier::C_E_Qualifier::C_DCL::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
10281 {
10282  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
10283  if ( m_choice != e_not_set )
10284  ResetSelection();
10285  DoSelect(index, pool);
10286  }
10287 }
10288 
10289 inline
10291 {
10292  Select(index, reset, 0);
10293 }
10294 
10295 inline
10297 {
10298  return m_choice == e_Domainofapplication;
10299 }
10300 
10301 inline
10303 {
10304  return m_choice == e_Condition;
10305 }
10306 
10307 inline
10309 {
10310  return m_choice == e_LU;
10311 }
10312 
10313 inline
10315 {
10316  return m_choice;
10317 }
10318 
10319 inline
10321 {
10322  if ( m_choice != index )
10323  ThrowInvalidSelection(index);
10324 }
10325 
10326 inline
10327 void CBind_content_Base::C_Qualifier::C_E_Qualifier::Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool* pool)
10328 {
10329  if ( reset == NCBI_NS_NCBI::eDoResetVariant || m_choice != index ) {
10330  if ( m_choice != e_not_set )
10331  ResetSelection();
10332  DoSelect(index, pool);
10333  }
10334 }
10335 
10336 inline
10338 {
10339  Select(index, reset, 0);
10340 }
10341 
10342 inline
10344 {
10345  return m_choice == e_DCL;
10346 }
10347 
10348 inline
10350 {
10351  return m_choice == e_Degree;
10352 }
10353 
10354 inline
10356 {
10357  return m_choice == e_Momentabout;
10358 }
10359 
10360 inline
10362 {
10363  return m_choice == e_Logbase;
10364 }
10365 
10366 inline
10368 {
10369  return ((m_set_State[0] & 0x3) != 0);
10370 }
10371 
10372 inline
10374 {
10375  return true;
10376 }
10377 
10378 inline
10380 {
10381  return m_Qualifier;
10382 }
10383 
10384 inline
10386 {
10387  m_set_State[0] |= 0x1;
10388  return m_Qualifier;
10389 }
10390 
10391 inline
10393 {
10394  return m_ContExp.NotEmpty();
10395 }
10396 
10397 inline
10399 {
10400  return IsSetContExp();
10401 }
10402 
10403 inline
10405 {
10406  if (!CanGetContExp()) {
10407  ThrowUnassigned(0);
10408  }
10409  return (*m_ContExp);
10410 }
10411 
10412 inline
10414 {
10415  return m_BvarQ.NotEmpty();
10416 }
10417 
10418 inline
10420 {
10421  return true;
10422 }
10423 
10424 inline
10426 {
10427  if ( !m_BvarQ ) {
10428  const_cast<CBind_content_Base*>(this)->ResetBvarQ();
10429  }
10430  return (*m_BvarQ);
10431 }
10432 
10433 inline
10435 {
10436  if ( !m_BvarQ ) {
10437  ResetBvarQ();
10438  }
10439  return (*m_BvarQ);
10440 }
10441 
10442 inline
10444 {
10445  return m_Qualifier.NotEmpty();
10446 }
10447 
10448 inline
10450 {
10451  return IsSetQualifier();
10452 }
10453 
10454 inline
10456 {
10457  if (!CanGetQualifier()) {
10458  ThrowUnassigned(2);
10459  }
10460  return (*m_Qualifier);
10461 }
10462 
10463 ///////////////////////////////////////////////////////////
10464 ////////////////// end of inline methods //////////////////
10465 ///////////////////////////////////////////////////////////
10466 
10467 
10468 
10469 
10470 
10471 END_objects_SCOPE // namespace ncbi::objects::
10472 
10474 
10475 
10476 #endif // OBJTOOLS_EUTILS_EFETCH_BIND_CONTENT_BASE_HPP
@ e_Max
CAbs –.
Definition: Abs.hpp:66
CAnd –.
Definition: And.hpp:66
CApply –.
Definition: Apply.hpp:66
CApprox –.
Definition: Approx.hpp:66
CArccos –.
Definition: Arccos.hpp:66
CArccosh –.
Definition: Arccosh.hpp:66
CArccot –.
Definition: Arccot.hpp:66
CArccoth –.
Definition: Arccoth.hpp:66
CArccsc –.
Definition: Arccsc.hpp:66
CArccsch –.
Definition: Arccsch.hpp:66
CArcsec –.
Definition: Arcsec.hpp:66
CArcsech –.
Definition: Arcsech.hpp:66
CArcsin –.
Definition: Arcsin.hpp:66
CArcsinh –.
Definition: Arcsinh.hpp:66
CArctan –.
Definition: Arctan.hpp:66
CArctanh –.
Definition: Arctanh.hpp:66
CArg –.
Definition: Arg.hpp:66
CBind_content_Base –.
CBind –.
Definition: Bind.hpp:66
CBvar –.
Definition: Bvar.hpp:66
CCard –.
Definition: Card.hpp:66
CCartesianproduct –.
CCbytes –.
Definition: Cbytes.hpp:66
CCeiling –.
Definition: Ceiling.hpp:66
CCerror –.
Definition: Cerror.hpp:66
CCi –.
Definition: Ci.hpp:66
CCn –.
Definition: Cn.hpp:66
CCodomain –.
Definition: Codomain.hpp:66
CComplexes –.
Definition: Complexes.hpp:66
CCompose –.
Definition: Compose.hpp:66
CCondition –.
Definition: Condition.hpp:66
CConjugate –.
Definition: Conjugate.hpp:66
CCos –.
Definition: Cos.hpp:66
CCosh –.
Definition: Cosh.hpp:66
CCot –.
Definition: Cot.hpp:66
CCoth –.
Definition: Coth.hpp:66
CCs –.
Definition: Cs.hpp:66
CCsc –.
Definition: Csc.hpp:66
CCsch –.
Definition: Csch.hpp:66
CCsymbol –.
Definition: Csymbol.hpp:66
CCurl –.
Definition: Curl.hpp:66
CDeclare –.
Definition: Declare.hpp:66
CDegree –.
Definition: Degree.hpp:66
CDeterminant –.
Definition: Determinant.hpp:66
CDiff –.
Definition: Diff.hpp:66
CDivergence –.
Definition: Divergence.hpp:66
CDivide –.
Definition: Divide.hpp:66
CDomain –.
Definition: Domain.hpp:66
CDomainofapplication –.
CEmptyset –.
Definition: Emptyset.hpp:66
CEq –.
Definition: Eq.hpp:66
CEquivalent –.
Definition: Equivalent.hpp:66
CEulergamma –.
Definition: Eulergamma.hpp:66
CExists –.
Definition: Exists.hpp:66
CExp –.
Definition: Exp.hpp:66
CExponentiale –.
CFactorial –.
Definition: Factorial.hpp:66
CFactorof –.
Definition: Factorof.hpp:66
CFalse –.
Definition: False.hpp:66
CFloor –.
Definition: Floor.hpp:66
CFn –.
Definition: Fn.hpp:66
CForall –.
Definition: Forall.hpp:66
CGcd –.
Definition: Gcd.hpp:66
CGeq –.
Definition: Geq.hpp:66
CGrad –.
Definition: Grad.hpp:66
CGt –.
Definition: Gt.hpp:66
CIdent –.
Definition: Ident.hpp:66
CImage –.
Definition: Image.hpp:66
CImaginary –.
Definition: Imaginary.hpp:66
CImaginaryi –.
Definition: Imaginaryi.hpp:66
CImplies –.
Definition: Implies.hpp:66
CIn –.
Definition: In.hpp:66
CInfinity –.
Definition: Infinity.hpp:66
CInt –.
Definition: Int.hpp:66
CIntegers –.
Definition: Integers.hpp:66
CIntersect –.
Definition: Intersect.hpp:66
CInterval –.
Definition: Interval.hpp:66
CInverse –.
Definition: Inverse.hpp:66
CLambda –.
Definition: Lambda.hpp:66
CLaplacian –.
Definition: Laplacian.hpp:66
CLcm –.
Definition: Lcm.hpp:66
CLeq –.
Definition: Leq.hpp:66
CLimit –.
Definition: Limit.hpp:66
CList –.
Definition: List.hpp:66
CLn –.
Definition: Ln.hpp:66
CLog –.
Definition: Log.hpp:66
CLogbase –.
Definition: Logbase.hpp:66
CLowlimit –.
Definition: Lowlimit.hpp:66
CLt –.
Definition: Lt.hpp:66
CMatrix –.
Definition: Matrix.hpp:66
CMatrixrow –.
Definition: Matrixrow.hpp:66
CMax –.
Definition: Max.hpp:66
CMean –.
Definition: Mean.hpp:66
CMedian –.
Definition: Median.hpp:66
CMin –.
Definition: Min.hpp:66
CMinus –.
Definition: Minus.hpp:66
CMode –.
Definition: Mode.hpp:66
CMoment –.
Definition: Moment.hpp:66
CMomentabout –.
Definition: Momentabout.hpp:66
CNaturalnumbers –.
CNeq –.
Definition: Neq.hpp:66
CNot –.
Definition: Not.hpp:66
CNotanumber –.
Definition: Notanumber.hpp:66
CNotin –.
Definition: Notin.hpp:66
CNotprsubset –.
Definition: Notprsubset.hpp:66
CNotsubset –.
Definition: Notsubset.hpp:66
COr –.
Definition: Or.hpp:66
COuterproduct –.
CPartialdiff –.
Definition: Partialdiff.hpp:66
CPi –.
Definition: Pi.hpp:66
CPiecewise –.
Definition: Piecewise.hpp:66
CPlus –.
Definition: Plus.hpp:66
CPower –.
Definition: Power.hpp:66
CPrimes –.
Definition: Primes.hpp:66
CProduct –.
Definition: Product.hpp:66
CPrsubset –.
Definition: Prsubset.hpp:66
CQuotient –.
Definition: Quotient.hpp:66
CRationals –.
Definition: Rationals.hpp:66
CReal –.
Definition: Real.hpp:66
CReals –.
Definition: Reals.hpp:66
CRef –.
Definition: ncbiobj.hpp:618
CReln –.
Definition: Reln.hpp:66
CRem –.
Definition: Rem.hpp:66
CRoot –.
Definition: Root.hpp:66
CScalarproduct –.
CSdev –.
Definition: Sdev.hpp:66
CSec –.
Definition: Sec.hpp:66
CSech –.
Definition: Sech.hpp:66
CSelector –.
Definition: Selector.hpp:66
CSemantics –.
Definition: Semantics.hpp:66
Base class for all serializable objects.
Definition: serialbase.hpp:150
CSet –.
Definition: Set.hpp:66
CSetdiff –.
Definition: Setdiff.hpp:66
CShare –.
Definition: Share.hpp:66
CSin –.
Definition: Sin.hpp:66
CSinh –.
Definition: Sinh.hpp:66
CSubset –.
Definition: Subset.hpp:66
CSum –.
Definition: Sum.hpp:66
CTan –.
Definition: Tan.hpp:66
CTanh –.
Definition: Tanh.hpp:66
CTendsto –.
Definition: Tendsto.hpp:66
CTimes –.
Definition: Times.hpp:66
CTranspose –.
Definition: Transpose.hpp:66
CTrue –.
Definition: True.hpp:66
CUnion –.
Definition: Union.hpp:66
CUplimit –.
Definition: Uplimit.hpp:66
CVariance –.
Definition: Variance.hpp:66
CVector –.
Definition: Vector.hpp:66
CVectorproduct –.
CXor –.
Definition: Xor.hpp:66
void ThrowUnassigned(TMemberIndex index) const
EResetVariant
Definition: serialbase.hpp:76
@ eDoResetVariant
Definition: serialbase.hpp:77
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
C_Partialdiff_mmlclass & operator=(const C_Partialdiff_mmlclass &)
bool IsNeq(void) const
Check if variant Neq is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TPartialdiff & SetPartialdiff(void)
Assign a value to Partialdiff data member.
C_Binary_logical_mmlclass & operator=(const C_Binary_logical_mmlclass &)
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void Reset(void)
Reset the whole object.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool IsTendsto(void) const
Check if variant Tendsto is selected.
bool IsCoth(void) const
Check if variant Coth is selected.
bool IsExponentiale(void) const
Check if variant Exponentiale is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsSetContExp(void) const
Check if a value has been assigned to ContExp data member.
const TBinary_set_mmlclass & GetBinary_set_mmlclass(void) const
Get the variant data.
C_Differential_Operator_mmlclass TDifferential_Operator_mmlclass
TContExp & SetContExp(void)
Assign a value to ContExp data member.
const TProduct_mmlclass & GetProduct_mmlclass(void) const
Get the variant data.
const TPower & GetPower(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsCsymbol(void) const
Check if variant Csymbol is selected.
TDomainofapplication & SetDomainofapplication(void)
Select the variant.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
C_Nary_minmax_mmlclass & operator=(const C_Nary_minmax_mmlclass &)
bool IsSetCompose(void) const
Check if a value has been assigned to Compose data member.
bool CanGetUplimit(void) const
Check if it is safe to call GetUplimit method.
TCartesianproduct & SetCartesianproduct(void)
Select the variant.
TNary_reln_mmlclass & SetNary_reln_mmlclass(void)
Select the variant.
bool IsSin(void) const
Check if variant Sin is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsBinary_reln_mmlclass(void) const
Check if variant Binary_reln_mmlclass is selected.
bool IsDeterminant(void) const
Check if variant Determinant is selected.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
const TQualifier & GetQualifier(void) const
Get the Qualifier member data.
bool IsDomain(void) const
Check if variant Domain is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TScalarproduct & GetScalarproduct(void) const
Get the variant data.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
TShare & SetShare(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsBinary_linalg_mmlclass(void) const
Check if variant Binary_linalg_mmlclass is selected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsDifferential_Operator_mmlclass(void) const
Check if variant Differential_Operator_mmlclass is selected.
C_Binary_arith_mmlclass & operator=(const C_Binary_arith_mmlclass &)
const TExponentiale & GetExponentiale(void) const
Get the variant data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
const TMin & GetMin(void) const
Get the variant data.
bool IsUnary_logical_mmlclass(void) const
Check if variant Unary_logical_mmlclass is selected.
E_Choice Which(void) const
Which variant is currently selected.
void ResetQualifier(void)
Reset Qualifier data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsArcsinh(void) const
Check if variant Arcsinh is selected.
list< CRef< CBvar > > TBvar
const TBinary_logical_mmlclass & GetBinary_logical_mmlclass(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TContExp & GetContExp(void) const
Get the ContExp member data.
bool IsGt(void) const
Check if variant Gt is selected.
const TCi & GetCi(void) const
Get the variant data.
bool IsArcsin(void) const
Check if variant Arcsin is selected.
bool IsNary_logical_mmlclass(void) const
Check if variant Nary_logical_mmlclass is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
C_Nary_reln_mmlclass & operator=(const C_Nary_reln_mmlclass &)
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
TBinary_reln_mmlclass & SetBinary_reln_mmlclass(void)
Select the variant.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
const TMoment & GetMoment(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsConstant_arith_mmlclass(void) const
Check if variant Constant_arith_mmlclass is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsGcd(void) const
Check if variant Gcd is selected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsMinus(void) const
Check if variant Minus is selected.
TLambda & SetLambda(void)
Assign a value to Lambda data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
C_Nary_functional_mmlclass & operator=(const C_Nary_functional_mmlclass &)
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
TLowlimit & SetLowlimit(void)
Assign a value to Lowlimit data member.
bool IsInt_mmlclass(void) const
Check if variant Int_mmlclass is selected.
bool IsPrimes(void) const
Check if variant Primes is selected.
bool IsNotprsubset(void) const
Check if variant Notprsubset is selected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsSetLowlimit(void) const
Check if a value has been assigned to Lowlimit data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsApply(void) const
Check if variant Apply is selected.
const TVectorproduct & GetVectorproduct(void) const
Get the variant data.
bool IsSetPartialdiff(void) const
Check if a value has been assigned to Partialdiff data member.
const TSemantics & GetSemantics(void) const
Get the variant data.
bool CanGetPartialdiff(void) const
Check if value of Partialdiff member is getatable.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsNary_minmax_mmlclass(void) const
Check if variant Nary_minmax_mmlclass is selected.
const TTendsto & GetTendsto(void) const
Get the variant data.
bool CanGetContExp(void) const
Check if it is safe to call GetContExp method.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsLambda_mmlclass(void) const
Check if variant Lambda_mmlclass is selected.
const TMode & GetMode(void) const
Get the variant data.
TDifferential_Operator_mmlclass & SetDifferential_Operator_mmlclass(void)
Select the variant.
const TArccosh & GetArccosh(void) const
Get the variant data.
const TUplimit & GetUplimit(void) const
Get the Uplimit member data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsLeq(void) const
Check if variant Leq is selected.
TBind & SetBind(void)
Select the variant.
C_Unary_set_mmlclass & operator=(const C_Unary_set_mmlclass &)
const TMax & GetMax(void) const
Get the variant data.
const TBinary_arith_mmlclass & GetBinary_arith_mmlclass(void) const
Get the variant data.
C_E_Qualifier & operator=(const C_E_Qualifier &)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TUnary_linalg_mmlclass & GetUnary_linalg_mmlclass(void) const
Get the variant data.
TBvarQ & SetBvarQ(void)
Assign a value to BvarQ data member.
const TInt_mmlclass & GetInt_mmlclass(void) const
Get the variant data.
const TCodomain & GetCodomain(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsFactorial(void) const
Check if variant Factorial is selected.
bool IsNary_setlist_constructor_mmlclass(void) const
Check if variant Nary_setlist_constructor_mmlclass is selected.
const TPartialdiff_mmlclass & GetPartialdiff_mmlclass(void) const
Get the variant data.
TApply & SetApply(void)
Select the variant.
const TCbytes & GetCbytes(void) const
Get the variant data.
bool IsProduct_mmlclass(void) const
Check if variant Product_mmlclass is selected.
const TPiecewise & GetPiecewise(void) const
Get the variant data.
CRef< TBvarQ > m_BvarQ
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
const TEulergamma & GetEulergamma(void) const
Get the variant data.
bool IsMomentabout(void) const
Check if variant Momentabout is selected.
const TNary_logical_mmlclass & GetNary_logical_mmlclass(void) const
Get the variant data.
const TQuantifier_mmlclass & GetQuantifier_mmlclass(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
E_Choice Which(void) const
Which variant is currently selected.
const TArccsc & GetArccsc(void) const
Get the variant data.
C_Quantifier_mmlclass & operator=(const C_Quantifier_mmlclass &)
void ResetContExp(void)
Reset ContExp data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsIdent(void) const
Check if variant Ident is selected.
const TArcsech & GetArcsech(void) const
Get the variant data.
const TGcd & GetGcd(void) const
Get the variant data.
TCondition & SetCondition(void)
Select the variant.
CSerialObject Tparent
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsNary_constructor_mmlclass(void) const
Check if variant Nary_constructor_mmlclass is selected.
TNary_logical_mmlclass & SetNary_logical_mmlclass(void)
Select the variant.
const TSum & GetSum(void) const
Get the Sum member data.
bool IsEmptyset(void) const
Check if variant Emptyset is selected.
TInt_mmlclass & SetInt_mmlclass(void)
Select the variant.
bool IsFloor(void) const
Check if variant Floor is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TNary_reln_mmlclass & GetNary_reln_mmlclass(void) const
Get the variant data.
const TRoot & GetRoot(void) const
Get the variant data.
const TFactorial & GetFactorial(void) const
Get the variant data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsArccos(void) const
Check if variant Arccos is selected.
const TBvarQ & GetBvarQ(void) const
Get the BvarQ member data.
TBinary_linalg_mmlclass & SetBinary_linalg_mmlclass(void)
Select the variant.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TInterval_mmlclass & GetInterval_mmlclass(void) const
Get the variant data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
C_Unary_elementary_mmlclass TUnary_elementary_mmlclass
const TShare & GetShare(void) const
Get the variant data.
C_Nary_set_reln_mmlclass & operator=(const C_Nary_set_reln_mmlclass &)
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TNary_constructor_mmlclass & GetNary_constructor_mmlclass(void) const
Get the variant data.
bool IsTanh(void) const
Check if variant Tanh is selected.
list< CRef< C_E_ContExp > > m_ContExp
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
E_Choice Which(void) const
Which variant is currently selected.
void ResetBvarQ(void)
Reset BvarQ data member.
const TPrsubset & GetPrsubset(void) const
Get the variant data.
const TLeq & GetLeq(void) const
Get the variant data.
bool CanGetLimit(void) const
Check if value of Limit member is getatable.
bool IsUnary_set_mmlclass(void) const
Check if variant Unary_set_mmlclass is selected.
bool IsArctan(void) const
Check if variant Arctan is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsCbytes(void) const
Check if variant Cbytes is selected.
const TReln & GetReln(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsSetdiff(void) const
Check if variant Setdiff is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsFactorof(void) const
Check if variant Factorof is selected.
const TVector & GetVector(void) const
Get the variant data.
TNary_constructor_mmlclass & SetNary_constructor_mmlclass(void)
Select the variant.
const TCerror & GetCerror(void) const
Get the variant data.
const TLcm & GetLcm(void) const
Get the variant data.
C_Nary_set_reln_mmlclass TNary_set_reln_mmlclass
E_Choice Which(void) const
Which variant is currently selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TNary_linalg_mmlclass & SetNary_linalg_mmlclass(void)
Select the variant.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
TConstant_set_mmlclass & SetConstant_set_mmlclass(void)
Select the variant.
TCi & SetCi(void)
Select the variant.
void ResetBvar(void)
Reset Bvar data member.
E_Choice Which(void) const
Which variant is currently selected.
TCn & SetCn(void)
Select the variant.
C_Nary_arith_mmlclass & operator=(const C_Nary_arith_mmlclass &)
bool CanGetLowlimit(void) const
Check if it is safe to call GetLowlimit method.
TNaturalnumbers & SetNaturalnumbers(void)
Select the variant.
TBinary_arith_mmlclass & SetBinary_arith_mmlclass(void)
Select the variant.
const TPlus & GetPlus(void) const
Get the variant data.
bool IsDivergence(void) const
Check if variant Divergence is selected.
bool CanGetQualifier(void) const
Check if it is safe to call GetQualifier method.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TComplexes & GetComplexes(void) const
Get the variant data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsSetBvar(void) const
Check if a value has been assigned to Bvar data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsComplexes(void) const
Check if variant Complexes is selected.
E_Choice Which(void) const
Which variant is currently selected.
bool IsTan(void) const
Check if variant Tan is selected.
bool IsSetNot(void) const
Check if a value has been assigned to Not data member.
bool IsLU(void) const
Check if variant LU is selected.
const TSum_mmlclass & GetSum_mmlclass(void) const
Get the variant data.
bool IsMatrixrow(void) const
Check if variant Matrixrow is selected.
const TArccoth & GetArccoth(void) const
Get the variant data.
TUnary_set_mmlclass & SetUnary_set_mmlclass(void)
Select the variant.
const TDifferential_Operator_mmlclass & GetDifferential_Operator_mmlclass(void) const
Get the variant data.
NCBI_NS_NCBI::CSerialObject * m_object
bool CanGetInt(void) const
Check if value of Int member is getatable.
C_ContExp(const C_ContExp &)
const TNary_minmax_mmlclass & GetNary_minmax_mmlclass(void) const
Get the variant data.
TSum & SetSum(void)
Assign a value to Sum data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TNotin & GetNotin(void) const
Get the variant data.
bool IsCondition(void) const
Check if variant Condition is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsSetUplimit(void) const
Check if a value has been assigned to Uplimit data member.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsArccsch(void) const
Check if variant Arccsch is selected.
bool IsInfinity(void) const
Check if variant Infinity is selected.
bool IsExp(void) const
Check if variant Exp is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsLaplacian(void) const
Check if variant Laplacian is selected.
const TArccos & GetArccos(void) const
Get the variant data.
bool IsVector(void) const
Check if variant Vector is selected.
C_BvarQ & operator=(const C_BvarQ &)
bool IsLimit_mmlclass(void) const
Check if variant Limit_mmlclass is selected.
bool IsQuantifier_mmlclass(void) const
Check if variant Quantifier_mmlclass is selected.
TDeprecatedContExp & SetDeprecatedContExp(void)
Select the variant.
bool IsCartesianproduct(void) const
Check if variant Cartesianproduct is selected.
E_Choice Which(void) const
Which variant is currently selected.
bool IsAnd(void) const
Check if variant And is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsArccsc(void) const
Check if variant Arccsc is selected.
bool IsDCL(void) const
Check if variant DCL is selected.
bool IsCi(void) const
Check if variant Ci is selected.
E_Choice Which(void) const
Which variant is currently selected.
TDegree & SetDegree(void)
Select the variant.
bool IsArcsec(void) const
Check if variant Arcsec is selected.
bool CanGetQualifier(void) const
Check if it is safe to call GetQualifier method.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
E_Choice Which(void) const
Which variant is currently selected.
const TConjugate & GetConjugate(void) const
Get the variant data.
TLambda_mmlclass & SetLambda_mmlclass(void)
Select the variant.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TDeterminant & GetDeterminant(void) const
Get the variant data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsNotanumber(void) const
Check if variant Notanumber is selected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsNaturalnumbers(void) const
Check if variant Naturalnumbers is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsDegree(void) const
Check if variant Degree is selected.
list< CRef< C_E_Qualifier > > m_Qualifier
bool IsTranspose(void) const
Check if variant Transpose is selected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
CRef< TContExp > m_ContExp
const TVariance & GetVariance(void) const
Get the variant data.
const TLt & GetLt(void) const
Get the variant data.
C_Nary_functional_mmlclass TNary_functional_mmlclass
C_DeprecatedContExp & operator=(const C_DeprecatedContExp &)
const TUnary_veccalc_mmlclass & GetUnary_veccalc_mmlclass(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
CRef< TQualifier > m_Qualifier
const TDeclare & GetDeclare(void) const
Get the variant data.
const TQuotient & GetQuotient(void) const
Get the variant data.
TUnary_elementary_mmlclass & SetUnary_elementary_mmlclass(void)
Select the variant.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
bool IsUnary_elementary_mmlclass(void) const
Check if variant Unary_elementary_mmlclass is selected.
bool IsNary_arith_mmlclass(void) const
Check if variant Nary_arith_mmlclass is selected.
bool CanGetContExp(void) const
Check if it is safe to call GetContExp method.
bool IsUnary_linalg_mmlclass(void) const
Check if variant Unary_linalg_mmlclass is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
static const char *const sm_SelectionNames[]
C_Lambda_mmlclass & operator=(const C_Lambda_mmlclass &)
C_Limit_mmlclass & operator=(const C_Limit_mmlclass &)
bool IsPartialdiff_mmlclass(void) const
Check if variant Partialdiff_mmlclass is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
const TReal & GetReal(void) const
Get the variant data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
C_Nary_stats_mmlclass & operator=(const C_Nary_stats_mmlclass &)
const TArccot & GetArccot(void) const
Get the variant data.
const TForall & GetForall(void) const
Get the variant data.
TNary_stats_mmlclass & SetNary_stats_mmlclass(void)
Select the variant.
const TTranspose & GetTranspose(void) const
Get the variant data.
bool IsEq(void) const
Check if variant Eq is selected.
const TUnary_elementary_mmlclass & GetUnary_elementary_mmlclass(void) const
Get the variant data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
C_Int_mmlclass & operator=(const C_Int_mmlclass &)
C_Unary_veccalc_mmlclass & operator=(const C_Unary_veccalc_mmlclass &)
C_Nary_constructor_mmlclass TNary_constructor_mmlclass
TCard & SetCard(void)
Assign a value to Card data member.
bool IsCosh(void) const
Check if variant Cosh is selected.
bool IsSetLimit(void) const
Check if a value has been assigned to Limit data member.
bool IsSetInterval(void) const
Check if a value has been assigned to Interval data member.
bool IsVariance(void) const
Check if variant Variance is selected.
bool CanGetDiff(void) const
Check if value of Diff member is getatable.
const TUnion & GetUnion(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TNary_set_mmlclass & SetNary_set_mmlclass(void)
Select the variant.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TGt & GetGt(void) const
Get the variant data.
bool IsRationals(void) const
Check if variant Rationals is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
C_Differential_Operator_mmlclass(const C_Differential_Operator_mmlclass &)
const TInfinity & GetInfinity(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ResetSelection(void)
Reset the selection (set it to e_not_set).
TNary_functional_mmlclass & SetNary_functional_mmlclass(void)
Select the variant.
void ResetContExp(void)
Reset ContExp data member.
const TNary_functional_mmlclass & GetNary_functional_mmlclass(void) const
Get the variant data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
TUnary_functional_mmlclass & SetUnary_functional_mmlclass(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsEquivalent(void) const
Check if variant Equivalent is selected.
const TEmptyset & GetEmptyset(void) const
Get the variant data.
const TDivergence & GetDivergence(void) const
Get the variant data.
const TArg & GetArg(void) const
Get the variant data.
bool IsBinary_logical_mmlclass(void) const
Check if variant Binary_logical_mmlclass is selected.
const TCeiling & GetCeiling(void) const
Get the variant data.
bool IsFn(void) const
Check if variant Fn is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsNary_set_mmlclass(void) const
Check if variant Nary_set_mmlclass is selected.
const TTimes & GetTimes(void) const
Get the variant data.
bool CanGetBvarQ(void) const
Check if it is safe to call GetBvarQ method.
E_Choice Which(void) const
Which variant is currently selected.
E_Choice Which(void) const
Which variant is currently selected.
E_Choice Which(void) const
Which variant is currently selected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
C_Constant_arith_mmlclass & operator=(const C_Constant_arith_mmlclass &)
const TSetdiff & GetSetdiff(void) const
Get the variant data.
bool IsDeprecatedContExp(void) const
Check if variant DeprecatedContExp is selected.
bool IsImplies(void) const
Check if variant Implies is selected.
bool IsArccot(void) const
Check if variant Arccot is selected.
E_Choice Which(void) const
Which variant is currently selected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsQuotient(void) const
Check if variant Quotient is selected.
const TExp & GetExp(void) const
Get the variant data.
const TBind & GetBind(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TSubset & GetSubset(void) const
Get the variant data.
E_Choice Which(void) const
Which variant is currently selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsImage(void) const
Check if variant Image is selected.
const TGeq & GetGeq(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsReln(void) const
Check if variant Reln is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
C_Interval_mmlclass & operator=(const C_Interval_mmlclass &)
C_Unary_functional_mmlclass TUnary_functional_mmlclass
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsShare(void) const
Check if variant Share is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
C_Unary_veccalc_mmlclass TUnary_veccalc_mmlclass
bool CanGetNot(void) const
Check if value of Not member is getatable.
const TBvar & GetBvar(void) const
Get the Bvar member data.
const TNaturalnumbers & GetNaturalnumbers(void) const
Get the variant data.
const TReals & GetReals(void) const
Get the variant data.
C_Nary_linalg_mmlclass & operator=(const C_Nary_linalg_mmlclass &)
const TMomentabout & GetMomentabout(void) const
Get the variant data.
TCs & SetCs(void)
Select the variant.
const TInt & GetInt(void) const
Get the Int member data.
TBinary_set_mmlclass & SetBinary_set_mmlclass(void)
Select the variant.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool CanGetProduct(void) const
Check if value of Product member is getatable.
const TGrad & GetGrad(void) const
Get the variant data.
bool IsApprox(void) const
Check if variant Approx is selected.
E_Choice Which(void) const
Which variant is currently selected.
bool IsPiecewise(void) const
Check if variant Piecewise is selected.
C_Nary_logical_mmlclass & operator=(const C_Nary_logical_mmlclass &)
bool IsRem(void) const
Check if variant Rem is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TFactorof & GetFactorof(void) const
Get the variant data.
const TArctanh & GetArctanh(void) const
Get the variant data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TFloor & GetFloor(void) const
Get the variant data.
const TNary_set_mmlclass & GetNary_set_mmlclass(void) const
Get the variant data.
bool IsPlus(void) const
Check if variant Plus is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsNotsubset(void) const
Check if variant Notsubset is selected.
bool IsArcsech(void) const
Check if variant Arcsech is selected.
bool IsSemantics(void) const
Check if variant Semantics is selected.
bool IsGeq(void) const
Check if variant Geq is selected.
bool IsTimes(void) const
Check if variant Times is selected.
bool IsConstant_set_mmlclass(void) const
Check if variant Constant_set_mmlclass is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TLambda_mmlclass & GetLambda_mmlclass(void) const
Get the variant data.
bool IsMean(void) const
Check if variant Mean is selected.
C_E_ContExp & operator=(const C_E_ContExp &)
TUnary_veccalc_mmlclass & SetUnary_veccalc_mmlclass(void)
Select the variant.
C_Nary_setlist_constructor_mmlclass(const C_Nary_setlist_constructor_mmlclass &)
TContExp & SetContExp(void)
Assign a value to ContExp data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsMedian(void) const
Check if variant Median is selected.
C_BvarQ(const C_BvarQ &)
TBvar & SetBvar(void)
Assign a value to Bvar data member.
const TDomain & GetDomain(void) const
Get the variant data.
bool IsSec(void) const
Check if variant Sec is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsXor(void) const
Check if variant Xor is selected.
const TInterval & GetInterval(void) const
Get the Interval member data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TNary_stats_mmlclass & GetNary_stats_mmlclass(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
bool IsConjugate(void) const
Check if variant Conjugate is selected.
bool IsDeclare(void) const
Check if variant Declare is selected.
const TUnary_logical_mmlclass & GetUnary_logical_mmlclass(void) const
Get the variant data.
TUplimit & SetUplimit(void)
Assign a value to Uplimit data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool CanGetSum(void) const
Check if value of Sum member is getatable.
bool IsSinh(void) const
Check if variant Sinh is selected.
bool IsSubset(void) const
Check if variant Subset is selected.
bool IsDomainofapplication(void) const
Check if variant Domainofapplication is selected.
const TMean & GetMean(void) const
Get the variant data.
TCsymbol & SetCsymbol(void)
Select the variant.
E_Choice Which(void) const
Which variant is currently selected.
bool IsTrue(void) const
Check if variant True is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
E_Choice Which(void) const
Which variant is currently selected.
bool IsBinary_set_mmlclass(void) const
Check if variant Binary_set_mmlclass is selected.
C_Binary_set_mmlclass & operator=(const C_Binary_set_mmlclass &)
E_Choice Which(void) const
Which variant is currently selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TLimit & GetLimit(void) const
Get the Limit member data.
const TCs & GetCs(void) const
Get the variant data.
TNary_set_reln_mmlclass & SetNary_set_reln_mmlclass(void)
Select the variant.
const TProduct & GetProduct(void) const
Get the Product member data.
const TMatrixrow & GetMatrixrow(void) const
Get the variant data.
bool IsDivide(void) const
Check if variant Divide is selected.
bool IsArccosh(void) const
Check if variant Arccosh is selected.
C_Unary_elementary_mmlclass & operator=(const C_Unary_elementary_mmlclass &)
bool IsPrsubset(void) const
Check if variant Prsubset is selected.
bool IsGrad(void) const
Check if variant Grad is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsLcm(void) const
Check if variant Lcm is selected.
const TNeq & GetNeq(void) const
Get the variant data.
bool CanGetInterval(void) const
Check if it is safe to call GetInterval method.
bool IsPi(void) const
Check if variant Pi is selected.
C_Sum_mmlclass & operator=(const C_Sum_mmlclass &)
void ResetSelection(void)
Reset the selection (set it to e_not_set).
TSemantics & SetSemantics(void)
Select the variant.
const TMedian & GetMedian(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
TInterval_mmlclass & SetInterval_mmlclass(void)
Select the variant.
const TIdent & GetIdent(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
const TImaginaryi & GetImaginaryi(void) const
Get the variant data.
const TCard & GetCard(void) const
Get the Card member data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsMoment(void) const
Check if variant Moment is selected.
TBinary_logical_mmlclass & SetBinary_logical_mmlclass(void)
Select the variant.
bool IsSetDiff(void) const
Check if a value has been assigned to Diff data member.
const TNary_arith_mmlclass & GetNary_arith_mmlclass(void) const
Get the variant data.
C_Product_mmlclass & operator=(const C_Product_mmlclass &)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
E_Choice Which(void) const
Which variant is currently selected.
TNary_minmax_mmlclass & SetNary_minmax_mmlclass(void)
Select the variant.
const TCsymbol & GetCsymbol(void) const
Get the variant data.
bool IsArg(void) const
Check if variant Arg is selected.
list< CRef< C_E_ContExp > > TContExp
C_Unary_linalg_mmlclass & operator=(const C_Unary_linalg_mmlclass &)
const TArcsinh & GetArcsinh(void) const
Get the variant data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TLimit_mmlclass & GetLimit_mmlclass(void) const
Get the variant data.
bool IsVectorproduct(void) const
Check if variant Vectorproduct is selected.
E_Choice Which(void) const
Which variant is currently selected.
bool IsNary_linalg_mmlclass(void) const
Check if variant Nary_linalg_mmlclass is selected.
bool IsCsc(void) const
Check if variant Csc is selected.
C_Nary_setlist_constructor_mmlclass & operator=(const C_Nary_setlist_constructor_mmlclass &)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
C_Binary_linalg_mmlclass & operator=(const C_Binary_linalg_mmlclass &)
virtual void Reset(void)
Reset the whole object.
const TApprox & GetApprox(void) const
Get the variant data.
void Reset(void)
Reset the whole object.
TNary_setlist_constructor_mmlclass & SetNary_setlist_constructor_mmlclass(void)
Select the variant.
const TSelector & GetSelector(void) const
Get the Selector member data.
bool IsCos(void) const
Check if variant Cos is selected.
bool IsSetInt(void) const
Check if a value has been assigned to Int data member.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
E_Choice Which(void) const
Which variant is currently selected.
bool IsSetCard(void) const
Check if a value has been assigned to Card data member.
C_Nary_setlist_constructor_mmlclass TNary_setlist_constructor_mmlclass
bool IsOr(void) const
Check if variant Or is selected.
const TNotprsubset & GetNotprsubset(void) const
Get the variant data.
TMomentabout & SetMomentabout(void)
Select the variant.
const TCartesianproduct & GetCartesianproduct(void) const
Get the variant data.
const TNot & GetNot(void) const
Get the Not member data.
TNary_arith_mmlclass & SetNary_arith_mmlclass(void)
Select the variant.
const TCondition & GetCondition(void) const
Get the variant data.
bool IsCerror(void) const
Check if variant Cerror is selected.
void Reset(void)
Reset the whole object.
const TArctan & GetArctan(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsCs(void) const
Check if variant Cs is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
const TExists & GetExists(void) const
Get the variant data.
const TLambda & GetLambda(void) const
Get the Lambda member data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TQualifier & SetQualifier(void)
Assign a value to Qualifier data member.
const TApply & GetApply(void) const
Get the variant data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsSum_mmlclass(void) const
Check if variant Sum_mmlclass is selected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
TUnary_linalg_mmlclass & SetUnary_linalg_mmlclass(void)
Select the variant.
const TLowlimit & GetLowlimit(void) const
Get the Lowlimit member data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsIntersect(void) const
Check if variant Intersect is selected.
bool IsMode(void) const
Check if variant Mode is selected.
TCerror & SetCerror(void)
Select the variant.
bool IsBind(void) const
Check if variant Bind is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
const TPrimes & GetPrimes(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TProduct_mmlclass & SetProduct_mmlclass(void)
Select the variant.
bool IsReal(void) const
Check if variant Real is selected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TCompose & GetCompose(void) const
Get the Compose member data.
C_Unary_logical_mmlclass TUnary_logical_mmlclass
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void ResetQualifier(void)
Reset Qualifier data member.
bool IsReals(void) const
Check if variant Reals is selected.
bool IsImaginary(void) const
Check if variant Imaginary is selected.
const TImage & GetImage(void) const
Get the variant data.
C_Constant_set_mmlclass & operator=(const C_Constant_set_mmlclass &)
bool IsLogbase(void) const
Check if variant Logbase is selected.
bool IsUnary_arith_mmlclass(void) const
Check if variant Unary_arith_mmlclass is selected.
bool IsScalarproduct(void) const
Check if variant Scalarproduct is selected.
TCbytes & SetCbytes(void)
Select the variant.
const TImplies & GetImplies(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TLimit & SetLimit(void)
Assign a value to Limit data member.
const TEq & GetEq(void) const
Get the variant data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsNary_stats_mmlclass(void) const
Check if variant Nary_stats_mmlclass is selected.
const TArccsch & GetArccsch(void) const
Get the variant data.
TProduct & SetProduct(void)
Assign a value to Product data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsSetSum(void) const
Check if a value has been assigned to Sum data member.
bool IsMin(void) const
Check if variant Min is selected.
bool CanGetCard(void) const
Check if value of Card member is getatable.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
bool IsSetSelector(void) const
Check if a value has been assigned to Selector data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TLogbase & SetLogbase(void)
Select the variant.
TUnary_arith_mmlclass & SetUnary_arith_mmlclass(void)
Select the variant.
const TNary_linalg_mmlclass & GetNary_linalg_mmlclass(void) const
Get the variant data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
E_Choice Which(void) const
Which variant is currently selected.
bool CanGetSelector(void) const
Check if value of Selector member is getatable.
const TMinus & GetMinus(void) const
Get the variant data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void Reset(void)
Reset the whole object.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TUnary_arith_mmlclass & GetUnary_arith_mmlclass(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TOuterproduct & GetOuterproduct(void) const
Get the variant data.
const TQualifier & GetQualifier(void) const
Get the Qualifier member data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TIntegers & GetIntegers(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
const TEquivalent & GetEquivalent(void) const
Get the variant data.
bool IsUnion(void) const
Check if variant Union is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TDegree & GetDegree(void) const
Get the variant data.
bool IsUnary_functional_mmlclass(void) const
Check if variant Unary_functional_mmlclass is selected.
bool IsNary_set_reln_mmlclass(void) const
Check if variant Nary_set_reln_mmlclass is selected.
TCompose & SetCompose(void)
Assign a value to Compose data member.
TSum_mmlclass & SetSum_mmlclass(void)
Select the variant.
bool IsNotin(void) const
Check if variant Notin is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsInverse(void) const
Check if variant Inverse is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
C_Differential_Operator_mmlclass & operator=(const C_Differential_Operator_mmlclass &)
TQuantifier_mmlclass & SetQuantifier_mmlclass(void)
Select the variant.
const TArcsin & GetArcsin(void) const
Get the variant data.
const TUnary_functional_mmlclass & GetUnary_functional_mmlclass(void) const
Get the variant data.
bool IsCeiling(void) const
Check if variant Ceiling is selected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsInterval_mmlclass(void) const
Check if variant Interval_mmlclass is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsOuterproduct(void) const
Check if variant Outerproduct is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool CanGetCompose(void) const
Check if value of Compose member is getatable.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
virtual ~CBind_content_Base(void)
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
C_Binary_logical_mmlclass TBinary_logical_mmlclass
const TDCL & GetDCL(void) const
Get the variant data.
bool IsSetBvarQ(void) const
Check if a value has been assigned to BvarQ data member.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
E_Choice Which(void) const
Which variant is currently selected.
TLimit_mmlclass & SetLimit_mmlclass(void)
Select the variant.
C_Constant_arith_mmlclass TConstant_arith_mmlclass
const TConstant_arith_mmlclass & GetConstant_arith_mmlclass(void) const
Get the variant data.
C_Unary_functional_mmlclass & operator=(const C_Unary_functional_mmlclass &)
C_Qualifier & operator=(const C_Qualifier &)
E_Choice Which(void) const
Which variant is currently selected.
TInterval & SetInterval(void)
Assign a value to Interval data member.
bool IsNary_functional_mmlclass(void) const
Check if variant Nary_functional_mmlclass is selected.
bool IsLog(void) const
Check if variant Log is selected.
bool IsCot(void) const
Check if variant Cot is selected.
const TFn & GetFn(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsCurl(void) const
Check if variant Curl is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TBinary_reln_mmlclass & GetBinary_reln_mmlclass(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TLU & GetLU(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsSetContExp(void) const
Check if a value has been assigned to ContExp data member.
C_ContExp & operator=(const C_ContExp &)
const TCurl & GetCurl(void) const
Get the variant data.
const TNary_setlist_constructor_mmlclass & GetNary_setlist_constructor_mmlclass(void) const
Get the variant data.
bool IsSetProduct(void) const
Check if a value has been assigned to Product data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
CBind_content_Base(const CBind_content_Base &)
bool IsSetQualifier(void) const
Check if a value has been assigned to Qualifier data member.
bool IsForall(void) const
Check if variant Forall is selected.
bool IsIn(void) const
Check if variant In is selected.
bool IsLt(void) const
Check if variant Lt is selected.
TSelector & SetSelector(void)
Assign a value to Selector data member.
C_Unary_logical_mmlclass & operator=(const C_Unary_logical_mmlclass &)
void Reset(void)
Reset the whole object.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
C_Unary_arith_mmlclass & operator=(const C_Unary_arith_mmlclass &)
const TImaginary & GetImaginary(void) const
Get the variant data.
bool IsSdev(void) const
Check if variant Sdev is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
const TLogbase & GetLogbase(void) const
Get the variant data.
bool IsSech(void) const
Check if variant Sech is selected.
const TFalse & GetFalse(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TRationals & GetRationals(void) const
Get the variant data.
bool IsRoot(void) const
Check if variant Root is selected.
const TNotanumber & GetNotanumber(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TPartialdiff & GetPartialdiff(void) const
Get the Partialdiff member data.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TArcsec & GetArcsec(void) const
Get the variant data.
const TRem & GetRem(void) const
Get the variant data.
bool IsIntegers(void) const
Check if variant Integers is selected.
TConstant_arith_mmlclass & SetConstant_arith_mmlclass(void)
Select the variant.
const TContExp & GetContExp(void) const
Get the ContExp member data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsCsch(void) const
Check if variant Csch is selected.
const TBinary_linalg_mmlclass & GetBinary_linalg_mmlclass(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsArctanh(void) const
Check if variant Arctanh is selected.
const TNotsubset & GetNotsubset(void) const
Get the variant data.
TPiecewise & SetPiecewise(void)
Select the variant.
const TConstant_set_mmlclass & GetConstant_set_mmlclass(void) const
Get the variant data.
bool IsUnary_veccalc_mmlclass(void) const
Check if variant Unary_veccalc_mmlclass is selected.
bool IsBinary_arith_mmlclass(void) const
Check if variant Binary_arith_mmlclass is selected.
bool IsMatrix(void) const
Check if variant Matrix is selected.
const TIntersect & GetIntersect(void) const
Get the variant data.
bool IsExists(void) const
Check if variant Exists is selected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsAbs(void) const
Check if variant Abs is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsArccoth(void) const
Check if variant Arccoth is selected.
TInt & SetInt(void)
Assign a value to Int data member.
bool IsImaginaryi(void) const
Check if variant Imaginaryi is selected.
bool IsCodomain(void) const
Check if variant Codomain is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsSetQualifier(void) const
Check if a value has been assigned to Qualifier data member.
const TDomainofapplication & GetDomainofapplication(void) const
Get the variant data.
TPartialdiff_mmlclass & SetPartialdiff_mmlclass(void)
Select the variant.
TUnary_logical_mmlclass & SetUnary_logical_mmlclass(void)
Select the variant.
C_Nary_constructor_mmlclass & operator=(const C_Nary_constructor_mmlclass &)
list< CRef< CBvar > > m_Bvar
bool IsPower(void) const
Check if variant Power is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsSetLambda(void) const
Check if a value has been assigned to Lambda data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
CBind_content_Base & operator=(const CBind_content_Base &)
E_Choice Which(void) const
Which variant is currently selected.
bool IsFalse(void) const
Check if variant False is selected.
E_Choice Which(void) const
Which variant is currently selected.
list< CRef< C_E_Qualifier > > TQualifier
const TCn & GetCn(void) const
Get the variant data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsNary_reln_mmlclass(void) const
Check if variant Nary_reln_mmlclass is selected.
C_Qualifier(const C_Qualifier &)
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
C_Binary_reln_mmlclass & operator=(const C_Binary_reln_mmlclass &)
const TLaplacian & GetLaplacian(void) const
Get the variant data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TDivide & GetDivide(void) const
Get the variant data.
const TMatrix & GetMatrix(void) const
Get the variant data.
bool IsCn(void) const
Check if variant Cn is selected.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsMax(void) const
Check if variant Max is selected.
C_Nary_set_mmlclass & operator=(const C_Nary_set_mmlclass &)
const TUnary_set_mmlclass & GetUnary_set_mmlclass(void) const
Get the variant data.
const TDeprecatedContExp & GetDeprecatedContExp(void) const
Get the variant data.
const TAbs & GetAbs(void) const
Get the variant data.
const TNary_set_reln_mmlclass & GetNary_set_reln_mmlclass(void) const
Get the variant data.
bool CanGetBvar(void) const
Check if it is safe to call GetBvar method.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
C_Binary_linalg_mmlclass TBinary_linalg_mmlclass
bool CanGetLambda(void) const
Check if it is safe to call GetLambda method.
const TInverse & GetInverse(void) const
Get the variant data.
bool IsEulergamma(void) const
Check if variant Eulergamma is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TSdev & GetSdev(void) const
Get the variant data.
TQualifier & SetQualifier(void)
Assign a value to Qualifier data member.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Thu May 23 12:32:55 2024 by modify_doxy.py rev. 669887