NCBI C++ ToolKit
ExchangeSet_.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 ExchangeSet_.hpp
29 /// Data storage class.
30 ///
31 /// This file was generated by application DATATOOL
32 /// using the following specifications:
33 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/docsum/docsum.asn">docsum.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/docsum/docsum.def">docsum.def</a>
36 ///
37 /// ATTENTION:
38 /// Don't edit or commit this file into CVS as this file will
39 /// be overridden (by DATATOOL) without warning!
40 
41 #ifndef OBJECTS_DOCSUM_EXCHANGESET_BASE_HPP
42 #define OBJECTS_DOCSUM_EXCHANGESET_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #include <string>
50 
52 
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
56 #endif
57 BEGIN_objects_SCOPE // namespace ncbi::objects::
58 
59 
60 // forward declarations
61 class CAssay;
62 class CBaseURL;
63 class CRs;
64 
65 
66 // generated classes
67 
68 
69 /** @addtogroup dataspec_Docsum_3_4
70  *
71  * @{
72  */
73 
74 /////////////////////////////////////////////////////////////////////////////
75 ///Set of dbSNP refSNP docsums, version 3.4
76 ///
77 /// CExchangeSet_Base --
78 ///
79 
81 {
83 public:
84  // constructor
85  CExchangeSet_Base(void);
86  // destructor
87  virtual ~CExchangeSet_Base(void);
88 
89  // type info
91 
92  /////////////////////////////////////////////////////////////////////////////
93  ///
94  /// C_Attlist --
95  ///
96 
98  {
100  public:
101  // constructor
102  C_Attlist(void);
103  // destructor
104  ~C_Attlist(void);
105 
106  // type info
108 
109  // types
110  typedef string TSetType;
111  typedef string TSetDepth;
112  typedef string TSpecVersion;
113  typedef int TDbSnpBuild;
114  typedef string TGenerated;
115 
116  // member index
117  enum class E_memberIndex {
118  e__allMandatory = 0,
119  e_setType,
120  e_setDepth,
121  e_specVersion,
122  e_dbSnpBuild,
123  e_generated
124  };
126 
127  // getters
128  // setters
129 
130  ///set-type: full dump; from query; single
131  /// refSNP
132  /// Check if a value has been assigned to SetType data member.
133  ///
134  /// Data member SetType is optional;
135  /// its type is defined as 'typedef string TSetType'
136  /// @return
137  /// - true, if a value has been assigned.
138  /// - false, otherwise.
139  bool IsSetSetType(void) const;
140 
141  /// Check if it is safe to call GetSetType method.
142  ///
143  /// @return
144  /// - true, if the data member is getatable.
145  /// - false, otherwise.
146  bool CanGetSetType(void) const;
147 
148  /// Reset SetType data member.
149  void ResetSetType(void);
150 
151  /// Get the SetType member data.
152  ///
153  /// @return
154  /// Reference to the member data.
155  const TSetType& GetSetType(void) const;
156 
157  /// Assign a value to SetType data member.
158  ///
159  /// @param value
160  /// Value to assign
161  void SetSetType(const TSetType& value);
162  void SetSetType(TSetType&& value);
163 
164  /// Assign a value to SetType data member.
165  ///
166  /// @return
167  /// Reference to the data value.
168  TSetType& SetSetType(void);
169 
170  ///content depth: brief XML (only refSNP properties and summary
171  /// subSNP element content); full XML (full refSNP, full subSNP content; all
172  /// flanking sequences)
173  /// Check if a value has been assigned to SetDepth data member.
174  ///
175  /// Data member SetDepth is optional;
176  /// its type is defined as 'typedef string TSetDepth'
177  /// @return
178  /// - true, if a value has been assigned.
179  /// - false, otherwise.
180  bool IsSetSetDepth(void) const;
181 
182  /// Check if it is safe to call GetSetDepth method.
183  ///
184  /// @return
185  /// - true, if the data member is getatable.
186  /// - false, otherwise.
187  bool CanGetSetDepth(void) const;
188 
189  /// Reset SetDepth data member.
190  void ResetSetDepth(void);
191 
192  /// Get the SetDepth member data.
193  ///
194  /// @return
195  /// Reference to the member data.
196  const TSetDepth& GetSetDepth(void) const;
197 
198  /// Assign a value to SetDepth data member.
199  ///
200  /// @param value
201  /// Value to assign
202  void SetSetDepth(const TSetDepth& value);
203  void SetSetDepth(TSetDepth&& value);
204 
205  /// Assign a value to SetDepth data member.
206  ///
207  /// @return
208  /// Reference to the data value.
209  TSetDepth& SetSetDepth(void);
210 
211  ///version number of docsum.asn/docsum.dtd
212  /// specification
213  /// Check if a value has been assigned to SpecVersion data member.
214  ///
215  /// Data member SpecVersion is optional;
216  /// its type is defined as 'typedef string TSpecVersion'
217  /// @return
218  /// - true, if a value has been assigned.
219  /// - false, otherwise.
220  bool IsSetSpecVersion(void) const;
221 
222  /// Check if it is safe to call GetSpecVersion method.
223  ///
224  /// @return
225  /// - true, if the data member is getatable.
226  /// - false, otherwise.
227  bool CanGetSpecVersion(void) const;
228 
229  /// Reset SpecVersion data member.
230  void ResetSpecVersion(void);
231 
232  /// Get the SpecVersion member data.
233  ///
234  /// @return
235  /// Reference to the member data.
236  const TSpecVersion& GetSpecVersion(void) const;
237 
238  /// Assign a value to SpecVersion data member.
239  ///
240  /// @param value
241  /// Value to assign
242  void SetSpecVersion(const TSpecVersion& value);
243  void SetSpecVersion(TSpecVersion&& value);
244 
245  /// Assign a value to SpecVersion data member.
246  ///
247  /// @return
248  /// Reference to the data value.
249  TSpecVersion& SetSpecVersion(void);
250 
251  ///build number of database for this export
252  /// Check if a value has been assigned to DbSnpBuild data member.
253  ///
254  /// Data member DbSnpBuild is optional;
255  /// its type is defined as 'typedef int TDbSnpBuild'
256  /// @return
257  /// - true, if a value has been assigned.
258  /// - false, otherwise.
259  bool IsSetDbSnpBuild(void) const;
260 
261  /// Check if it is safe to call GetDbSnpBuild method.
262  ///
263  /// @return
264  /// - true, if the data member is getatable.
265  /// - false, otherwise.
266  bool CanGetDbSnpBuild(void) const;
267 
268  /// Reset DbSnpBuild data member.
269  void ResetDbSnpBuild(void);
270 
271  /// Get the DbSnpBuild member data.
272  ///
273  /// @return
274  /// Copy of the member data.
275  TDbSnpBuild GetDbSnpBuild(void) const;
276 
277  /// Assign a value to DbSnpBuild data member.
278  ///
279  /// @param value
280  /// Value to assign
281  void SetDbSnpBuild(TDbSnpBuild value);
282 
283  /// Assign a value to DbSnpBuild data member.
284  ///
285  /// @return
286  /// Reference to the data value.
287  TDbSnpBuild& SetDbSnpBuild(void);
288 
289  ///Generated date
290  /// Check if a value has been assigned to Generated data member.
291  ///
292  /// Data member Generated is optional;
293  /// its type is defined as 'typedef string TGenerated'
294  /// @return
295  /// - true, if a value has been assigned.
296  /// - false, otherwise.
297  bool IsSetGenerated(void) const;
298 
299  /// Check if it is safe to call GetGenerated method.
300  ///
301  /// @return
302  /// - true, if the data member is getatable.
303  /// - false, otherwise.
304  bool CanGetGenerated(void) const;
305 
306  /// Reset Generated data member.
307  void ResetGenerated(void);
308 
309  /// Get the Generated member data.
310  ///
311  /// @return
312  /// Reference to the member data.
313  const TGenerated& GetGenerated(void) const;
314 
315  /// Assign a value to Generated data member.
316  ///
317  /// @param value
318  /// Value to assign
319  void SetGenerated(const TGenerated& value);
320  void SetGenerated(TGenerated&& value);
321 
322  /// Assign a value to Generated data member.
323  ///
324  /// @return
325  /// Reference to the data value.
326  TGenerated& SetGenerated(void);
327 
328  /// Reset the whole object
329  void Reset(void);
330 
331 
332  private:
333  // Prohibit copy constructor and assignment operator
336 
337  // data
338  Uint4 m_set_State[1];
339  string m_SetType;
340  string m_SetDepth;
343  string m_Generated;
344  };
345  /////////////////////////////////////////////////////////////////////////////
346  ///
347  /// C_SourceDatabase --
348  ///
349 
351  {
353  public:
354  // constructor
355  C_SourceDatabase(void);
356  // destructor
357  ~C_SourceDatabase(void);
358 
359  // type info
361 
362  /////////////////////////////////////////////////////////////////////////////
363  ///
364  /// C_Attlist --
365  ///
366 
368  {
370  public:
371  // constructor
372  C_Attlist(void);
373  // destructor
374  ~C_Attlist(void);
375 
376  // type info
378 
379  // types
380  typedef int TTaxId;
381  typedef string TOrganism;
382  typedef string TDbSnpOrgAbbr;
383  typedef string TGpipeOrgAbbr;
384 
385  // member index
386  enum class E_memberIndex {
387  e__allMandatory = 0,
388  e_taxId,
389  e_organism,
390  e_dbSnpOrgAbbr,
391  e_gpipeOrgAbbr
392  };
394 
395  // getters
396  // setters
397 
398  ///NCBI taxonomy ID for
399  /// variation
400  /// Check if a value has been assigned to TaxId data member.
401  ///
402  /// Data member TaxId is mandatory;
403  /// its type is defined as 'typedef int TTaxId'
404  /// @return
405  /// - true, if a value has been assigned.
406  /// - false, otherwise.
407  bool IsSetTaxId(void) const;
408 
409  /// Check if it is safe to call GetTaxId method.
410  ///
411  /// @return
412  /// - true, if the data member is getatable.
413  /// - false, otherwise.
414  bool CanGetTaxId(void) const;
415 
416  /// Reset TaxId data member.
417  void ResetTaxId(void);
418 
419  /// Get the TaxId member data.
420  ///
421  /// @return
422  /// Copy of the member data.
423  TTaxId GetTaxId(void) const;
424 
425  /// Assign a value to TaxId data member.
426  ///
427  /// @param value
428  /// Value to assign
429  void SetTaxId(TTaxId value);
430 
431  /// Assign a value to TaxId data member.
432  ///
433  /// @return
434  /// Reference to the data value.
435  TTaxId& SetTaxId(void);
436 
437  ///common name for species used as part of database
438  /// name.
439  /// Check if a value has been assigned to Organism data member.
440  ///
441  /// Data member Organism is mandatory;
442  /// its type is defined as 'typedef string TOrganism'
443  /// @return
444  /// - true, if a value has been assigned.
445  /// - false, otherwise.
446  bool IsSetOrganism(void) const;
447 
448  /// Check if it is safe to call GetOrganism method.
449  ///
450  /// @return
451  /// - true, if the data member is getatable.
452  /// - false, otherwise.
453  bool CanGetOrganism(void) const;
454 
455  /// Reset Organism data member.
456  void ResetOrganism(void);
457 
458  /// Get the Organism member data.
459  ///
460  /// @return
461  /// Reference to the member data.
462  const TOrganism& GetOrganism(void) const;
463 
464  /// Assign a value to Organism data member.
465  ///
466  /// @param value
467  /// Value to assign
468  void SetOrganism(const TOrganism& value);
469  void SetOrganism(TOrganism&& value);
470 
471  /// Assign a value to Organism data member.
472  ///
473  /// @return
474  /// Reference to the data value.
475  TOrganism& SetOrganism(void);
476 
477  ///organism abbreviation used in dbSNP.
478  /// Check if a value has been assigned to DbSnpOrgAbbr data member.
479  ///
480  /// Data member DbSnpOrgAbbr is optional;
481  /// its type is defined as 'typedef string TDbSnpOrgAbbr'
482  /// @return
483  /// - true, if a value has been assigned.
484  /// - false, otherwise.
485  bool IsSetDbSnpOrgAbbr(void) const;
486 
487  /// Check if it is safe to call GetDbSnpOrgAbbr method.
488  ///
489  /// @return
490  /// - true, if the data member is getatable.
491  /// - false, otherwise.
492  bool CanGetDbSnpOrgAbbr(void) const;
493 
494  /// Reset DbSnpOrgAbbr data member.
495  void ResetDbSnpOrgAbbr(void);
496 
497  /// Get the DbSnpOrgAbbr member data.
498  ///
499  /// @return
500  /// Reference to the member data.
501  const TDbSnpOrgAbbr& GetDbSnpOrgAbbr(void) const;
502 
503  /// Assign a value to DbSnpOrgAbbr data member.
504  ///
505  /// @param value
506  /// Value to assign
507  void SetDbSnpOrgAbbr(const TDbSnpOrgAbbr& value);
508  void SetDbSnpOrgAbbr(TDbSnpOrgAbbr&& value);
509 
510  /// Assign a value to DbSnpOrgAbbr data member.
511  ///
512  /// @return
513  /// Reference to the data value.
514  TDbSnpOrgAbbr& SetDbSnpOrgAbbr(void);
515 
516  ///organism abbreviation used within NCBI genome
517  /// pipeline data dumps.
518  /// Check if a value has been assigned to GpipeOrgAbbr data member.
519  ///
520  /// Data member GpipeOrgAbbr is optional;
521  /// its type is defined as 'typedef string TGpipeOrgAbbr'
522  /// @return
523  /// - true, if a value has been assigned.
524  /// - false, otherwise.
525  bool IsSetGpipeOrgAbbr(void) const;
526 
527  /// Check if it is safe to call GetGpipeOrgAbbr method.
528  ///
529  /// @return
530  /// - true, if the data member is getatable.
531  /// - false, otherwise.
532  bool CanGetGpipeOrgAbbr(void) const;
533 
534  /// Reset GpipeOrgAbbr data member.
535  void ResetGpipeOrgAbbr(void);
536 
537  /// Get the GpipeOrgAbbr member data.
538  ///
539  /// @return
540  /// Reference to the member data.
541  const TGpipeOrgAbbr& GetGpipeOrgAbbr(void) const;
542 
543  /// Assign a value to GpipeOrgAbbr data member.
544  ///
545  /// @param value
546  /// Value to assign
547  void SetGpipeOrgAbbr(const TGpipeOrgAbbr& value);
548  void SetGpipeOrgAbbr(TGpipeOrgAbbr&& value);
549 
550  /// Assign a value to GpipeOrgAbbr data member.
551  ///
552  /// @return
553  /// Reference to the data value.
554  TGpipeOrgAbbr& SetGpipeOrgAbbr(void);
555 
556  /// Reset the whole object
557  void Reset(void);
558 
559 
560  private:
561  // Prohibit copy constructor and assignment operator
564 
565  // data
566  Uint4 m_set_State[1];
567  int m_TaxId;
568  string m_Organism;
571  };
572  // types
574 
575  // member index
576  enum class E_memberIndex {
577  e__allMandatory = 0,
578  e_attlist,
579  e_sourceDatabase
580  };
582 
583  // getters
584  // setters
585 
586  /// Check if a value has been assigned to Attlist data member.
587  ///
588  /// Data member Attlist is mandatory;
589  /// its type is defined as 'typedef C_Attlist TAttlist'
590  /// @return
591  /// - true, if a value has been assigned.
592  /// - false, otherwise.
593  bool IsSetAttlist(void) const;
594 
595  /// Check if it is safe to call GetAttlist method.
596  ///
597  /// @return
598  /// - true, if the data member is getatable.
599  /// - false, otherwise.
600  bool CanGetAttlist(void) const;
601 
602  /// Reset Attlist data member.
603  void ResetAttlist(void);
604 
605  /// Get the Attlist member data.
606  ///
607  /// @return
608  /// Reference to the member data.
609  const TAttlist& GetAttlist(void) const;
610 
611  /// Assign a value to Attlist data member.
612  ///
613  /// @param value
614  /// Reference to value.
615  void SetAttlist(TAttlist& value);
616 
617  /// Assign a value to Attlist data member.
618  ///
619  /// @return
620  /// Reference to the data value.
621  TAttlist& SetAttlist(void);
622 
623  /// Check if a value has been assigned to SourceDatabase data member.
624  ///
625  /// Data member SourceDatabase is mandatory
626  /// @return
627  /// - true, if a value has been assigned.
628  /// - false, otherwise.
629  bool IsSetSourceDatabase(void) const;
630 
631  /// Check if value of SourceDatabase member is getatable.
632  ///
633  /// @return
634  /// - false; the data member of type 'NULL' has no value.
635  bool CanGetSourceDatabase(void) const;
636 
637  /// Reset SourceDatabase data member.
638  void ResetSourceDatabase(void);
639 
640  /// Set NULL data member (assign 'NULL' value to SourceDatabase data member).
641  void SetSourceDatabase(void);
642 
643  /// Reset the whole object
644  void Reset(void);
645 
646 
647  private:
648  // Prohibit copy constructor and assignment operator
651 
652  // data
653  Uint4 m_set_State[1];
655  };
656  /////////////////////////////////////////////////////////////////////////////
657  ///
658  /// C_Query --
659  ///
660 
662  {
664  public:
665  // constructor
666  C_Query(void);
667  // destructor
668  ~C_Query(void);
669 
670  // type info
672 
673  /////////////////////////////////////////////////////////////////////////////
674  ///
675  /// C_Attlist --
676  ///
677 
679  {
681  public:
682  // constructor
683  C_Attlist(void);
684  // destructor
685  ~C_Attlist(void);
686 
687  // type info
689 
690  // types
691  typedef string TDate;
692  typedef string TString;
693 
694  // member index
695  enum class E_memberIndex {
696  e__allMandatory = 0,
697  e_date,
698  e_string
699  };
701 
702  // getters
703  // setters
704 
705  ///yyyy-mm-dd
706  /// Check if a value has been assigned to Date data member.
707  ///
708  /// Data member Date is optional;
709  /// its type is defined as 'typedef string TDate'
710  /// @return
711  /// - true, if a value has been assigned.
712  /// - false, otherwise.
713  bool IsSetDate(void) const;
714 
715  /// Check if it is safe to call GetDate method.
716  ///
717  /// @return
718  /// - true, if the data member is getatable.
719  /// - false, otherwise.
720  bool CanGetDate(void) const;
721 
722  /// Reset Date data member.
723  void ResetDate(void);
724 
725  /// Get the Date member data.
726  ///
727  /// @return
728  /// Reference to the member data.
729  const TDate& GetDate(void) const;
730 
731  /// Assign a value to Date data member.
732  ///
733  /// @param value
734  /// Value to assign
735  void SetDate(const TDate& value);
736  void SetDate(TDate&& value);
737 
738  /// Assign a value to Date data member.
739  ///
740  /// @return
741  /// Reference to the data value.
742  TDate& SetDate(void);
743 
744  ///Query terms or search
745  /// constraints
746  /// Check if a value has been assigned to String data member.
747  ///
748  /// Data member String is optional;
749  /// its type is defined as 'typedef string TString'
750  /// @return
751  /// - true, if a value has been assigned.
752  /// - false, otherwise.
753  bool IsSetString(void) const;
754 
755  /// Check if it is safe to call GetString method.
756  ///
757  /// @return
758  /// - true, if the data member is getatable.
759  /// - false, otherwise.
760  bool CanGetString(void) const;
761 
762  /// Reset String data member.
763  void ResetString(void);
764 
765  /// Get the String member data.
766  ///
767  /// @return
768  /// Reference to the member data.
769  const TString& GetString(void) const;
770 
771  /// Assign a value to String data member.
772  ///
773  /// @param value
774  /// Value to assign
775  void SetString(const TString& value);
776  void SetString(TString&& value);
777 
778  /// Assign a value to String data member.
779  ///
780  /// @return
781  /// Reference to the data value.
782  TString& SetString(void);
783 
784  /// Reset the whole object
785  void Reset(void);
786 
787 
788  private:
789  // Prohibit copy constructor and assignment operator
792 
793  // data
794  Uint4 m_set_State[1];
795  string m_Date;
796  string m_String;
797  };
798  // types
800 
801  // member index
802  enum class E_memberIndex {
803  e__allMandatory = 0,
804  e_attlist,
805  e_query
806  };
808 
809  // getters
810  // setters
811 
812  /// Check if a value has been assigned to Attlist data member.
813  ///
814  /// Data member Attlist is mandatory;
815  /// its type is defined as 'typedef C_Attlist TAttlist'
816  /// @return
817  /// - true, if a value has been assigned.
818  /// - false, otherwise.
819  bool IsSetAttlist(void) const;
820 
821  /// Check if it is safe to call GetAttlist method.
822  ///
823  /// @return
824  /// - true, if the data member is getatable.
825  /// - false, otherwise.
826  bool CanGetAttlist(void) const;
827 
828  /// Reset Attlist data member.
829  void ResetAttlist(void);
830 
831  /// Get the Attlist member data.
832  ///
833  /// @return
834  /// Reference to the member data.
835  const TAttlist& GetAttlist(void) const;
836 
837  /// Assign a value to Attlist data member.
838  ///
839  /// @param value
840  /// Reference to value.
841  void SetAttlist(TAttlist& value);
842 
843  /// Assign a value to Attlist data member.
844  ///
845  /// @return
846  /// Reference to the data value.
847  TAttlist& SetAttlist(void);
848 
849  /// Check if a value has been assigned to Query data member.
850  ///
851  /// Data member Query is mandatory
852  /// @return
853  /// - true, if a value has been assigned.
854  /// - false, otherwise.
855  bool IsSetQuery(void) const;
856 
857  /// Check if value of Query member is getatable.
858  ///
859  /// @return
860  /// - false; the data member of type 'NULL' has no value.
861  bool CanGetQuery(void) const;
862 
863  /// Reset Query data member.
864  void ResetQuery(void);
865 
866  /// Set NULL data member (assign 'NULL' value to Query data member).
867  void SetQuery(void);
868 
869  /// Reset the whole object
870  void Reset(void);
871 
872 
873  private:
874  // Prohibit copy constructor and assignment operator
875  C_Query(const C_Query&);
877 
878  // data
879  Uint4 m_set_State[1];
881  };
882  /////////////////////////////////////////////////////////////////////////////
883  ///
884  /// C_Summary --
885  ///
886 
888  {
890  public:
891  // constructor
892  C_Summary(void);
893  // destructor
894  ~C_Summary(void);
895 
896  // type info
898 
899  /////////////////////////////////////////////////////////////////////////////
900  ///
901  /// C_Attlist --
902  ///
903 
905  {
907  public:
908  // constructor
909  C_Attlist(void);
910  // destructor
911  ~C_Attlist(void);
912 
913  // type info
915 
916  // types
917  typedef int TNumRsIds;
919  typedef int TNumContigHits;
920  typedef int TNumGeneHits;
921  typedef int TNumGiHits;
922  typedef int TNum3dStructs;
923  typedef int TNumAlleleFreqs;
924  typedef int TNumStsHits;
925  typedef int TNumUnigeneCids;
926 
927  // member index
928  enum class E_memberIndex {
929  e__allMandatory = 0,
930  e_numRsIds,
931  e_totalSeqLength,
932  e_numContigHits,
933  e_numGeneHits,
934  e_numGiHits,
935  e_num3dStructs,
936  e_numAlleleFreqs,
937  e_numStsHits,
938  e_numUnigeneCids
939  };
941 
942  // getters
943  // setters
944 
945  ///Total number of refsnp-ids in this exchange set
946  /// Check if a value has been assigned to NumRsIds data member.
947  ///
948  /// Data member NumRsIds is optional;
949  /// its type is defined as 'typedef int TNumRsIds'
950  /// @return
951  /// - true, if a value has been assigned.
952  /// - false, otherwise.
953  bool IsSetNumRsIds(void) const;
954 
955  /// Check if it is safe to call GetNumRsIds method.
956  ///
957  /// @return
958  /// - true, if the data member is getatable.
959  /// - false, otherwise.
960  bool CanGetNumRsIds(void) const;
961 
962  /// Reset NumRsIds data member.
963  void ResetNumRsIds(void);
964 
965  /// Get the NumRsIds member data.
966  ///
967  /// @return
968  /// Copy of the member data.
969  TNumRsIds GetNumRsIds(void) const;
970 
971  /// Assign a value to NumRsIds data member.
972  ///
973  /// @param value
974  /// Value to assign
975  void SetNumRsIds(TNumRsIds value);
976 
977  /// Assign a value to NumRsIds data member.
978  ///
979  /// @return
980  /// Reference to the data value.
981  TNumRsIds& SetNumRsIds(void);
982 
983  ///Total length of exemplar flanking
984  /// sequences
985  /// Check if a value has been assigned to TotalSeqLength data member.
986  ///
987  /// Data member TotalSeqLength is optional;
988  /// its type is defined as 'typedef Int8 TTotalSeqLength'
989  /// @return
990  /// - true, if a value has been assigned.
991  /// - false, otherwise.
992  bool IsSetTotalSeqLength(void) const;
993 
994  /// Check if it is safe to call GetTotalSeqLength method.
995  ///
996  /// @return
997  /// - true, if the data member is getatable.
998  /// - false, otherwise.
999  bool CanGetTotalSeqLength(void) const;
1000 
1001  /// Reset TotalSeqLength data member.
1002  void ResetTotalSeqLength(void);
1003 
1004  /// Get the TotalSeqLength member data.
1005  ///
1006  /// @return
1007  /// Copy of the member data.
1008  TTotalSeqLength GetTotalSeqLength(void) const;
1009 
1010  /// Assign a value to TotalSeqLength data member.
1011  ///
1012  /// @param value
1013  /// Value to assign
1014  void SetTotalSeqLength(TTotalSeqLength value);
1015 
1016  /// Assign a value to TotalSeqLength data member.
1017  ///
1018  /// @return
1019  /// Reference to the data value.
1020  TTotalSeqLength& SetTotalSeqLength(void);
1021 
1022  ///Total number of contig locations from
1023  /// SNPContigLoc
1024  /// Check if a value has been assigned to NumContigHits data member.
1025  ///
1026  /// Data member NumContigHits is optional;
1027  /// its type is defined as 'typedef int TNumContigHits'
1028  /// @return
1029  /// - true, if a value has been assigned.
1030  /// - false, otherwise.
1031  bool IsSetNumContigHits(void) const;
1032 
1033  /// Check if it is safe to call GetNumContigHits method.
1034  ///
1035  /// @return
1036  /// - true, if the data member is getatable.
1037  /// - false, otherwise.
1038  bool CanGetNumContigHits(void) const;
1039 
1040  /// Reset NumContigHits data member.
1041  void ResetNumContigHits(void);
1042 
1043  /// Get the NumContigHits member data.
1044  ///
1045  /// @return
1046  /// Copy of the member data.
1047  TNumContigHits GetNumContigHits(void) const;
1048 
1049  /// Assign a value to NumContigHits data member.
1050  ///
1051  /// @param value
1052  /// Value to assign
1053  void SetNumContigHits(TNumContigHits value);
1054 
1055  /// Assign a value to NumContigHits data member.
1056  ///
1057  /// @return
1058  /// Reference to the data value.
1059  TNumContigHits& SetNumContigHits(void);
1060 
1061  ///Total number of locus ids from
1062  /// SNPContigLocusId
1063  /// Check if a value has been assigned to NumGeneHits data member.
1064  ///
1065  /// Data member NumGeneHits is optional;
1066  /// its type is defined as 'typedef int TNumGeneHits'
1067  /// @return
1068  /// - true, if a value has been assigned.
1069  /// - false, otherwise.
1070  bool IsSetNumGeneHits(void) const;
1071 
1072  /// Check if it is safe to call GetNumGeneHits method.
1073  ///
1074  /// @return
1075  /// - true, if the data member is getatable.
1076  /// - false, otherwise.
1077  bool CanGetNumGeneHits(void) const;
1078 
1079  /// Reset NumGeneHits data member.
1080  void ResetNumGeneHits(void);
1081 
1082  /// Get the NumGeneHits member data.
1083  ///
1084  /// @return
1085  /// Copy of the member data.
1086  TNumGeneHits GetNumGeneHits(void) const;
1087 
1088  /// Assign a value to NumGeneHits data member.
1089  ///
1090  /// @param value
1091  /// Value to assign
1092  void SetNumGeneHits(TNumGeneHits value);
1093 
1094  /// Assign a value to NumGeneHits data member.
1095  ///
1096  /// @return
1097  /// Reference to the data value.
1098  TNumGeneHits& SetNumGeneHits(void);
1099 
1100  ///Total number of gi hits from
1101  /// MapLink
1102  /// Check if a value has been assigned to NumGiHits data member.
1103  ///
1104  /// Data member NumGiHits is optional;
1105  /// its type is defined as 'typedef int TNumGiHits'
1106  /// @return
1107  /// - true, if a value has been assigned.
1108  /// - false, otherwise.
1109  bool IsSetNumGiHits(void) const;
1110 
1111  /// Check if it is safe to call GetNumGiHits method.
1112  ///
1113  /// @return
1114  /// - true, if the data member is getatable.
1115  /// - false, otherwise.
1116  bool CanGetNumGiHits(void) const;
1117 
1118  /// Reset NumGiHits data member.
1119  void ResetNumGiHits(void);
1120 
1121  /// Get the NumGiHits member data.
1122  ///
1123  /// @return
1124  /// Copy of the member data.
1125  TNumGiHits GetNumGiHits(void) const;
1126 
1127  /// Assign a value to NumGiHits data member.
1128  ///
1129  /// @param value
1130  /// Value to assign
1131  void SetNumGiHits(TNumGiHits value);
1132 
1133  /// Assign a value to NumGiHits data member.
1134  ///
1135  /// @return
1136  /// Reference to the data value.
1137  TNumGiHits& SetNumGiHits(void);
1138 
1139  ///Total number of 3D structures from
1140  /// SNP3D
1141  /// Check if a value has been assigned to Num3dStructs data member.
1142  ///
1143  /// Data member Num3dStructs is optional;
1144  /// its type is defined as 'typedef int TNum3dStructs'
1145  /// @return
1146  /// - true, if a value has been assigned.
1147  /// - false, otherwise.
1148  bool IsSetNum3dStructs(void) const;
1149 
1150  /// Check if it is safe to call GetNum3dStructs method.
1151  ///
1152  /// @return
1153  /// - true, if the data member is getatable.
1154  /// - false, otherwise.
1155  bool CanGetNum3dStructs(void) const;
1156 
1157  /// Reset Num3dStructs data member.
1158  void ResetNum3dStructs(void);
1159 
1160  /// Get the Num3dStructs member data.
1161  ///
1162  /// @return
1163  /// Copy of the member data.
1164  TNum3dStructs GetNum3dStructs(void) const;
1165 
1166  /// Assign a value to Num3dStructs data member.
1167  ///
1168  /// @param value
1169  /// Value to assign
1170  void SetNum3dStructs(TNum3dStructs value);
1171 
1172  /// Assign a value to Num3dStructs data member.
1173  ///
1174  /// @return
1175  /// Reference to the data value.
1176  TNum3dStructs& SetNum3dStructs(void);
1177 
1178  ///Total number of allele frequences from
1179  /// SubPopAllele
1180  /// Check if a value has been assigned to NumAlleleFreqs data member.
1181  ///
1182  /// Data member NumAlleleFreqs is optional;
1183  /// its type is defined as 'typedef int TNumAlleleFreqs'
1184  /// @return
1185  /// - true, if a value has been assigned.
1186  /// - false, otherwise.
1187  bool IsSetNumAlleleFreqs(void) const;
1188 
1189  /// Check if it is safe to call GetNumAlleleFreqs method.
1190  ///
1191  /// @return
1192  /// - true, if the data member is getatable.
1193  /// - false, otherwise.
1194  bool CanGetNumAlleleFreqs(void) const;
1195 
1196  /// Reset NumAlleleFreqs data member.
1197  void ResetNumAlleleFreqs(void);
1198 
1199  /// Get the NumAlleleFreqs member data.
1200  ///
1201  /// @return
1202  /// Copy of the member data.
1203  TNumAlleleFreqs GetNumAlleleFreqs(void) const;
1204 
1205  /// Assign a value to NumAlleleFreqs data member.
1206  ///
1207  /// @param value
1208  /// Value to assign
1209  void SetNumAlleleFreqs(TNumAlleleFreqs value);
1210 
1211  /// Assign a value to NumAlleleFreqs data member.
1212  ///
1213  /// @return
1214  /// Reference to the data value.
1215  TNumAlleleFreqs& SetNumAlleleFreqs(void);
1216 
1217  ///Total number of STS hits from
1218  /// SnpInSts
1219  /// Check if a value has been assigned to NumStsHits data member.
1220  ///
1221  /// Data member NumStsHits is optional;
1222  /// its type is defined as 'typedef int TNumStsHits'
1223  /// @return
1224  /// - true, if a value has been assigned.
1225  /// - false, otherwise.
1226  bool IsSetNumStsHits(void) const;
1227 
1228  /// Check if it is safe to call GetNumStsHits method.
1229  ///
1230  /// @return
1231  /// - true, if the data member is getatable.
1232  /// - false, otherwise.
1233  bool CanGetNumStsHits(void) const;
1234 
1235  /// Reset NumStsHits data member.
1236  void ResetNumStsHits(void);
1237 
1238  /// Get the NumStsHits member data.
1239  ///
1240  /// @return
1241  /// Copy of the member data.
1242  TNumStsHits GetNumStsHits(void) const;
1243 
1244  /// Assign a value to NumStsHits data member.
1245  ///
1246  /// @param value
1247  /// Value to assign
1248  void SetNumStsHits(TNumStsHits value);
1249 
1250  /// Assign a value to NumStsHits data member.
1251  ///
1252  /// @return
1253  /// Reference to the data value.
1254  TNumStsHits& SetNumStsHits(void);
1255 
1256  ///Total number of unigene cluster ids from
1257  /// UnigeneSnp
1258  /// Check if a value has been assigned to NumUnigeneCids data member.
1259  ///
1260  /// Data member NumUnigeneCids is optional;
1261  /// its type is defined as 'typedef int TNumUnigeneCids'
1262  /// @return
1263  /// - true, if a value has been assigned.
1264  /// - false, otherwise.
1265  bool IsSetNumUnigeneCids(void) const;
1266 
1267  /// Check if it is safe to call GetNumUnigeneCids method.
1268  ///
1269  /// @return
1270  /// - true, if the data member is getatable.
1271  /// - false, otherwise.
1272  bool CanGetNumUnigeneCids(void) const;
1273 
1274  /// Reset NumUnigeneCids data member.
1275  void ResetNumUnigeneCids(void);
1276 
1277  /// Get the NumUnigeneCids member data.
1278  ///
1279  /// @return
1280  /// Copy of the member data.
1281  TNumUnigeneCids GetNumUnigeneCids(void) const;
1282 
1283  /// Assign a value to NumUnigeneCids data member.
1284  ///
1285  /// @param value
1286  /// Value to assign
1287  void SetNumUnigeneCids(TNumUnigeneCids value);
1288 
1289  /// Assign a value to NumUnigeneCids data member.
1290  ///
1291  /// @return
1292  /// Reference to the data value.
1293  TNumUnigeneCids& SetNumUnigeneCids(void);
1294 
1295  /// Reset the whole object
1296  void Reset(void);
1297 
1298 
1299  private:
1300  // Prohibit copy constructor and assignment operator
1303 
1304  // data
1305  Uint4 m_set_State[1];
1315  };
1316  // types
1318 
1319  // member index
1320  enum class E_memberIndex {
1321  e__allMandatory = 0,
1322  e_attlist,
1323  e_summary
1324  };
1326 
1327  // getters
1328  // setters
1329 
1330  /// Check if a value has been assigned to Attlist data member.
1331  ///
1332  /// Data member Attlist is mandatory;
1333  /// its type is defined as 'typedef C_Attlist TAttlist'
1334  /// @return
1335  /// - true, if a value has been assigned.
1336  /// - false, otherwise.
1337  bool IsSetAttlist(void) const;
1338 
1339  /// Check if it is safe to call GetAttlist method.
1340  ///
1341  /// @return
1342  /// - true, if the data member is getatable.
1343  /// - false, otherwise.
1344  bool CanGetAttlist(void) const;
1345 
1346  /// Reset Attlist data member.
1347  void ResetAttlist(void);
1348 
1349  /// Get the Attlist member data.
1350  ///
1351  /// @return
1352  /// Reference to the member data.
1353  const TAttlist& GetAttlist(void) const;
1354 
1355  /// Assign a value to Attlist data member.
1356  ///
1357  /// @param value
1358  /// Reference to value.
1359  void SetAttlist(TAttlist& value);
1360 
1361  /// Assign a value to Attlist data member.
1362  ///
1363  /// @return
1364  /// Reference to the data value.
1365  TAttlist& SetAttlist(void);
1366 
1367  /// Check if a value has been assigned to Summary data member.
1368  ///
1369  /// Data member Summary is mandatory
1370  /// @return
1371  /// - true, if a value has been assigned.
1372  /// - false, otherwise.
1373  bool IsSetSummary(void) const;
1374 
1375  /// Check if value of Summary member is getatable.
1376  ///
1377  /// @return
1378  /// - false; the data member of type 'NULL' has no value.
1379  bool CanGetSummary(void) const;
1380 
1381  /// Reset Summary data member.
1382  void ResetSummary(void);
1383 
1384  /// Set NULL data member (assign 'NULL' value to Summary data member).
1385  void SetSummary(void);
1386 
1387  /// Reset the whole object
1388  void Reset(void);
1389 
1390 
1391  private:
1392  // Prohibit copy constructor and assignment operator
1395 
1396  // data
1397  Uint4 m_set_State[1];
1399  };
1400  // types
1403  typedef list< CRef< CRs > > TRs;
1404  typedef CAssay TAssay;
1405  typedef C_Query TQuery;
1407  typedef list< CRef< CBaseURL > > TBaseURL;
1408 
1409  // member index
1410  enum class E_memberIndex {
1411  e__allMandatory = 0,
1412  e_attlist,
1413  e_sourceDatabase,
1414  e_rs,
1415  e_assay,
1416  e_query,
1417  e_summary,
1418  e_baseURL
1419  };
1421 
1422  // getters
1423  // setters
1424 
1425  /// Check if a value has been assigned to Attlist data member.
1426  ///
1427  /// Data member Attlist is mandatory;
1428  /// its type is defined as 'typedef C_Attlist TAttlist'
1429  /// @return
1430  /// - true, if a value has been assigned.
1431  /// - false, otherwise.
1432  bool IsSetAttlist(void) const;
1433 
1434  /// Check if it is safe to call GetAttlist method.
1435  ///
1436  /// @return
1437  /// - true, if the data member is getatable.
1438  /// - false, otherwise.
1439  bool CanGetAttlist(void) const;
1440 
1441  /// Reset Attlist data member.
1442  void ResetAttlist(void);
1443 
1444  /// Get the Attlist member data.
1445  ///
1446  /// @return
1447  /// Reference to the member data.
1448  const TAttlist& GetAttlist(void) const;
1449 
1450  /// Assign a value to Attlist data member.
1451  ///
1452  /// @param value
1453  /// Reference to value.
1454  void SetAttlist(TAttlist& value);
1455 
1456  /// Assign a value to Attlist data member.
1457  ///
1458  /// @return
1459  /// Reference to the data value.
1460  TAttlist& SetAttlist(void);
1461 
1462  /// Check if a value has been assigned to SourceDatabase data member.
1463  ///
1464  /// Data member SourceDatabase is optional;
1465  /// its type is defined as 'typedef C_SourceDatabase TSourceDatabase'
1466  /// @return
1467  /// - true, if a value has been assigned.
1468  /// - false, otherwise.
1469  bool IsSetSourceDatabase(void) const;
1470 
1471  /// Check if it is safe to call GetSourceDatabase method.
1472  ///
1473  /// @return
1474  /// - true, if the data member is getatable.
1475  /// - false, otherwise.
1476  bool CanGetSourceDatabase(void) const;
1477 
1478  /// Reset SourceDatabase data member.
1479  void ResetSourceDatabase(void);
1480 
1481  /// Get the SourceDatabase member data.
1482  ///
1483  /// @return
1484  /// Reference to the member data.
1485  const TSourceDatabase& GetSourceDatabase(void) const;
1486 
1487  /// Assign a value to SourceDatabase data member.
1488  ///
1489  /// @param value
1490  /// Reference to value.
1491  void SetSourceDatabase(TSourceDatabase& value);
1492 
1493  /// Assign a value to SourceDatabase data member.
1494  ///
1495  /// @return
1496  /// Reference to the data value.
1497  TSourceDatabase& SetSourceDatabase(void);
1498 
1499  /// Check if a value has been assigned to Rs data member.
1500  ///
1501  /// Data member Rs is optional;
1502  /// its type is defined as 'typedef list< CRef< CRs > > TRs'
1503  /// @return
1504  /// - true, if a value has been assigned.
1505  /// - false, otherwise.
1506  bool IsSetRs(void) const;
1507 
1508  /// Check if it is safe to call GetRs method.
1509  ///
1510  /// @return
1511  /// - true, if the data member is getatable.
1512  /// - false, otherwise.
1513  bool CanGetRs(void) const;
1514 
1515  /// Reset Rs data member.
1516  void ResetRs(void);
1517 
1518  /// Get the Rs member data.
1519  ///
1520  /// @return
1521  /// Reference to the member data.
1522  const TRs& GetRs(void) const;
1523 
1524  /// Assign a value to Rs data member.
1525  ///
1526  /// @return
1527  /// Reference to the data value.
1528  TRs& SetRs(void);
1529 
1530  /// Check if a value has been assigned to Assay data member.
1531  ///
1532  /// Data member Assay is optional;
1533  /// its type is defined as 'typedef CAssay TAssay'
1534  /// @return
1535  /// - true, if a value has been assigned.
1536  /// - false, otherwise.
1537  bool IsSetAssay(void) const;
1538 
1539  /// Check if it is safe to call GetAssay method.
1540  ///
1541  /// @return
1542  /// - true, if the data member is getatable.
1543  /// - false, otherwise.
1544  bool CanGetAssay(void) const;
1545 
1546  /// Reset Assay data member.
1547  void ResetAssay(void);
1548 
1549  /// Get the Assay member data.
1550  ///
1551  /// @return
1552  /// Reference to the member data.
1553  const TAssay& GetAssay(void) const;
1554 
1555  /// Assign a value to Assay data member.
1556  ///
1557  /// @param value
1558  /// Reference to value.
1559  void SetAssay(TAssay& value);
1560 
1561  /// Assign a value to Assay data member.
1562  ///
1563  /// @return
1564  /// Reference to the data value.
1565  TAssay& SetAssay(void);
1566 
1567  /// Check if a value has been assigned to Query data member.
1568  ///
1569  /// Data member Query is optional;
1570  /// its type is defined as 'typedef C_Query TQuery'
1571  /// @return
1572  /// - true, if a value has been assigned.
1573  /// - false, otherwise.
1574  bool IsSetQuery(void) const;
1575 
1576  /// Check if it is safe to call GetQuery method.
1577  ///
1578  /// @return
1579  /// - true, if the data member is getatable.
1580  /// - false, otherwise.
1581  bool CanGetQuery(void) const;
1582 
1583  /// Reset Query data member.
1584  void ResetQuery(void);
1585 
1586  /// Get the Query member data.
1587  ///
1588  /// @return
1589  /// Reference to the member data.
1590  const TQuery& GetQuery(void) const;
1591 
1592  /// Assign a value to Query data member.
1593  ///
1594  /// @param value
1595  /// Reference to value.
1596  void SetQuery(TQuery& value);
1597 
1598  /// Assign a value to Query data member.
1599  ///
1600  /// @return
1601  /// Reference to the data value.
1602  TQuery& SetQuery(void);
1603 
1604  /// Check if a value has been assigned to Summary data member.
1605  ///
1606  /// Data member Summary is optional;
1607  /// its type is defined as 'typedef C_Summary TSummary'
1608  /// @return
1609  /// - true, if a value has been assigned.
1610  /// - false, otherwise.
1611  bool IsSetSummary(void) const;
1612 
1613  /// Check if it is safe to call GetSummary method.
1614  ///
1615  /// @return
1616  /// - true, if the data member is getatable.
1617  /// - false, otherwise.
1618  bool CanGetSummary(void) const;
1619 
1620  /// Reset Summary data member.
1621  void ResetSummary(void);
1622 
1623  /// Get the Summary member data.
1624  ///
1625  /// @return
1626  /// Reference to the member data.
1627  const TSummary& GetSummary(void) const;
1628 
1629  /// Assign a value to Summary data member.
1630  ///
1631  /// @param value
1632  /// Reference to value.
1633  void SetSummary(TSummary& value);
1634 
1635  /// Assign a value to Summary data member.
1636  ///
1637  /// @return
1638  /// Reference to the data value.
1639  TSummary& SetSummary(void);
1640 
1641  /// Check if a value has been assigned to BaseURL data member.
1642  ///
1643  /// Data member BaseURL is optional;
1644  /// its type is defined as 'typedef list< CRef< CBaseURL > > TBaseURL'
1645  /// @return
1646  /// - true, if a value has been assigned.
1647  /// - false, otherwise.
1648  bool IsSetBaseURL(void) const;
1649 
1650  /// Check if it is safe to call GetBaseURL method.
1651  ///
1652  /// @return
1653  /// - true, if the data member is getatable.
1654  /// - false, otherwise.
1655  bool CanGetBaseURL(void) const;
1656 
1657  /// Reset BaseURL data member.
1658  void ResetBaseURL(void);
1659 
1660  /// Get the BaseURL member data.
1661  ///
1662  /// @return
1663  /// Reference to the member data.
1664  const TBaseURL& GetBaseURL(void) const;
1665 
1666  /// Assign a value to BaseURL data member.
1667  ///
1668  /// @return
1669  /// Reference to the data value.
1670  TBaseURL& SetBaseURL(void);
1671 
1672  /// Reset the whole object
1673  virtual void Reset(void);
1674 
1675 
1676 private:
1677  // Prohibit copy constructor and assignment operator
1680 
1681  // data
1682  Uint4 m_set_State[1];
1685  list< CRef< CRs > > m_Rs;
1689  list< CRef< CBaseURL > > m_BaseURL;
1690 };
1691 
1692 /* @} */
1693 
1694 
1695 
1696 
1697 
1698 ///////////////////////////////////////////////////////////
1699 ///////////////////// inline methods //////////////////////
1700 ///////////////////////////////////////////////////////////
1701 inline
1703 {
1704  return ((m_set_State[0] & 0x3) != 0);
1705 }
1706 
1707 inline
1709 {
1710  return IsSetSetType();
1711 }
1712 
1713 inline
1715 {
1716  if (!CanGetSetType()) {
1717  ThrowUnassigned(0);
1718  }
1719  return m_SetType;
1720 }
1721 
1722 inline
1724 {
1725  m_SetType = value;
1726  m_set_State[0] |= 0x3;
1727 }
1728 
1729 inline
1731 {
1732  m_SetType = std::forward<CExchangeSet_Base::C_Attlist::TSetType>(value);
1733  m_set_State[0] |= 0x3;
1734 }
1735 
1736 inline
1738 {
1739 #ifdef _DEBUG
1740  if (!IsSetSetType()) {
1741  m_SetType = UnassignedString();
1742  }
1743 #endif
1744  m_set_State[0] |= 0x1;
1745  return m_SetType;
1746 }
1747 
1748 inline
1750 {
1751  return ((m_set_State[0] & 0xc) != 0);
1752 }
1753 
1754 inline
1756 {
1757  return IsSetSetDepth();
1758 }
1759 
1760 inline
1762 {
1763  if (!CanGetSetDepth()) {
1764  ThrowUnassigned(1);
1765  }
1766  return m_SetDepth;
1767 }
1768 
1769 inline
1771 {
1772  m_SetDepth = value;
1773  m_set_State[0] |= 0xc;
1774 }
1775 
1776 inline
1778 {
1779  m_SetDepth = std::forward<CExchangeSet_Base::C_Attlist::TSetDepth>(value);
1780  m_set_State[0] |= 0xc;
1781 }
1782 
1783 inline
1785 {
1786 #ifdef _DEBUG
1787  if (!IsSetSetDepth()) {
1788  m_SetDepth = UnassignedString();
1789  }
1790 #endif
1791  m_set_State[0] |= 0x4;
1792  return m_SetDepth;
1793 }
1794 
1795 inline
1797 {
1798  return ((m_set_State[0] & 0x30) != 0);
1799 }
1800 
1801 inline
1803 {
1804  return IsSetSpecVersion();
1805 }
1806 
1807 inline
1809 {
1810  if (!CanGetSpecVersion()) {
1811  ThrowUnassigned(2);
1812  }
1813  return m_SpecVersion;
1814 }
1815 
1816 inline
1818 {
1819  m_SpecVersion = value;
1820  m_set_State[0] |= 0x30;
1821 }
1822 
1823 inline
1825 {
1826  m_SpecVersion = std::forward<CExchangeSet_Base::C_Attlist::TSpecVersion>(value);
1827  m_set_State[0] |= 0x30;
1828 }
1829 
1830 inline
1832 {
1833 #ifdef _DEBUG
1834  if (!IsSetSpecVersion()) {
1835  m_SpecVersion = UnassignedString();
1836  }
1837 #endif
1838  m_set_State[0] |= 0x10;
1839  return m_SpecVersion;
1840 }
1841 
1842 inline
1844 {
1845  return ((m_set_State[0] & 0xc0) != 0);
1846 }
1847 
1848 inline
1850 {
1851  return IsSetDbSnpBuild();
1852 }
1853 
1854 inline
1856 {
1857  m_DbSnpBuild = 0;
1858  m_set_State[0] &= ~0xc0;
1859 }
1860 
1861 inline
1863 {
1864  if (!CanGetDbSnpBuild()) {
1865  ThrowUnassigned(3);
1866  }
1867  return m_DbSnpBuild;
1868 }
1869 
1870 inline
1872 {
1873  m_DbSnpBuild = value;
1874  m_set_State[0] |= 0xc0;
1875 }
1876 
1877 inline
1879 {
1880 #ifdef _DEBUG
1881  if (!IsSetDbSnpBuild()) {
1882  memset(&m_DbSnpBuild,UnassignedByte(),sizeof(m_DbSnpBuild));
1883  }
1884 #endif
1885  m_set_State[0] |= 0x40;
1886  return m_DbSnpBuild;
1887 }
1888 
1889 inline
1891 {
1892  return ((m_set_State[0] & 0x300) != 0);
1893 }
1894 
1895 inline
1897 {
1898  return IsSetGenerated();
1899 }
1900 
1901 inline
1903 {
1904  if (!CanGetGenerated()) {
1905  ThrowUnassigned(4);
1906  }
1907  return m_Generated;
1908 }
1909 
1910 inline
1912 {
1913  m_Generated = value;
1914  m_set_State[0] |= 0x300;
1915 }
1916 
1917 inline
1919 {
1920  m_Generated = std::forward<CExchangeSet_Base::C_Attlist::TGenerated>(value);
1921  m_set_State[0] |= 0x300;
1922 }
1923 
1924 inline
1926 {
1927 #ifdef _DEBUG
1928  if (!IsSetGenerated()) {
1929  m_Generated = UnassignedString();
1930  }
1931 #endif
1932  m_set_State[0] |= 0x100;
1933  return m_Generated;
1934 }
1935 
1936 inline
1938 {
1939  return ((m_set_State[0] & 0x3) != 0);
1940 }
1941 
1942 inline
1944 {
1945  return IsSetTaxId();
1946 }
1947 
1948 inline
1950 {
1951  m_TaxId = 0;
1952  m_set_State[0] &= ~0x3;
1953 }
1954 
1955 inline
1957 {
1958  if (!CanGetTaxId()) {
1959  ThrowUnassigned(0);
1960  }
1961  return m_TaxId;
1962 }
1963 
1964 inline
1966 {
1967  m_TaxId = value;
1968  m_set_State[0] |= 0x3;
1969 }
1970 
1971 inline
1973 {
1974 #ifdef _DEBUG
1975  if (!IsSetTaxId()) {
1976  memset(&m_TaxId,UnassignedByte(),sizeof(m_TaxId));
1977  }
1978 #endif
1979  m_set_State[0] |= 0x1;
1980  return m_TaxId;
1981 }
1982 
1983 inline
1985 {
1986  return ((m_set_State[0] & 0xc) != 0);
1987 }
1988 
1989 inline
1991 {
1992  return IsSetOrganism();
1993 }
1994 
1995 inline
1997 {
1998  if (!CanGetOrganism()) {
1999  ThrowUnassigned(1);
2000  }
2001  return m_Organism;
2002 }
2003 
2004 inline
2006 {
2007  m_Organism = value;
2008  m_set_State[0] |= 0xc;
2009 }
2010 
2011 inline
2013 {
2014  m_Organism = std::forward<CExchangeSet_Base::C_SourceDatabase::C_Attlist::TOrganism>(value);
2015  m_set_State[0] |= 0xc;
2016 }
2017 
2018 inline
2020 {
2021 #ifdef _DEBUG
2022  if (!IsSetOrganism()) {
2023  m_Organism = UnassignedString();
2024  }
2025 #endif
2026  m_set_State[0] |= 0x4;
2027  return m_Organism;
2028 }
2029 
2030 inline
2032 {
2033  return ((m_set_State[0] & 0x30) != 0);
2034 }
2035 
2036 inline
2038 {
2039  return IsSetDbSnpOrgAbbr();
2040 }
2041 
2042 inline
2044 {
2045  if (!CanGetDbSnpOrgAbbr()) {
2046  ThrowUnassigned(2);
2047  }
2048  return m_DbSnpOrgAbbr;
2049 }
2050 
2051 inline
2053 {
2054  m_DbSnpOrgAbbr = value;
2055  m_set_State[0] |= 0x30;
2056 }
2057 
2058 inline
2060 {
2061  m_DbSnpOrgAbbr = std::forward<CExchangeSet_Base::C_SourceDatabase::C_Attlist::TDbSnpOrgAbbr>(value);
2062  m_set_State[0] |= 0x30;
2063 }
2064 
2065 inline
2067 {
2068 #ifdef _DEBUG
2069  if (!IsSetDbSnpOrgAbbr()) {
2070  m_DbSnpOrgAbbr = UnassignedString();
2071  }
2072 #endif
2073  m_set_State[0] |= 0x10;
2074  return m_DbSnpOrgAbbr;
2075 }
2076 
2077 inline
2079 {
2080  return ((m_set_State[0] & 0xc0) != 0);
2081 }
2082 
2083 inline
2085 {
2086  return IsSetGpipeOrgAbbr();
2087 }
2088 
2089 inline
2091 {
2092  if (!CanGetGpipeOrgAbbr()) {
2093  ThrowUnassigned(3);
2094  }
2095  return m_GpipeOrgAbbr;
2096 }
2097 
2098 inline
2100 {
2101  m_GpipeOrgAbbr = value;
2102  m_set_State[0] |= 0xc0;
2103 }
2104 
2105 inline
2107 {
2108  m_GpipeOrgAbbr = std::forward<CExchangeSet_Base::C_SourceDatabase::C_Attlist::TGpipeOrgAbbr>(value);
2109  m_set_State[0] |= 0xc0;
2110 }
2111 
2112 inline
2114 {
2115 #ifdef _DEBUG
2116  if (!IsSetGpipeOrgAbbr()) {
2117  m_GpipeOrgAbbr = UnassignedString();
2118  }
2119 #endif
2120  m_set_State[0] |= 0x40;
2121  return m_GpipeOrgAbbr;
2122 }
2123 
2124 inline
2126 {
2127  return m_Attlist.NotEmpty();
2128 }
2129 
2130 inline
2132 {
2133  return true;
2134 }
2135 
2136 inline
2138 {
2139  if ( !m_Attlist ) {
2140  const_cast<C_SourceDatabase*>(this)->ResetAttlist();
2141  }
2142  return (*m_Attlist);
2143 }
2144 
2145 inline
2147 {
2148  if ( !m_Attlist ) {
2149  ResetAttlist();
2150  }
2151  return (*m_Attlist);
2152 }
2153 
2154 inline
2156 {
2157  return ((m_set_State[0] & 0xc) != 0);
2158 }
2159 
2160 inline
2162 {
2163  return false;
2164 }
2165 
2166 inline
2168 {
2169  m_set_State[0] &= ~0xc;
2170 }
2171 
2172 inline
2174 {
2175  m_set_State[0] |= 0xc;
2176 }
2177 
2178 inline
2180 {
2181  return ((m_set_State[0] & 0x3) != 0);
2182 }
2183 
2184 inline
2186 {
2187  return IsSetDate();
2188 }
2189 
2190 inline
2192 {
2193  if (!CanGetDate()) {
2194  ThrowUnassigned(0);
2195  }
2196  return m_Date;
2197 }
2198 
2199 inline
2201 {
2202  m_Date = value;
2203  m_set_State[0] |= 0x3;
2204 }
2205 
2206 inline
2208 {
2209  m_Date = std::forward<CExchangeSet_Base::C_Query::C_Attlist::TDate>(value);
2210  m_set_State[0] |= 0x3;
2211 }
2212 
2213 inline
2215 {
2216 #ifdef _DEBUG
2217  if (!IsSetDate()) {
2218  m_Date = UnassignedString();
2219  }
2220 #endif
2221  m_set_State[0] |= 0x1;
2222  return m_Date;
2223 }
2224 
2225 inline
2227 {
2228  return ((m_set_State[0] & 0xc) != 0);
2229 }
2230 
2231 inline
2233 {
2234  return IsSetString();
2235 }
2236 
2237 inline
2239 {
2240  if (!CanGetString()) {
2241  ThrowUnassigned(1);
2242  }
2243  return m_String;
2244 }
2245 
2246 inline
2248 {
2249  m_String = value;
2250  m_set_State[0] |= 0xc;
2251 }
2252 
2253 inline
2255 {
2256  m_String = std::forward<CExchangeSet_Base::C_Query::C_Attlist::TString>(value);
2257  m_set_State[0] |= 0xc;
2258 }
2259 
2260 inline
2262 {
2263 #ifdef _DEBUG
2264  if (!IsSetString()) {
2265  m_String = UnassignedString();
2266  }
2267 #endif
2268  m_set_State[0] |= 0x4;
2269  return m_String;
2270 }
2271 
2272 inline
2274 {
2275  return m_Attlist.NotEmpty();
2276 }
2277 
2278 inline
2280 {
2281  return true;
2282 }
2283 
2284 inline
2286 {
2287  if ( !m_Attlist ) {
2288  const_cast<C_Query*>(this)->ResetAttlist();
2289  }
2290  return (*m_Attlist);
2291 }
2292 
2293 inline
2295 {
2296  if ( !m_Attlist ) {
2297  ResetAttlist();
2298  }
2299  return (*m_Attlist);
2300 }
2301 
2302 inline
2304 {
2305  return ((m_set_State[0] & 0xc) != 0);
2306 }
2307 
2308 inline
2310 {
2311  return false;
2312 }
2313 
2314 inline
2316 {
2317  m_set_State[0] &= ~0xc;
2318 }
2319 
2320 inline
2322 {
2323  m_set_State[0] |= 0xc;
2324 }
2325 
2326 inline
2328 {
2329  return ((m_set_State[0] & 0x3) != 0);
2330 }
2331 
2332 inline
2334 {
2335  return IsSetNumRsIds();
2336 }
2337 
2338 inline
2340 {
2341  m_NumRsIds = 0;
2342  m_set_State[0] &= ~0x3;
2343 }
2344 
2345 inline
2347 {
2348  if (!CanGetNumRsIds()) {
2349  ThrowUnassigned(0);
2350  }
2351  return m_NumRsIds;
2352 }
2353 
2354 inline
2356 {
2357  m_NumRsIds = value;
2358  m_set_State[0] |= 0x3;
2359 }
2360 
2361 inline
2363 {
2364 #ifdef _DEBUG
2365  if (!IsSetNumRsIds()) {
2366  memset(&m_NumRsIds,UnassignedByte(),sizeof(m_NumRsIds));
2367  }
2368 #endif
2369  m_set_State[0] |= 0x1;
2370  return m_NumRsIds;
2371 }
2372 
2373 inline
2375 {
2376  return ((m_set_State[0] & 0xc) != 0);
2377 }
2378 
2379 inline
2381 {
2382  return IsSetTotalSeqLength();
2383 }
2384 
2385 inline
2387 {
2388  m_TotalSeqLength = 0;
2389  m_set_State[0] &= ~0xc;
2390 }
2391 
2392 inline
2394 {
2395  if (!CanGetTotalSeqLength()) {
2396  ThrowUnassigned(1);
2397  }
2398  return m_TotalSeqLength;
2399 }
2400 
2401 inline
2403 {
2404  m_TotalSeqLength = value;
2405  m_set_State[0] |= 0xc;
2406 }
2407 
2408 inline
2410 {
2411 #ifdef _DEBUG
2412  if (!IsSetTotalSeqLength()) {
2413  memset(&m_TotalSeqLength,UnassignedByte(),sizeof(m_TotalSeqLength));
2414  }
2415 #endif
2416  m_set_State[0] |= 0x4;
2417  return m_TotalSeqLength;
2418 }
2419 
2420 inline
2422 {
2423  return ((m_set_State[0] & 0x30) != 0);
2424 }
2425 
2426 inline
2428 {
2429  return IsSetNumContigHits();
2430 }
2431 
2432 inline
2434 {
2435  m_NumContigHits = 0;
2436  m_set_State[0] &= ~0x30;
2437 }
2438 
2439 inline
2441 {
2442  if (!CanGetNumContigHits()) {
2443  ThrowUnassigned(2);
2444  }
2445  return m_NumContigHits;
2446 }
2447 
2448 inline
2450 {
2451  m_NumContigHits = value;
2452  m_set_State[0] |= 0x30;
2453 }
2454 
2455 inline
2457 {
2458 #ifdef _DEBUG
2459  if (!IsSetNumContigHits()) {
2460  memset(&m_NumContigHits,UnassignedByte(),sizeof(m_NumContigHits));
2461  }
2462 #endif
2463  m_set_State[0] |= 0x10;
2464  return m_NumContigHits;
2465 }
2466 
2467 inline
2469 {
2470  return ((m_set_State[0] & 0xc0) != 0);
2471 }
2472 
2473 inline
2475 {
2476  return IsSetNumGeneHits();
2477 }
2478 
2479 inline
2481 {
2482  m_NumGeneHits = 0;
2483  m_set_State[0] &= ~0xc0;
2484 }
2485 
2486 inline
2488 {
2489  if (!CanGetNumGeneHits()) {
2490  ThrowUnassigned(3);
2491  }
2492  return m_NumGeneHits;
2493 }
2494 
2495 inline
2497 {
2498  m_NumGeneHits = value;
2499  m_set_State[0] |= 0xc0;
2500 }
2501 
2502 inline
2504 {
2505 #ifdef _DEBUG
2506  if (!IsSetNumGeneHits()) {
2507  memset(&m_NumGeneHits,UnassignedByte(),sizeof(m_NumGeneHits));
2508  }
2509 #endif
2510  m_set_State[0] |= 0x40;
2511  return m_NumGeneHits;
2512 }
2513 
2514 inline
2516 {
2517  return ((m_set_State[0] & 0x300) != 0);
2518 }
2519 
2520 inline
2522 {
2523  return IsSetNumGiHits();
2524 }
2525 
2526 inline
2528 {
2529  m_NumGiHits = 0;
2530  m_set_State[0] &= ~0x300;
2531 }
2532 
2533 inline
2535 {
2536  if (!CanGetNumGiHits()) {
2537  ThrowUnassigned(4);
2538  }
2539  return m_NumGiHits;
2540 }
2541 
2542 inline
2544 {
2545  m_NumGiHits = value;
2546  m_set_State[0] |= 0x300;
2547 }
2548 
2549 inline
2551 {
2552 #ifdef _DEBUG
2553  if (!IsSetNumGiHits()) {
2554  memset(&m_NumGiHits,UnassignedByte(),sizeof(m_NumGiHits));
2555  }
2556 #endif
2557  m_set_State[0] |= 0x100;
2558  return m_NumGiHits;
2559 }
2560 
2561 inline
2563 {
2564  return ((m_set_State[0] & 0xc00) != 0);
2565 }
2566 
2567 inline
2569 {
2570  return IsSetNum3dStructs();
2571 }
2572 
2573 inline
2575 {
2576  m_Num3dStructs = 0;
2577  m_set_State[0] &= ~0xc00;
2578 }
2579 
2580 inline
2582 {
2583  if (!CanGetNum3dStructs()) {
2584  ThrowUnassigned(5);
2585  }
2586  return m_Num3dStructs;
2587 }
2588 
2589 inline
2591 {
2592  m_Num3dStructs = value;
2593  m_set_State[0] |= 0xc00;
2594 }
2595 
2596 inline
2598 {
2599 #ifdef _DEBUG
2600  if (!IsSetNum3dStructs()) {
2601  memset(&m_Num3dStructs,UnassignedByte(),sizeof(m_Num3dStructs));
2602  }
2603 #endif
2604  m_set_State[0] |= 0x400;
2605  return m_Num3dStructs;
2606 }
2607 
2608 inline
2610 {
2611  return ((m_set_State[0] & 0x3000) != 0);
2612 }
2613 
2614 inline
2616 {
2617  return IsSetNumAlleleFreqs();
2618 }
2619 
2620 inline
2622 {
2623  m_NumAlleleFreqs = 0;
2624  m_set_State[0] &= ~0x3000;
2625 }
2626 
2627 inline
2629 {
2630  if (!CanGetNumAlleleFreqs()) {
2631  ThrowUnassigned(6);
2632  }
2633  return m_NumAlleleFreqs;
2634 }
2635 
2636 inline
2638 {
2639  m_NumAlleleFreqs = value;
2640  m_set_State[0] |= 0x3000;
2641 }
2642 
2643 inline
2645 {
2646 #ifdef _DEBUG
2647  if (!IsSetNumAlleleFreqs()) {
2648  memset(&m_NumAlleleFreqs,UnassignedByte(),sizeof(m_NumAlleleFreqs));
2649  }
2650 #endif
2651  m_set_State[0] |= 0x1000;
2652  return m_NumAlleleFreqs;
2653 }
2654 
2655 inline
2657 {
2658  return ((m_set_State[0] & 0xc000) != 0);
2659 }
2660 
2661 inline
2663 {
2664  return IsSetNumStsHits();
2665 }
2666 
2667 inline
2669 {
2670  m_NumStsHits = 0;
2671  m_set_State[0] &= ~0xc000;
2672 }
2673 
2674 inline
2676 {
2677  if (!CanGetNumStsHits()) {
2678  ThrowUnassigned(7);
2679  }
2680  return m_NumStsHits;
2681 }
2682 
2683 inline
2685 {
2686  m_NumStsHits = value;
2687  m_set_State[0] |= 0xc000;
2688 }
2689 
2690 inline
2692 {
2693 #ifdef _DEBUG
2694  if (!IsSetNumStsHits()) {
2695  memset(&m_NumStsHits,UnassignedByte(),sizeof(m_NumStsHits));
2696  }
2697 #endif
2698  m_set_State[0] |= 0x4000;
2699  return m_NumStsHits;
2700 }
2701 
2702 inline
2704 {
2705  return ((m_set_State[0] & 0x30000) != 0);
2706 }
2707 
2708 inline
2710 {
2711  return IsSetNumUnigeneCids();
2712 }
2713 
2714 inline
2716 {
2717  m_NumUnigeneCids = 0;
2718  m_set_State[0] &= ~0x30000;
2719 }
2720 
2721 inline
2723 {
2724  if (!CanGetNumUnigeneCids()) {
2725  ThrowUnassigned(8);
2726  }
2727  return m_NumUnigeneCids;
2728 }
2729 
2730 inline
2732 {
2733  m_NumUnigeneCids = value;
2734  m_set_State[0] |= 0x30000;
2735 }
2736 
2737 inline
2739 {
2740 #ifdef _DEBUG
2741  if (!IsSetNumUnigeneCids()) {
2742  memset(&m_NumUnigeneCids,UnassignedByte(),sizeof(m_NumUnigeneCids));
2743  }
2744 #endif
2745  m_set_State[0] |= 0x10000;
2746  return m_NumUnigeneCids;
2747 }
2748 
2749 inline
2751 {
2752  return m_Attlist.NotEmpty();
2753 }
2754 
2755 inline
2757 {
2758  return true;
2759 }
2760 
2761 inline
2763 {
2764  if ( !m_Attlist ) {
2765  const_cast<C_Summary*>(this)->ResetAttlist();
2766  }
2767  return (*m_Attlist);
2768 }
2769 
2770 inline
2772 {
2773  if ( !m_Attlist ) {
2774  ResetAttlist();
2775  }
2776  return (*m_Attlist);
2777 }
2778 
2779 inline
2781 {
2782  return ((m_set_State[0] & 0xc) != 0);
2783 }
2784 
2785 inline
2787 {
2788  return false;
2789 }
2790 
2791 inline
2793 {
2794  m_set_State[0] &= ~0xc;
2795 }
2796 
2797 inline
2799 {
2800  m_set_State[0] |= 0xc;
2801 }
2802 
2803 inline
2805 {
2806  return m_Attlist.NotEmpty();
2807 }
2808 
2809 inline
2811 {
2812  return true;
2813 }
2814 
2815 inline
2817 {
2818  if ( !m_Attlist ) {
2819  const_cast<CExchangeSet_Base*>(this)->ResetAttlist();
2820  }
2821  return (*m_Attlist);
2822 }
2823 
2824 inline
2826 {
2827  if ( !m_Attlist ) {
2828  ResetAttlist();
2829  }
2830  return (*m_Attlist);
2831 }
2832 
2833 inline
2835 {
2836  return m_SourceDatabase.NotEmpty();
2837 }
2838 
2839 inline
2841 {
2842  return IsSetSourceDatabase();
2843 }
2844 
2845 inline
2847 {
2848  if (!CanGetSourceDatabase()) {
2849  ThrowUnassigned(1);
2850  }
2851  return (*m_SourceDatabase);
2852 }
2853 
2854 inline
2856 {
2857  return ((m_set_State[0] & 0x30) != 0);
2858 }
2859 
2860 inline
2862 {
2863  return true;
2864 }
2865 
2866 inline
2868 {
2869  return m_Rs;
2870 }
2871 
2872 inline
2874 {
2875  m_set_State[0] |= 0x10;
2876  return m_Rs;
2877 }
2878 
2879 inline
2881 {
2882  return m_Assay.NotEmpty();
2883 }
2884 
2885 inline
2887 {
2888  return IsSetAssay();
2889 }
2890 
2891 inline
2893 {
2894  if (!CanGetAssay()) {
2895  ThrowUnassigned(3);
2896  }
2897  return (*m_Assay);
2898 }
2899 
2900 inline
2902 {
2903  return m_Query.NotEmpty();
2904 }
2905 
2906 inline
2908 {
2909  return IsSetQuery();
2910 }
2911 
2912 inline
2914 {
2915  if (!CanGetQuery()) {
2916  ThrowUnassigned(4);
2917  }
2918  return (*m_Query);
2919 }
2920 
2921 inline
2923 {
2924  return m_Summary.NotEmpty();
2925 }
2926 
2927 inline
2929 {
2930  return IsSetSummary();
2931 }
2932 
2933 inline
2935 {
2936  if (!CanGetSummary()) {
2937  ThrowUnassigned(5);
2938  }
2939  return (*m_Summary);
2940 }
2941 
2942 inline
2944 {
2945  return ((m_set_State[0] & 0x3000) != 0);
2946 }
2947 
2948 inline
2950 {
2951  return true;
2952 }
2953 
2954 inline
2956 {
2957  return m_BaseURL;
2958 }
2959 
2960 inline
2962 {
2963  m_set_State[0] |= 0x1000;
2964  return m_BaseURL;
2965 }
2966 
2967 ///////////////////////////////////////////////////////////
2968 ////////////////// end of inline methods //////////////////
2969 ///////////////////////////////////////////////////////////
2970 
2971 
2972 
2973 
2974 
2975 END_objects_SCOPE // namespace ncbi::objects::
2976 
2978 
2979 
2980 #endif // OBJECTS_DOCSUM_EXCHANGESET_BASE_HPP
CAssay –.
Definition: Assay.hpp:66
CBaseURL –.
Definition: BaseURL.hpp:66
C_SourceDatabase –.
Set of dbSNP refSNP docsums, version 3.4.
CRef –.
Definition: ncbiobj.hpp:618
CRs –.
Definition: Rs.hpp:66
Base class for all serializable objects.
Definition: serialbase.hpp:150
char value[7]
Definition: config.c:431
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
Definition: serialbase.hpp:175
TTaxId GetTaxId(const CBioseq_Handle &handle)
return the tax-id associated with a given sequence.
Definition: sequence.cpp:274
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
int64_t Int8
8-byte (64-bit) signed integer
Definition: ncbitype.h:104
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_DOCSUM_EXPORT
Definition: ncbi_export.h:456
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TDate & SetDate(void)
Assign a value to Date data member.
bool CanGetNum3dStructs(void) const
Check if it is safe to call GetNum3dStructs method.
TDbSnpOrgAbbr & SetDbSnpOrgAbbr(void)
Assign a value to DbSnpOrgAbbr data member.
bool CanGetBaseURL(void) const
Check if it is safe to call GetBaseURL method.
void ResetNumGiHits(void)
Reset NumGiHits data member.
C_Summary & operator=(const C_Summary &)
TDbSnpBuild GetDbSnpBuild(void) const
Get the DbSnpBuild member data.
bool IsSetSetDepth(void) const
content depth: brief XML (only refSNP properties and summary subSNP element content); full XML (full ...
bool CanGetSourceDatabase(void) const
Check if it is safe to call GetSourceDatabase method.
C_Query(const C_Query &)
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
bool CanGetSetDepth(void) const
Check if it is safe to call GetSetDepth method.
TTaxId GetTaxId(void) const
Get the TaxId member data.
const TBaseURL & GetBaseURL(void) const
Get the BaseURL member data.
TNum3dStructs & SetNum3dStructs(void)
Assign a value to Num3dStructs data member.
bool CanGetNumGiHits(void) const
Check if it is safe to call GetNumGiHits method.
bool IsSetNumGeneHits(void) const
Total number of locus ids from SNPContigLocusId Check if a value has been assigned to NumGeneHits dat...
bool IsSetDate(void) const
yyyy-mm-dd Check if a value has been assigned to Date data member.
bool CanGetQuery(void) const
Check if it is safe to call GetQuery method.
TNumContigHits GetNumContigHits(void) const
Get the NumContigHits member data.
bool CanGetTotalSeqLength(void) const
Check if it is safe to call GetTotalSeqLength method.
bool IsSetOrganism(void) const
common name for species used as part of database name.
const TAssay & GetAssay(void) const
Get the Assay member data.
bool CanGetSetType(void) const
Check if it is safe to call GetSetType method.
bool CanGetQuery(void) const
Check if value of Query member is getatable.
const TSummary & GetSummary(void) const
Get the Summary member data.
TNumContigHits & SetNumContigHits(void)
Assign a value to NumContigHits data member.
TNumAlleleFreqs GetNumAlleleFreqs(void) const
Get the NumAlleleFreqs member data.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
CSerialObject Tparent
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
TNumStsHits GetNumStsHits(void) const
Get the NumStsHits member data.
bool IsSetTaxId(void) const
NCBI taxonomy ID for variation Check if a value has been assigned to TaxId data member.
const TGpipeOrgAbbr & GetGpipeOrgAbbr(void) const
Get the GpipeOrgAbbr member data.
TNumUnigeneCids GetNumUnigeneCids(void) const
Get the NumUnigeneCids member data.
bool CanGetDbSnpBuild(void) const
Check if it is safe to call GetDbSnpBuild method.
C_SourceDatabase & operator=(const C_SourceDatabase &)
void ResetNumUnigeneCids(void)
Reset NumUnigeneCids data member.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void SetSummary(void)
Set NULL data member (assign 'NULL' value to Summary data member).
bool IsSetNumRsIds(void) const
Total number of refsnp-ids in this exchange set Check if a value has been assigned to NumRsIds data m...
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
void ResetNumRsIds(void)
Reset NumRsIds data member.
Tparent::CMemberIndex< E_memberIndex, 6 > TmemberIndex
bool IsSetNumGiHits(void) const
Total number of gi hits from MapLink Check if a value has been assigned to NumGiHits data member.
C_Query & operator=(const C_Query &)
const TGenerated & GetGenerated(void) const
Get the Generated member data.
bool CanGetOrganism(void) const
Check if it is safe to call GetOrganism method.
TSetDepth & SetSetDepth(void)
Assign a value to SetDepth data member.
TNumAlleleFreqs & SetNumAlleleFreqs(void)
Assign a value to NumAlleleFreqs data member.
bool IsSetNumStsHits(void) const
Total number of STS hits from SnpInSts Check if a value has been assigned to NumStsHits data member.
TNumStsHits & SetNumStsHits(void)
Assign a value to NumStsHits data member.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
CRef< TAssay > m_Assay
C_SourceDatabase(const C_SourceDatabase &)
CExchangeSet_Base & operator=(const CExchangeSet_Base &)
C_Attlist & operator=(const C_Attlist &)
TNum3dStructs GetNum3dStructs(void) const
Get the Num3dStructs member data.
TString & SetString(void)
Assign a value to String data member.
CRef< TQuery > m_Query
bool CanGetDate(void) const
Check if it is safe to call GetDate method.
bool IsSetSetType(void) const
set-type: full dump; from query; single refSNP Check if a value has been assigned to SetType data mem...
const TSourceDatabase & GetSourceDatabase(void) const
Get the SourceDatabase member data.
C_Attlist & operator=(const C_Attlist &)
bool IsSetGenerated(void) const
Generated date Check if a value has been assigned to Generated data member.
list< CRef< CBaseURL > > m_BaseURL
bool CanGetNumStsHits(void) const
Check if it is safe to call GetNumStsHits method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TOrganism & SetOrganism(void)
Assign a value to Organism data member.
bool CanGetTaxId(void) const
Check if it is safe to call GetTaxId method.
bool IsSetDbSnpOrgAbbr(void) const
organism abbreviation used in dbSNP.
TTaxId & SetTaxId(void)
Assign a value to TaxId data member.
C_Attlist & operator=(const C_Attlist &)
bool IsSetQuery(void) const
Check if a value has been assigned to Query data member.
void ResetDbSnpBuild(void)
Reset DbSnpBuild data member.
void SetQuery(void)
Set NULL data member (assign 'NULL' value to Query data member).
void ResetSummary(void)
Reset Summary data member.
void ResetTaxId(void)
Reset TaxId data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool IsSetRs(void) const
Check if a value has been assigned to Rs data member.
TTotalSeqLength & SetTotalSeqLength(void)
Assign a value to TotalSeqLength data member.
bool CanGetNumGeneHits(void) const
Check if it is safe to call GetNumGeneHits method.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
void ResetNum3dStructs(void)
Reset Num3dStructs data member.
bool CanGetSummary(void) const
Check if value of Summary member is getatable.
bool IsSetSummary(void) const
Check if a value has been assigned to Summary data member.
CRef< TSourceDatabase > m_SourceDatabase
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
list< CRef< CRs > > m_Rs
bool IsSetNum3dStructs(void) const
Total number of 3D structures from SNP3D Check if a value has been assigned to Num3dStructs data memb...
bool IsSetDbSnpBuild(void) const
build number of database for this export Check if a value has been assigned to DbSnpBuild data member...
bool CanGetSummary(void) const
Check if it is safe to call GetSummary method.
TBaseURL & SetBaseURL(void)
Assign a value to BaseURL data member.
bool IsSetNumAlleleFreqs(void) const
Total number of allele frequences from SubPopAllele Check if a value has been assigned to NumAlleleFr...
list< CRef< CBaseURL > > TBaseURL
const TDbSnpOrgAbbr & GetDbSnpOrgAbbr(void) const
Get the DbSnpOrgAbbr member data.
bool IsSetString(void) const
Query terms or search constraints Check if a value has been assigned to String data member.
CRef< TAttlist > m_Attlist
TNumGiHits & SetNumGiHits(void)
Assign a value to NumGiHits data member.
CRef< TAttlist > m_Attlist
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
bool CanGetRs(void) const
Check if it is safe to call GetRs method.
C_Summary(const C_Summary &)
const TSpecVersion & GetSpecVersion(void) const
Get the SpecVersion member data.
const TSetDepth & GetSetDepth(void) const
Get the SetDepth member data.
TNumGeneHits GetNumGeneHits(void) const
Get the NumGeneHits member data.
void ResetAttlist(void)
Reset Attlist data member.
TNumUnigeneCids & SetNumUnigeneCids(void)
Assign a value to NumUnigeneCids data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void SetSourceDatabase(void)
Set NULL data member (assign 'NULL' value to SourceDatabase data member).
bool CanGetSpecVersion(void) const
Check if it is safe to call GetSpecVersion method.
bool IsSetNumUnigeneCids(void) const
Total number of unigene cluster ids from UnigeneSnp Check if a value has been assigned to NumUnigeneC...
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
void ResetQuery(void)
Reset Query data member.
TNumRsIds GetNumRsIds(void) const
Get the NumRsIds member data.
CRef< TSummary > m_Summary
bool IsSetTotalSeqLength(void) const
Total length of exemplar flanking sequences Check if a value has been assigned to TotalSeqLength data...
C_Attlist & operator=(const C_Attlist &)
bool IsSetSpecVersion(void) const
version number of docsum.asn/docsum.dtd specification Check if a value has been assigned to SpecVersi...
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
CExchangeSet_Base(const CExchangeSet_Base &)
bool CanGetSourceDatabase(void) const
Check if value of SourceDatabase member is getatable.
bool IsSetBaseURL(void) const
Check if a value has been assigned to BaseURL data member.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
TGpipeOrgAbbr & SetGpipeOrgAbbr(void)
Assign a value to GpipeOrgAbbr data member.
bool IsSetQuery(void) const
Check if a value has been assigned to Query data member.
void ResetNumContigHits(void)
Reset NumContigHits data member.
TGenerated & SetGenerated(void)
Assign a value to Generated data member.
TSetType & SetSetType(void)
Assign a value to SetType data member.
bool CanGetNumUnigeneCids(void) const
Check if it is safe to call GetNumUnigeneCids method.
const TOrganism & GetOrganism(void) const
Get the Organism member data.
C_SourceDatabase TSourceDatabase
TRs & SetRs(void)
Assign a value to Rs data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetTotalSeqLength(void)
Reset TotalSeqLength data member.
bool IsSetAssay(void) const
Check if a value has been assigned to Assay data member.
bool IsSetSummary(void) const
Check if a value has been assigned to Summary data member.
TNumRsIds & SetNumRsIds(void)
Assign a value to NumRsIds data member.
const TRs & GetRs(void) const
Get the Rs member data.
bool IsSetGpipeOrgAbbr(void) const
organism abbreviation used within NCBI genome pipeline data dumps.
const TSetType & GetSetType(void) const
Get the SetType member data.
bool CanGetNumContigHits(void) const
Check if it is safe to call GetNumContigHits method.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
const TQuery & GetQuery(void) const
Get the Query member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
TDbSnpBuild & SetDbSnpBuild(void)
Assign a value to DbSnpBuild data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
void ResetNumAlleleFreqs(void)
Reset NumAlleleFreqs data member.
bool CanGetAssay(void) const
Check if it is safe to call GetAssay method.
const TString & GetString(void) const
Get the String member data.
bool CanGetString(void) const
Check if it is safe to call GetString method.
bool CanGetDbSnpOrgAbbr(void) const
Check if it is safe to call GetDbSnpOrgAbbr method.
list< CRef< CRs > > TRs
bool IsSetSourceDatabase(void) const
Check if a value has been assigned to SourceDatabase data member.
bool CanGetGenerated(void) const
Check if it is safe to call GetGenerated method.
void ResetNumGeneHits(void)
Reset NumGeneHits data member.
C_Attlist(const C_Attlist &)
bool CanGetNumRsIds(void) const
Check if it is safe to call GetNumRsIds method.
bool IsSetSourceDatabase(void) const
Check if a value has been assigned to SourceDatabase data member.
const TDate & GetDate(void) const
Get the Date member data.
bool CanGetNumAlleleFreqs(void) const
Check if it is safe to call GetNumAlleleFreqs method.
void ResetSourceDatabase(void)
Reset SourceDatabase data member.
bool CanGetGpipeOrgAbbr(void) const
Check if it is safe to call GetGpipeOrgAbbr method.
TSpecVersion & SetSpecVersion(void)
Assign a value to SpecVersion data member.
TTotalSeqLength GetTotalSeqLength(void) const
Get the TotalSeqLength member data.
TNumGeneHits & SetNumGeneHits(void)
Assign a value to NumGeneHits data member.
void ResetNumStsHits(void)
Reset NumStsHits data member.
bool IsSetNumContigHits(void) const
Total number of contig locations from SNPContigLoc Check if a value has been assigned to NumContigHit...
TNumGiHits GetNumGiHits(void) const
Get the NumGiHits member data.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
Modified on Tue Dec 05 02:15:32 2023 by modify_doxy.py rev. 669887