NCBI C++ ToolKit
INSDSeq_.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 INSDSeq_.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/insdseq/insdseq.asn">insdseq.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/insdseq/insdseq.def">insdseq.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_INSDSEQ_INSDSEQ_BASE_HPP
42 #define OBJECTS_INSDSEQ_INSDSEQ_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 #include <string>
53 
55 
56 #ifndef BEGIN_objects_SCOPE
57 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
58 # define END_objects_SCOPE END_SCOPE(objects)
59 #endif
60 BEGIN_objects_SCOPE // namespace ncbi::objects::
61 
62 
63 // forward declarations
64 class CINSDAltSeqData;
65 class CINSDComment;
66 class CINSDFeature;
67 class CINSDFeatureSet;
68 class CINSDReference;
69 class CINSDStrucComment;
70 class CINSDXref;
71 
72 
73 // generated classes
74 
75 
76 /** @addtogroup dataspec_INSD_INSDSeq
77  *
78  * @{
79  */
80 
81 /////////////////////////////////////////////////////////////////////////////
82 ///
83 /// CINSDSeq_Base --
84 ///
85 
87 {
89 public:
90  // constructor
91  CINSDSeq_Base(void);
92  // destructor
93  virtual ~CINSDSeq_Base(void);
94 
95  // type info
97 
98  // types
99  typedef string TLocus;
100  typedef TSeqPos TLength;
101  typedef string TStrandedness;
102  typedef string TMoltype;
103  typedef string TTopology;
104  typedef string TDivision;
105  typedef string TUpdate_date;
106  typedef string TCreate_date;
107  typedef string TUpdate_release;
108  typedef string TCreate_release;
109  typedef string TDefinition;
110  typedef string TPrimary_accession;
111  typedef string TEntry_version;
112  typedef string TAccession_version;
113  typedef list< CINSDSeqid > TOther_seqids;
114  typedef list< CINSDSecondary_accn > TSecondary_accessions;
115  typedef string TProject;
116  typedef list< CINSDKeyword > TKeywords;
117  typedef string TSegment;
118  typedef string TSource;
119  typedef string TOrganism;
120  typedef string TTaxonomy;
121  typedef list< CRef< CINSDReference > > TReferences;
122  typedef string TComment;
123  typedef list< CRef< CINSDComment > > TComment_set;
124  typedef list< CRef< CINSDStrucComment > > TStruc_comments;
125  typedef string TPrimary;
126  typedef string TSource_db;
127  typedef string TDatabase_reference;
128  typedef list< CRef< CINSDFeature > > TFeature_table;
129  typedef list< CRef< CINSDFeatureSet > > TFeature_set;
130  typedef string TSequence;
131  typedef string TContig;
132  typedef list< CRef< CINSDAltSeqData > > TAlt_seq;
133  typedef list< CRef< CINSDXref > > TXrefs;
134 
135  // member index
136  enum class E_memberIndex {
137  e__allMandatory = 0,
138  e_locus,
139  e_length,
140  e_strandedness,
141  e_moltype,
142  e_topology,
143  e_division,
144  e_update_date,
145  e_create_date,
146  e_update_release,
147  e_create_release,
148  e_definition,
149  e_primary_accession,
150  e_entry_version,
151  e_accession_version,
152  e_other_seqids,
153  e_secondary_accessions,
154  e_project,
155  e_keywords,
156  e_segment,
157  e_source,
158  e_organism,
159  e_taxonomy,
160  e_references,
161  e_comment,
162  e_comment_set,
163  e_struc_comments,
164  e_primary,
165  e_source_db,
166  e_database_reference,
167  e_feature_table,
168  e_feature_set,
169  e_sequence,
170  e_contig,
171  e_alt_seq,
172  e_xrefs
173  };
175 
176  // getters
177  // setters
178 
179  /// Check if a value has been assigned to Locus data member.
180  ///
181  /// Data member Locus is optional;
182  /// its type is defined as 'typedef string TLocus'
183  /// @return
184  /// - true, if a value has been assigned.
185  /// - false, otherwise.
186  bool IsSetLocus(void) const;
187 
188  /// Check if it is safe to call GetLocus method.
189  ///
190  /// @return
191  /// - true, if the data member is getatable.
192  /// - false, otherwise.
193  bool CanGetLocus(void) const;
194 
195  /// Reset Locus data member.
196  void ResetLocus(void);
197 
198  /// Get the Locus member data.
199  ///
200  /// @return
201  /// Reference to the member data.
202  const TLocus& GetLocus(void) const;
203 
204  /// Assign a value to Locus data member.
205  ///
206  /// @param value
207  /// Value to assign
208  void SetLocus(const TLocus& value);
209  void SetLocus(TLocus&& value);
210 
211  /// Assign a value to Locus data member.
212  ///
213  /// @return
214  /// Reference to the data value.
215  TLocus& SetLocus(void);
216 
217  /// Check if a value has been assigned to Length data member.
218  ///
219  /// Data member Length is mandatory;
220  /// its type is defined as 'typedef TSeqPos TLength'
221  /// @return
222  /// - true, if a value has been assigned.
223  /// - false, otherwise.
224  bool IsSetLength(void) const;
225 
226  /// Check if it is safe to call GetLength method.
227  ///
228  /// @return
229  /// - true, if the data member is getatable.
230  /// - false, otherwise.
231  bool CanGetLength(void) const;
232 
233  /// Reset Length data member.
234  void ResetLength(void);
235 
236  /// Get the Length member data.
237  ///
238  /// @return
239  /// Copy of the member data.
240  TLength GetLength(void) const;
241 
242  /// Assign a value to Length data member.
243  ///
244  /// @param value
245  /// Value to assign
246  void SetLength(TLength value);
247 
248  /// Assign a value to Length data member.
249  ///
250  /// @return
251  /// Reference to the data value.
252  TLength& SetLength(void);
253 
254  /// Check if a value has been assigned to Strandedness data member.
255  ///
256  /// Data member Strandedness is optional;
257  /// its type is defined as 'typedef string TStrandedness'
258  /// @return
259  /// - true, if a value has been assigned.
260  /// - false, otherwise.
261  bool IsSetStrandedness(void) const;
262 
263  /// Check if it is safe to call GetStrandedness method.
264  ///
265  /// @return
266  /// - true, if the data member is getatable.
267  /// - false, otherwise.
268  bool CanGetStrandedness(void) const;
269 
270  /// Reset Strandedness data member.
271  void ResetStrandedness(void);
272 
273  /// Get the Strandedness member data.
274  ///
275  /// @return
276  /// Reference to the member data.
277  const TStrandedness& GetStrandedness(void) const;
278 
279  /// Assign a value to Strandedness data member.
280  ///
281  /// @param value
282  /// Value to assign
283  void SetStrandedness(const TStrandedness& value);
284  void SetStrandedness(TStrandedness&& value);
285 
286  /// Assign a value to Strandedness data member.
287  ///
288  /// @return
289  /// Reference to the data value.
290  TStrandedness& SetStrandedness(void);
291 
292  /// Check if a value has been assigned to Moltype data member.
293  ///
294  /// Data member Moltype is mandatory;
295  /// its type is defined as 'typedef string TMoltype'
296  /// @return
297  /// - true, if a value has been assigned.
298  /// - false, otherwise.
299  bool IsSetMoltype(void) const;
300 
301  /// Check if it is safe to call GetMoltype method.
302  ///
303  /// @return
304  /// - true, if the data member is getatable.
305  /// - false, otherwise.
306  bool CanGetMoltype(void) const;
307 
308  /// Reset Moltype data member.
309  void ResetMoltype(void);
310 
311  /// Get the Moltype member data.
312  ///
313  /// @return
314  /// Reference to the member data.
315  const TMoltype& GetMoltype(void) const;
316 
317  /// Assign a value to Moltype data member.
318  ///
319  /// @param value
320  /// Value to assign
321  void SetMoltype(const TMoltype& value);
322  void SetMoltype(TMoltype&& value);
323 
324  /// Assign a value to Moltype data member.
325  ///
326  /// @return
327  /// Reference to the data value.
328  TMoltype& SetMoltype(void);
329 
330  /// Check if a value has been assigned to Topology data member.
331  ///
332  /// Data member Topology is optional;
333  /// its type is defined as 'typedef string TTopology'
334  /// @return
335  /// - true, if a value has been assigned.
336  /// - false, otherwise.
337  bool IsSetTopology(void) const;
338 
339  /// Check if it is safe to call GetTopology method.
340  ///
341  /// @return
342  /// - true, if the data member is getatable.
343  /// - false, otherwise.
344  bool CanGetTopology(void) const;
345 
346  /// Reset Topology data member.
347  void ResetTopology(void);
348 
349  /// Get the Topology member data.
350  ///
351  /// @return
352  /// Reference to the member data.
353  const TTopology& GetTopology(void) const;
354 
355  /// Assign a value to Topology data member.
356  ///
357  /// @param value
358  /// Value to assign
359  void SetTopology(const TTopology& value);
360  void SetTopology(TTopology&& value);
361 
362  /// Assign a value to Topology data member.
363  ///
364  /// @return
365  /// Reference to the data value.
366  TTopology& SetTopology(void);
367 
368  /// Check if a value has been assigned to Division data member.
369  ///
370  /// Data member Division is optional;
371  /// its type is defined as 'typedef string TDivision'
372  /// @return
373  /// - true, if a value has been assigned.
374  /// - false, otherwise.
375  bool IsSetDivision(void) const;
376 
377  /// Check if it is safe to call GetDivision method.
378  ///
379  /// @return
380  /// - true, if the data member is getatable.
381  /// - false, otherwise.
382  bool CanGetDivision(void) const;
383 
384  /// Reset Division data member.
385  void ResetDivision(void);
386 
387  /// Get the Division member data.
388  ///
389  /// @return
390  /// Reference to the member data.
391  const TDivision& GetDivision(void) const;
392 
393  /// Assign a value to Division data member.
394  ///
395  /// @param value
396  /// Value to assign
397  void SetDivision(const TDivision& value);
398  void SetDivision(TDivision&& value);
399 
400  /// Assign a value to Division data member.
401  ///
402  /// @return
403  /// Reference to the data value.
404  TDivision& SetDivision(void);
405 
406  /// Check if a value has been assigned to Update_date data member.
407  ///
408  /// Data member Update_date is optional;
409  /// its type is defined as 'typedef string TUpdate_date'
410  /// @return
411  /// - true, if a value has been assigned.
412  /// - false, otherwise.
413  bool IsSetUpdate_date(void) const;
414 
415  /// Check if it is safe to call GetUpdate_date method.
416  ///
417  /// @return
418  /// - true, if the data member is getatable.
419  /// - false, otherwise.
420  bool CanGetUpdate_date(void) const;
421 
422  /// Reset Update_date data member.
423  void ResetUpdate_date(void);
424 
425  /// Get the Update_date member data.
426  ///
427  /// @return
428  /// Reference to the member data.
429  const TUpdate_date& GetUpdate_date(void) const;
430 
431  /// Assign a value to Update_date data member.
432  ///
433  /// @param value
434  /// Value to assign
435  void SetUpdate_date(const TUpdate_date& value);
436  void SetUpdate_date(TUpdate_date&& value);
437 
438  /// Assign a value to Update_date data member.
439  ///
440  /// @return
441  /// Reference to the data value.
442  TUpdate_date& SetUpdate_date(void);
443 
444  /// Check if a value has been assigned to Create_date data member.
445  ///
446  /// Data member Create_date is optional;
447  /// its type is defined as 'typedef string TCreate_date'
448  /// @return
449  /// - true, if a value has been assigned.
450  /// - false, otherwise.
451  bool IsSetCreate_date(void) const;
452 
453  /// Check if it is safe to call GetCreate_date method.
454  ///
455  /// @return
456  /// - true, if the data member is getatable.
457  /// - false, otherwise.
458  bool CanGetCreate_date(void) const;
459 
460  /// Reset Create_date data member.
461  void ResetCreate_date(void);
462 
463  /// Get the Create_date member data.
464  ///
465  /// @return
466  /// Reference to the member data.
467  const TCreate_date& GetCreate_date(void) const;
468 
469  /// Assign a value to Create_date data member.
470  ///
471  /// @param value
472  /// Value to assign
473  void SetCreate_date(const TCreate_date& value);
474  void SetCreate_date(TCreate_date&& value);
475 
476  /// Assign a value to Create_date data member.
477  ///
478  /// @return
479  /// Reference to the data value.
480  TCreate_date& SetCreate_date(void);
481 
482  /// Check if a value has been assigned to Update_release data member.
483  ///
484  /// Data member Update_release is optional;
485  /// its type is defined as 'typedef string TUpdate_release'
486  /// @return
487  /// - true, if a value has been assigned.
488  /// - false, otherwise.
489  bool IsSetUpdate_release(void) const;
490 
491  /// Check if it is safe to call GetUpdate_release method.
492  ///
493  /// @return
494  /// - true, if the data member is getatable.
495  /// - false, otherwise.
496  bool CanGetUpdate_release(void) const;
497 
498  /// Reset Update_release data member.
499  void ResetUpdate_release(void);
500 
501  /// Get the Update_release member data.
502  ///
503  /// @return
504  /// Reference to the member data.
505  const TUpdate_release& GetUpdate_release(void) const;
506 
507  /// Assign a value to Update_release data member.
508  ///
509  /// @param value
510  /// Value to assign
511  void SetUpdate_release(const TUpdate_release& value);
512  void SetUpdate_release(TUpdate_release&& value);
513 
514  /// Assign a value to Update_release data member.
515  ///
516  /// @return
517  /// Reference to the data value.
518  TUpdate_release& SetUpdate_release(void);
519 
520  /// Check if a value has been assigned to Create_release data member.
521  ///
522  /// Data member Create_release is optional;
523  /// its type is defined as 'typedef string TCreate_release'
524  /// @return
525  /// - true, if a value has been assigned.
526  /// - false, otherwise.
527  bool IsSetCreate_release(void) const;
528 
529  /// Check if it is safe to call GetCreate_release method.
530  ///
531  /// @return
532  /// - true, if the data member is getatable.
533  /// - false, otherwise.
534  bool CanGetCreate_release(void) const;
535 
536  /// Reset Create_release data member.
537  void ResetCreate_release(void);
538 
539  /// Get the Create_release member data.
540  ///
541  /// @return
542  /// Reference to the member data.
543  const TCreate_release& GetCreate_release(void) const;
544 
545  /// Assign a value to Create_release data member.
546  ///
547  /// @param value
548  /// Value to assign
549  void SetCreate_release(const TCreate_release& value);
550  void SetCreate_release(TCreate_release&& value);
551 
552  /// Assign a value to Create_release data member.
553  ///
554  /// @return
555  /// Reference to the data value.
556  TCreate_release& SetCreate_release(void);
557 
558  /// Check if a value has been assigned to Definition data member.
559  ///
560  /// Data member Definition is optional;
561  /// its type is defined as 'typedef string TDefinition'
562  /// @return
563  /// - true, if a value has been assigned.
564  /// - false, otherwise.
565  bool IsSetDefinition(void) const;
566 
567  /// Check if it is safe to call GetDefinition method.
568  ///
569  /// @return
570  /// - true, if the data member is getatable.
571  /// - false, otherwise.
572  bool CanGetDefinition(void) const;
573 
574  /// Reset Definition data member.
575  void ResetDefinition(void);
576 
577  /// Get the Definition member data.
578  ///
579  /// @return
580  /// Reference to the member data.
581  const TDefinition& GetDefinition(void) const;
582 
583  /// Assign a value to Definition data member.
584  ///
585  /// @param value
586  /// Value to assign
587  void SetDefinition(const TDefinition& value);
588  void SetDefinition(TDefinition&& value);
589 
590  /// Assign a value to Definition data member.
591  ///
592  /// @return
593  /// Reference to the data value.
594  TDefinition& SetDefinition(void);
595 
596  /// Check if a value has been assigned to Primary_accession data member.
597  ///
598  /// Data member Primary_accession is optional;
599  /// its type is defined as 'typedef string TPrimary_accession'
600  /// @return
601  /// - true, if a value has been assigned.
602  /// - false, otherwise.
603  bool IsSetPrimary_accession(void) const;
604 
605  /// Check if it is safe to call GetPrimary_accession method.
606  ///
607  /// @return
608  /// - true, if the data member is getatable.
609  /// - false, otherwise.
610  bool CanGetPrimary_accession(void) const;
611 
612  /// Reset Primary_accession data member.
613  void ResetPrimary_accession(void);
614 
615  /// Get the Primary_accession member data.
616  ///
617  /// @return
618  /// Reference to the member data.
619  const TPrimary_accession& GetPrimary_accession(void) const;
620 
621  /// Assign a value to Primary_accession data member.
622  ///
623  /// @param value
624  /// Value to assign
625  void SetPrimary_accession(const TPrimary_accession& value);
626  void SetPrimary_accession(TPrimary_accession&& value);
627 
628  /// Assign a value to Primary_accession data member.
629  ///
630  /// @return
631  /// Reference to the data value.
632  TPrimary_accession& SetPrimary_accession(void);
633 
634  /// Check if a value has been assigned to Entry_version data member.
635  ///
636  /// Data member Entry_version is optional;
637  /// its type is defined as 'typedef string TEntry_version'
638  /// @return
639  /// - true, if a value has been assigned.
640  /// - false, otherwise.
641  bool IsSetEntry_version(void) const;
642 
643  /// Check if it is safe to call GetEntry_version method.
644  ///
645  /// @return
646  /// - true, if the data member is getatable.
647  /// - false, otherwise.
648  bool CanGetEntry_version(void) const;
649 
650  /// Reset Entry_version data member.
651  void ResetEntry_version(void);
652 
653  /// Get the Entry_version member data.
654  ///
655  /// @return
656  /// Reference to the member data.
657  const TEntry_version& GetEntry_version(void) const;
658 
659  /// Assign a value to Entry_version data member.
660  ///
661  /// @param value
662  /// Value to assign
663  void SetEntry_version(const TEntry_version& value);
664  void SetEntry_version(TEntry_version&& value);
665 
666  /// Assign a value to Entry_version data member.
667  ///
668  /// @return
669  /// Reference to the data value.
670  TEntry_version& SetEntry_version(void);
671 
672  /// Check if a value has been assigned to Accession_version data member.
673  ///
674  /// Data member Accession_version is optional;
675  /// its type is defined as 'typedef string TAccession_version'
676  /// @return
677  /// - true, if a value has been assigned.
678  /// - false, otherwise.
679  bool IsSetAccession_version(void) const;
680 
681  /// Check if it is safe to call GetAccession_version method.
682  ///
683  /// @return
684  /// - true, if the data member is getatable.
685  /// - false, otherwise.
686  bool CanGetAccession_version(void) const;
687 
688  /// Reset Accession_version data member.
689  void ResetAccession_version(void);
690 
691  /// Get the Accession_version member data.
692  ///
693  /// @return
694  /// Reference to the member data.
695  const TAccession_version& GetAccession_version(void) const;
696 
697  /// Assign a value to Accession_version data member.
698  ///
699  /// @param value
700  /// Value to assign
701  void SetAccession_version(const TAccession_version& value);
702  void SetAccession_version(TAccession_version&& value);
703 
704  /// Assign a value to Accession_version data member.
705  ///
706  /// @return
707  /// Reference to the data value.
708  TAccession_version& SetAccession_version(void);
709 
710  /// Check if a value has been assigned to Other_seqids data member.
711  ///
712  /// Data member Other_seqids is optional;
713  /// its type is defined as 'typedef list< CINSDSeqid > TOther_seqids'
714  /// @return
715  /// - true, if a value has been assigned.
716  /// - false, otherwise.
717  bool IsSetOther_seqids(void) const;
718 
719  /// Check if it is safe to call GetOther_seqids method.
720  ///
721  /// @return
722  /// - true, if the data member is getatable.
723  /// - false, otherwise.
724  bool CanGetOther_seqids(void) const;
725 
726  /// Reset Other_seqids data member.
727  void ResetOther_seqids(void);
728 
729  /// Get the Other_seqids member data.
730  ///
731  /// @return
732  /// Reference to the member data.
733  const TOther_seqids& GetOther_seqids(void) const;
734 
735  /// Assign a value to Other_seqids data member.
736  ///
737  /// @return
738  /// Reference to the data value.
739  TOther_seqids& SetOther_seqids(void);
740 
741  /// Check if a value has been assigned to Secondary_accessions data member.
742  ///
743  /// Data member Secondary_accessions is optional;
744  /// its type is defined as 'typedef list< CINSDSecondary_accn > TSecondary_accessions'
745  /// @return
746  /// - true, if a value has been assigned.
747  /// - false, otherwise.
748  bool IsSetSecondary_accessions(void) const;
749 
750  /// Check if it is safe to call GetSecondary_accessions method.
751  ///
752  /// @return
753  /// - true, if the data member is getatable.
754  /// - false, otherwise.
755  bool CanGetSecondary_accessions(void) const;
756 
757  /// Reset Secondary_accessions data member.
758  void ResetSecondary_accessions(void);
759 
760  /// Get the Secondary_accessions member data.
761  ///
762  /// @return
763  /// Reference to the member data.
764  const TSecondary_accessions& GetSecondary_accessions(void) const;
765 
766  /// Assign a value to Secondary_accessions data member.
767  ///
768  /// @return
769  /// Reference to the data value.
770  TSecondary_accessions& SetSecondary_accessions(void);
771 
772  /// INSDSeq_project has been deprecated in favor of INSDSeq_xrefs .
773  /// This element may be be removed from a future version of this DTD.
774  /// Check if a value has been assigned to Project data member.
775  ///
776  /// Data member Project is optional;
777  /// its type is defined as 'typedef string TProject'
778  /// @return
779  /// - true, if a value has been assigned.
780  /// - false, otherwise.
781  bool IsSetProject(void) const;
782 
783  /// Check if it is safe to call GetProject method.
784  ///
785  /// @return
786  /// - true, if the data member is getatable.
787  /// - false, otherwise.
788  bool CanGetProject(void) const;
789 
790  /// Reset Project data member.
791  void ResetProject(void);
792 
793  /// Get the Project member data.
794  ///
795  /// @return
796  /// Reference to the member data.
797  const TProject& GetProject(void) const;
798 
799  /// Assign a value to Project data member.
800  ///
801  /// @param value
802  /// Value to assign
803  void SetProject(const TProject& value);
804  void SetProject(TProject&& value);
805 
806  /// Assign a value to Project data member.
807  ///
808  /// @return
809  /// Reference to the data value.
810  TProject& SetProject(void);
811 
812  /// Check if a value has been assigned to Keywords data member.
813  ///
814  /// Data member Keywords is optional;
815  /// its type is defined as 'typedef list< CINSDKeyword > TKeywords'
816  /// @return
817  /// - true, if a value has been assigned.
818  /// - false, otherwise.
819  bool IsSetKeywords(void) const;
820 
821  /// Check if it is safe to call GetKeywords method.
822  ///
823  /// @return
824  /// - true, if the data member is getatable.
825  /// - false, otherwise.
826  bool CanGetKeywords(void) const;
827 
828  /// Reset Keywords data member.
829  void ResetKeywords(void);
830 
831  /// Get the Keywords member data.
832  ///
833  /// @return
834  /// Reference to the member data.
835  const TKeywords& GetKeywords(void) const;
836 
837  /// Assign a value to Keywords data member.
838  ///
839  /// @return
840  /// Reference to the data value.
841  TKeywords& SetKeywords(void);
842 
843  /// Check if a value has been assigned to Segment data member.
844  ///
845  /// Data member Segment is optional;
846  /// its type is defined as 'typedef string TSegment'
847  /// @return
848  /// - true, if a value has been assigned.
849  /// - false, otherwise.
850  bool IsSetSegment(void) const;
851 
852  /// Check if it is safe to call GetSegment method.
853  ///
854  /// @return
855  /// - true, if the data member is getatable.
856  /// - false, otherwise.
857  bool CanGetSegment(void) const;
858 
859  /// Reset Segment data member.
860  void ResetSegment(void);
861 
862  /// Get the Segment member data.
863  ///
864  /// @return
865  /// Reference to the member data.
866  const TSegment& GetSegment(void) const;
867 
868  /// Assign a value to Segment data member.
869  ///
870  /// @param value
871  /// Value to assign
872  void SetSegment(const TSegment& value);
873  void SetSegment(TSegment&& value);
874 
875  /// Assign a value to Segment data member.
876  ///
877  /// @return
878  /// Reference to the data value.
879  TSegment& SetSegment(void);
880 
881  /// Check if a value has been assigned to Source data member.
882  ///
883  /// Data member Source is optional;
884  /// its type is defined as 'typedef string TSource'
885  /// @return
886  /// - true, if a value has been assigned.
887  /// - false, otherwise.
888  bool IsSetSource(void) const;
889 
890  /// Check if it is safe to call GetSource method.
891  ///
892  /// @return
893  /// - true, if the data member is getatable.
894  /// - false, otherwise.
895  bool CanGetSource(void) const;
896 
897  /// Reset Source data member.
898  void ResetSource(void);
899 
900  /// Get the Source member data.
901  ///
902  /// @return
903  /// Reference to the member data.
904  const TSource& GetSource(void) const;
905 
906  /// Assign a value to Source data member.
907  ///
908  /// @param value
909  /// Value to assign
910  void SetSource(const TSource& value);
911  void SetSource(TSource&& value);
912 
913  /// Assign a value to Source data member.
914  ///
915  /// @return
916  /// Reference to the data value.
917  TSource& SetSource(void);
918 
919  /// Check if a value has been assigned to Organism data member.
920  ///
921  /// Data member Organism is optional;
922  /// its type is defined as 'typedef string TOrganism'
923  /// @return
924  /// - true, if a value has been assigned.
925  /// - false, otherwise.
926  bool IsSetOrganism(void) const;
927 
928  /// Check if it is safe to call GetOrganism method.
929  ///
930  /// @return
931  /// - true, if the data member is getatable.
932  /// - false, otherwise.
933  bool CanGetOrganism(void) const;
934 
935  /// Reset Organism data member.
936  void ResetOrganism(void);
937 
938  /// Get the Organism member data.
939  ///
940  /// @return
941  /// Reference to the member data.
942  const TOrganism& GetOrganism(void) const;
943 
944  /// Assign a value to Organism data member.
945  ///
946  /// @param value
947  /// Value to assign
948  void SetOrganism(const TOrganism& value);
949  void SetOrganism(TOrganism&& value);
950 
951  /// Assign a value to Organism data member.
952  ///
953  /// @return
954  /// Reference to the data value.
955  TOrganism& SetOrganism(void);
956 
957  /// Check if a value has been assigned to Taxonomy data member.
958  ///
959  /// Data member Taxonomy is optional;
960  /// its type is defined as 'typedef string TTaxonomy'
961  /// @return
962  /// - true, if a value has been assigned.
963  /// - false, otherwise.
964  bool IsSetTaxonomy(void) const;
965 
966  /// Check if it is safe to call GetTaxonomy method.
967  ///
968  /// @return
969  /// - true, if the data member is getatable.
970  /// - false, otherwise.
971  bool CanGetTaxonomy(void) const;
972 
973  /// Reset Taxonomy data member.
974  void ResetTaxonomy(void);
975 
976  /// Get the Taxonomy member data.
977  ///
978  /// @return
979  /// Reference to the member data.
980  const TTaxonomy& GetTaxonomy(void) const;
981 
982  /// Assign a value to Taxonomy data member.
983  ///
984  /// @param value
985  /// Value to assign
986  void SetTaxonomy(const TTaxonomy& value);
987  void SetTaxonomy(TTaxonomy&& value);
988 
989  /// Assign a value to Taxonomy data member.
990  ///
991  /// @return
992  /// Reference to the data value.
993  TTaxonomy& SetTaxonomy(void);
994 
995  /// Check if a value has been assigned to References data member.
996  ///
997  /// Data member References is optional;
998  /// its type is defined as 'typedef list< CRef< CINSDReference > > TReferences'
999  /// @return
1000  /// - true, if a value has been assigned.
1001  /// - false, otherwise.
1002  bool IsSetReferences(void) const;
1003 
1004  /// Check if it is safe to call GetReferences method.
1005  ///
1006  /// @return
1007  /// - true, if the data member is getatable.
1008  /// - false, otherwise.
1009  bool CanGetReferences(void) const;
1010 
1011  /// Reset References data member.
1012  void ResetReferences(void);
1013 
1014  /// Get the References member data.
1015  ///
1016  /// @return
1017  /// Reference to the member data.
1018  const TReferences& GetReferences(void) const;
1019 
1020  /// Assign a value to References data member.
1021  ///
1022  /// @return
1023  /// Reference to the data value.
1024  TReferences& SetReferences(void);
1025 
1026  /// Check if a value has been assigned to Comment data member.
1027  ///
1028  /// Data member Comment is optional;
1029  /// its type is defined as 'typedef string TComment'
1030  /// @return
1031  /// - true, if a value has been assigned.
1032  /// - false, otherwise.
1033  bool IsSetComment(void) const;
1034 
1035  /// Check if it is safe to call GetComment method.
1036  ///
1037  /// @return
1038  /// - true, if the data member is getatable.
1039  /// - false, otherwise.
1040  bool CanGetComment(void) const;
1041 
1042  /// Reset Comment data member.
1043  void ResetComment(void);
1044 
1045  /// Get the Comment member data.
1046  ///
1047  /// @return
1048  /// Reference to the member data.
1049  const TComment& GetComment(void) const;
1050 
1051  /// Assign a value to Comment data member.
1052  ///
1053  /// @param value
1054  /// Value to assign
1055  void SetComment(const TComment& value);
1056  void SetComment(TComment&& value);
1057 
1058  /// Assign a value to Comment data member.
1059  ///
1060  /// @return
1061  /// Reference to the data value.
1062  TComment& SetComment(void);
1063 
1064  /// Check if a value has been assigned to Comment_set data member.
1065  ///
1066  /// Data member Comment_set is optional;
1067  /// its type is defined as 'typedef list< CRef< CINSDComment > > TComment_set'
1068  /// @return
1069  /// - true, if a value has been assigned.
1070  /// - false, otherwise.
1071  bool IsSetComment_set(void) const;
1072 
1073  /// Check if it is safe to call GetComment_set method.
1074  ///
1075  /// @return
1076  /// - true, if the data member is getatable.
1077  /// - false, otherwise.
1078  bool CanGetComment_set(void) const;
1079 
1080  /// Reset Comment_set data member.
1081  void ResetComment_set(void);
1082 
1083  /// Get the Comment_set member data.
1084  ///
1085  /// @return
1086  /// Reference to the member data.
1087  const TComment_set& GetComment_set(void) const;
1088 
1089  /// Assign a value to Comment_set data member.
1090  ///
1091  /// @return
1092  /// Reference to the data value.
1093  TComment_set& SetComment_set(void);
1094 
1095  /// Check if a value has been assigned to Struc_comments data member.
1096  ///
1097  /// Data member Struc_comments is optional;
1098  /// its type is defined as 'typedef list< CRef< CINSDStrucComment > > TStruc_comments'
1099  /// @return
1100  /// - true, if a value has been assigned.
1101  /// - false, otherwise.
1102  bool IsSetStruc_comments(void) const;
1103 
1104  /// Check if it is safe to call GetStruc_comments method.
1105  ///
1106  /// @return
1107  /// - true, if the data member is getatable.
1108  /// - false, otherwise.
1109  bool CanGetStruc_comments(void) const;
1110 
1111  /// Reset Struc_comments data member.
1112  void ResetStruc_comments(void);
1113 
1114  /// Get the Struc_comments member data.
1115  ///
1116  /// @return
1117  /// Reference to the member data.
1118  const TStruc_comments& GetStruc_comments(void) const;
1119 
1120  /// Assign a value to Struc_comments data member.
1121  ///
1122  /// @return
1123  /// Reference to the data value.
1124  TStruc_comments& SetStruc_comments(void);
1125 
1126  /// Check if a value has been assigned to Primary data member.
1127  ///
1128  /// Data member Primary is optional;
1129  /// its type is defined as 'typedef string TPrimary'
1130  /// @return
1131  /// - true, if a value has been assigned.
1132  /// - false, otherwise.
1133  bool IsSetPrimary(void) const;
1134 
1135  /// Check if it is safe to call GetPrimary method.
1136  ///
1137  /// @return
1138  /// - true, if the data member is getatable.
1139  /// - false, otherwise.
1140  bool CanGetPrimary(void) const;
1141 
1142  /// Reset Primary data member.
1143  void ResetPrimary(void);
1144 
1145  /// Get the Primary member data.
1146  ///
1147  /// @return
1148  /// Reference to the member data.
1149  const TPrimary& GetPrimary(void) const;
1150 
1151  /// Assign a value to Primary data member.
1152  ///
1153  /// @param value
1154  /// Value to assign
1155  void SetPrimary(const TPrimary& value);
1156  void SetPrimary(TPrimary&& value);
1157 
1158  /// Assign a value to Primary data member.
1159  ///
1160  /// @return
1161  /// Reference to the data value.
1162  TPrimary& SetPrimary(void);
1163 
1164  /// Check if a value has been assigned to Source_db data member.
1165  ///
1166  /// Data member Source_db is optional;
1167  /// its type is defined as 'typedef string TSource_db'
1168  /// @return
1169  /// - true, if a value has been assigned.
1170  /// - false, otherwise.
1171  bool IsSetSource_db(void) const;
1172 
1173  /// Check if it is safe to call GetSource_db method.
1174  ///
1175  /// @return
1176  /// - true, if the data member is getatable.
1177  /// - false, otherwise.
1178  bool CanGetSource_db(void) const;
1179 
1180  /// Reset Source_db data member.
1181  void ResetSource_db(void);
1182 
1183  /// Get the Source_db member data.
1184  ///
1185  /// @return
1186  /// Reference to the member data.
1187  const TSource_db& GetSource_db(void) const;
1188 
1189  /// Assign a value to Source_db data member.
1190  ///
1191  /// @param value
1192  /// Value to assign
1193  void SetSource_db(const TSource_db& value);
1194  void SetSource_db(TSource_db&& value);
1195 
1196  /// Assign a value to Source_db data member.
1197  ///
1198  /// @return
1199  /// Reference to the data value.
1200  TSource_db& SetSource_db(void);
1201 
1202  /// Check if a value has been assigned to Database_reference data member.
1203  ///
1204  /// Data member Database_reference is optional;
1205  /// its type is defined as 'typedef string TDatabase_reference'
1206  /// @return
1207  /// - true, if a value has been assigned.
1208  /// - false, otherwise.
1209  bool IsSetDatabase_reference(void) const;
1210 
1211  /// Check if it is safe to call GetDatabase_reference method.
1212  ///
1213  /// @return
1214  /// - true, if the data member is getatable.
1215  /// - false, otherwise.
1216  bool CanGetDatabase_reference(void) const;
1217 
1218  /// Reset Database_reference data member.
1219  void ResetDatabase_reference(void);
1220 
1221  /// Get the Database_reference member data.
1222  ///
1223  /// @return
1224  /// Reference to the member data.
1225  const TDatabase_reference& GetDatabase_reference(void) const;
1226 
1227  /// Assign a value to Database_reference data member.
1228  ///
1229  /// @param value
1230  /// Value to assign
1231  void SetDatabase_reference(const TDatabase_reference& value);
1232  void SetDatabase_reference(TDatabase_reference&& value);
1233 
1234  /// Assign a value to Database_reference data member.
1235  ///
1236  /// @return
1237  /// Reference to the data value.
1238  TDatabase_reference& SetDatabase_reference(void);
1239 
1240  /// Check if a value has been assigned to Feature_table data member.
1241  ///
1242  /// Data member Feature_table is optional;
1243  /// its type is defined as 'typedef list< CRef< CINSDFeature > > TFeature_table'
1244  /// @return
1245  /// - true, if a value has been assigned.
1246  /// - false, otherwise.
1247  bool IsSetFeature_table(void) const;
1248 
1249  /// Check if it is safe to call GetFeature_table method.
1250  ///
1251  /// @return
1252  /// - true, if the data member is getatable.
1253  /// - false, otherwise.
1254  bool CanGetFeature_table(void) const;
1255 
1256  /// Reset Feature_table data member.
1257  void ResetFeature_table(void);
1258 
1259  /// Get the Feature_table member data.
1260  ///
1261  /// @return
1262  /// Reference to the member data.
1263  const TFeature_table& GetFeature_table(void) const;
1264 
1265  /// Assign a value to Feature_table data member.
1266  ///
1267  /// @return
1268  /// Reference to the data value.
1269  TFeature_table& SetFeature_table(void);
1270 
1271  /// Check if a value has been assigned to Feature_set data member.
1272  ///
1273  /// Data member Feature_set is optional;
1274  /// its type is defined as 'typedef list< CRef< CINSDFeatureSet > > TFeature_set'
1275  /// @return
1276  /// - true, if a value has been assigned.
1277  /// - false, otherwise.
1278  bool IsSetFeature_set(void) const;
1279 
1280  /// Check if it is safe to call GetFeature_set method.
1281  ///
1282  /// @return
1283  /// - true, if the data member is getatable.
1284  /// - false, otherwise.
1285  bool CanGetFeature_set(void) const;
1286 
1287  /// Reset Feature_set data member.
1288  void ResetFeature_set(void);
1289 
1290  /// Get the Feature_set member data.
1291  ///
1292  /// @return
1293  /// Reference to the member data.
1294  const TFeature_set& GetFeature_set(void) const;
1295 
1296  /// Assign a value to Feature_set data member.
1297  ///
1298  /// @return
1299  /// Reference to the data value.
1300  TFeature_set& SetFeature_set(void);
1301 
1302  /// Optional for contig, wgs, etc.
1303  /// Check if a value has been assigned to Sequence data member.
1304  ///
1305  /// Data member Sequence is optional;
1306  /// its type is defined as 'typedef string TSequence'
1307  /// @return
1308  /// - true, if a value has been assigned.
1309  /// - false, otherwise.
1310  bool IsSetSequence(void) const;
1311 
1312  /// Check if it is safe to call GetSequence method.
1313  ///
1314  /// @return
1315  /// - true, if the data member is getatable.
1316  /// - false, otherwise.
1317  bool CanGetSequence(void) const;
1318 
1319  /// Reset Sequence data member.
1320  void ResetSequence(void);
1321 
1322  /// Get the Sequence member data.
1323  ///
1324  /// @return
1325  /// Reference to the member data.
1326  const TSequence& GetSequence(void) const;
1327 
1328  /// Assign a value to Sequence data member.
1329  ///
1330  /// @param value
1331  /// Value to assign
1332  void SetSequence(const TSequence& value);
1333  void SetSequence(TSequence&& value);
1334 
1335  /// Assign a value to Sequence data member.
1336  ///
1337  /// @return
1338  /// Reference to the data value.
1339  TSequence& SetSequence(void);
1340 
1341  /// Check if a value has been assigned to Contig data member.
1342  ///
1343  /// Data member Contig is optional;
1344  /// its type is defined as 'typedef string TContig'
1345  /// @return
1346  /// - true, if a value has been assigned.
1347  /// - false, otherwise.
1348  bool IsSetContig(void) const;
1349 
1350  /// Check if it is safe to call GetContig method.
1351  ///
1352  /// @return
1353  /// - true, if the data member is getatable.
1354  /// - false, otherwise.
1355  bool CanGetContig(void) const;
1356 
1357  /// Reset Contig data member.
1358  void ResetContig(void);
1359 
1360  /// Get the Contig member data.
1361  ///
1362  /// @return
1363  /// Reference to the member data.
1364  const TContig& GetContig(void) const;
1365 
1366  /// Assign a value to Contig data member.
1367  ///
1368  /// @param value
1369  /// Value to assign
1370  void SetContig(const TContig& value);
1371  void SetContig(TContig&& value);
1372 
1373  /// Assign a value to Contig data member.
1374  ///
1375  /// @return
1376  /// Reference to the data value.
1377  TContig& SetContig(void);
1378 
1379  /// Check if a value has been assigned to Alt_seq data member.
1380  ///
1381  /// Data member Alt_seq is optional;
1382  /// its type is defined as 'typedef list< CRef< CINSDAltSeqData > > TAlt_seq'
1383  /// @return
1384  /// - true, if a value has been assigned.
1385  /// - false, otherwise.
1386  bool IsSetAlt_seq(void) const;
1387 
1388  /// Check if it is safe to call GetAlt_seq method.
1389  ///
1390  /// @return
1391  /// - true, if the data member is getatable.
1392  /// - false, otherwise.
1393  bool CanGetAlt_seq(void) const;
1394 
1395  /// Reset Alt_seq data member.
1396  void ResetAlt_seq(void);
1397 
1398  /// Get the Alt_seq member data.
1399  ///
1400  /// @return
1401  /// Reference to the member data.
1402  const TAlt_seq& GetAlt_seq(void) const;
1403 
1404  /// Assign a value to Alt_seq data member.
1405  ///
1406  /// @return
1407  /// Reference to the data value.
1408  TAlt_seq& SetAlt_seq(void);
1409 
1410  /// INSDSeq_xrefs provides cross-references from a sequence record
1411  /// to other database resources. These cross-references are at the
1412  /// level of the entire record, rather than at the level of a specific
1413  /// feature. These cross-references can include: BioProject, BioSample,
1414  /// Sequence Read Archive, etc.
1415  /// Check if a value has been assigned to Xrefs data member.
1416  ///
1417  /// Data member Xrefs is optional;
1418  /// its type is defined as 'typedef list< CRef< CINSDXref > > TXrefs'
1419  /// @return
1420  /// - true, if a value has been assigned.
1421  /// - false, otherwise.
1422  bool IsSetXrefs(void) const;
1423 
1424  /// Check if it is safe to call GetXrefs method.
1425  ///
1426  /// @return
1427  /// - true, if the data member is getatable.
1428  /// - false, otherwise.
1429  bool CanGetXrefs(void) const;
1430 
1431  /// Reset Xrefs data member.
1432  void ResetXrefs(void);
1433 
1434  /// Get the Xrefs member data.
1435  ///
1436  /// @return
1437  /// Reference to the member data.
1438  const TXrefs& GetXrefs(void) const;
1439 
1440  /// Assign a value to Xrefs data member.
1441  ///
1442  /// @return
1443  /// Reference to the data value.
1444  TXrefs& SetXrefs(void);
1445 
1446  /// Reset the whole object
1447  virtual void Reset(void);
1448 
1449 
1450 private:
1451  // Prohibit copy constructor and assignment operator
1454 
1455  // data
1456  Uint4 m_set_State[3];
1457  string m_Locus;
1460  string m_Moltype;
1461  string m_Topology;
1462  string m_Division;
1471  list< CINSDSeqid > m_Other_seqids;
1472  list< CINSDSecondary_accn > m_Secondary_accessions;
1473  string m_Project;
1474  list< CINSDKeyword > m_Keywords;
1475  string m_Segment;
1476  string m_Source;
1477  string m_Organism;
1478  string m_Taxonomy;
1479  list< CRef< CINSDReference > > m_References;
1480  string m_Comment;
1481  list< CRef< CINSDComment > > m_Comment_set;
1482  list< CRef< CINSDStrucComment > > m_Struc_comments;
1483  string m_Primary;
1484  string m_Source_db;
1486  list< CRef< CINSDFeature > > m_Feature_table;
1487  list< CRef< CINSDFeatureSet > > m_Feature_set;
1488  string m_Sequence;
1489  string m_Contig;
1490  list< CRef< CINSDAltSeqData > > m_Alt_seq;
1491  list< CRef< CINSDXref > > m_Xrefs;
1492 };
1493 
1494 /* @} */
1495 
1496 
1497 
1498 
1499 
1500 ///////////////////////////////////////////////////////////
1501 ///////////////////// inline methods //////////////////////
1502 ///////////////////////////////////////////////////////////
1503 inline
1505 {
1506  return ((m_set_State[0] & 0x3) != 0);
1507 }
1508 
1509 inline
1511 {
1512  return IsSetLocus();
1513 }
1514 
1515 inline
1517 {
1518  if (!CanGetLocus()) {
1519  ThrowUnassigned(0);
1520  }
1521  return m_Locus;
1522 }
1523 
1524 inline
1526 {
1527  m_Locus = value;
1528  m_set_State[0] |= 0x3;
1529 }
1530 
1531 inline
1533 {
1534  m_Locus = std::forward<CINSDSeq_Base::TLocus>(value);
1535  m_set_State[0] |= 0x3;
1536 }
1537 
1538 inline
1540 {
1541 #ifdef _DEBUG
1542  if (!IsSetLocus()) {
1544  }
1545 #endif
1546  m_set_State[0] |= 0x1;
1547  return m_Locus;
1548 }
1549 
1550 inline
1552 {
1553  return ((m_set_State[0] & 0xc) != 0);
1554 }
1555 
1556 inline
1558 {
1559  return IsSetLength();
1560 }
1561 
1562 inline
1564 {
1565  m_Length = 0;
1566  m_set_State[0] &= ~0xc;
1567 }
1568 
1569 inline
1571 {
1572  if (!CanGetLength()) {
1573  ThrowUnassigned(1);
1574  }
1575  return m_Length;
1576 }
1577 
1578 inline
1580 {
1581  m_Length = value;
1582  m_set_State[0] |= 0xc;
1583 }
1584 
1585 inline
1587 {
1588 #ifdef _DEBUG
1589  if (!IsSetLength()) {
1590  memset(&m_Length,UnassignedByte(),sizeof(m_Length));
1591  }
1592 #endif
1593  m_set_State[0] |= 0x4;
1594  return m_Length;
1595 }
1596 
1597 inline
1599 {
1600  return ((m_set_State[0] & 0x30) != 0);
1601 }
1602 
1603 inline
1605 {
1606  return IsSetStrandedness();
1607 }
1608 
1609 inline
1611 {
1612  if (!CanGetStrandedness()) {
1613  ThrowUnassigned(2);
1614  }
1615  return m_Strandedness;
1616 }
1617 
1618 inline
1620 {
1622  m_set_State[0] |= 0x30;
1623 }
1624 
1625 inline
1627 {
1628  m_Strandedness = std::forward<CINSDSeq_Base::TStrandedness>(value);
1629  m_set_State[0] |= 0x30;
1630 }
1631 
1632 inline
1634 {
1635 #ifdef _DEBUG
1636  if (!IsSetStrandedness()) {
1638  }
1639 #endif
1640  m_set_State[0] |= 0x10;
1641  return m_Strandedness;
1642 }
1643 
1644 inline
1646 {
1647  return ((m_set_State[0] & 0xc0) != 0);
1648 }
1649 
1650 inline
1652 {
1653  return IsSetMoltype();
1654 }
1655 
1656 inline
1658 {
1659  if (!CanGetMoltype()) {
1660  ThrowUnassigned(3);
1661  }
1662  return m_Moltype;
1663 }
1664 
1665 inline
1667 {
1668  m_Moltype = value;
1669  m_set_State[0] |= 0xc0;
1670 }
1671 
1672 inline
1674 {
1675  m_Moltype = std::forward<CINSDSeq_Base::TMoltype>(value);
1676  m_set_State[0] |= 0xc0;
1677 }
1678 
1679 inline
1681 {
1682 #ifdef _DEBUG
1683  if (!IsSetMoltype()) {
1685  }
1686 #endif
1687  m_set_State[0] |= 0x40;
1688  return m_Moltype;
1689 }
1690 
1691 inline
1693 {
1694  return ((m_set_State[0] & 0x300) != 0);
1695 }
1696 
1697 inline
1699 {
1700  return IsSetTopology();
1701 }
1702 
1703 inline
1705 {
1706  if (!CanGetTopology()) {
1707  ThrowUnassigned(4);
1708  }
1709  return m_Topology;
1710 }
1711 
1712 inline
1714 {
1715  m_Topology = value;
1716  m_set_State[0] |= 0x300;
1717 }
1718 
1719 inline
1721 {
1722  m_Topology = std::forward<CINSDSeq_Base::TTopology>(value);
1723  m_set_State[0] |= 0x300;
1724 }
1725 
1726 inline
1728 {
1729 #ifdef _DEBUG
1730  if (!IsSetTopology()) {
1732  }
1733 #endif
1734  m_set_State[0] |= 0x100;
1735  return m_Topology;
1736 }
1737 
1738 inline
1740 {
1741  return ((m_set_State[0] & 0xc00) != 0);
1742 }
1743 
1744 inline
1746 {
1747  return IsSetDivision();
1748 }
1749 
1750 inline
1752 {
1753  if (!CanGetDivision()) {
1754  ThrowUnassigned(5);
1755  }
1756  return m_Division;
1757 }
1758 
1759 inline
1761 {
1762  m_Division = value;
1763  m_set_State[0] |= 0xc00;
1764 }
1765 
1766 inline
1768 {
1769  m_Division = std::forward<CINSDSeq_Base::TDivision>(value);
1770  m_set_State[0] |= 0xc00;
1771 }
1772 
1773 inline
1775 {
1776 #ifdef _DEBUG
1777  if (!IsSetDivision()) {
1779  }
1780 #endif
1781  m_set_State[0] |= 0x400;
1782  return m_Division;
1783 }
1784 
1785 inline
1787 {
1788  return ((m_set_State[0] & 0x3000) != 0);
1789 }
1790 
1791 inline
1793 {
1794  return IsSetUpdate_date();
1795 }
1796 
1797 inline
1799 {
1800  if (!CanGetUpdate_date()) {
1801  ThrowUnassigned(6);
1802  }
1803  return m_Update_date;
1804 }
1805 
1806 inline
1808 {
1809  m_Update_date = value;
1810  m_set_State[0] |= 0x3000;
1811 }
1812 
1813 inline
1815 {
1816  m_Update_date = std::forward<CINSDSeq_Base::TUpdate_date>(value);
1817  m_set_State[0] |= 0x3000;
1818 }
1819 
1820 inline
1822 {
1823 #ifdef _DEBUG
1824  if (!IsSetUpdate_date()) {
1826  }
1827 #endif
1828  m_set_State[0] |= 0x1000;
1829  return m_Update_date;
1830 }
1831 
1832 inline
1834 {
1835  return ((m_set_State[0] & 0xc000) != 0);
1836 }
1837 
1838 inline
1840 {
1841  return IsSetCreate_date();
1842 }
1843 
1844 inline
1846 {
1847  if (!CanGetCreate_date()) {
1848  ThrowUnassigned(7);
1849  }
1850  return m_Create_date;
1851 }
1852 
1853 inline
1855 {
1856  m_Create_date = value;
1857  m_set_State[0] |= 0xc000;
1858 }
1859 
1860 inline
1862 {
1863  m_Create_date = std::forward<CINSDSeq_Base::TCreate_date>(value);
1864  m_set_State[0] |= 0xc000;
1865 }
1866 
1867 inline
1869 {
1870 #ifdef _DEBUG
1871  if (!IsSetCreate_date()) {
1873  }
1874 #endif
1875  m_set_State[0] |= 0x4000;
1876  return m_Create_date;
1877 }
1878 
1879 inline
1881 {
1882  return ((m_set_State[0] & 0x30000) != 0);
1883 }
1884 
1885 inline
1887 {
1888  return IsSetUpdate_release();
1889 }
1890 
1891 inline
1893 {
1894  if (!CanGetUpdate_release()) {
1895  ThrowUnassigned(8);
1896  }
1897  return m_Update_release;
1898 }
1899 
1900 inline
1902 {
1904  m_set_State[0] |= 0x30000;
1905 }
1906 
1907 inline
1909 {
1910  m_Update_release = std::forward<CINSDSeq_Base::TUpdate_release>(value);
1911  m_set_State[0] |= 0x30000;
1912 }
1913 
1914 inline
1916 {
1917 #ifdef _DEBUG
1918  if (!IsSetUpdate_release()) {
1920  }
1921 #endif
1922  m_set_State[0] |= 0x10000;
1923  return m_Update_release;
1924 }
1925 
1926 inline
1928 {
1929  return ((m_set_State[0] & 0xc0000) != 0);
1930 }
1931 
1932 inline
1934 {
1935  return IsSetCreate_release();
1936 }
1937 
1938 inline
1940 {
1941  if (!CanGetCreate_release()) {
1942  ThrowUnassigned(9);
1943  }
1944  return m_Create_release;
1945 }
1946 
1947 inline
1949 {
1951  m_set_State[0] |= 0xc0000;
1952 }
1953 
1954 inline
1956 {
1957  m_Create_release = std::forward<CINSDSeq_Base::TCreate_release>(value);
1958  m_set_State[0] |= 0xc0000;
1959 }
1960 
1961 inline
1963 {
1964 #ifdef _DEBUG
1965  if (!IsSetCreate_release()) {
1967  }
1968 #endif
1969  m_set_State[0] |= 0x40000;
1970  return m_Create_release;
1971 }
1972 
1973 inline
1975 {
1976  return ((m_set_State[0] & 0x300000) != 0);
1977 }
1978 
1979 inline
1981 {
1982  return IsSetDefinition();
1983 }
1984 
1985 inline
1987 {
1988  if (!CanGetDefinition()) {
1989  ThrowUnassigned(10);
1990  }
1991  return m_Definition;
1992 }
1993 
1994 inline
1996 {
1997  m_Definition = value;
1998  m_set_State[0] |= 0x300000;
1999 }
2000 
2001 inline
2003 {
2004  m_Definition = std::forward<CINSDSeq_Base::TDefinition>(value);
2005  m_set_State[0] |= 0x300000;
2006 }
2007 
2008 inline
2010 {
2011 #ifdef _DEBUG
2012  if (!IsSetDefinition()) {
2014  }
2015 #endif
2016  m_set_State[0] |= 0x100000;
2017  return m_Definition;
2018 }
2019 
2020 inline
2022 {
2023  return ((m_set_State[0] & 0xc00000) != 0);
2024 }
2025 
2026 inline
2028 {
2029  return IsSetPrimary_accession();
2030 }
2031 
2032 inline
2034 {
2035  if (!CanGetPrimary_accession()) {
2036  ThrowUnassigned(11);
2037  }
2038  return m_Primary_accession;
2039 }
2040 
2041 inline
2043 {
2045  m_set_State[0] |= 0xc00000;
2046 }
2047 
2048 inline
2050 {
2051  m_Primary_accession = std::forward<CINSDSeq_Base::TPrimary_accession>(value);
2052  m_set_State[0] |= 0xc00000;
2053 }
2054 
2055 inline
2057 {
2058 #ifdef _DEBUG
2059  if (!IsSetPrimary_accession()) {
2061  }
2062 #endif
2063  m_set_State[0] |= 0x400000;
2064  return m_Primary_accession;
2065 }
2066 
2067 inline
2069 {
2070  return ((m_set_State[0] & 0x3000000) != 0);
2071 }
2072 
2073 inline
2075 {
2076  return IsSetEntry_version();
2077 }
2078 
2079 inline
2081 {
2082  if (!CanGetEntry_version()) {
2083  ThrowUnassigned(12);
2084  }
2085  return m_Entry_version;
2086 }
2087 
2088 inline
2090 {
2092  m_set_State[0] |= 0x3000000;
2093 }
2094 
2095 inline
2097 {
2098  m_Entry_version = std::forward<CINSDSeq_Base::TEntry_version>(value);
2099  m_set_State[0] |= 0x3000000;
2100 }
2101 
2102 inline
2104 {
2105 #ifdef _DEBUG
2106  if (!IsSetEntry_version()) {
2108  }
2109 #endif
2110  m_set_State[0] |= 0x1000000;
2111  return m_Entry_version;
2112 }
2113 
2114 inline
2116 {
2117  return ((m_set_State[0] & 0xc000000) != 0);
2118 }
2119 
2120 inline
2122 {
2123  return IsSetAccession_version();
2124 }
2125 
2126 inline
2128 {
2129  if (!CanGetAccession_version()) {
2130  ThrowUnassigned(13);
2131  }
2132  return m_Accession_version;
2133 }
2134 
2135 inline
2137 {
2139  m_set_State[0] |= 0xc000000;
2140 }
2141 
2142 inline
2144 {
2145  m_Accession_version = std::forward<CINSDSeq_Base::TAccession_version>(value);
2146  m_set_State[0] |= 0xc000000;
2147 }
2148 
2149 inline
2151 {
2152 #ifdef _DEBUG
2153  if (!IsSetAccession_version()) {
2155  }
2156 #endif
2157  m_set_State[0] |= 0x4000000;
2158  return m_Accession_version;
2159 }
2160 
2161 inline
2163 {
2164  return ((m_set_State[0] & 0x30000000) != 0);
2165 }
2166 
2167 inline
2169 {
2170  return true;
2171 }
2172 
2173 inline
2175 {
2176  return m_Other_seqids;
2177 }
2178 
2179 inline
2181 {
2182  m_set_State[0] |= 0x10000000;
2183  return m_Other_seqids;
2184 }
2185 
2186 inline
2188 {
2189  return ((m_set_State[0] & 0xc0000000) != 0);
2190 }
2191 
2192 inline
2194 {
2195  return true;
2196 }
2197 
2198 inline
2200 {
2201  return m_Secondary_accessions;
2202 }
2203 
2204 inline
2206 {
2207  m_set_State[0] |= 0x40000000;
2208  return m_Secondary_accessions;
2209 }
2210 
2211 inline
2213 {
2214  return ((m_set_State[1] & 0x3) != 0);
2215 }
2216 
2217 inline
2219 {
2220  return IsSetProject();
2221 }
2222 
2223 inline
2225 {
2226  if (!CanGetProject()) {
2227  ThrowUnassigned(16);
2228  }
2229  return m_Project;
2230 }
2231 
2232 inline
2234 {
2235  m_Project = value;
2236  m_set_State[1] |= 0x3;
2237 }
2238 
2239 inline
2241 {
2242  m_Project = std::forward<CINSDSeq_Base::TProject>(value);
2243  m_set_State[1] |= 0x3;
2244 }
2245 
2246 inline
2248 {
2249 #ifdef _DEBUG
2250  if (!IsSetProject()) {
2252  }
2253 #endif
2254  m_set_State[1] |= 0x1;
2255  return m_Project;
2256 }
2257 
2258 inline
2260 {
2261  return ((m_set_State[1] & 0xc) != 0);
2262 }
2263 
2264 inline
2266 {
2267  return true;
2268 }
2269 
2270 inline
2272 {
2273  return m_Keywords;
2274 }
2275 
2276 inline
2278 {
2279  m_set_State[1] |= 0x4;
2280  return m_Keywords;
2281 }
2282 
2283 inline
2285 {
2286  return ((m_set_State[1] & 0x30) != 0);
2287 }
2288 
2289 inline
2291 {
2292  return IsSetSegment();
2293 }
2294 
2295 inline
2297 {
2298  if (!CanGetSegment()) {
2299  ThrowUnassigned(18);
2300  }
2301  return m_Segment;
2302 }
2303 
2304 inline
2306 {
2307  m_Segment = value;
2308  m_set_State[1] |= 0x30;
2309 }
2310 
2311 inline
2313 {
2314  m_Segment = std::forward<CINSDSeq_Base::TSegment>(value);
2315  m_set_State[1] |= 0x30;
2316 }
2317 
2318 inline
2320 {
2321 #ifdef _DEBUG
2322  if (!IsSetSegment()) {
2324  }
2325 #endif
2326  m_set_State[1] |= 0x10;
2327  return m_Segment;
2328 }
2329 
2330 inline
2332 {
2333  return ((m_set_State[1] & 0xc0) != 0);
2334 }
2335 
2336 inline
2338 {
2339  return IsSetSource();
2340 }
2341 
2342 inline
2344 {
2345  if (!CanGetSource()) {
2346  ThrowUnassigned(19);
2347  }
2348  return m_Source;
2349 }
2350 
2351 inline
2353 {
2354  m_Source = value;
2355  m_set_State[1] |= 0xc0;
2356 }
2357 
2358 inline
2360 {
2361  m_Source = std::forward<CINSDSeq_Base::TSource>(value);
2362  m_set_State[1] |= 0xc0;
2363 }
2364 
2365 inline
2367 {
2368 #ifdef _DEBUG
2369  if (!IsSetSource()) {
2371  }
2372 #endif
2373  m_set_State[1] |= 0x40;
2374  return m_Source;
2375 }
2376 
2377 inline
2379 {
2380  return ((m_set_State[1] & 0x300) != 0);
2381 }
2382 
2383 inline
2385 {
2386  return IsSetOrganism();
2387 }
2388 
2389 inline
2391 {
2392  if (!CanGetOrganism()) {
2393  ThrowUnassigned(20);
2394  }
2395  return m_Organism;
2396 }
2397 
2398 inline
2400 {
2401  m_Organism = value;
2402  m_set_State[1] |= 0x300;
2403 }
2404 
2405 inline
2407 {
2408  m_Organism = std::forward<CINSDSeq_Base::TOrganism>(value);
2409  m_set_State[1] |= 0x300;
2410 }
2411 
2412 inline
2414 {
2415 #ifdef _DEBUG
2416  if (!IsSetOrganism()) {
2418  }
2419 #endif
2420  m_set_State[1] |= 0x100;
2421  return m_Organism;
2422 }
2423 
2424 inline
2426 {
2427  return ((m_set_State[1] & 0xc00) != 0);
2428 }
2429 
2430 inline
2432 {
2433  return IsSetTaxonomy();
2434 }
2435 
2436 inline
2438 {
2439  if (!CanGetTaxonomy()) {
2440  ThrowUnassigned(21);
2441  }
2442  return m_Taxonomy;
2443 }
2444 
2445 inline
2447 {
2448  m_Taxonomy = value;
2449  m_set_State[1] |= 0xc00;
2450 }
2451 
2452 inline
2454 {
2455  m_Taxonomy = std::forward<CINSDSeq_Base::TTaxonomy>(value);
2456  m_set_State[1] |= 0xc00;
2457 }
2458 
2459 inline
2461 {
2462 #ifdef _DEBUG
2463  if (!IsSetTaxonomy()) {
2465  }
2466 #endif
2467  m_set_State[1] |= 0x400;
2468  return m_Taxonomy;
2469 }
2470 
2471 inline
2473 {
2474  return ((m_set_State[1] & 0x3000) != 0);
2475 }
2476 
2477 inline
2479 {
2480  return true;
2481 }
2482 
2483 inline
2485 {
2486  return m_References;
2487 }
2488 
2489 inline
2491 {
2492  m_set_State[1] |= 0x1000;
2493  return m_References;
2494 }
2495 
2496 inline
2498 {
2499  return ((m_set_State[1] & 0xc000) != 0);
2500 }
2501 
2502 inline
2504 {
2505  return IsSetComment();
2506 }
2507 
2508 inline
2510 {
2511  if (!CanGetComment()) {
2512  ThrowUnassigned(23);
2513  }
2514  return m_Comment;
2515 }
2516 
2517 inline
2519 {
2520  m_Comment = value;
2521  m_set_State[1] |= 0xc000;
2522 }
2523 
2524 inline
2526 {
2527  m_Comment = std::forward<CINSDSeq_Base::TComment>(value);
2528  m_set_State[1] |= 0xc000;
2529 }
2530 
2531 inline
2533 {
2534 #ifdef _DEBUG
2535  if (!IsSetComment()) {
2537  }
2538 #endif
2539  m_set_State[1] |= 0x4000;
2540  return m_Comment;
2541 }
2542 
2543 inline
2545 {
2546  return ((m_set_State[1] & 0x30000) != 0);
2547 }
2548 
2549 inline
2551 {
2552  return true;
2553 }
2554 
2555 inline
2557 {
2558  return m_Comment_set;
2559 }
2560 
2561 inline
2563 {
2564  m_set_State[1] |= 0x10000;
2565  return m_Comment_set;
2566 }
2567 
2568 inline
2570 {
2571  return ((m_set_State[1] & 0xc0000) != 0);
2572 }
2573 
2574 inline
2576 {
2577  return true;
2578 }
2579 
2580 inline
2582 {
2583  return m_Struc_comments;
2584 }
2585 
2586 inline
2588 {
2589  m_set_State[1] |= 0x40000;
2590  return m_Struc_comments;
2591 }
2592 
2593 inline
2595 {
2596  return ((m_set_State[1] & 0x300000) != 0);
2597 }
2598 
2599 inline
2601 {
2602  return IsSetPrimary();
2603 }
2604 
2605 inline
2607 {
2608  if (!CanGetPrimary()) {
2609  ThrowUnassigned(26);
2610  }
2611  return m_Primary;
2612 }
2613 
2614 inline
2616 {
2617  m_Primary = value;
2618  m_set_State[1] |= 0x300000;
2619 }
2620 
2621 inline
2623 {
2624  m_Primary = std::forward<CINSDSeq_Base::TPrimary>(value);
2625  m_set_State[1] |= 0x300000;
2626 }
2627 
2628 inline
2630 {
2631 #ifdef _DEBUG
2632  if (!IsSetPrimary()) {
2634  }
2635 #endif
2636  m_set_State[1] |= 0x100000;
2637  return m_Primary;
2638 }
2639 
2640 inline
2642 {
2643  return ((m_set_State[1] & 0xc00000) != 0);
2644 }
2645 
2646 inline
2648 {
2649  return IsSetSource_db();
2650 }
2651 
2652 inline
2654 {
2655  if (!CanGetSource_db()) {
2656  ThrowUnassigned(27);
2657  }
2658  return m_Source_db;
2659 }
2660 
2661 inline
2663 {
2664  m_Source_db = value;
2665  m_set_State[1] |= 0xc00000;
2666 }
2667 
2668 inline
2670 {
2671  m_Source_db = std::forward<CINSDSeq_Base::TSource_db>(value);
2672  m_set_State[1] |= 0xc00000;
2673 }
2674 
2675 inline
2677 {
2678 #ifdef _DEBUG
2679  if (!IsSetSource_db()) {
2681  }
2682 #endif
2683  m_set_State[1] |= 0x400000;
2684  return m_Source_db;
2685 }
2686 
2687 inline
2689 {
2690  return ((m_set_State[1] & 0x3000000) != 0);
2691 }
2692 
2693 inline
2695 {
2696  return IsSetDatabase_reference();
2697 }
2698 
2699 inline
2701 {
2702  if (!CanGetDatabase_reference()) {
2703  ThrowUnassigned(28);
2704  }
2705  return m_Database_reference;
2706 }
2707 
2708 inline
2710 {
2712  m_set_State[1] |= 0x3000000;
2713 }
2714 
2715 inline
2717 {
2718  m_Database_reference = std::forward<CINSDSeq_Base::TDatabase_reference>(value);
2719  m_set_State[1] |= 0x3000000;
2720 }
2721 
2722 inline
2724 {
2725 #ifdef _DEBUG
2726  if (!IsSetDatabase_reference()) {
2728  }
2729 #endif
2730  m_set_State[1] |= 0x1000000;
2731  return m_Database_reference;
2732 }
2733 
2734 inline
2736 {
2737  return ((m_set_State[1] & 0xc000000) != 0);
2738 }
2739 
2740 inline
2742 {
2743  return true;
2744 }
2745 
2746 inline
2748 {
2749  return m_Feature_table;
2750 }
2751 
2752 inline
2754 {
2755  m_set_State[1] |= 0x4000000;
2756  return m_Feature_table;
2757 }
2758 
2759 inline
2761 {
2762  return ((m_set_State[1] & 0x30000000) != 0);
2763 }
2764 
2765 inline
2767 {
2768  return true;
2769 }
2770 
2771 inline
2773 {
2774  return m_Feature_set;
2775 }
2776 
2777 inline
2779 {
2780  m_set_State[1] |= 0x10000000;
2781  return m_Feature_set;
2782 }
2783 
2784 inline
2786 {
2787  return ((m_set_State[1] & 0xc0000000) != 0);
2788 }
2789 
2790 inline
2792 {
2793  return IsSetSequence();
2794 }
2795 
2796 inline
2798 {
2799  if (!CanGetSequence()) {
2800  ThrowUnassigned(31);
2801  }
2802  return m_Sequence;
2803 }
2804 
2805 inline
2807 {
2808  m_Sequence = value;
2809  m_set_State[1] |= 0xc0000000;
2810 }
2811 
2812 inline
2814 {
2815  m_Sequence = std::forward<CINSDSeq_Base::TSequence>(value);
2816  m_set_State[1] |= 0xc0000000;
2817 }
2818 
2819 inline
2821 {
2822 #ifdef _DEBUG
2823  if (!IsSetSequence()) {
2825  }
2826 #endif
2827  m_set_State[1] |= 0x40000000;
2828  return m_Sequence;
2829 }
2830 
2831 inline
2833 {
2834  return ((m_set_State[2] & 0x3) != 0);
2835 }
2836 
2837 inline
2839 {
2840  return IsSetContig();
2841 }
2842 
2843 inline
2845 {
2846  if (!CanGetContig()) {
2847  ThrowUnassigned(32);
2848  }
2849  return m_Contig;
2850 }
2851 
2852 inline
2854 {
2855  m_Contig = value;
2856  m_set_State[2] |= 0x3;
2857 }
2858 
2859 inline
2861 {
2862  m_Contig = std::forward<CINSDSeq_Base::TContig>(value);
2863  m_set_State[2] |= 0x3;
2864 }
2865 
2866 inline
2868 {
2869 #ifdef _DEBUG
2870  if (!IsSetContig()) {
2872  }
2873 #endif
2874  m_set_State[2] |= 0x1;
2875  return m_Contig;
2876 }
2877 
2878 inline
2880 {
2881  return ((m_set_State[2] & 0xc) != 0);
2882 }
2883 
2884 inline
2886 {
2887  return true;
2888 }
2889 
2890 inline
2892 {
2893  return m_Alt_seq;
2894 }
2895 
2896 inline
2898 {
2899  m_set_State[2] |= 0x4;
2900  return m_Alt_seq;
2901 }
2902 
2903 inline
2905 {
2906  return ((m_set_State[2] & 0x30) != 0);
2907 }
2908 
2909 inline
2911 {
2912  return true;
2913 }
2914 
2915 inline
2917 {
2918  return m_Xrefs;
2919 }
2920 
2921 inline
2923 {
2924  m_set_State[2] |= 0x10;
2925  return m_Xrefs;
2926 }
2927 
2928 ///////////////////////////////////////////////////////////
2929 ////////////////// end of inline methods //////////////////
2930 ///////////////////////////////////////////////////////////
2931 
2932 
2933 
2934 
2935 
2936 END_objects_SCOPE // namespace ncbi::objects::
2937 
2939 
2940 
2941 #endif // OBJECTS_INSDSEQ_INSDSEQ_BASE_HPP
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
CINSDAltSeqData –.
CINSDComment –.
Definition: INSDComment.hpp:66
CINSDFeatureSet –.
CINSDFeature –.
Definition: INSDFeature.hpp:66
CINSDReference –.
CINSDSeq_Base –.
Definition: INSDSeq_.hpp:87
CINSDStrucComment –.
CINSDXref –.
Definition: INSDXref.hpp:66
Base class for all serializable objects.
Definition: serialbase.hpp:150
char value[7]
Definition: config.c:431
static void GetSegment(char *str, IndexblkPtr entry)
Definition: gb_index.cpp:158
SBlastSequence GetSequence(const objects::CSeq_loc &sl, EBlastEncoding encoding, objects::CScope *scope, objects::ENa_strand strand=objects::eNa_strand_plus, ESentinelType sentinel=eSentinels, std::string *warnings=NULL)
Retrieves a sequence using the object manager.
unsigned int TSeqPos
Type for sequence locations and lengths.
Definition: ncbimisc.hpp:875
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
Definition: serialbase.hpp:175
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
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
#define NCBI_INSDSEQ_EXPORT
Definition: ncbi_export.h:568
TSegment & SetSegment(void)
Assign a value to Segment data member.
Definition: INSDSeq_.hpp:2319
bool IsSetEntry_version(void) const
Check if a value has been assigned to Entry_version data member.
Definition: INSDSeq_.hpp:2068
TDivision & SetDivision(void)
Assign a value to Division data member.
Definition: INSDSeq_.hpp:1774
bool CanGetSource_db(void) const
Check if it is safe to call GetSource_db method.
Definition: INSDSeq_.hpp:2647
string TComment
Definition: INSDSeq_.hpp:122
string m_Topology
Definition: INSDSeq_.hpp:1461
const TComment & GetComment(void) const
Get the Comment member data.
Definition: INSDSeq_.hpp:2509
Tparent::CMemberIndex< E_memberIndex, 36 > TmemberIndex
Definition: INSDSeq_.hpp:174
TTaxonomy & SetTaxonomy(void)
Assign a value to Taxonomy data member.
Definition: INSDSeq_.hpp:2460
bool IsSetDatabase_reference(void) const
Check if a value has been assigned to Database_reference data member.
Definition: INSDSeq_.hpp:2688
TKeywords & SetKeywords(void)
Assign a value to Keywords data member.
Definition: INSDSeq_.hpp:2277
TXrefs & SetXrefs(void)
Assign a value to Xrefs data member.
Definition: INSDSeq_.hpp:2922
string m_Project
Definition: INSDSeq_.hpp:1473
const TCreate_date & GetCreate_date(void) const
Get the Create_date member data.
Definition: INSDSeq_.hpp:1845
string TStrandedness
Definition: INSDSeq_.hpp:101
TDatabase_reference & SetDatabase_reference(void)
Assign a value to Database_reference data member.
Definition: INSDSeq_.hpp:2723
bool IsSetContig(void) const
Check if a value has been assigned to Contig data member.
Definition: INSDSeq_.hpp:2832
bool CanGetAccession_version(void) const
Check if it is safe to call GetAccession_version method.
Definition: INSDSeq_.hpp:2121
bool CanGetPrimary(void) const
Check if it is safe to call GetPrimary method.
Definition: INSDSeq_.hpp:2600
bool CanGetComment(void) const
Check if it is safe to call GetComment method.
Definition: INSDSeq_.hpp:2503
const TReferences & GetReferences(void) const
Get the References member data.
Definition: INSDSeq_.hpp:2484
bool CanGetReferences(void) const
Check if it is safe to call GetReferences method.
Definition: INSDSeq_.hpp:2478
const TSecondary_accessions & GetSecondary_accessions(void) const
Get the Secondary_accessions member data.
Definition: INSDSeq_.hpp:2199
bool CanGetSegment(void) const
Check if it is safe to call GetSegment method.
Definition: INSDSeq_.hpp:2290
Uint4 m_set_State[3]
Definition: INSDSeq_.hpp:1456
bool IsSetAlt_seq(void) const
Check if a value has been assigned to Alt_seq data member.
Definition: INSDSeq_.hpp:2879
bool IsSetPrimary_accession(void) const
Check if a value has been assigned to Primary_accession data member.
Definition: INSDSeq_.hpp:2021
bool IsSetSource_db(void) const
Check if a value has been assigned to Source_db data member.
Definition: INSDSeq_.hpp:2641
string TDatabase_reference
Definition: INSDSeq_.hpp:127
bool IsSetKeywords(void) const
Check if a value has been assigned to Keywords data member.
Definition: INSDSeq_.hpp:2259
const TUpdate_date & GetUpdate_date(void) const
Get the Update_date member data.
Definition: INSDSeq_.hpp:1798
list< CRef< CINSDComment > > TComment_set
Definition: INSDSeq_.hpp:123
list< CRef< CINSDComment > > m_Comment_set
Definition: INSDSeq_.hpp:1481
bool IsSetComment_set(void) const
Check if a value has been assigned to Comment_set data member.
Definition: INSDSeq_.hpp:2544
string m_Database_reference
Definition: INSDSeq_.hpp:1485
bool IsSetLocus(void) const
Check if a value has been assigned to Locus data member.
Definition: INSDSeq_.hpp:1504
const TUpdate_release & GetUpdate_release(void) const
Get the Update_release member data.
Definition: INSDSeq_.hpp:1892
string TDefinition
Definition: INSDSeq_.hpp:109
CSerialObject Tparent
Definition: INSDSeq_.hpp:88
TCreate_release & SetCreate_release(void)
Assign a value to Create_release data member.
Definition: INSDSeq_.hpp:1962
string TDivision
Definition: INSDSeq_.hpp:104
string m_Accession_version
Definition: INSDSeq_.hpp:1470
list< CINSDSecondary_accn > TSecondary_accessions
Definition: INSDSeq_.hpp:114
bool IsSetMoltype(void) const
Check if a value has been assigned to Moltype data member.
Definition: INSDSeq_.hpp:1645
const TFeature_table & GetFeature_table(void) const
Get the Feature_table member data.
Definition: INSDSeq_.hpp:2747
list< CRef< CINSDFeature > > m_Feature_table
Definition: INSDSeq_.hpp:1486
bool IsSetDivision(void) const
Check if a value has been assigned to Division data member.
Definition: INSDSeq_.hpp:1739
string TContig
Definition: INSDSeq_.hpp:131
string m_Locus
Definition: INSDSeq_.hpp:1457
const TEntry_version & GetEntry_version(void) const
Get the Entry_version member data.
Definition: INSDSeq_.hpp:2080
string TTaxonomy
Definition: INSDSeq_.hpp:120
list< CRef< CINSDXref > > TXrefs
Definition: INSDSeq_.hpp:133
bool CanGetPrimary_accession(void) const
Check if it is safe to call GetPrimary_accession method.
Definition: INSDSeq_.hpp:2027
bool IsSetTaxonomy(void) const
Check if a value has been assigned to Taxonomy data member.
Definition: INSDSeq_.hpp:2425
const TCreate_release & GetCreate_release(void) const
Get the Create_release member data.
Definition: INSDSeq_.hpp:1939
bool CanGetDivision(void) const
Check if it is safe to call GetDivision method.
Definition: INSDSeq_.hpp:1745
bool CanGetDefinition(void) const
Check if it is safe to call GetDefinition method.
Definition: INSDSeq_.hpp:1980
bool CanGetEntry_version(void) const
Check if it is safe to call GetEntry_version method.
Definition: INSDSeq_.hpp:2074
const TPrimary_accession & GetPrimary_accession(void) const
Get the Primary_accession member data.
Definition: INSDSeq_.hpp:2033
bool IsSetSource(void) const
Check if a value has been assigned to Source data member.
Definition: INSDSeq_.hpp:2331
const TOrganism & GetOrganism(void) const
Get the Organism member data.
Definition: INSDSeq_.hpp:2390
bool IsSetReferences(void) const
Check if a value has been assigned to References data member.
Definition: INSDSeq_.hpp:2472
const TSegment & GetSegment(void) const
Get the Segment member data.
Definition: INSDSeq_.hpp:2296
bool CanGetSource(void) const
Check if it is safe to call GetSource method.
Definition: INSDSeq_.hpp:2337
string TUpdate_date
Definition: INSDSeq_.hpp:105
bool CanGetSequence(void) const
Check if it is safe to call GetSequence method.
Definition: INSDSeq_.hpp:2791
string m_Primary
Definition: INSDSeq_.hpp:1483
const TTaxonomy & GetTaxonomy(void) const
Get the Taxonomy member data.
Definition: INSDSeq_.hpp:2437
TOrganism & SetOrganism(void)
Assign a value to Organism data member.
Definition: INSDSeq_.hpp:2413
string TTopology
Definition: INSDSeq_.hpp:103
TSeqPos m_Length
Definition: INSDSeq_.hpp:1458
string TCreate_release
Definition: INSDSeq_.hpp:108
list< CINSDSecondary_accn > m_Secondary_accessions
Definition: INSDSeq_.hpp:1472
bool CanGetXrefs(void) const
Check if it is safe to call GetXrefs method.
Definition: INSDSeq_.hpp:2910
string TPrimary
Definition: INSDSeq_.hpp:125
TAlt_seq & SetAlt_seq(void)
Assign a value to Alt_seq data member.
Definition: INSDSeq_.hpp:2897
string m_Create_date
Definition: INSDSeq_.hpp:1464
TSeqPos TLength
Definition: INSDSeq_.hpp:100
bool IsSetStruc_comments(void) const
Check if a value has been assigned to Struc_comments data member.
Definition: INSDSeq_.hpp:2569
string m_Update_release
Definition: INSDSeq_.hpp:1465
const TComment_set & GetComment_set(void) const
Get the Comment_set member data.
Definition: INSDSeq_.hpp:2556
TSecondary_accessions & SetSecondary_accessions(void)
Assign a value to Secondary_accessions data member.
Definition: INSDSeq_.hpp:2205
TLength GetLength(void) const
Get the Length member data.
Definition: INSDSeq_.hpp:1570
list< CINSDSeqid > m_Other_seqids
Definition: INSDSeq_.hpp:1471
bool CanGetMoltype(void) const
Check if it is safe to call GetMoltype method.
Definition: INSDSeq_.hpp:1651
const TMoltype & GetMoltype(void) const
Get the Moltype member data.
Definition: INSDSeq_.hpp:1657
CINSDSeq_Base & operator=(const CINSDSeq_Base &)
bool IsSetProject(void) const
INSDSeq_project has been deprecated in favor of INSDSeq_xrefs .
Definition: INSDSeq_.hpp:2212
const TDatabase_reference & GetDatabase_reference(void) const
Get the Database_reference member data.
Definition: INSDSeq_.hpp:2700
bool IsSetCreate_date(void) const
Check if a value has been assigned to Create_date data member.
Definition: INSDSeq_.hpp:1833
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetStrandedness(void) const
Check if it is safe to call GetStrandedness method.
Definition: INSDSeq_.hpp:1604
TPrimary & SetPrimary(void)
Assign a value to Primary data member.
Definition: INSDSeq_.hpp:2629
bool CanGetContig(void) const
Check if it is safe to call GetContig method.
Definition: INSDSeq_.hpp:2838
bool CanGetUpdate_date(void) const
Check if it is safe to call GetUpdate_date method.
Definition: INSDSeq_.hpp:1792
const TContig & GetContig(void) const
Get the Contig member data.
Definition: INSDSeq_.hpp:2844
TLength & SetLength(void)
Assign a value to Length data member.
Definition: INSDSeq_.hpp:1586
list< CRef< CINSDXref > > m_Xrefs
Definition: INSDSeq_.hpp:1491
string TEntry_version
Definition: INSDSeq_.hpp:111
string m_Update_date
Definition: INSDSeq_.hpp:1463
TMoltype & SetMoltype(void)
Assign a value to Moltype data member.
Definition: INSDSeq_.hpp:1680
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
Definition: INSDSeq_.hpp:1557
const TLocus & GetLocus(void) const
Get the Locus member data.
Definition: INSDSeq_.hpp:1516
bool CanGetUpdate_release(void) const
Check if it is safe to call GetUpdate_release method.
Definition: INSDSeq_.hpp:1886
const TPrimary & GetPrimary(void) const
Get the Primary member data.
Definition: INSDSeq_.hpp:2606
bool IsSetFeature_set(void) const
Check if a value has been assigned to Feature_set data member.
Definition: INSDSeq_.hpp:2760
string TSource
Definition: INSDSeq_.hpp:118
string m_Create_release
Definition: INSDSeq_.hpp:1466
const TXrefs & GetXrefs(void) const
Get the Xrefs member data.
Definition: INSDSeq_.hpp:2916
bool IsSetComment(void) const
Check if a value has been assigned to Comment data member.
Definition: INSDSeq_.hpp:2497
TFeature_table & SetFeature_table(void)
Assign a value to Feature_table data member.
Definition: INSDSeq_.hpp:2753
TOther_seqids & SetOther_seqids(void)
Assign a value to Other_seqids data member.
Definition: INSDSeq_.hpp:2180
string TSource_db
Definition: INSDSeq_.hpp:126
list< CRef< CINSDReference > > m_References
Definition: INSDSeq_.hpp:1479
TSource & SetSource(void)
Assign a value to Source data member.
Definition: INSDSeq_.hpp:2366
bool CanGetProject(void) const
Check if it is safe to call GetProject method.
Definition: INSDSeq_.hpp:2218
const TSource & GetSource(void) const
Get the Source member data.
Definition: INSDSeq_.hpp:2343
const TSequence & GetSequence(void) const
Get the Sequence member data.
Definition: INSDSeq_.hpp:2797
bool IsSetOrganism(void) const
Check if a value has been assigned to Organism data member.
Definition: INSDSeq_.hpp:2378
bool IsSetFeature_table(void) const
Check if a value has been assigned to Feature_table data member.
Definition: INSDSeq_.hpp:2735
TAccession_version & SetAccession_version(void)
Assign a value to Accession_version data member.
Definition: INSDSeq_.hpp:2150
bool CanGetLocus(void) const
Check if it is safe to call GetLocus method.
Definition: INSDSeq_.hpp:1510
string m_Segment
Definition: INSDSeq_.hpp:1475
list< CINSDKeyword > m_Keywords
Definition: INSDSeq_.hpp:1474
const TStruc_comments & GetStruc_comments(void) const
Get the Struc_comments member data.
Definition: INSDSeq_.hpp:2581
TCreate_date & SetCreate_date(void)
Assign a value to Create_date data member.
Definition: INSDSeq_.hpp:1868
string m_Primary_accession
Definition: INSDSeq_.hpp:1468
string m_Contig
Definition: INSDSeq_.hpp:1489
string TPrimary_accession
Definition: INSDSeq_.hpp:110
list< CRef< CINSDStrucComment > > TStruc_comments
Definition: INSDSeq_.hpp:124
TContig & SetContig(void)
Assign a value to Contig data member.
Definition: INSDSeq_.hpp:2867
TPrimary_accession & SetPrimary_accession(void)
Assign a value to Primary_accession data member.
Definition: INSDSeq_.hpp:2056
TLocus & SetLocus(void)
Assign a value to Locus data member.
Definition: INSDSeq_.hpp:1539
bool IsSetSequence(void) const
Optional for contig, wgs, etc.
Definition: INSDSeq_.hpp:2785
list< CRef< CINSDFeatureSet > > m_Feature_set
Definition: INSDSeq_.hpp:1487
bool IsSetDefinition(void) const
Check if a value has been assigned to Definition data member.
Definition: INSDSeq_.hpp:1974
string m_Source
Definition: INSDSeq_.hpp:1476
TUpdate_date & SetUpdate_date(void)
Assign a value to Update_date data member.
Definition: INSDSeq_.hpp:1821
string m_Source_db
Definition: INSDSeq_.hpp:1484
bool IsSetXrefs(void) const
INSDSeq_xrefs provides cross-references from a sequence record to other database resources.
Definition: INSDSeq_.hpp:2904
bool CanGetFeature_set(void) const
Check if it is safe to call GetFeature_set method.
Definition: INSDSeq_.hpp:2766
bool IsSetLength(void) const
Check if a value has been assigned to Length data member.
Definition: INSDSeq_.hpp:1551
string TSequence
Definition: INSDSeq_.hpp:130
bool CanGetOrganism(void) const
Check if it is safe to call GetOrganism method.
Definition: INSDSeq_.hpp:2384
const TFeature_set & GetFeature_set(void) const
Get the Feature_set member data.
Definition: INSDSeq_.hpp:2772
const TAccession_version & GetAccession_version(void) const
Get the Accession_version member data.
Definition: INSDSeq_.hpp:2127
list< CRef< CINSDFeature > > TFeature_table
Definition: INSDSeq_.hpp:128
const TDivision & GetDivision(void) const
Get the Division member data.
Definition: INSDSeq_.hpp:1751
bool CanGetFeature_table(void) const
Check if it is safe to call GetFeature_table method.
Definition: INSDSeq_.hpp:2741
bool IsSetUpdate_release(void) const
Check if a value has been assigned to Update_release data member.
Definition: INSDSeq_.hpp:1880
bool IsSetSecondary_accessions(void) const
Check if a value has been assigned to Secondary_accessions data member.
Definition: INSDSeq_.hpp:2187
string m_Sequence
Definition: INSDSeq_.hpp:1488
const TAlt_seq & GetAlt_seq(void) const
Get the Alt_seq member data.
Definition: INSDSeq_.hpp:2891
TComment_set & SetComment_set(void)
Assign a value to Comment_set data member.
Definition: INSDSeq_.hpp:2562
bool CanGetCreate_date(void) const
Check if it is safe to call GetCreate_date method.
Definition: INSDSeq_.hpp:1839
const TStrandedness & GetStrandedness(void) const
Get the Strandedness member data.
Definition: INSDSeq_.hpp:1610
list< CINSDKeyword > TKeywords
Definition: INSDSeq_.hpp:116
const TTopology & GetTopology(void) const
Get the Topology member data.
Definition: INSDSeq_.hpp:1704
bool IsSetTopology(void) const
Check if a value has been assigned to Topology data member.
Definition: INSDSeq_.hpp:1692
TUpdate_release & SetUpdate_release(void)
Assign a value to Update_release data member.
Definition: INSDSeq_.hpp:1915
bool CanGetOther_seqids(void) const
Check if it is safe to call GetOther_seqids method.
Definition: INSDSeq_.hpp:2168
string TAccession_version
Definition: INSDSeq_.hpp:112
bool CanGetAlt_seq(void) const
Check if it is safe to call GetAlt_seq method.
Definition: INSDSeq_.hpp:2885
list< CRef< CINSDAltSeqData > > TAlt_seq
Definition: INSDSeq_.hpp:132
const TSource_db & GetSource_db(void) const
Get the Source_db member data.
Definition: INSDSeq_.hpp:2653
TComment & SetComment(void)
Assign a value to Comment data member.
Definition: INSDSeq_.hpp:2532
bool IsSetUpdate_date(void) const
Check if a value has been assigned to Update_date data member.
Definition: INSDSeq_.hpp:1786
bool CanGetStruc_comments(void) const
Check if it is safe to call GetStruc_comments method.
Definition: INSDSeq_.hpp:2575
string m_Organism
Definition: INSDSeq_.hpp:1477
TStrandedness & SetStrandedness(void)
Assign a value to Strandedness data member.
Definition: INSDSeq_.hpp:1633
string TProject
Definition: INSDSeq_.hpp:115
list< CINSDSeqid > TOther_seqids
Definition: INSDSeq_.hpp:113
string TSegment
Definition: INSDSeq_.hpp:117
string TMoltype
Definition: INSDSeq_.hpp:102
TSource_db & SetSource_db(void)
Assign a value to Source_db data member.
Definition: INSDSeq_.hpp:2676
bool IsSetStrandedness(void) const
Check if a value has been assigned to Strandedness data member.
Definition: INSDSeq_.hpp:1598
string m_Strandedness
Definition: INSDSeq_.hpp:1459
void ResetLength(void)
Reset Length data member.
Definition: INSDSeq_.hpp:1563
bool CanGetTopology(void) const
Check if it is safe to call GetTopology method.
Definition: INSDSeq_.hpp:1698
string m_Entry_version
Definition: INSDSeq_.hpp:1469
bool CanGetKeywords(void) const
Check if it is safe to call GetKeywords method.
Definition: INSDSeq_.hpp:2265
string TUpdate_release
Definition: INSDSeq_.hpp:107
bool IsSetCreate_release(void) const
Check if a value has been assigned to Create_release data member.
Definition: INSDSeq_.hpp:1927
bool CanGetSecondary_accessions(void) const
Check if it is safe to call GetSecondary_accessions method.
Definition: INSDSeq_.hpp:2193
CINSDSeq_Base(const CINSDSeq_Base &)
list< CRef< CINSDAltSeqData > > m_Alt_seq
Definition: INSDSeq_.hpp:1490
list< CRef< CINSDFeatureSet > > TFeature_set
Definition: INSDSeq_.hpp:129
bool CanGetDatabase_reference(void) const
Check if it is safe to call GetDatabase_reference method.
Definition: INSDSeq_.hpp:2694
string TOrganism
Definition: INSDSeq_.hpp:119
bool IsSetSegment(void) const
Check if a value has been assigned to Segment data member.
Definition: INSDSeq_.hpp:2284
string m_Definition
Definition: INSDSeq_.hpp:1467
const TDefinition & GetDefinition(void) const
Get the Definition member data.
Definition: INSDSeq_.hpp:1986
TTopology & SetTopology(void)
Assign a value to Topology data member.
Definition: INSDSeq_.hpp:1727
list< CRef< CINSDReference > > TReferences
Definition: INSDSeq_.hpp:121
string m_Comment
Definition: INSDSeq_.hpp:1480
TDefinition & SetDefinition(void)
Assign a value to Definition data member.
Definition: INSDSeq_.hpp:2009
TFeature_set & SetFeature_set(void)
Assign a value to Feature_set data member.
Definition: INSDSeq_.hpp:2778
string m_Division
Definition: INSDSeq_.hpp:1462
bool CanGetComment_set(void) const
Check if it is safe to call GetComment_set method.
Definition: INSDSeq_.hpp:2550
string TLocus
Definition: INSDSeq_.hpp:99
const TKeywords & GetKeywords(void) const
Get the Keywords member data.
Definition: INSDSeq_.hpp:2271
TStruc_comments & SetStruc_comments(void)
Assign a value to Struc_comments data member.
Definition: INSDSeq_.hpp:2587
bool CanGetTaxonomy(void) const
Check if it is safe to call GetTaxonomy method.
Definition: INSDSeq_.hpp:2431
bool CanGetCreate_release(void) const
Check if it is safe to call GetCreate_release method.
Definition: INSDSeq_.hpp:1933
bool IsSetPrimary(void) const
Check if a value has been assigned to Primary data member.
Definition: INSDSeq_.hpp:2594
TProject & SetProject(void)
Assign a value to Project data member.
Definition: INSDSeq_.hpp:2247
string m_Moltype
Definition: INSDSeq_.hpp:1460
TEntry_version & SetEntry_version(void)
Assign a value to Entry_version data member.
Definition: INSDSeq_.hpp:2103
bool IsSetOther_seqids(void) const
Check if a value has been assigned to Other_seqids data member.
Definition: INSDSeq_.hpp:2162
TSequence & SetSequence(void)
Assign a value to Sequence data member.
Definition: INSDSeq_.hpp:2820
bool IsSetAccession_version(void) const
Check if a value has been assigned to Accession_version data member.
Definition: INSDSeq_.hpp:2115
string m_Taxonomy
Definition: INSDSeq_.hpp:1478
string TCreate_date
Definition: INSDSeq_.hpp:106
TReferences & SetReferences(void)
Assign a value to References data member.
Definition: INSDSeq_.hpp:2490
const TOther_seqids & GetOther_seqids(void) const
Get the Other_seqids member data.
Definition: INSDSeq_.hpp:2174
const TProject & GetProject(void) const
Get the Project member data.
Definition: INSDSeq_.hpp:2224
list< CRef< CINSDStrucComment > > m_Struc_comments
Definition: INSDSeq_.hpp:1482
CProject * GetProject(wxTreeCtrl &treeCtrl, const CItem &item)
Definition: pt_utils.cpp:77
Modified on Tue Dec 05 02:21:52 2023 by modify_doxy.py rev. 669887