NCBI C++ ToolKit
GBSeq_.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 GBSeq_.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/gbseq/gbseq.asn">gbseq.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/gbseq/gbseq.def">gbseq.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_GBSEQ_GBSEQ_BASE_HPP
42 #define OBJECTS_GBSEQ_GBSEQ_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 CGBAltSeqData;
65 class CGBComment;
66 class CGBFeature;
67 class CGBFeatureSet;
68 class CGBReference;
69 class CGBStrucComment;
70 class CGBXref;
71 
72 
73 // generated classes
74 
75 
76 /** @addtogroup dataspec_NCBI_GBSeq
77  *
78  * @{
79  */
80 
81 /////////////////////////////////////////////////////////////////////////////
82 ///
83 /// CGBSeq_Base --
84 ///
85 
87 {
89 public:
90  // constructor
91  CGBSeq_Base(void);
92  // destructor
93  virtual ~CGBSeq_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< CGBSeqid > TOther_seqids;
114  typedef list< CGBSecondary_accn > TSecondary_accessions;
115  typedef string TProject;
116  typedef list< CGBKeyword > TKeywords;
117  typedef string TSegment;
118  typedef string TSource;
119  typedef string TOrganism;
120  typedef string TTaxonomy;
121  typedef list< CRef< CGBReference > > TReferences;
122  typedef string TComment;
123  typedef list< CRef< CGBComment > > TComment_set;
124  typedef list< CRef< CGBStrucComment > > TStruc_comments;
125  typedef string TPrimary;
126  typedef string TSource_db;
127  typedef string TDatabase_reference;
128  typedef list< CRef< CGBFeature > > TFeature_table;
129  typedef list< CRef< CGBFeatureSet > > TFeature_set;
130  typedef string TSequence;
131  typedef string TContig;
132  typedef list< CRef< CGBAltSeqData > > TAlt_seq;
133  typedef list< CRef< CGBXref > > 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< CGBSeqid > 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< CGBSecondary_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  /// Check if a value has been assigned to Project data member.
773  ///
774  /// Data member Project is optional;
775  /// its type is defined as 'typedef string TProject'
776  /// @return
777  /// - true, if a value has been assigned.
778  /// - false, otherwise.
779  bool IsSetProject(void) const;
780 
781  /// Check if it is safe to call GetProject method.
782  ///
783  /// @return
784  /// - true, if the data member is getatable.
785  /// - false, otherwise.
786  bool CanGetProject(void) const;
787 
788  /// Reset Project data member.
789  void ResetProject(void);
790 
791  /// Get the Project member data.
792  ///
793  /// @return
794  /// Reference to the member data.
795  const TProject& GetProject(void) const;
796 
797  /// Assign a value to Project data member.
798  ///
799  /// @param value
800  /// Value to assign
801  void SetProject(const TProject& value);
802  void SetProject(TProject&& value);
803 
804  /// Assign a value to Project data member.
805  ///
806  /// @return
807  /// Reference to the data value.
808  TProject& SetProject(void);
809 
810  /// Check if a value has been assigned to Keywords data member.
811  ///
812  /// Data member Keywords is optional;
813  /// its type is defined as 'typedef list< CGBKeyword > TKeywords'
814  /// @return
815  /// - true, if a value has been assigned.
816  /// - false, otherwise.
817  bool IsSetKeywords(void) const;
818 
819  /// Check if it is safe to call GetKeywords method.
820  ///
821  /// @return
822  /// - true, if the data member is getatable.
823  /// - false, otherwise.
824  bool CanGetKeywords(void) const;
825 
826  /// Reset Keywords data member.
827  void ResetKeywords(void);
828 
829  /// Get the Keywords member data.
830  ///
831  /// @return
832  /// Reference to the member data.
833  const TKeywords& GetKeywords(void) const;
834 
835  /// Assign a value to Keywords data member.
836  ///
837  /// @return
838  /// Reference to the data value.
839  TKeywords& SetKeywords(void);
840 
841  /// Check if a value has been assigned to Segment data member.
842  ///
843  /// Data member Segment is optional;
844  /// its type is defined as 'typedef string TSegment'
845  /// @return
846  /// - true, if a value has been assigned.
847  /// - false, otherwise.
848  bool IsSetSegment(void) const;
849 
850  /// Check if it is safe to call GetSegment method.
851  ///
852  /// @return
853  /// - true, if the data member is getatable.
854  /// - false, otherwise.
855  bool CanGetSegment(void) const;
856 
857  /// Reset Segment data member.
858  void ResetSegment(void);
859 
860  /// Get the Segment member data.
861  ///
862  /// @return
863  /// Reference to the member data.
864  const TSegment& GetSegment(void) const;
865 
866  /// Assign a value to Segment data member.
867  ///
868  /// @param value
869  /// Value to assign
870  void SetSegment(const TSegment& value);
871  void SetSegment(TSegment&& value);
872 
873  /// Assign a value to Segment data member.
874  ///
875  /// @return
876  /// Reference to the data value.
877  TSegment& SetSegment(void);
878 
879  /// Check if a value has been assigned to Source data member.
880  ///
881  /// Data member Source is optional;
882  /// its type is defined as 'typedef string TSource'
883  /// @return
884  /// - true, if a value has been assigned.
885  /// - false, otherwise.
886  bool IsSetSource(void) const;
887 
888  /// Check if it is safe to call GetSource method.
889  ///
890  /// @return
891  /// - true, if the data member is getatable.
892  /// - false, otherwise.
893  bool CanGetSource(void) const;
894 
895  /// Reset Source data member.
896  void ResetSource(void);
897 
898  /// Get the Source member data.
899  ///
900  /// @return
901  /// Reference to the member data.
902  const TSource& GetSource(void) const;
903 
904  /// Assign a value to Source data member.
905  ///
906  /// @param value
907  /// Value to assign
908  void SetSource(const TSource& value);
909  void SetSource(TSource&& value);
910 
911  /// Assign a value to Source data member.
912  ///
913  /// @return
914  /// Reference to the data value.
915  TSource& SetSource(void);
916 
917  /// Check if a value has been assigned to Organism data member.
918  ///
919  /// Data member Organism is optional;
920  /// its type is defined as 'typedef string TOrganism'
921  /// @return
922  /// - true, if a value has been assigned.
923  /// - false, otherwise.
924  bool IsSetOrganism(void) const;
925 
926  /// Check if it is safe to call GetOrganism method.
927  ///
928  /// @return
929  /// - true, if the data member is getatable.
930  /// - false, otherwise.
931  bool CanGetOrganism(void) const;
932 
933  /// Reset Organism data member.
934  void ResetOrganism(void);
935 
936  /// Get the Organism member data.
937  ///
938  /// @return
939  /// Reference to the member data.
940  const TOrganism& GetOrganism(void) const;
941 
942  /// Assign a value to Organism data member.
943  ///
944  /// @param value
945  /// Value to assign
946  void SetOrganism(const TOrganism& value);
947  void SetOrganism(TOrganism&& value);
948 
949  /// Assign a value to Organism data member.
950  ///
951  /// @return
952  /// Reference to the data value.
953  TOrganism& SetOrganism(void);
954 
955  /// Check if a value has been assigned to Taxonomy data member.
956  ///
957  /// Data member Taxonomy is optional;
958  /// its type is defined as 'typedef string TTaxonomy'
959  /// @return
960  /// - true, if a value has been assigned.
961  /// - false, otherwise.
962  bool IsSetTaxonomy(void) const;
963 
964  /// Check if it is safe to call GetTaxonomy method.
965  ///
966  /// @return
967  /// - true, if the data member is getatable.
968  /// - false, otherwise.
969  bool CanGetTaxonomy(void) const;
970 
971  /// Reset Taxonomy data member.
972  void ResetTaxonomy(void);
973 
974  /// Get the Taxonomy member data.
975  ///
976  /// @return
977  /// Reference to the member data.
978  const TTaxonomy& GetTaxonomy(void) const;
979 
980  /// Assign a value to Taxonomy data member.
981  ///
982  /// @param value
983  /// Value to assign
984  void SetTaxonomy(const TTaxonomy& value);
985  void SetTaxonomy(TTaxonomy&& value);
986 
987  /// Assign a value to Taxonomy data member.
988  ///
989  /// @return
990  /// Reference to the data value.
991  TTaxonomy& SetTaxonomy(void);
992 
993  /// Check if a value has been assigned to References data member.
994  ///
995  /// Data member References is optional;
996  /// its type is defined as 'typedef list< CRef< CGBReference > > TReferences'
997  /// @return
998  /// - true, if a value has been assigned.
999  /// - false, otherwise.
1000  bool IsSetReferences(void) const;
1001 
1002  /// Check if it is safe to call GetReferences method.
1003  ///
1004  /// @return
1005  /// - true, if the data member is getatable.
1006  /// - false, otherwise.
1007  bool CanGetReferences(void) const;
1008 
1009  /// Reset References data member.
1010  void ResetReferences(void);
1011 
1012  /// Get the References member data.
1013  ///
1014  /// @return
1015  /// Reference to the member data.
1016  const TReferences& GetReferences(void) const;
1017 
1018  /// Assign a value to References data member.
1019  ///
1020  /// @return
1021  /// Reference to the data value.
1022  TReferences& SetReferences(void);
1023 
1024  /// Check if a value has been assigned to Comment data member.
1025  ///
1026  /// Data member Comment is optional;
1027  /// its type is defined as 'typedef string TComment'
1028  /// @return
1029  /// - true, if a value has been assigned.
1030  /// - false, otherwise.
1031  bool IsSetComment(void) const;
1032 
1033  /// Check if it is safe to call GetComment method.
1034  ///
1035  /// @return
1036  /// - true, if the data member is getatable.
1037  /// - false, otherwise.
1038  bool CanGetComment(void) const;
1039 
1040  /// Reset Comment data member.
1041  void ResetComment(void);
1042 
1043  /// Get the Comment member data.
1044  ///
1045  /// @return
1046  /// Reference to the member data.
1047  const TComment& GetComment(void) const;
1048 
1049  /// Assign a value to Comment data member.
1050  ///
1051  /// @param value
1052  /// Value to assign
1053  void SetComment(const TComment& value);
1054  void SetComment(TComment&& value);
1055 
1056  /// Assign a value to Comment data member.
1057  ///
1058  /// @return
1059  /// Reference to the data value.
1060  TComment& SetComment(void);
1061 
1062  /// Check if a value has been assigned to Comment_set data member.
1063  ///
1064  /// Data member Comment_set is optional;
1065  /// its type is defined as 'typedef list< CRef< CGBComment > > TComment_set'
1066  /// @return
1067  /// - true, if a value has been assigned.
1068  /// - false, otherwise.
1069  bool IsSetComment_set(void) const;
1070 
1071  /// Check if it is safe to call GetComment_set method.
1072  ///
1073  /// @return
1074  /// - true, if the data member is getatable.
1075  /// - false, otherwise.
1076  bool CanGetComment_set(void) const;
1077 
1078  /// Reset Comment_set data member.
1079  void ResetComment_set(void);
1080 
1081  /// Get the Comment_set member data.
1082  ///
1083  /// @return
1084  /// Reference to the member data.
1085  const TComment_set& GetComment_set(void) const;
1086 
1087  /// Assign a value to Comment_set data member.
1088  ///
1089  /// @return
1090  /// Reference to the data value.
1091  TComment_set& SetComment_set(void);
1092 
1093  /// Check if a value has been assigned to Struc_comments data member.
1094  ///
1095  /// Data member Struc_comments is optional;
1096  /// its type is defined as 'typedef list< CRef< CGBStrucComment > > TStruc_comments'
1097  /// @return
1098  /// - true, if a value has been assigned.
1099  /// - false, otherwise.
1100  bool IsSetStruc_comments(void) const;
1101 
1102  /// Check if it is safe to call GetStruc_comments method.
1103  ///
1104  /// @return
1105  /// - true, if the data member is getatable.
1106  /// - false, otherwise.
1107  bool CanGetStruc_comments(void) const;
1108 
1109  /// Reset Struc_comments data member.
1110  void ResetStruc_comments(void);
1111 
1112  /// Get the Struc_comments member data.
1113  ///
1114  /// @return
1115  /// Reference to the member data.
1116  const TStruc_comments& GetStruc_comments(void) const;
1117 
1118  /// Assign a value to Struc_comments data member.
1119  ///
1120  /// @return
1121  /// Reference to the data value.
1122  TStruc_comments& SetStruc_comments(void);
1123 
1124  /// Check if a value has been assigned to Primary data member.
1125  ///
1126  /// Data member Primary is optional;
1127  /// its type is defined as 'typedef string TPrimary'
1128  /// @return
1129  /// - true, if a value has been assigned.
1130  /// - false, otherwise.
1131  bool IsSetPrimary(void) const;
1132 
1133  /// Check if it is safe to call GetPrimary method.
1134  ///
1135  /// @return
1136  /// - true, if the data member is getatable.
1137  /// - false, otherwise.
1138  bool CanGetPrimary(void) const;
1139 
1140  /// Reset Primary data member.
1141  void ResetPrimary(void);
1142 
1143  /// Get the Primary member data.
1144  ///
1145  /// @return
1146  /// Reference to the member data.
1147  const TPrimary& GetPrimary(void) const;
1148 
1149  /// Assign a value to Primary data member.
1150  ///
1151  /// @param value
1152  /// Value to assign
1153  void SetPrimary(const TPrimary& value);
1154  void SetPrimary(TPrimary&& value);
1155 
1156  /// Assign a value to Primary data member.
1157  ///
1158  /// @return
1159  /// Reference to the data value.
1160  TPrimary& SetPrimary(void);
1161 
1162  /// Check if a value has been assigned to Source_db data member.
1163  ///
1164  /// Data member Source_db is optional;
1165  /// its type is defined as 'typedef string TSource_db'
1166  /// @return
1167  /// - true, if a value has been assigned.
1168  /// - false, otherwise.
1169  bool IsSetSource_db(void) const;
1170 
1171  /// Check if it is safe to call GetSource_db method.
1172  ///
1173  /// @return
1174  /// - true, if the data member is getatable.
1175  /// - false, otherwise.
1176  bool CanGetSource_db(void) const;
1177 
1178  /// Reset Source_db data member.
1179  void ResetSource_db(void);
1180 
1181  /// Get the Source_db member data.
1182  ///
1183  /// @return
1184  /// Reference to the member data.
1185  const TSource_db& GetSource_db(void) const;
1186 
1187  /// Assign a value to Source_db data member.
1188  ///
1189  /// @param value
1190  /// Value to assign
1191  void SetSource_db(const TSource_db& value);
1192  void SetSource_db(TSource_db&& value);
1193 
1194  /// Assign a value to Source_db data member.
1195  ///
1196  /// @return
1197  /// Reference to the data value.
1198  TSource_db& SetSource_db(void);
1199 
1200  /// Check if a value has been assigned to Database_reference data member.
1201  ///
1202  /// Data member Database_reference is optional;
1203  /// its type is defined as 'typedef string TDatabase_reference'
1204  /// @return
1205  /// - true, if a value has been assigned.
1206  /// - false, otherwise.
1207  bool IsSetDatabase_reference(void) const;
1208 
1209  /// Check if it is safe to call GetDatabase_reference method.
1210  ///
1211  /// @return
1212  /// - true, if the data member is getatable.
1213  /// - false, otherwise.
1214  bool CanGetDatabase_reference(void) const;
1215 
1216  /// Reset Database_reference data member.
1217  void ResetDatabase_reference(void);
1218 
1219  /// Get the Database_reference member data.
1220  ///
1221  /// @return
1222  /// Reference to the member data.
1223  const TDatabase_reference& GetDatabase_reference(void) const;
1224 
1225  /// Assign a value to Database_reference data member.
1226  ///
1227  /// @param value
1228  /// Value to assign
1229  void SetDatabase_reference(const TDatabase_reference& value);
1230  void SetDatabase_reference(TDatabase_reference&& value);
1231 
1232  /// Assign a value to Database_reference data member.
1233  ///
1234  /// @return
1235  /// Reference to the data value.
1236  TDatabase_reference& SetDatabase_reference(void);
1237 
1238  /// Check if a value has been assigned to Feature_table data member.
1239  ///
1240  /// Data member Feature_table is optional;
1241  /// its type is defined as 'typedef list< CRef< CGBFeature > > TFeature_table'
1242  /// @return
1243  /// - true, if a value has been assigned.
1244  /// - false, otherwise.
1245  bool IsSetFeature_table(void) const;
1246 
1247  /// Check if it is safe to call GetFeature_table method.
1248  ///
1249  /// @return
1250  /// - true, if the data member is getatable.
1251  /// - false, otherwise.
1252  bool CanGetFeature_table(void) const;
1253 
1254  /// Reset Feature_table data member.
1255  void ResetFeature_table(void);
1256 
1257  /// Get the Feature_table member data.
1258  ///
1259  /// @return
1260  /// Reference to the member data.
1261  const TFeature_table& GetFeature_table(void) const;
1262 
1263  /// Assign a value to Feature_table data member.
1264  ///
1265  /// @return
1266  /// Reference to the data value.
1267  TFeature_table& SetFeature_table(void);
1268 
1269  /// Check if a value has been assigned to Feature_set data member.
1270  ///
1271  /// Data member Feature_set is optional;
1272  /// its type is defined as 'typedef list< CRef< CGBFeatureSet > > TFeature_set'
1273  /// @return
1274  /// - true, if a value has been assigned.
1275  /// - false, otherwise.
1276  bool IsSetFeature_set(void) const;
1277 
1278  /// Check if it is safe to call GetFeature_set method.
1279  ///
1280  /// @return
1281  /// - true, if the data member is getatable.
1282  /// - false, otherwise.
1283  bool CanGetFeature_set(void) const;
1284 
1285  /// Reset Feature_set data member.
1286  void ResetFeature_set(void);
1287 
1288  /// Get the Feature_set member data.
1289  ///
1290  /// @return
1291  /// Reference to the member data.
1292  const TFeature_set& GetFeature_set(void) const;
1293 
1294  /// Assign a value to Feature_set data member.
1295  ///
1296  /// @return
1297  /// Reference to the data value.
1298  TFeature_set& SetFeature_set(void);
1299 
1300  /// Optional for contig, wgs, etc.
1301  /// Check if a value has been assigned to Sequence data member.
1302  ///
1303  /// Data member Sequence is optional;
1304  /// its type is defined as 'typedef string TSequence'
1305  /// @return
1306  /// - true, if a value has been assigned.
1307  /// - false, otherwise.
1308  bool IsSetSequence(void) const;
1309 
1310  /// Check if it is safe to call GetSequence method.
1311  ///
1312  /// @return
1313  /// - true, if the data member is getatable.
1314  /// - false, otherwise.
1315  bool CanGetSequence(void) const;
1316 
1317  /// Reset Sequence data member.
1318  void ResetSequence(void);
1319 
1320  /// Get the Sequence member data.
1321  ///
1322  /// @return
1323  /// Reference to the member data.
1324  const TSequence& GetSequence(void) const;
1325 
1326  /// Assign a value to Sequence data member.
1327  ///
1328  /// @param value
1329  /// Value to assign
1330  void SetSequence(const TSequence& value);
1331  void SetSequence(TSequence&& value);
1332 
1333  /// Assign a value to Sequence data member.
1334  ///
1335  /// @return
1336  /// Reference to the data value.
1337  TSequence& SetSequence(void);
1338 
1339  /// Check if a value has been assigned to Contig data member.
1340  ///
1341  /// Data member Contig is optional;
1342  /// its type is defined as 'typedef string TContig'
1343  /// @return
1344  /// - true, if a value has been assigned.
1345  /// - false, otherwise.
1346  bool IsSetContig(void) const;
1347 
1348  /// Check if it is safe to call GetContig method.
1349  ///
1350  /// @return
1351  /// - true, if the data member is getatable.
1352  /// - false, otherwise.
1353  bool CanGetContig(void) const;
1354 
1355  /// Reset Contig data member.
1356  void ResetContig(void);
1357 
1358  /// Get the Contig member data.
1359  ///
1360  /// @return
1361  /// Reference to the member data.
1362  const TContig& GetContig(void) const;
1363 
1364  /// Assign a value to Contig data member.
1365  ///
1366  /// @param value
1367  /// Value to assign
1368  void SetContig(const TContig& value);
1369  void SetContig(TContig&& value);
1370 
1371  /// Assign a value to Contig data member.
1372  ///
1373  /// @return
1374  /// Reference to the data value.
1375  TContig& SetContig(void);
1376 
1377  /// Check if a value has been assigned to Alt_seq data member.
1378  ///
1379  /// Data member Alt_seq is optional;
1380  /// its type is defined as 'typedef list< CRef< CGBAltSeqData > > TAlt_seq'
1381  /// @return
1382  /// - true, if a value has been assigned.
1383  /// - false, otherwise.
1384  bool IsSetAlt_seq(void) const;
1385 
1386  /// Check if it is safe to call GetAlt_seq method.
1387  ///
1388  /// @return
1389  /// - true, if the data member is getatable.
1390  /// - false, otherwise.
1391  bool CanGetAlt_seq(void) const;
1392 
1393  /// Reset Alt_seq data member.
1394  void ResetAlt_seq(void);
1395 
1396  /// Get the Alt_seq member data.
1397  ///
1398  /// @return
1399  /// Reference to the member data.
1400  const TAlt_seq& GetAlt_seq(void) const;
1401 
1402  /// Assign a value to Alt_seq data member.
1403  ///
1404  /// @return
1405  /// Reference to the data value.
1406  TAlt_seq& SetAlt_seq(void);
1407 
1408  /// Check if a value has been assigned to Xrefs data member.
1409  ///
1410  /// Data member Xrefs is optional;
1411  /// its type is defined as 'typedef list< CRef< CGBXref > > TXrefs'
1412  /// @return
1413  /// - true, if a value has been assigned.
1414  /// - false, otherwise.
1415  bool IsSetXrefs(void) const;
1416 
1417  /// Check if it is safe to call GetXrefs method.
1418  ///
1419  /// @return
1420  /// - true, if the data member is getatable.
1421  /// - false, otherwise.
1422  bool CanGetXrefs(void) const;
1423 
1424  /// Reset Xrefs data member.
1425  void ResetXrefs(void);
1426 
1427  /// Get the Xrefs member data.
1428  ///
1429  /// @return
1430  /// Reference to the member data.
1431  const TXrefs& GetXrefs(void) const;
1432 
1433  /// Assign a value to Xrefs data member.
1434  ///
1435  /// @return
1436  /// Reference to the data value.
1437  TXrefs& SetXrefs(void);
1438 
1439  /// Reset the whole object
1440  virtual void Reset(void);
1441 
1442 
1443 private:
1444  // Prohibit copy constructor and assignment operator
1447 
1448  // data
1449  Uint4 m_set_State[3];
1450  string m_Locus;
1453  string m_Moltype;
1454  string m_Topology;
1455  string m_Division;
1464  list< CGBSeqid > m_Other_seqids;
1465  list< CGBSecondary_accn > m_Secondary_accessions;
1466  string m_Project;
1467  list< CGBKeyword > m_Keywords;
1468  string m_Segment;
1469  string m_Source;
1470  string m_Organism;
1471  string m_Taxonomy;
1472  list< CRef< CGBReference > > m_References;
1473  string m_Comment;
1474  list< CRef< CGBComment > > m_Comment_set;
1475  list< CRef< CGBStrucComment > > m_Struc_comments;
1476  string m_Primary;
1477  string m_Source_db;
1479  list< CRef< CGBFeature > > m_Feature_table;
1480  list< CRef< CGBFeatureSet > > m_Feature_set;
1481  string m_Sequence;
1482  string m_Contig;
1483  list< CRef< CGBAltSeqData > > m_Alt_seq;
1484  list< CRef< CGBXref > > m_Xrefs;
1485 };
1486 
1487 /* @} */
1488 
1489 
1490 
1491 
1492 
1493 ///////////////////////////////////////////////////////////
1494 ///////////////////// inline methods //////////////////////
1495 ///////////////////////////////////////////////////////////
1496 inline
1497 bool CGBSeq_Base::IsSetLocus(void) const
1498 {
1499  return ((m_set_State[0] & 0x3) != 0);
1500 }
1501 
1502 inline
1504 {
1505  return IsSetLocus();
1506 }
1507 
1508 inline
1510 {
1511  if (!CanGetLocus()) {
1512  ThrowUnassigned(0);
1513  }
1514  return m_Locus;
1515 }
1516 
1517 inline
1519 {
1520  m_Locus = value;
1521  m_set_State[0] |= 0x3;
1522 }
1523 
1524 inline
1526 {
1527  m_Locus = std::forward<CGBSeq_Base::TLocus>(value);
1528  m_set_State[0] |= 0x3;
1529 }
1530 
1531 inline
1533 {
1534 #ifdef _DEBUG
1535  if (!IsSetLocus()) {
1537  }
1538 #endif
1539  m_set_State[0] |= 0x1;
1540  return m_Locus;
1541 }
1542 
1543 inline
1545 {
1546  return ((m_set_State[0] & 0xc) != 0);
1547 }
1548 
1549 inline
1551 {
1552  return IsSetLength();
1553 }
1554 
1555 inline
1557 {
1558  m_Length = 0;
1559  m_set_State[0] &= ~0xc;
1560 }
1561 
1562 inline
1564 {
1565  if (!CanGetLength()) {
1566  ThrowUnassigned(1);
1567  }
1568  return m_Length;
1569 }
1570 
1571 inline
1573 {
1574  m_Length = value;
1575  m_set_State[0] |= 0xc;
1576 }
1577 
1578 inline
1580 {
1581 #ifdef _DEBUG
1582  if (!IsSetLength()) {
1583  memset(&m_Length,UnassignedByte(),sizeof(m_Length));
1584  }
1585 #endif
1586  m_set_State[0] |= 0x4;
1587  return m_Length;
1588 }
1589 
1590 inline
1592 {
1593  return ((m_set_State[0] & 0x30) != 0);
1594 }
1595 
1596 inline
1598 {
1599  return IsSetStrandedness();
1600 }
1601 
1602 inline
1604 {
1605  if (!CanGetStrandedness()) {
1606  ThrowUnassigned(2);
1607  }
1608  return m_Strandedness;
1609 }
1610 
1611 inline
1613 {
1615  m_set_State[0] |= 0x30;
1616 }
1617 
1618 inline
1620 {
1621  m_Strandedness = std::forward<CGBSeq_Base::TStrandedness>(value);
1622  m_set_State[0] |= 0x30;
1623 }
1624 
1625 inline
1627 {
1628 #ifdef _DEBUG
1629  if (!IsSetStrandedness()) {
1631  }
1632 #endif
1633  m_set_State[0] |= 0x10;
1634  return m_Strandedness;
1635 }
1636 
1637 inline
1639 {
1640  return ((m_set_State[0] & 0xc0) != 0);
1641 }
1642 
1643 inline
1645 {
1646  return IsSetMoltype();
1647 }
1648 
1649 inline
1651 {
1652  if (!CanGetMoltype()) {
1653  ThrowUnassigned(3);
1654  }
1655  return m_Moltype;
1656 }
1657 
1658 inline
1660 {
1661  m_Moltype = value;
1662  m_set_State[0] |= 0xc0;
1663 }
1664 
1665 inline
1667 {
1668  m_Moltype = std::forward<CGBSeq_Base::TMoltype>(value);
1669  m_set_State[0] |= 0xc0;
1670 }
1671 
1672 inline
1674 {
1675 #ifdef _DEBUG
1676  if (!IsSetMoltype()) {
1678  }
1679 #endif
1680  m_set_State[0] |= 0x40;
1681  return m_Moltype;
1682 }
1683 
1684 inline
1686 {
1687  return ((m_set_State[0] & 0x300) != 0);
1688 }
1689 
1690 inline
1692 {
1693  return IsSetTopology();
1694 }
1695 
1696 inline
1698 {
1699  if (!CanGetTopology()) {
1700  ThrowUnassigned(4);
1701  }
1702  return m_Topology;
1703 }
1704 
1705 inline
1707 {
1708  m_Topology = value;
1709  m_set_State[0] |= 0x300;
1710 }
1711 
1712 inline
1714 {
1715  m_Topology = std::forward<CGBSeq_Base::TTopology>(value);
1716  m_set_State[0] |= 0x300;
1717 }
1718 
1719 inline
1721 {
1722 #ifdef _DEBUG
1723  if (!IsSetTopology()) {
1725  }
1726 #endif
1727  m_set_State[0] |= 0x100;
1728  return m_Topology;
1729 }
1730 
1731 inline
1733 {
1734  return ((m_set_State[0] & 0xc00) != 0);
1735 }
1736 
1737 inline
1739 {
1740  return IsSetDivision();
1741 }
1742 
1743 inline
1745 {
1746  if (!CanGetDivision()) {
1747  ThrowUnassigned(5);
1748  }
1749  return m_Division;
1750 }
1751 
1752 inline
1754 {
1755  m_Division = value;
1756  m_set_State[0] |= 0xc00;
1757 }
1758 
1759 inline
1761 {
1762  m_Division = std::forward<CGBSeq_Base::TDivision>(value);
1763  m_set_State[0] |= 0xc00;
1764 }
1765 
1766 inline
1768 {
1769 #ifdef _DEBUG
1770  if (!IsSetDivision()) {
1772  }
1773 #endif
1774  m_set_State[0] |= 0x400;
1775  return m_Division;
1776 }
1777 
1778 inline
1780 {
1781  return ((m_set_State[0] & 0x3000) != 0);
1782 }
1783 
1784 inline
1786 {
1787  return IsSetUpdate_date();
1788 }
1789 
1790 inline
1792 {
1793  if (!CanGetUpdate_date()) {
1794  ThrowUnassigned(6);
1795  }
1796  return m_Update_date;
1797 }
1798 
1799 inline
1801 {
1802  m_Update_date = value;
1803  m_set_State[0] |= 0x3000;
1804 }
1805 
1806 inline
1808 {
1809  m_Update_date = std::forward<CGBSeq_Base::TUpdate_date>(value);
1810  m_set_State[0] |= 0x3000;
1811 }
1812 
1813 inline
1815 {
1816 #ifdef _DEBUG
1817  if (!IsSetUpdate_date()) {
1819  }
1820 #endif
1821  m_set_State[0] |= 0x1000;
1822  return m_Update_date;
1823 }
1824 
1825 inline
1827 {
1828  return ((m_set_State[0] & 0xc000) != 0);
1829 }
1830 
1831 inline
1833 {
1834  return IsSetCreate_date();
1835 }
1836 
1837 inline
1839 {
1840  if (!CanGetCreate_date()) {
1841  ThrowUnassigned(7);
1842  }
1843  return m_Create_date;
1844 }
1845 
1846 inline
1848 {
1849  m_Create_date = value;
1850  m_set_State[0] |= 0xc000;
1851 }
1852 
1853 inline
1855 {
1856  m_Create_date = std::forward<CGBSeq_Base::TCreate_date>(value);
1857  m_set_State[0] |= 0xc000;
1858 }
1859 
1860 inline
1862 {
1863 #ifdef _DEBUG
1864  if (!IsSetCreate_date()) {
1866  }
1867 #endif
1868  m_set_State[0] |= 0x4000;
1869  return m_Create_date;
1870 }
1871 
1872 inline
1874 {
1875  return ((m_set_State[0] & 0x30000) != 0);
1876 }
1877 
1878 inline
1880 {
1881  return IsSetUpdate_release();
1882 }
1883 
1884 inline
1886 {
1887  if (!CanGetUpdate_release()) {
1888  ThrowUnassigned(8);
1889  }
1890  return m_Update_release;
1891 }
1892 
1893 inline
1895 {
1897  m_set_State[0] |= 0x30000;
1898 }
1899 
1900 inline
1902 {
1903  m_Update_release = std::forward<CGBSeq_Base::TUpdate_release>(value);
1904  m_set_State[0] |= 0x30000;
1905 }
1906 
1907 inline
1909 {
1910 #ifdef _DEBUG
1911  if (!IsSetUpdate_release()) {
1913  }
1914 #endif
1915  m_set_State[0] |= 0x10000;
1916  return m_Update_release;
1917 }
1918 
1919 inline
1921 {
1922  return ((m_set_State[0] & 0xc0000) != 0);
1923 }
1924 
1925 inline
1927 {
1928  return IsSetCreate_release();
1929 }
1930 
1931 inline
1933 {
1934  if (!CanGetCreate_release()) {
1935  ThrowUnassigned(9);
1936  }
1937  return m_Create_release;
1938 }
1939 
1940 inline
1942 {
1944  m_set_State[0] |= 0xc0000;
1945 }
1946 
1947 inline
1949 {
1950  m_Create_release = std::forward<CGBSeq_Base::TCreate_release>(value);
1951  m_set_State[0] |= 0xc0000;
1952 }
1953 
1954 inline
1956 {
1957 #ifdef _DEBUG
1958  if (!IsSetCreate_release()) {
1960  }
1961 #endif
1962  m_set_State[0] |= 0x40000;
1963  return m_Create_release;
1964 }
1965 
1966 inline
1968 {
1969  return ((m_set_State[0] & 0x300000) != 0);
1970 }
1971 
1972 inline
1974 {
1975  return IsSetDefinition();
1976 }
1977 
1978 inline
1980 {
1981  if (!CanGetDefinition()) {
1982  ThrowUnassigned(10);
1983  }
1984  return m_Definition;
1985 }
1986 
1987 inline
1989 {
1990  m_Definition = value;
1991  m_set_State[0] |= 0x300000;
1992 }
1993 
1994 inline
1996 {
1997  m_Definition = std::forward<CGBSeq_Base::TDefinition>(value);
1998  m_set_State[0] |= 0x300000;
1999 }
2000 
2001 inline
2003 {
2004 #ifdef _DEBUG
2005  if (!IsSetDefinition()) {
2007  }
2008 #endif
2009  m_set_State[0] |= 0x100000;
2010  return m_Definition;
2011 }
2012 
2013 inline
2015 {
2016  return ((m_set_State[0] & 0xc00000) != 0);
2017 }
2018 
2019 inline
2021 {
2022  return IsSetPrimary_accession();
2023 }
2024 
2025 inline
2027 {
2028  if (!CanGetPrimary_accession()) {
2029  ThrowUnassigned(11);
2030  }
2031  return m_Primary_accession;
2032 }
2033 
2034 inline
2036 {
2038  m_set_State[0] |= 0xc00000;
2039 }
2040 
2041 inline
2043 {
2044  m_Primary_accession = std::forward<CGBSeq_Base::TPrimary_accession>(value);
2045  m_set_State[0] |= 0xc00000;
2046 }
2047 
2048 inline
2050 {
2051 #ifdef _DEBUG
2052  if (!IsSetPrimary_accession()) {
2054  }
2055 #endif
2056  m_set_State[0] |= 0x400000;
2057  return m_Primary_accession;
2058 }
2059 
2060 inline
2062 {
2063  return ((m_set_State[0] & 0x3000000) != 0);
2064 }
2065 
2066 inline
2068 {
2069  return IsSetEntry_version();
2070 }
2071 
2072 inline
2074 {
2075  if (!CanGetEntry_version()) {
2076  ThrowUnassigned(12);
2077  }
2078  return m_Entry_version;
2079 }
2080 
2081 inline
2083 {
2085  m_set_State[0] |= 0x3000000;
2086 }
2087 
2088 inline
2090 {
2091  m_Entry_version = std::forward<CGBSeq_Base::TEntry_version>(value);
2092  m_set_State[0] |= 0x3000000;
2093 }
2094 
2095 inline
2097 {
2098 #ifdef _DEBUG
2099  if (!IsSetEntry_version()) {
2101  }
2102 #endif
2103  m_set_State[0] |= 0x1000000;
2104  return m_Entry_version;
2105 }
2106 
2107 inline
2109 {
2110  return ((m_set_State[0] & 0xc000000) != 0);
2111 }
2112 
2113 inline
2115 {
2116  return IsSetAccession_version();
2117 }
2118 
2119 inline
2121 {
2122  if (!CanGetAccession_version()) {
2123  ThrowUnassigned(13);
2124  }
2125  return m_Accession_version;
2126 }
2127 
2128 inline
2130 {
2132  m_set_State[0] |= 0xc000000;
2133 }
2134 
2135 inline
2137 {
2138  m_Accession_version = std::forward<CGBSeq_Base::TAccession_version>(value);
2139  m_set_State[0] |= 0xc000000;
2140 }
2141 
2142 inline
2144 {
2145 #ifdef _DEBUG
2146  if (!IsSetAccession_version()) {
2148  }
2149 #endif
2150  m_set_State[0] |= 0x4000000;
2151  return m_Accession_version;
2152 }
2153 
2154 inline
2156 {
2157  return ((m_set_State[0] & 0x30000000) != 0);
2158 }
2159 
2160 inline
2162 {
2163  return true;
2164 }
2165 
2166 inline
2168 {
2169  return m_Other_seqids;
2170 }
2171 
2172 inline
2174 {
2175  m_set_State[0] |= 0x10000000;
2176  return m_Other_seqids;
2177 }
2178 
2179 inline
2181 {
2182  return ((m_set_State[0] & 0xc0000000) != 0);
2183 }
2184 
2185 inline
2187 {
2188  return true;
2189 }
2190 
2191 inline
2193 {
2194  return m_Secondary_accessions;
2195 }
2196 
2197 inline
2199 {
2200  m_set_State[0] |= 0x40000000;
2201  return m_Secondary_accessions;
2202 }
2203 
2204 inline
2206 {
2207  return ((m_set_State[1] & 0x3) != 0);
2208 }
2209 
2210 inline
2212 {
2213  return IsSetProject();
2214 }
2215 
2216 inline
2218 {
2219  if (!CanGetProject()) {
2220  ThrowUnassigned(16);
2221  }
2222  return m_Project;
2223 }
2224 
2225 inline
2227 {
2228  m_Project = value;
2229  m_set_State[1] |= 0x3;
2230 }
2231 
2232 inline
2234 {
2235  m_Project = std::forward<CGBSeq_Base::TProject>(value);
2236  m_set_State[1] |= 0x3;
2237 }
2238 
2239 inline
2241 {
2242 #ifdef _DEBUG
2243  if (!IsSetProject()) {
2245  }
2246 #endif
2247  m_set_State[1] |= 0x1;
2248  return m_Project;
2249 }
2250 
2251 inline
2253 {
2254  return ((m_set_State[1] & 0xc) != 0);
2255 }
2256 
2257 inline
2259 {
2260  return true;
2261 }
2262 
2263 inline
2265 {
2266  return m_Keywords;
2267 }
2268 
2269 inline
2271 {
2272  m_set_State[1] |= 0x4;
2273  return m_Keywords;
2274 }
2275 
2276 inline
2278 {
2279  return ((m_set_State[1] & 0x30) != 0);
2280 }
2281 
2282 inline
2284 {
2285  return IsSetSegment();
2286 }
2287 
2288 inline
2290 {
2291  if (!CanGetSegment()) {
2292  ThrowUnassigned(18);
2293  }
2294  return m_Segment;
2295 }
2296 
2297 inline
2299 {
2300  m_Segment = value;
2301  m_set_State[1] |= 0x30;
2302 }
2303 
2304 inline
2306 {
2307  m_Segment = std::forward<CGBSeq_Base::TSegment>(value);
2308  m_set_State[1] |= 0x30;
2309 }
2310 
2311 inline
2313 {
2314 #ifdef _DEBUG
2315  if (!IsSetSegment()) {
2317  }
2318 #endif
2319  m_set_State[1] |= 0x10;
2320  return m_Segment;
2321 }
2322 
2323 inline
2325 {
2326  return ((m_set_State[1] & 0xc0) != 0);
2327 }
2328 
2329 inline
2331 {
2332  return IsSetSource();
2333 }
2334 
2335 inline
2337 {
2338  if (!CanGetSource()) {
2339  ThrowUnassigned(19);
2340  }
2341  return m_Source;
2342 }
2343 
2344 inline
2346 {
2347  m_Source = value;
2348  m_set_State[1] |= 0xc0;
2349 }
2350 
2351 inline
2353 {
2354  m_Source = std::forward<CGBSeq_Base::TSource>(value);
2355  m_set_State[1] |= 0xc0;
2356 }
2357 
2358 inline
2360 {
2361 #ifdef _DEBUG
2362  if (!IsSetSource()) {
2364  }
2365 #endif
2366  m_set_State[1] |= 0x40;
2367  return m_Source;
2368 }
2369 
2370 inline
2372 {
2373  return ((m_set_State[1] & 0x300) != 0);
2374 }
2375 
2376 inline
2378 {
2379  return IsSetOrganism();
2380 }
2381 
2382 inline
2384 {
2385  if (!CanGetOrganism()) {
2386  ThrowUnassigned(20);
2387  }
2388  return m_Organism;
2389 }
2390 
2391 inline
2393 {
2394  m_Organism = value;
2395  m_set_State[1] |= 0x300;
2396 }
2397 
2398 inline
2400 {
2401  m_Organism = std::forward<CGBSeq_Base::TOrganism>(value);
2402  m_set_State[1] |= 0x300;
2403 }
2404 
2405 inline
2407 {
2408 #ifdef _DEBUG
2409  if (!IsSetOrganism()) {
2411  }
2412 #endif
2413  m_set_State[1] |= 0x100;
2414  return m_Organism;
2415 }
2416 
2417 inline
2419 {
2420  return ((m_set_State[1] & 0xc00) != 0);
2421 }
2422 
2423 inline
2425 {
2426  return IsSetTaxonomy();
2427 }
2428 
2429 inline
2431 {
2432  if (!CanGetTaxonomy()) {
2433  ThrowUnassigned(21);
2434  }
2435  return m_Taxonomy;
2436 }
2437 
2438 inline
2440 {
2441  m_Taxonomy = value;
2442  m_set_State[1] |= 0xc00;
2443 }
2444 
2445 inline
2447 {
2448  m_Taxonomy = std::forward<CGBSeq_Base::TTaxonomy>(value);
2449  m_set_State[1] |= 0xc00;
2450 }
2451 
2452 inline
2454 {
2455 #ifdef _DEBUG
2456  if (!IsSetTaxonomy()) {
2458  }
2459 #endif
2460  m_set_State[1] |= 0x400;
2461  return m_Taxonomy;
2462 }
2463 
2464 inline
2466 {
2467  return ((m_set_State[1] & 0x3000) != 0);
2468 }
2469 
2470 inline
2472 {
2473  return true;
2474 }
2475 
2476 inline
2478 {
2479  return m_References;
2480 }
2481 
2482 inline
2484 {
2485  m_set_State[1] |= 0x1000;
2486  return m_References;
2487 }
2488 
2489 inline
2491 {
2492  return ((m_set_State[1] & 0xc000) != 0);
2493 }
2494 
2495 inline
2497 {
2498  return IsSetComment();
2499 }
2500 
2501 inline
2503 {
2504  if (!CanGetComment()) {
2505  ThrowUnassigned(23);
2506  }
2507  return m_Comment;
2508 }
2509 
2510 inline
2512 {
2513  m_Comment = value;
2514  m_set_State[1] |= 0xc000;
2515 }
2516 
2517 inline
2519 {
2520  m_Comment = std::forward<CGBSeq_Base::TComment>(value);
2521  m_set_State[1] |= 0xc000;
2522 }
2523 
2524 inline
2526 {
2527 #ifdef _DEBUG
2528  if (!IsSetComment()) {
2530  }
2531 #endif
2532  m_set_State[1] |= 0x4000;
2533  return m_Comment;
2534 }
2535 
2536 inline
2538 {
2539  return ((m_set_State[1] & 0x30000) != 0);
2540 }
2541 
2542 inline
2544 {
2545  return true;
2546 }
2547 
2548 inline
2550 {
2551  return m_Comment_set;
2552 }
2553 
2554 inline
2556 {
2557  m_set_State[1] |= 0x10000;
2558  return m_Comment_set;
2559 }
2560 
2561 inline
2563 {
2564  return ((m_set_State[1] & 0xc0000) != 0);
2565 }
2566 
2567 inline
2569 {
2570  return true;
2571 }
2572 
2573 inline
2575 {
2576  return m_Struc_comments;
2577 }
2578 
2579 inline
2581 {
2582  m_set_State[1] |= 0x40000;
2583  return m_Struc_comments;
2584 }
2585 
2586 inline
2588 {
2589  return ((m_set_State[1] & 0x300000) != 0);
2590 }
2591 
2592 inline
2594 {
2595  return IsSetPrimary();
2596 }
2597 
2598 inline
2600 {
2601  if (!CanGetPrimary()) {
2602  ThrowUnassigned(26);
2603  }
2604  return m_Primary;
2605 }
2606 
2607 inline
2609 {
2610  m_Primary = value;
2611  m_set_State[1] |= 0x300000;
2612 }
2613 
2614 inline
2616 {
2617  m_Primary = std::forward<CGBSeq_Base::TPrimary>(value);
2618  m_set_State[1] |= 0x300000;
2619 }
2620 
2621 inline
2623 {
2624 #ifdef _DEBUG
2625  if (!IsSetPrimary()) {
2627  }
2628 #endif
2629  m_set_State[1] |= 0x100000;
2630  return m_Primary;
2631 }
2632 
2633 inline
2635 {
2636  return ((m_set_State[1] & 0xc00000) != 0);
2637 }
2638 
2639 inline
2641 {
2642  return IsSetSource_db();
2643 }
2644 
2645 inline
2647 {
2648  if (!CanGetSource_db()) {
2649  ThrowUnassigned(27);
2650  }
2651  return m_Source_db;
2652 }
2653 
2654 inline
2656 {
2657  m_Source_db = value;
2658  m_set_State[1] |= 0xc00000;
2659 }
2660 
2661 inline
2663 {
2664  m_Source_db = std::forward<CGBSeq_Base::TSource_db>(value);
2665  m_set_State[1] |= 0xc00000;
2666 }
2667 
2668 inline
2670 {
2671 #ifdef _DEBUG
2672  if (!IsSetSource_db()) {
2674  }
2675 #endif
2676  m_set_State[1] |= 0x400000;
2677  return m_Source_db;
2678 }
2679 
2680 inline
2682 {
2683  return ((m_set_State[1] & 0x3000000) != 0);
2684 }
2685 
2686 inline
2688 {
2689  return IsSetDatabase_reference();
2690 }
2691 
2692 inline
2694 {
2695  if (!CanGetDatabase_reference()) {
2696  ThrowUnassigned(28);
2697  }
2698  return m_Database_reference;
2699 }
2700 
2701 inline
2703 {
2705  m_set_State[1] |= 0x3000000;
2706 }
2707 
2708 inline
2710 {
2711  m_Database_reference = std::forward<CGBSeq_Base::TDatabase_reference>(value);
2712  m_set_State[1] |= 0x3000000;
2713 }
2714 
2715 inline
2717 {
2718 #ifdef _DEBUG
2719  if (!IsSetDatabase_reference()) {
2721  }
2722 #endif
2723  m_set_State[1] |= 0x1000000;
2724  return m_Database_reference;
2725 }
2726 
2727 inline
2729 {
2730  return ((m_set_State[1] & 0xc000000) != 0);
2731 }
2732 
2733 inline
2735 {
2736  return true;
2737 }
2738 
2739 inline
2741 {
2742  return m_Feature_table;
2743 }
2744 
2745 inline
2747 {
2748  m_set_State[1] |= 0x4000000;
2749  return m_Feature_table;
2750 }
2751 
2752 inline
2754 {
2755  return ((m_set_State[1] & 0x30000000) != 0);
2756 }
2757 
2758 inline
2760 {
2761  return true;
2762 }
2763 
2764 inline
2766 {
2767  return m_Feature_set;
2768 }
2769 
2770 inline
2772 {
2773  m_set_State[1] |= 0x10000000;
2774  return m_Feature_set;
2775 }
2776 
2777 inline
2779 {
2780  return ((m_set_State[1] & 0xc0000000) != 0);
2781 }
2782 
2783 inline
2785 {
2786  return IsSetSequence();
2787 }
2788 
2789 inline
2791 {
2792  if (!CanGetSequence()) {
2793  ThrowUnassigned(31);
2794  }
2795  return m_Sequence;
2796 }
2797 
2798 inline
2800 {
2801  m_Sequence = value;
2802  m_set_State[1] |= 0xc0000000;
2803 }
2804 
2805 inline
2807 {
2808  m_Sequence = std::forward<CGBSeq_Base::TSequence>(value);
2809  m_set_State[1] |= 0xc0000000;
2810 }
2811 
2812 inline
2814 {
2815 #ifdef _DEBUG
2816  if (!IsSetSequence()) {
2818  }
2819 #endif
2820  m_set_State[1] |= 0x40000000;
2821  return m_Sequence;
2822 }
2823 
2824 inline
2826 {
2827  return ((m_set_State[2] & 0x3) != 0);
2828 }
2829 
2830 inline
2832 {
2833  return IsSetContig();
2834 }
2835 
2836 inline
2838 {
2839  if (!CanGetContig()) {
2840  ThrowUnassigned(32);
2841  }
2842  return m_Contig;
2843 }
2844 
2845 inline
2847 {
2848  m_Contig = value;
2849  m_set_State[2] |= 0x3;
2850 }
2851 
2852 inline
2854 {
2855  m_Contig = std::forward<CGBSeq_Base::TContig>(value);
2856  m_set_State[2] |= 0x3;
2857 }
2858 
2859 inline
2861 {
2862 #ifdef _DEBUG
2863  if (!IsSetContig()) {
2865  }
2866 #endif
2867  m_set_State[2] |= 0x1;
2868  return m_Contig;
2869 }
2870 
2871 inline
2873 {
2874  return ((m_set_State[2] & 0xc) != 0);
2875 }
2876 
2877 inline
2879 {
2880  return true;
2881 }
2882 
2883 inline
2885 {
2886  return m_Alt_seq;
2887 }
2888 
2889 inline
2891 {
2892  m_set_State[2] |= 0x4;
2893  return m_Alt_seq;
2894 }
2895 
2896 inline
2897 bool CGBSeq_Base::IsSetXrefs(void) const
2898 {
2899  return ((m_set_State[2] & 0x30) != 0);
2900 }
2901 
2902 inline
2904 {
2905  return true;
2906 }
2907 
2908 inline
2910 {
2911  return m_Xrefs;
2912 }
2913 
2914 inline
2916 {
2917  m_set_State[2] |= 0x10;
2918  return m_Xrefs;
2919 }
2920 
2921 ///////////////////////////////////////////////////////////
2922 ////////////////// end of inline methods //////////////////
2923 ///////////////////////////////////////////////////////////
2924 
2925 
2926 
2927 
2928 
2929 END_objects_SCOPE // namespace ncbi::objects::
2930 
2932 
2933 
2934 #endif // OBJECTS_GBSEQ_GBSEQ_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.
CGBAltSeqData –.
CGBComment –.
Definition: GBComment.hpp:66
CGBFeatureSet –.
CGBFeature –.
Definition: GBFeature.hpp:66
CGBReference –.
Definition: GBReference.hpp:66
CGBSeq_Base –.
Definition: GBSeq_.hpp:87
CGBStrucComment –.
CGBXref –.
Definition: GBXref.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_GBSEQ_EXPORT
Definition: ncbi_export.h:504
bool IsSetStruc_comments(void) const
Check if a value has been assigned to Struc_comments data member.
Definition: GBSeq_.hpp:2562
const TAccession_version & GetAccession_version(void) const
Get the Accession_version member data.
Definition: GBSeq_.hpp:2120
bool IsSetTaxonomy(void) const
Check if a value has been assigned to Taxonomy data member.
Definition: GBSeq_.hpp:2418
TAlt_seq & SetAlt_seq(void)
Assign a value to Alt_seq data member.
Definition: GBSeq_.hpp:2890
list< CRef< CGBFeatureSet > > m_Feature_set
Definition: GBSeq_.hpp:1480
string TSource_db
Definition: GBSeq_.hpp:126
TOrganism & SetOrganism(void)
Assign a value to Organism data member.
Definition: GBSeq_.hpp:2406
string TComment
Definition: GBSeq_.hpp:122
TSource_db & SetSource_db(void)
Assign a value to Source_db data member.
Definition: GBSeq_.hpp:2669
TSequence & SetSequence(void)
Assign a value to Sequence data member.
Definition: GBSeq_.hpp:2813
bool CanGetDatabase_reference(void) const
Check if it is safe to call GetDatabase_reference method.
Definition: GBSeq_.hpp:2687
string m_Project
Definition: GBSeq_.hpp:1466
string TDivision
Definition: GBSeq_.hpp:104
bool IsSetEntry_version(void) const
Check if a value has been assigned to Entry_version data member.
Definition: GBSeq_.hpp:2061
bool CanGetUpdate_release(void) const
Check if it is safe to call GetUpdate_release method.
Definition: GBSeq_.hpp:1879
string m_Definition
Definition: GBSeq_.hpp:1460
string TAccession_version
Definition: GBSeq_.hpp:112
bool CanGetMoltype(void) const
Check if it is safe to call GetMoltype method.
Definition: GBSeq_.hpp:1644
bool CanGetSecondary_accessions(void) const
Check if it is safe to call GetSecondary_accessions method.
Definition: GBSeq_.hpp:2186
string m_Database_reference
Definition: GBSeq_.hpp:1478
const TUpdate_release & GetUpdate_release(void) const
Get the Update_release member data.
Definition: GBSeq_.hpp:1885
string m_Comment
Definition: GBSeq_.hpp:1473
string m_Primary_accession
Definition: GBSeq_.hpp:1461
Tparent::CMemberIndex< E_memberIndex, 36 > TmemberIndex
Definition: GBSeq_.hpp:174
bool CanGetSource_db(void) const
Check if it is safe to call GetSource_db method.
Definition: GBSeq_.hpp:2640
bool CanGetPrimary_accession(void) const
Check if it is safe to call GetPrimary_accession method.
Definition: GBSeq_.hpp:2020
TComment & SetComment(void)
Assign a value to Comment data member.
Definition: GBSeq_.hpp:2525
TTopology & SetTopology(void)
Assign a value to Topology data member.
Definition: GBSeq_.hpp:1720
bool IsSetPrimary(void) const
Check if a value has been assigned to Primary data member.
Definition: GBSeq_.hpp:2587
TComment_set & SetComment_set(void)
Assign a value to Comment_set data member.
Definition: GBSeq_.hpp:2555
const TOther_seqids & GetOther_seqids(void) const
Get the Other_seqids member data.
Definition: GBSeq_.hpp:2167
list< CRef< CGBAltSeqData > > TAlt_seq
Definition: GBSeq_.hpp:132
const TCreate_date & GetCreate_date(void) const
Get the Create_date member data.
Definition: GBSeq_.hpp:1838
bool CanGetTopology(void) const
Check if it is safe to call GetTopology method.
Definition: GBSeq_.hpp:1691
TEntry_version & SetEntry_version(void)
Assign a value to Entry_version data member.
Definition: GBSeq_.hpp:2096
bool IsSetCreate_release(void) const
Check if a value has been assigned to Create_release data member.
Definition: GBSeq_.hpp:1920
CSerialObject Tparent
Definition: GBSeq_.hpp:88
CGBSeq_Base & operator=(const CGBSeq_Base &)
bool CanGetCreate_date(void) const
Check if it is safe to call GetCreate_date method.
Definition: GBSeq_.hpp:1832
list< CRef< CGBFeature > > m_Feature_table
Definition: GBSeq_.hpp:1479
TUpdate_release & SetUpdate_release(void)
Assign a value to Update_release data member.
Definition: GBSeq_.hpp:1908
TFeature_set & SetFeature_set(void)
Assign a value to Feature_set data member.
Definition: GBSeq_.hpp:2771
string TTaxonomy
Definition: GBSeq_.hpp:120
const TDatabase_reference & GetDatabase_reference(void) const
Get the Database_reference member data.
Definition: GBSeq_.hpp:2693
const TProject & GetProject(void) const
Get the Project member data.
Definition: GBSeq_.hpp:2217
bool IsSetSecondary_accessions(void) const
Check if a value has been assigned to Secondary_accessions data member.
Definition: GBSeq_.hpp:2180
const TComment_set & GetComment_set(void) const
Get the Comment_set member data.
Definition: GBSeq_.hpp:2549
string m_Entry_version
Definition: GBSeq_.hpp:1462
string m_Moltype
Definition: GBSeq_.hpp:1453
string TSegment
Definition: GBSeq_.hpp:117
const TEntry_version & GetEntry_version(void) const
Get the Entry_version member data.
Definition: GBSeq_.hpp:2073
string m_Contig
Definition: GBSeq_.hpp:1482
bool CanGetOther_seqids(void) const
Check if it is safe to call GetOther_seqids method.
Definition: GBSeq_.hpp:2161
bool CanGetStrandedness(void) const
Check if it is safe to call GetStrandedness method.
Definition: GBSeq_.hpp:1597
const TPrimary & GetPrimary(void) const
Get the Primary member data.
Definition: GBSeq_.hpp:2599
TReferences & SetReferences(void)
Assign a value to References data member.
Definition: GBSeq_.hpp:2483
bool IsSetSource(void) const
Check if a value has been assigned to Source data member.
Definition: GBSeq_.hpp:2324
TUpdate_date & SetUpdate_date(void)
Assign a value to Update_date data member.
Definition: GBSeq_.hpp:1814
TMoltype & SetMoltype(void)
Assign a value to Moltype data member.
Definition: GBSeq_.hpp:1673
TKeywords & SetKeywords(void)
Assign a value to Keywords data member.
Definition: GBSeq_.hpp:2270
bool IsSetKeywords(void) const
Check if a value has been assigned to Keywords data member.
Definition: GBSeq_.hpp:2252
list< CRef< CGBComment > > m_Comment_set
Definition: GBSeq_.hpp:1474
list< CRef< CGBAltSeqData > > m_Alt_seq
Definition: GBSeq_.hpp:1483
string TUpdate_release
Definition: GBSeq_.hpp:107
TLength GetLength(void) const
Get the Length member data.
Definition: GBSeq_.hpp:1563
string m_Locus
Definition: GBSeq_.hpp:1450
TCreate_date & SetCreate_date(void)
Assign a value to Create_date data member.
Definition: GBSeq_.hpp:1861
bool IsSetUpdate_date(void) const
Check if a value has been assigned to Update_date data member.
Definition: GBSeq_.hpp:1779
string TSequence
Definition: GBSeq_.hpp:130
string m_Create_date
Definition: GBSeq_.hpp:1457
bool IsSetTopology(void) const
Check if a value has been assigned to Topology data member.
Definition: GBSeq_.hpp:1685
list< CRef< CGBStrucComment > > TStruc_comments
Definition: GBSeq_.hpp:124
string m_Sequence
Definition: GBSeq_.hpp:1481
list< CGBSecondary_accn > TSecondary_accessions
Definition: GBSeq_.hpp:114
bool CanGetReferences(void) const
Check if it is safe to call GetReferences method.
Definition: GBSeq_.hpp:2471
bool IsSetAccession_version(void) const
Check if a value has been assigned to Accession_version data member.
Definition: GBSeq_.hpp:2108
const TSecondary_accessions & GetSecondary_accessions(void) const
Get the Secondary_accessions member data.
Definition: GBSeq_.hpp:2192
bool IsSetDefinition(void) const
Check if a value has been assigned to Definition data member.
Definition: GBSeq_.hpp:1967
TDatabase_reference & SetDatabase_reference(void)
Assign a value to Database_reference data member.
Definition: GBSeq_.hpp:2716
TLength & SetLength(void)
Assign a value to Length data member.
Definition: GBSeq_.hpp:1579
void ResetLength(void)
Reset Length data member.
Definition: GBSeq_.hpp:1556
bool IsSetFeature_table(void) const
Check if a value has been assigned to Feature_table data member.
Definition: GBSeq_.hpp:2728
list< CRef< CGBReference > > m_References
Definition: GBSeq_.hpp:1472
list< CRef< CGBComment > > TComment_set
Definition: GBSeq_.hpp:123
bool CanGetOrganism(void) const
Check if it is safe to call GetOrganism method.
Definition: GBSeq_.hpp:2377
bool IsSetAlt_seq(void) const
Check if a value has been assigned to Alt_seq data member.
Definition: GBSeq_.hpp:2872
list< CGBKeyword > TKeywords
Definition: GBSeq_.hpp:116
list< CRef< CGBStrucComment > > m_Struc_comments
Definition: GBSeq_.hpp:1475
TSeqPos TLength
Definition: GBSeq_.hpp:100
list< CRef< CGBFeatureSet > > TFeature_set
Definition: GBSeq_.hpp:129
TLocus & SetLocus(void)
Assign a value to Locus data member.
Definition: GBSeq_.hpp:1532
bool CanGetKeywords(void) const
Check if it is safe to call GetKeywords method.
Definition: GBSeq_.hpp:2258
bool CanGetLocus(void) const
Check if it is safe to call GetLocus method.
Definition: GBSeq_.hpp:1503
const TSegment & GetSegment(void) const
Get the Segment member data.
Definition: GBSeq_.hpp:2289
const TFeature_table & GetFeature_table(void) const
Get the Feature_table member data.
Definition: GBSeq_.hpp:2740
string TDefinition
Definition: GBSeq_.hpp:109
TContig & SetContig(void)
Assign a value to Contig data member.
Definition: GBSeq_.hpp:2860
TFeature_table & SetFeature_table(void)
Assign a value to Feature_table data member.
Definition: GBSeq_.hpp:2746
const TXrefs & GetXrefs(void) const
Get the Xrefs member data.
Definition: GBSeq_.hpp:2909
bool CanGetSegment(void) const
Check if it is safe to call GetSegment method.
Definition: GBSeq_.hpp:2283
bool CanGetTaxonomy(void) const
Check if it is safe to call GetTaxonomy method.
Definition: GBSeq_.hpp:2424
TSegment & SetSegment(void)
Assign a value to Segment data member.
Definition: GBSeq_.hpp:2312
string m_Source
Definition: GBSeq_.hpp:1469
const TFeature_set & GetFeature_set(void) const
Get the Feature_set member data.
Definition: GBSeq_.hpp:2765
list< CRef< CGBXref > > TXrefs
Definition: GBSeq_.hpp:133
list< CGBKeyword > m_Keywords
Definition: GBSeq_.hpp:1467
TProject & SetProject(void)
Assign a value to Project data member.
Definition: GBSeq_.hpp:2240
string TContig
Definition: GBSeq_.hpp:131
const TAlt_seq & GetAlt_seq(void) const
Get the Alt_seq member data.
Definition: GBSeq_.hpp:2884
list< CGBSeqid > TOther_seqids
Definition: GBSeq_.hpp:113
bool CanGetSequence(void) const
Check if it is safe to call GetSequence method.
Definition: GBSeq_.hpp:2784
bool IsSetOther_seqids(void) const
Check if a value has been assigned to Other_seqids data member.
Definition: GBSeq_.hpp:2155
bool IsSetSource_db(void) const
Check if a value has been assigned to Source_db data member.
Definition: GBSeq_.hpp:2634
bool IsSetSegment(void) const
Check if a value has been assigned to Segment data member.
Definition: GBSeq_.hpp:2277
const TSource_db & GetSource_db(void) const
Get the Source_db member data.
Definition: GBSeq_.hpp:2646
bool IsSetPrimary_accession(void) const
Check if a value has been assigned to Primary_accession data member.
Definition: GBSeq_.hpp:2014
string TOrganism
Definition: GBSeq_.hpp:119
bool IsSetSequence(void) const
Optional for contig, wgs, etc.
Definition: GBSeq_.hpp:2778
string TCreate_release
Definition: GBSeq_.hpp:108
string TMoltype
Definition: GBSeq_.hpp:102
bool CanGetComment(void) const
Check if it is safe to call GetComment method.
Definition: GBSeq_.hpp:2496
string TProject
Definition: GBSeq_.hpp:115
list< CRef< CGBXref > > m_Xrefs
Definition: GBSeq_.hpp:1484
string m_Topology
Definition: GBSeq_.hpp:1454
const TSource & GetSource(void) const
Get the Source member data.
Definition: GBSeq_.hpp:2336
bool IsSetFeature_set(void) const
Check if a value has been assigned to Feature_set data member.
Definition: GBSeq_.hpp:2753
TAccession_version & SetAccession_version(void)
Assign a value to Accession_version data member.
Definition: GBSeq_.hpp:2143
const TOrganism & GetOrganism(void) const
Get the Organism member data.
Definition: GBSeq_.hpp:2383
TSecondary_accessions & SetSecondary_accessions(void)
Assign a value to Secondary_accessions data member.
Definition: GBSeq_.hpp:2198
const TMoltype & GetMoltype(void) const
Get the Moltype member data.
Definition: GBSeq_.hpp:1650
const TStruc_comments & GetStruc_comments(void) const
Get the Struc_comments member data.
Definition: GBSeq_.hpp:2574
DECLARE_INTERNAL_TYPE_INFO()
const TLocus & GetLocus(void) const
Get the Locus member data.
Definition: GBSeq_.hpp:1509
CGBSeq_Base(const CGBSeq_Base &)
bool CanGetProject(void) const
Check if it is safe to call GetProject method.
Definition: GBSeq_.hpp:2211
TOther_seqids & SetOther_seqids(void)
Assign a value to Other_seqids data member.
Definition: GBSeq_.hpp:2173
string m_Update_release
Definition: GBSeq_.hpp:1458
string TLocus
Definition: GBSeq_.hpp:99
bool CanGetPrimary(void) const
Check if it is safe to call GetPrimary method.
Definition: GBSeq_.hpp:2593
TPrimary_accession & SetPrimary_accession(void)
Assign a value to Primary_accession data member.
Definition: GBSeq_.hpp:2049
string m_Taxonomy
Definition: GBSeq_.hpp:1471
const TCreate_release & GetCreate_release(void) const
Get the Create_release member data.
Definition: GBSeq_.hpp:1932
TSource & SetSource(void)
Assign a value to Source data member.
Definition: GBSeq_.hpp:2359
string TDatabase_reference
Definition: GBSeq_.hpp:127
TStruc_comments & SetStruc_comments(void)
Assign a value to Struc_comments data member.
Definition: GBSeq_.hpp:2580
TCreate_release & SetCreate_release(void)
Assign a value to Create_release data member.
Definition: GBSeq_.hpp:1955
bool CanGetDivision(void) const
Check if it is safe to call GetDivision method.
Definition: GBSeq_.hpp:1738
string TPrimary
Definition: GBSeq_.hpp:125
bool CanGetComment_set(void) const
Check if it is safe to call GetComment_set method.
Definition: GBSeq_.hpp:2543
string TEntry_version
Definition: GBSeq_.hpp:111
const TReferences & GetReferences(void) const
Get the References member data.
Definition: GBSeq_.hpp:2477
TStrandedness & SetStrandedness(void)
Assign a value to Strandedness data member.
Definition: GBSeq_.hpp:1626
string m_Accession_version
Definition: GBSeq_.hpp:1463
string TPrimary_accession
Definition: GBSeq_.hpp:110
bool IsSetReferences(void) const
Check if a value has been assigned to References data member.
Definition: GBSeq_.hpp:2465
bool IsSetDatabase_reference(void) const
Check if a value has been assigned to Database_reference data member.
Definition: GBSeq_.hpp:2681
list< CGBSeqid > m_Other_seqids
Definition: GBSeq_.hpp:1464
TSeqPos m_Length
Definition: GBSeq_.hpp:1451
bool IsSetProject(void) const
Check if a value has been assigned to Project data member.
Definition: GBSeq_.hpp:2205
bool CanGetContig(void) const
Check if it is safe to call GetContig method.
Definition: GBSeq_.hpp:2831
bool CanGetEntry_version(void) const
Check if it is safe to call GetEntry_version method.
Definition: GBSeq_.hpp:2067
string m_Primary
Definition: GBSeq_.hpp:1476
bool CanGetXrefs(void) const
Check if it is safe to call GetXrefs method.
Definition: GBSeq_.hpp:2903
bool IsSetCreate_date(void) const
Check if a value has been assigned to Create_date data member.
Definition: GBSeq_.hpp:1826
bool CanGetUpdate_date(void) const
Check if it is safe to call GetUpdate_date method.
Definition: GBSeq_.hpp:1785
string m_Update_date
Definition: GBSeq_.hpp:1456
TXrefs & SetXrefs(void)
Assign a value to Xrefs data member.
Definition: GBSeq_.hpp:2915
const TKeywords & GetKeywords(void) const
Get the Keywords member data.
Definition: GBSeq_.hpp:2264
const TTopology & GetTopology(void) const
Get the Topology member data.
Definition: GBSeq_.hpp:1697
TTaxonomy & SetTaxonomy(void)
Assign a value to Taxonomy data member.
Definition: GBSeq_.hpp:2453
bool IsSetLocus(void) const
Check if a value has been assigned to Locus data member.
Definition: GBSeq_.hpp:1497
bool CanGetFeature_table(void) const
Check if it is safe to call GetFeature_table method.
Definition: GBSeq_.hpp:2734
string TSource
Definition: GBSeq_.hpp:118
bool IsSetOrganism(void) const
Check if a value has been assigned to Organism data member.
Definition: GBSeq_.hpp:2371
list< CGBSecondary_accn > m_Secondary_accessions
Definition: GBSeq_.hpp:1465
TDivision & SetDivision(void)
Assign a value to Division data member.
Definition: GBSeq_.hpp:1767
list< CRef< CGBFeature > > TFeature_table
Definition: GBSeq_.hpp:128
bool IsSetMoltype(void) const
Check if a value has been assigned to Moltype data member.
Definition: GBSeq_.hpp:1638
bool IsSetXrefs(void) const
Check if a value has been assigned to Xrefs data member.
Definition: GBSeq_.hpp:2897
string TStrandedness
Definition: GBSeq_.hpp:101
string TCreate_date
Definition: GBSeq_.hpp:106
const TTaxonomy & GetTaxonomy(void) const
Get the Taxonomy member data.
Definition: GBSeq_.hpp:2430
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
Definition: GBSeq_.hpp:1550
TDefinition & SetDefinition(void)
Assign a value to Definition data member.
Definition: GBSeq_.hpp:2002
string m_Strandedness
Definition: GBSeq_.hpp:1452
const TPrimary_accession & GetPrimary_accession(void) const
Get the Primary_accession member data.
Definition: GBSeq_.hpp:2026
const TComment & GetComment(void) const
Get the Comment member data.
Definition: GBSeq_.hpp:2502
bool IsSetLength(void) const
Check if a value has been assigned to Length data member.
Definition: GBSeq_.hpp:1544
const TSequence & GetSequence(void) const
Get the Sequence member data.
Definition: GBSeq_.hpp:2790
const TDefinition & GetDefinition(void) const
Get the Definition member data.
Definition: GBSeq_.hpp:1979
string m_Create_release
Definition: GBSeq_.hpp:1459
bool IsSetUpdate_release(void) const
Check if a value has been assigned to Update_release data member.
Definition: GBSeq_.hpp:1873
bool CanGetCreate_release(void) const
Check if it is safe to call GetCreate_release method.
Definition: GBSeq_.hpp:1926
string m_Organism
Definition: GBSeq_.hpp:1470
list< CRef< CGBReference > > TReferences
Definition: GBSeq_.hpp:121
const TDivision & GetDivision(void) const
Get the Division member data.
Definition: GBSeq_.hpp:1744
string TUpdate_date
Definition: GBSeq_.hpp:105
string TTopology
Definition: GBSeq_.hpp:103
bool IsSetContig(void) const
Check if a value has been assigned to Contig data member.
Definition: GBSeq_.hpp:2825
const TUpdate_date & GetUpdate_date(void) const
Get the Update_date member data.
Definition: GBSeq_.hpp:1791
bool IsSetComment(void) const
Check if a value has been assigned to Comment data member.
Definition: GBSeq_.hpp:2490
bool CanGetSource(void) const
Check if it is safe to call GetSource method.
Definition: GBSeq_.hpp:2330
bool IsSetComment_set(void) const
Check if a value has been assigned to Comment_set data member.
Definition: GBSeq_.hpp:2537
bool IsSetDivision(void) const
Check if a value has been assigned to Division data member.
Definition: GBSeq_.hpp:1732
bool IsSetStrandedness(void) const
Check if a value has been assigned to Strandedness data member.
Definition: GBSeq_.hpp:1591
bool CanGetFeature_set(void) const
Check if it is safe to call GetFeature_set method.
Definition: GBSeq_.hpp:2759
bool CanGetAlt_seq(void) const
Check if it is safe to call GetAlt_seq method.
Definition: GBSeq_.hpp:2878
string m_Source_db
Definition: GBSeq_.hpp:1477
bool CanGetAccession_version(void) const
Check if it is safe to call GetAccession_version method.
Definition: GBSeq_.hpp:2114
string m_Segment
Definition: GBSeq_.hpp:1468
bool CanGetStruc_comments(void) const
Check if it is safe to call GetStruc_comments method.
Definition: GBSeq_.hpp:2568
TPrimary & SetPrimary(void)
Assign a value to Primary data member.
Definition: GBSeq_.hpp:2622
const TContig & GetContig(void) const
Get the Contig member data.
Definition: GBSeq_.hpp:2837
const TStrandedness & GetStrandedness(void) const
Get the Strandedness member data.
Definition: GBSeq_.hpp:1603
Uint4 m_set_State[3]
Definition: GBSeq_.hpp:1449
string m_Division
Definition: GBSeq_.hpp:1455
bool CanGetDefinition(void) const
Check if it is safe to call GetDefinition method.
Definition: GBSeq_.hpp:1973
CProject * GetProject(wxTreeCtrl &treeCtrl, const CItem &item)
Definition: pt_utils.cpp:77
Modified on Wed Nov 29 02:22:16 2023 by modify_doxy.py rev. 669887