NCBI C++ ToolKit
Seq_inst_.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 Seq_inst_.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/seq/seq.asn">seq.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/seq/seq.def">seq.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_SEQ_SEQ_INST_BASE_HPP
42 #define OBJECTS_SEQ_SEQ_INST_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
47 
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
51 #endif
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 
55 // forward declarations
56 class CInt_fuzz;
57 class CSeq_data;
58 class CSeq_ext;
59 class CSeq_hist;
60 
61 
62 // generated classes
63 
64 
65 /** @addtogroup dataspec_NCBI_Sequence
66  *
67  * @{
68  */
69 
70 /////////////////////////////////////////////////////////////////////////////
71 ///*** Instances of sequences *******************************
72 ///*
73 /// the sequence data itself
74 ///
75 /// CSeq_inst_Base --
76 ///
77 
79 {
81 public:
82  // constructor
83  CSeq_inst_Base(void);
84  // destructor
85  virtual ~CSeq_inst_Base(void);
86 
87  // type info
89 
90  /// representation class
91  enum ERepr {
92  eRepr_not_set = 0, ///< empty
93  eRepr_virtual = 1, ///< no seq data
94  eRepr_raw = 2, ///< continuous sequence
95  eRepr_seg = 3, ///< segmented sequence
96  eRepr_const = 4, ///< constructed sequence
97  eRepr_ref = 5, ///< reference to another sequence
98  eRepr_consen = 6, ///< consensus sequence or pattern
99  eRepr_map = 7, ///< ordered map of any kind
100  eRepr_delta = 8, ///< sequence made by changes (delta) to others
101  eRepr_other = 255
102  };
103 
104  /// Access to ERepr's attributes (values, names) as defined in spec
105  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(ERepr)(void);
106 
107  /// molecule class in living organism
108  enum EMol {
109  eMol_not_set = 0, ///< > cdna = rna
110  eMol_dna = 1,
111  eMol_rna = 2,
112  eMol_aa = 3,
113  eMol_na = 4, ///< just a nucleic acid
114  eMol_other = 255
115  };
116 
117  /// Access to EMol's attributes (values, names) as defined in spec
118  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EMol)(void);
119 
120  /// topology of molecule
121  enum ETopology {
122  eTopology_not_set = 0,
123  eTopology_linear = 1,
124  eTopology_circular = 2,
125  eTopology_tandem = 3, ///< some part of tandem repeat
126  eTopology_other = 255
127  };
128 
129  /// Access to ETopology's attributes (values, names) as defined in spec
130  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(ETopology)(void);
131 
132  /// strandedness in living organism
133  enum EStrand {
134  eStrand_not_set = 0,
135  eStrand_ss = 1, ///< single strand
136  eStrand_ds = 2, ///< double strand
137  eStrand_mixed = 3,
138  eStrand_other = 255 ///< default ds for DNA, ss for RNA, pept
139  };
140 
141  /// Access to EStrand's attributes (values, names) as defined in spec
142  static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EStrand)(void);
143 
144  // types
145  typedef ERepr TRepr;
146  typedef EMol TMol;
147  typedef TSeqPos TLength;
148  typedef CInt_fuzz TFuzz;
150  typedef EStrand TStrand;
152  typedef CSeq_ext TExt;
153  typedef CSeq_hist THist;
154 
155  // getters
156  // setters
157 
158  /// Check if a value has been assigned to Repr data member.
159  ///
160  /// Data member Repr is mandatory;
161  /// its type is defined as 'typedef ERepr TRepr'
162  /// @return
163  /// - true, if a value has been assigned.
164  /// - false, otherwise.
165  bool IsSetRepr(void) const;
166 
167  /// Check if it is safe to call GetRepr method.
168  ///
169  /// @return
170  /// - true, if the data member is getatable.
171  /// - false, otherwise.
172  bool CanGetRepr(void) const;
173 
174  /// Reset Repr data member.
175  void ResetRepr(void);
176 
177  /// Get the Repr member data.
178  ///
179  /// @return
180  /// Copy of the member data.
181  TRepr GetRepr(void) const;
182 
183  /// Assign a value to Repr data member.
184  ///
185  /// @param value
186  /// Value to assign
187  void SetRepr(TRepr value);
188 
189  /// Assign a value to Repr data member.
190  ///
191  /// @return
192  /// Reference to the data value.
193  TRepr& SetRepr(void);
194 
195  /// Check if a value has been assigned to Mol data member.
196  ///
197  /// Data member Mol is mandatory;
198  /// its type is defined as 'typedef EMol TMol'
199  /// @return
200  /// - true, if a value has been assigned.
201  /// - false, otherwise.
202  bool IsSetMol(void) const;
203 
204  /// Check if it is safe to call GetMol method.
205  ///
206  /// @return
207  /// - true, if the data member is getatable.
208  /// - false, otherwise.
209  bool CanGetMol(void) const;
210 
211  /// Reset Mol data member.
212  void ResetMol(void);
213 
214  /// Get the Mol member data.
215  ///
216  /// @return
217  /// Copy of the member data.
218  TMol GetMol(void) const;
219 
220  /// Assign a value to Mol data member.
221  ///
222  /// @param value
223  /// Value to assign
224  void SetMol(TMol value);
225 
226  /// Assign a value to Mol data member.
227  ///
228  /// @return
229  /// Reference to the data value.
230  TMol& SetMol(void);
231 
232  /// length of sequence in residues
233  /// Check if a value has been assigned to Length data member.
234  ///
235  /// Data member Length is optional;
236  /// its type is defined as 'typedef TSeqPos TLength'
237  /// @return
238  /// - true, if a value has been assigned.
239  /// - false, otherwise.
240  bool IsSetLength(void) const;
241 
242  /// Check if it is safe to call GetLength method.
243  ///
244  /// @return
245  /// - true, if the data member is getatable.
246  /// - false, otherwise.
247  bool CanGetLength(void) const;
248 
249  /// Reset Length data member.
250  void ResetLength(void);
251 
252  /// Get the Length member data.
253  ///
254  /// @return
255  /// Copy of the member data.
256  TLength GetLength(void) const;
257 
258  /// Assign a value to Length data member.
259  ///
260  /// @param value
261  /// Value to assign
262  void SetLength(TLength value);
263 
264  /// Assign a value to Length data member.
265  ///
266  /// @return
267  /// Reference to the data value.
268  TLength& SetLength(void);
269 
270  /// length uncertainty
271  /// Check if a value has been assigned to Fuzz data member.
272  ///
273  /// Data member Fuzz is optional;
274  /// its type is defined as 'typedef CInt_fuzz TFuzz'
275  /// @return
276  /// - true, if a value has been assigned.
277  /// - false, otherwise.
278  bool IsSetFuzz(void) const;
279 
280  /// Check if it is safe to call GetFuzz method.
281  ///
282  /// @return
283  /// - true, if the data member is getatable.
284  /// - false, otherwise.
285  bool CanGetFuzz(void) const;
286 
287  /// Reset Fuzz data member.
288  void ResetFuzz(void);
289 
290  /// Get the Fuzz member data.
291  ///
292  /// @return
293  /// Reference to the member data.
294  const TFuzz& GetFuzz(void) const;
295 
296  /// Assign a value to Fuzz data member.
297  ///
298  /// @param value
299  /// Reference to value.
300  void SetFuzz(TFuzz& value);
301 
302  /// Assign a value to Fuzz data member.
303  ///
304  /// @return
305  /// Reference to the data value.
306  TFuzz& SetFuzz(void);
307 
308  /// Check if a value has been assigned to Topology data member.
309  ///
310  /// Data member Topology is optional with default eTopology_linear;
311  /// its type is defined as 'typedef ETopology TTopology'
312  /// @return
313  /// - true, if a value has been assigned.
314  /// - false, otherwise.
315  bool IsSetTopology(void) const;
316 
317  /// Check if it is safe to call GetTopology method.
318  ///
319  /// @return
320  /// - true, if the data member is getatable.
321  /// - false, otherwise.
322  bool CanGetTopology(void) const;
323 
324  /// Reset Topology data member.
325  void ResetTopology(void);
326 
327  /// Assign default value to Topology data member.
328  void SetDefaultTopology(void);
329 
330  /// Get the Topology member data.
331  ///
332  /// @return
333  /// Copy of the member data.
334  TTopology GetTopology(void) const;
335 
336  /// Assign a value to Topology data member.
337  ///
338  /// @param value
339  /// Value to assign
340  void SetTopology(TTopology value);
341 
342  /// Assign a value to Topology data member.
343  ///
344  /// @return
345  /// Reference to the data value.
346  TTopology& SetTopology(void);
347 
348  /// Check if a value has been assigned to Strand data member.
349  ///
350  /// Data member Strand is optional;
351  /// its type is defined as 'typedef EStrand TStrand'
352  /// @return
353  /// - true, if a value has been assigned.
354  /// - false, otherwise.
355  bool IsSetStrand(void) const;
356 
357  /// Check if it is safe to call GetStrand method.
358  ///
359  /// @return
360  /// - true, if the data member is getatable.
361  /// - false, otherwise.
362  bool CanGetStrand(void) const;
363 
364  /// Reset Strand data member.
365  void ResetStrand(void);
366 
367  /// Get the Strand member data.
368  ///
369  /// @return
370  /// Copy of the member data.
371  TStrand GetStrand(void) const;
372 
373  /// Assign a value to Strand data member.
374  ///
375  /// @param value
376  /// Value to assign
377  void SetStrand(TStrand value);
378 
379  /// Assign a value to Strand data member.
380  ///
381  /// @return
382  /// Reference to the data value.
383  TStrand& SetStrand(void);
384 
385  /// the sequence
386  /// Check if a value has been assigned to Seq_data data member.
387  ///
388  /// Data member Seq_data is optional;
389  /// its type is defined as 'typedef CSeq_data TSeq_data'
390  /// @return
391  /// - true, if a value has been assigned.
392  /// - false, otherwise.
393  bool IsSetSeq_data(void) const;
394 
395  /// Check if it is safe to call GetSeq_data method.
396  ///
397  /// @return
398  /// - true, if the data member is getatable.
399  /// - false, otherwise.
400  bool CanGetSeq_data(void) const;
401 
402  /// Reset Seq_data data member.
403  void ResetSeq_data(void);
404 
405  /// Get the Seq_data member data.
406  ///
407  /// @return
408  /// Reference to the member data.
409  const TSeq_data& GetSeq_data(void) const;
410 
411  /// Assign a value to Seq_data data member.
412  ///
413  /// @param value
414  /// Reference to value.
415  void SetSeq_data(TSeq_data& value);
416 
417  /// Assign a value to Seq_data data member.
418  ///
419  /// @return
420  /// Reference to the data value.
421  TSeq_data& SetSeq_data(void);
422 
423  /// extensions for special types
424  /// Check if a value has been assigned to Ext data member.
425  ///
426  /// Data member Ext is optional;
427  /// its type is defined as 'typedef CSeq_ext TExt'
428  /// @return
429  /// - true, if a value has been assigned.
430  /// - false, otherwise.
431  bool IsSetExt(void) const;
432 
433  /// Check if it is safe to call GetExt method.
434  ///
435  /// @return
436  /// - true, if the data member is getatable.
437  /// - false, otherwise.
438  bool CanGetExt(void) const;
439 
440  /// Reset Ext data member.
441  void ResetExt(void);
442 
443  /// Get the Ext member data.
444  ///
445  /// @return
446  /// Reference to the member data.
447  const TExt& GetExt(void) const;
448 
449  /// Assign a value to Ext data member.
450  ///
451  /// @param value
452  /// Reference to value.
453  void SetExt(TExt& value);
454 
455  /// Assign a value to Ext data member.
456  ///
457  /// @return
458  /// Reference to the data value.
459  TExt& SetExt(void);
460 
461  /// sequence history
462  /// Check if a value has been assigned to Hist data member.
463  ///
464  /// Data member Hist is optional;
465  /// its type is defined as 'typedef CSeq_hist THist'
466  /// @return
467  /// - true, if a value has been assigned.
468  /// - false, otherwise.
469  bool IsSetHist(void) const;
470 
471  /// Check if it is safe to call GetHist method.
472  ///
473  /// @return
474  /// - true, if the data member is getatable.
475  /// - false, otherwise.
476  bool CanGetHist(void) const;
477 
478  /// Reset Hist data member.
479  void ResetHist(void);
480 
481  /// Get the Hist member data.
482  ///
483  /// @return
484  /// Reference to the member data.
485  const THist& GetHist(void) const;
486 
487  /// Assign a value to Hist data member.
488  ///
489  /// @param value
490  /// Reference to value.
491  void SetHist(THist& value);
492 
493  /// Assign a value to Hist data member.
494  ///
495  /// @return
496  /// Reference to the data value.
497  THist& SetHist(void);
498 
499  /// Reset the whole object
500  virtual void Reset(void);
501 
502 
503 private:
504  // Prohibit copy constructor and assignment operator
507 
508  // data
509  Uint4 m_set_State[1];
519 };
520 
521 /* @} */
522 
523 
524 
525 
526 
527 ///////////////////////////////////////////////////////////
528 ///////////////////// inline methods //////////////////////
529 ///////////////////////////////////////////////////////////
530 inline
532 {
533  return ((m_set_State[0] & 0x3) != 0);
534 }
535 
536 inline
538 {
539  return IsSetRepr();
540 }
541 
542 inline
544 {
545  m_Repr = (ERepr)(0);
546  m_set_State[0] &= ~0x3;
547 }
548 
549 inline
551 {
552  if (!CanGetRepr()) {
553  ThrowUnassigned(0);
554  }
555  return m_Repr;
556 }
557 
558 inline
560 {
561  m_Repr = value;
562  m_set_State[0] |= 0x3;
563 }
564 
565 inline
567 {
568 #ifdef _DEBUG
569  if (!IsSetRepr()) {
570  memset(&m_Repr,UnassignedByte(),sizeof(m_Repr));
571  }
572 #endif
573  m_set_State[0] |= 0x1;
574  return m_Repr;
575 }
576 
577 inline
578 bool CSeq_inst_Base::IsSetMol(void) const
579 {
580  return ((m_set_State[0] & 0xc) != 0);
581 }
582 
583 inline
585 {
586  return IsSetMol();
587 }
588 
589 inline
591 {
592  m_Mol = (EMol)(0);
593  m_set_State[0] &= ~0xc;
594 }
595 
596 inline
598 {
599  if (!CanGetMol()) {
600  ThrowUnassigned(1);
601  }
602  return m_Mol;
603 }
604 
605 inline
607 {
608  m_Mol = value;
609  m_set_State[0] |= 0xc;
610 }
611 
612 inline
614 {
615 #ifdef _DEBUG
616  if (!IsSetMol()) {
617  memset(&m_Mol,UnassignedByte(),sizeof(m_Mol));
618  }
619 #endif
620  m_set_State[0] |= 0x4;
621  return m_Mol;
622 }
623 
624 inline
626 {
627  return ((m_set_State[0] & 0x30) != 0);
628 }
629 
630 inline
632 {
633  return IsSetLength();
634 }
635 
636 inline
638 {
639  m_Length = 0;
640  m_set_State[0] &= ~0x30;
641 }
642 
643 inline
645 {
646  if (!CanGetLength()) {
647  ThrowUnassigned(2);
648  }
649  return m_Length;
650 }
651 
652 inline
654 {
655  m_Length = value;
656  m_set_State[0] |= 0x30;
657 }
658 
659 inline
661 {
662 #ifdef _DEBUG
663  if (!IsSetLength()) {
664  memset(&m_Length,UnassignedByte(),sizeof(m_Length));
665  }
666 #endif
667  m_set_State[0] |= 0x10;
668  return m_Length;
669 }
670 
671 inline
673 {
674  return m_Fuzz.NotEmpty();
675 }
676 
677 inline
679 {
680  return IsSetFuzz();
681 }
682 
683 inline
685 {
686  if (!CanGetFuzz()) {
687  ThrowUnassigned(3);
688  }
689  return (*m_Fuzz);
690 }
691 
692 inline
694 {
695  return ((m_set_State[0] & 0x300) != 0);
696 }
697 
698 inline
700 {
701  return true;
702 }
703 
704 inline
706 {
708  m_set_State[0] &= ~0x300;
709 }
710 
711 inline
713 {
714  ResetTopology();
715 }
716 
717 inline
719 {
720  return m_Topology;
721 }
722 
723 inline
725 {
726  m_Topology = value;
727  m_set_State[0] |= 0x300;
728 }
729 
730 inline
732 {
733 #ifdef _DEBUG
734  if (!IsSetTopology()) {
735  memset(&m_Topology,UnassignedByte(),sizeof(m_Topology));
736  }
737 #endif
738  m_set_State[0] |= 0x100;
739  return m_Topology;
740 }
741 
742 inline
744 {
745  return ((m_set_State[0] & 0xc00) != 0);
746 }
747 
748 inline
750 {
751  return IsSetStrand();
752 }
753 
754 inline
756 {
757  m_Strand = (EStrand)(0);
758  m_set_State[0] &= ~0xc00;
759 }
760 
761 inline
763 {
764  if (!CanGetStrand()) {
765  ThrowUnassigned(5);
766  }
767  return m_Strand;
768 }
769 
770 inline
772 {
773  m_Strand = value;
774  m_set_State[0] |= 0xc00;
775 }
776 
777 inline
779 {
780 #ifdef _DEBUG
781  if (!IsSetStrand()) {
782  memset(&m_Strand,UnassignedByte(),sizeof(m_Strand));
783  }
784 #endif
785  m_set_State[0] |= 0x400;
786  return m_Strand;
787 }
788 
789 inline
791 {
792  return m_Seq_data.NotEmpty();
793 }
794 
795 inline
797 {
798  return IsSetSeq_data();
799 }
800 
801 inline
803 {
804  if (!CanGetSeq_data()) {
805  ThrowUnassigned(6);
806  }
807  return (*m_Seq_data);
808 }
809 
810 inline
811 bool CSeq_inst_Base::IsSetExt(void) const
812 {
813  return m_Ext.NotEmpty();
814 }
815 
816 inline
818 {
819  return IsSetExt();
820 }
821 
822 inline
824 {
825  if (!CanGetExt()) {
826  ThrowUnassigned(7);
827  }
828  return (*m_Ext);
829 }
830 
831 inline
833 {
834  return m_Hist.NotEmpty();
835 }
836 
837 inline
839 {
840  return IsSetHist();
841 }
842 
843 inline
845 {
846  if (!CanGetHist()) {
847  ThrowUnassigned(8);
848  }
849  return (*m_Hist);
850 }
851 
852 ///////////////////////////////////////////////////////////
853 ////////////////// end of inline methods //////////////////
854 ///////////////////////////////////////////////////////////
855 
856 
857 
858 
859 
860 END_objects_SCOPE // namespace ncbi::objects::
861 
863 
864 
865 #endif // OBJECTS_SEQ_SEQ_INST_BASE_HPP
EStrand m_Strand
Definition: Seq_inst_.hpp:515
const TSeq_data & GetSeq_data(void) const
Get the Seq_data member data.
Definition: Seq_inst_.hpp:802
CSerialObject Tparent
Definition: Seq_inst_.hpp:80
#define DECLARE_INTERNAL_TYPE_INFO()
Definition: serialbase.hpp:764
TRepr & SetRepr(void)
Assign a value to Repr data member.
Definition: Seq_inst_.hpp:566
bool IsSetExt(void) const
extensions for special types Check if a value has been assigned to Ext data member.
Definition: Seq_inst_.hpp:811
ETopology TTopology
Definition: Seq_inst_.hpp:149
void ResetLength(void)
Reset Length data member.
Definition: Seq_inst_.hpp:637
unsigned int Uint4
Alias for unsigned int.
Definition: ncbitype.h:121
void ResetTopology(void)
Reset Topology data member.
Definition: Seq_inst_.hpp:705
unsigned int TSeqPos
Type for sequence locations and lengths.
Definition: ncbimisc.hpp:953
bool CanGetExt(void) const
Check if it is safe to call GetExt method.
Definition: Seq_inst_.hpp:817
TMol GetMol(void) const
Get the Mol member data.
Definition: Seq_inst_.hpp:597
static const CInt_fuzz * GetFuzz(const CDelta_item &delta)
void ResetMol(void)
Reset Mol data member.
Definition: Seq_inst_.hpp:590
void ThrowUnassigned(TMemberIndex index) const
const TExt & GetExt(void) const
Get the Ext member data.
Definition: Seq_inst_.hpp:823
const TFuzz & GetFuzz(void) const
Get the Fuzz member data.
Definition: Seq_inst_.hpp:684
EStrand
ERepr
representation class
Definition: Seq_inst_.hpp:91
bool IsSetHist(void) const
sequence history Check if a value has been assigned to Hist data member.
Definition: Seq_inst_.hpp:832
Uint4 m_set_State[1]
Definition: Seq_inst_.hpp:509
static char UnassignedByte(void)
Definition: serialbase.hpp:180
void ResetRepr(void)
Reset Repr data member.
Definition: Seq_inst_.hpp:543
TSeqPos m_Length
Definition: Seq_inst_.hpp:512
CSeq_data TSeq_data
Definition: Seq_inst_.hpp:151
bool CanGetRepr(void) const
Check if it is safe to call GetRepr method.
Definition: Seq_inst_.hpp:537
TStrand GetStrand(void) const
Get the Strand member data.
Definition: Seq_inst_.hpp:762
bool IsSetRepr(void) const
Check if a value has been assigned to Repr data member.
Definition: Seq_inst_.hpp:531
EStrand TStrand
Definition: Seq_inst_.hpp:150
TTopology & SetTopology(void)
Assign a value to Topology data member.
Definition: Seq_inst_.hpp:731
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:101
bool CanGetHist(void) const
Check if it is safe to call GetHist method.
Definition: Seq_inst_.hpp:838
TLength GetLength(void) const
Get the Length member data.
Definition: Seq_inst_.hpp:644
TRepr GetRepr(void) const
Get the Repr member data.
Definition: Seq_inst_.hpp:550
void SetDefaultTopology(void)
Assign default value to Topology data member.
Definition: Seq_inst_.hpp:712
TLength & SetLength(void)
Assign a value to Length data member.
Definition: Seq_inst_.hpp:660
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() ERepr(void)
Access to ERepr's attributes (values, names) as defined in spec.
CSeq_ext TExt
Definition: Seq_inst_.hpp:152
#define NCBI_SEQ_EXPORT
Definition: ncbi_export.h:824
ETopology
topology of molecule
Definition: Seq_inst_.hpp:121
const THist & GetHist(void) const
Get the Hist member data.
Definition: Seq_inst_.hpp:844
TSeqPos TLength
Definition: Seq_inst_.hpp:147
CRef< TFuzz > m_Fuzz
Definition: Seq_inst_.hpp:513
CSeq_ext –.
Definition: Seq_ext.hpp:65
bool CanGetFuzz(void) const
Check if it is safe to call GetFuzz method.
Definition: Seq_inst_.hpp:678
EStrand
strandedness in living organism
Definition: Seq_inst_.hpp:133
CRef< TExt > m_Ext
Definition: Seq_inst_.hpp:517
EMol
molecule class in living organism
Definition: Seq_inst_.hpp:108
bool IsSetStrand(void) const
Check if a value has been assigned to Strand data member.
Definition: Seq_inst_.hpp:743
char value[7]
Definition: config.c:428
ETopology m_Topology
Definition: Seq_inst_.hpp:514
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() EStrand(void)
Access to EStrand's attributes (values, names) as defined in spec.
CRef< THist > m_Hist
Definition: Seq_inst_.hpp:518
void ResetStrand(void)
Reset Strand data member.
Definition: Seq_inst_.hpp:755
ENa_strand GetStrand(const CSeq_loc &loc, CScope *scope=0)
Returns eNa_strand_unknown if multiple Bioseqs in loc Returns eNa_strand_other if multiple strands in...
bool CanGetSeq_data(void) const
Check if it is safe to call GetSeq_data method.
Definition: Seq_inst_.hpp:796
bool IsSetMol(void) const
Check if a value has been assigned to Mol data member.
Definition: Seq_inst_.hpp:578
CRef –.
Definition: ncbiobj.hpp:616
TStrand & SetStrand(void)
Assign a value to Strand data member.
Definition: Seq_inst_.hpp:778
Base class for all serializable objects.
Definition: serialbase.hpp:148
bool CanGetTopology(void) const
Check if it is safe to call GetTopology method.
Definition: Seq_inst_.hpp:699
bool IsSetFuzz(void) const
length uncertainty Check if a value has been assigned to Fuzz data member.
Definition: Seq_inst_.hpp:672
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:769
bool CanGetMol(void) const
Check if it is safe to call GetMol method.
Definition: Seq_inst_.hpp:584
CSeq_hist –.
Definition: Seq_hist.hpp:65
TMol & SetMol(void)
Assign a value to Mol data member.
Definition: Seq_inst_.hpp:613
*** Instances of sequences ******************************* * the sequence data itself ...
Definition: Seq_inst_.hpp:78
bool CanGetStrand(void) const
Check if it is safe to call GetStrand method.
Definition: Seq_inst_.hpp:749
CObject & operator=(const CObject &src) THROWS_NONE
Assignment operator.
Definition: ncbiobj.hpp:483
bool IsSetLength(void) const
length of sequence in residues Check if a value has been assigned to Length data member.
Definition: Seq_inst_.hpp:625
CSeq_hist THist
Definition: Seq_inst_.hpp:153
CInt_fuzz TFuzz
Definition: Seq_inst_.hpp:148
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:98
bool IsSetSeq_data(void) const
the sequence Check if a value has been assigned to Seq_data data member.
Definition: Seq_inst_.hpp:790
bool IsSetTopology(void) const
Check if a value has been assigned to Topology data member.
Definition: Seq_inst_.hpp:693
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
Definition: Seq_inst_.hpp:631
static const NCBI_NS_NCBI::CEnumeratedTypeValues *ENUM_METHOD_NAME() EMol(void)
Access to EMol's attributes (values, names) as defined in spec.
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
TTopology GetTopology(void) const
Get the Topology member data.
Definition: Seq_inst_.hpp:718
CRef< TSeq_data > m_Seq_data
Definition: Seq_inst_.hpp:516
Modified on Wed Feb 22 16:08:24 2017 by modify_doxy.py rev. 506947