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  // member index
156  enum class E_memberIndex {
157  e__allMandatory = 0,
158  e_repr,
159  e_mol,
160  e_length,
161  e_fuzz,
162  e_topology,
163  e_strand,
164  e_seq_data,
165  e_ext,
166  e_hist
167  };
169 
170  // getters
171  // setters
172 
173  /// Check if a value has been assigned to Repr data member.
174  ///
175  /// Data member Repr is mandatory;
176  /// its type is defined as 'typedef ERepr TRepr'
177  /// @return
178  /// - true, if a value has been assigned.
179  /// - false, otherwise.
180  bool IsSetRepr(void) const;
181 
182  /// Check if it is safe to call GetRepr method.
183  ///
184  /// @return
185  /// - true, if the data member is getatable.
186  /// - false, otherwise.
187  bool CanGetRepr(void) const;
188 
189  /// Reset Repr data member.
190  void ResetRepr(void);
191 
192  /// Get the Repr member data.
193  ///
194  /// @return
195  /// Copy of the member data.
196  TRepr GetRepr(void) const;
197 
198  /// Assign a value to Repr data member.
199  ///
200  /// @param value
201  /// Value to assign
202  void SetRepr(TRepr value);
203 
204  /// Assign a value to Repr data member.
205  ///
206  /// @return
207  /// Reference to the data value.
208  TRepr& SetRepr(void);
209 
210  /// Check if a value has been assigned to Mol data member.
211  ///
212  /// Data member Mol is mandatory;
213  /// its type is defined as 'typedef EMol TMol'
214  /// @return
215  /// - true, if a value has been assigned.
216  /// - false, otherwise.
217  bool IsSetMol(void) const;
218 
219  /// Check if it is safe to call GetMol method.
220  ///
221  /// @return
222  /// - true, if the data member is getatable.
223  /// - false, otherwise.
224  bool CanGetMol(void) const;
225 
226  /// Reset Mol data member.
227  void ResetMol(void);
228 
229  /// Get the Mol member data.
230  ///
231  /// @return
232  /// Copy of the member data.
233  TMol GetMol(void) const;
234 
235  /// Assign a value to Mol data member.
236  ///
237  /// @param value
238  /// Value to assign
239  void SetMol(TMol value);
240 
241  /// Assign a value to Mol data member.
242  ///
243  /// @return
244  /// Reference to the data value.
245  TMol& SetMol(void);
246 
247  /// length of sequence in residues
248  /// Check if a value has been assigned to Length data member.
249  ///
250  /// Data member Length is optional;
251  /// its type is defined as 'typedef TSeqPos TLength'
252  /// @return
253  /// - true, if a value has been assigned.
254  /// - false, otherwise.
255  bool IsSetLength(void) const;
256 
257  /// Check if it is safe to call GetLength method.
258  ///
259  /// @return
260  /// - true, if the data member is getatable.
261  /// - false, otherwise.
262  bool CanGetLength(void) const;
263 
264  /// Reset Length data member.
265  void ResetLength(void);
266 
267  /// Get the Length member data.
268  ///
269  /// @return
270  /// Copy of the member data.
271  TLength GetLength(void) const;
272 
273  /// Assign a value to Length data member.
274  ///
275  /// @param value
276  /// Value to assign
277  void SetLength(TLength value);
278 
279  /// Assign a value to Length data member.
280  ///
281  /// @return
282  /// Reference to the data value.
283  TLength& SetLength(void);
284 
285  /// length uncertainty
286  /// Check if a value has been assigned to Fuzz data member.
287  ///
288  /// Data member Fuzz is optional;
289  /// its type is defined as 'typedef CInt_fuzz TFuzz'
290  /// @return
291  /// - true, if a value has been assigned.
292  /// - false, otherwise.
293  bool IsSetFuzz(void) const;
294 
295  /// Check if it is safe to call GetFuzz method.
296  ///
297  /// @return
298  /// - true, if the data member is getatable.
299  /// - false, otherwise.
300  bool CanGetFuzz(void) const;
301 
302  /// Reset Fuzz data member.
303  void ResetFuzz(void);
304 
305  /// Get the Fuzz member data.
306  ///
307  /// @return
308  /// Reference to the member data.
309  const TFuzz& GetFuzz(void) const;
310 
311  /// Assign a value to Fuzz data member.
312  ///
313  /// @param value
314  /// Reference to value.
315  void SetFuzz(TFuzz& value);
316 
317  /// Assign a value to Fuzz data member.
318  ///
319  /// @return
320  /// Reference to the data value.
321  TFuzz& SetFuzz(void);
322 
323  /// Check if a value has been assigned to Topology data member.
324  ///
325  /// Data member Topology is optional with default eTopology_linear;
326  /// its type is defined as 'typedef ETopology TTopology'
327  /// @return
328  /// - true, if a value has been assigned.
329  /// - false, otherwise.
330  bool IsSetTopology(void) const;
331 
332  /// Check if it is safe to call GetTopology method.
333  ///
334  /// @return
335  /// - true, if the data member is getatable.
336  /// - false, otherwise.
337  bool CanGetTopology(void) const;
338 
339  /// Reset Topology data member.
340  void ResetTopology(void);
341 
342  /// Assign default value to Topology data member.
343  void SetDefaultTopology(void);
344 
345  /// Get the Topology member data.
346  ///
347  /// @return
348  /// Copy of the member data.
349  TTopology GetTopology(void) const;
350 
351  /// Assign a value to Topology data member.
352  ///
353  /// @param value
354  /// Value to assign
355  void SetTopology(TTopology value);
356 
357  /// Assign a value to Topology data member.
358  ///
359  /// @return
360  /// Reference to the data value.
361  TTopology& SetTopology(void);
362 
363  /// Check if a value has been assigned to Strand data member.
364  ///
365  /// Data member Strand is optional;
366  /// its type is defined as 'typedef EStrand TStrand'
367  /// @return
368  /// - true, if a value has been assigned.
369  /// - false, otherwise.
370  bool IsSetStrand(void) const;
371 
372  /// Check if it is safe to call GetStrand method.
373  ///
374  /// @return
375  /// - true, if the data member is getatable.
376  /// - false, otherwise.
377  bool CanGetStrand(void) const;
378 
379  /// Reset Strand data member.
380  void ResetStrand(void);
381 
382  /// Get the Strand member data.
383  ///
384  /// @return
385  /// Copy of the member data.
386  TStrand GetStrand(void) const;
387 
388  /// Assign a value to Strand data member.
389  ///
390  /// @param value
391  /// Value to assign
392  void SetStrand(TStrand value);
393 
394  /// Assign a value to Strand data member.
395  ///
396  /// @return
397  /// Reference to the data value.
398  TStrand& SetStrand(void);
399 
400  /// the sequence
401  /// Check if a value has been assigned to Seq_data data member.
402  ///
403  /// Data member Seq_data is optional;
404  /// its type is defined as 'typedef CSeq_data TSeq_data'
405  /// @return
406  /// - true, if a value has been assigned.
407  /// - false, otherwise.
408  bool IsSetSeq_data(void) const;
409 
410  /// Check if it is safe to call GetSeq_data method.
411  ///
412  /// @return
413  /// - true, if the data member is getatable.
414  /// - false, otherwise.
415  bool CanGetSeq_data(void) const;
416 
417  /// Reset Seq_data data member.
418  void ResetSeq_data(void);
419 
420  /// Get the Seq_data member data.
421  ///
422  /// @return
423  /// Reference to the member data.
424  const TSeq_data& GetSeq_data(void) const;
425 
426  /// Assign a value to Seq_data data member.
427  ///
428  /// @param value
429  /// Reference to value.
430  void SetSeq_data(TSeq_data& value);
431 
432  /// Assign a value to Seq_data data member.
433  ///
434  /// @return
435  /// Reference to the data value.
436  TSeq_data& SetSeq_data(void);
437 
438  /// extensions for special types
439  /// Check if a value has been assigned to Ext data member.
440  ///
441  /// Data member Ext is optional;
442  /// its type is defined as 'typedef CSeq_ext TExt'
443  /// @return
444  /// - true, if a value has been assigned.
445  /// - false, otherwise.
446  bool IsSetExt(void) const;
447 
448  /// Check if it is safe to call GetExt method.
449  ///
450  /// @return
451  /// - true, if the data member is getatable.
452  /// - false, otherwise.
453  bool CanGetExt(void) const;
454 
455  /// Reset Ext data member.
456  void ResetExt(void);
457 
458  /// Get the Ext member data.
459  ///
460  /// @return
461  /// Reference to the member data.
462  const TExt& GetExt(void) const;
463 
464  /// Assign a value to Ext data member.
465  ///
466  /// @param value
467  /// Reference to value.
468  void SetExt(TExt& value);
469 
470  /// Assign a value to Ext data member.
471  ///
472  /// @return
473  /// Reference to the data value.
474  TExt& SetExt(void);
475 
476  /// sequence history
477  /// Check if a value has been assigned to Hist data member.
478  ///
479  /// Data member Hist is optional;
480  /// its type is defined as 'typedef CSeq_hist THist'
481  /// @return
482  /// - true, if a value has been assigned.
483  /// - false, otherwise.
484  bool IsSetHist(void) const;
485 
486  /// Check if it is safe to call GetHist method.
487  ///
488  /// @return
489  /// - true, if the data member is getatable.
490  /// - false, otherwise.
491  bool CanGetHist(void) const;
492 
493  /// Reset Hist data member.
494  void ResetHist(void);
495 
496  /// Get the Hist member data.
497  ///
498  /// @return
499  /// Reference to the member data.
500  const THist& GetHist(void) const;
501 
502  /// Assign a value to Hist data member.
503  ///
504  /// @param value
505  /// Reference to value.
506  void SetHist(THist& value);
507 
508  /// Assign a value to Hist data member.
509  ///
510  /// @return
511  /// Reference to the data value.
512  THist& SetHist(void);
513 
514  /// Reset the whole object
515  virtual void Reset(void);
516 
517 
518 private:
519  // Prohibit copy constructor and assignment operator
522 
523  // data
524  Uint4 m_set_State[1];
534 };
535 
536 /* @} */
537 
538 
539 
540 
541 
542 ///////////////////////////////////////////////////////////
543 ///////////////////// inline methods //////////////////////
544 ///////////////////////////////////////////////////////////
545 inline
547 {
548  return ((m_set_State[0] & 0x3) != 0);
549 }
550 
551 inline
553 {
554  return IsSetRepr();
555 }
556 
557 inline
559 {
560  m_Repr = (ERepr)(0);
561  m_set_State[0] &= ~0x3;
562 }
563 
564 inline
566 {
567  if (!CanGetRepr()) {
568  ThrowUnassigned(0);
569  }
570  return m_Repr;
571 }
572 
573 inline
575 {
576  m_Repr = value;
577  m_set_State[0] |= 0x3;
578 }
579 
580 inline
582 {
583 #ifdef _DEBUG
584  if (!IsSetRepr()) {
585  memset(&m_Repr,UnassignedByte(),sizeof(m_Repr));
586  }
587 #endif
588  m_set_State[0] |= 0x1;
589  return m_Repr;
590 }
591 
592 inline
593 bool CSeq_inst_Base::IsSetMol(void) const
594 {
595  return ((m_set_State[0] & 0xc) != 0);
596 }
597 
598 inline
600 {
601  return IsSetMol();
602 }
603 
604 inline
606 {
607  m_Mol = (EMol)(0);
608  m_set_State[0] &= ~0xc;
609 }
610 
611 inline
613 {
614  if (!CanGetMol()) {
615  ThrowUnassigned(1);
616  }
617  return m_Mol;
618 }
619 
620 inline
622 {
623  m_Mol = value;
624  m_set_State[0] |= 0xc;
625 }
626 
627 inline
629 {
630 #ifdef _DEBUG
631  if (!IsSetMol()) {
632  memset(&m_Mol,UnassignedByte(),sizeof(m_Mol));
633  }
634 #endif
635  m_set_State[0] |= 0x4;
636  return m_Mol;
637 }
638 
639 inline
641 {
642  return ((m_set_State[0] & 0x30) != 0);
643 }
644 
645 inline
647 {
648  return IsSetLength();
649 }
650 
651 inline
653 {
654  m_Length = 0;
655  m_set_State[0] &= ~0x30;
656 }
657 
658 inline
660 {
661  if (!CanGetLength()) {
662  ThrowUnassigned(2);
663  }
664  return m_Length;
665 }
666 
667 inline
669 {
670  m_Length = value;
671  m_set_State[0] |= 0x30;
672 }
673 
674 inline
676 {
677 #ifdef _DEBUG
678  if (!IsSetLength()) {
679  memset(&m_Length,UnassignedByte(),sizeof(m_Length));
680  }
681 #endif
682  m_set_State[0] |= 0x10;
683  return m_Length;
684 }
685 
686 inline
688 {
689  return m_Fuzz.NotEmpty();
690 }
691 
692 inline
694 {
695  return IsSetFuzz();
696 }
697 
698 inline
700 {
701  if (!CanGetFuzz()) {
702  ThrowUnassigned(3);
703  }
704  return (*m_Fuzz);
705 }
706 
707 inline
709 {
710  return ((m_set_State[0] & 0x300) != 0);
711 }
712 
713 inline
715 {
716  return true;
717 }
718 
719 inline
721 {
723  m_set_State[0] &= ~0x300;
724 }
725 
726 inline
728 {
729  ResetTopology();
730 }
731 
732 inline
734 {
735  return m_Topology;
736 }
737 
738 inline
740 {
741  m_Topology = value;
742  m_set_State[0] |= 0x300;
743 }
744 
745 inline
747 {
748 #ifdef _DEBUG
749  if (!IsSetTopology()) {
750  memset(&m_Topology,UnassignedByte(),sizeof(m_Topology));
751  }
752 #endif
753  m_set_State[0] |= 0x100;
754  return m_Topology;
755 }
756 
757 inline
759 {
760  return ((m_set_State[0] & 0xc00) != 0);
761 }
762 
763 inline
765 {
766  return IsSetStrand();
767 }
768 
769 inline
771 {
772  m_Strand = (EStrand)(0);
773  m_set_State[0] &= ~0xc00;
774 }
775 
776 inline
778 {
779  if (!CanGetStrand()) {
780  ThrowUnassigned(5);
781  }
782  return m_Strand;
783 }
784 
785 inline
787 {
788  m_Strand = value;
789  m_set_State[0] |= 0xc00;
790 }
791 
792 inline
794 {
795 #ifdef _DEBUG
796  if (!IsSetStrand()) {
797  memset(&m_Strand,UnassignedByte(),sizeof(m_Strand));
798  }
799 #endif
800  m_set_State[0] |= 0x400;
801  return m_Strand;
802 }
803 
804 inline
806 {
807  return m_Seq_data.NotEmpty();
808 }
809 
810 inline
812 {
813  return IsSetSeq_data();
814 }
815 
816 inline
818 {
819  if (!CanGetSeq_data()) {
820  ThrowUnassigned(6);
821  }
822  return (*m_Seq_data);
823 }
824 
825 inline
826 bool CSeq_inst_Base::IsSetExt(void) const
827 {
828  return m_Ext.NotEmpty();
829 }
830 
831 inline
833 {
834  return IsSetExt();
835 }
836 
837 inline
839 {
840  if (!CanGetExt()) {
841  ThrowUnassigned(7);
842  }
843  return (*m_Ext);
844 }
845 
846 inline
848 {
849  return m_Hist.NotEmpty();
850 }
851 
852 inline
854 {
855  return IsSetHist();
856 }
857 
858 inline
860 {
861  if (!CanGetHist()) {
862  ThrowUnassigned(8);
863  }
864  return (*m_Hist);
865 }
866 
867 ///////////////////////////////////////////////////////////
868 ////////////////// end of inline methods //////////////////
869 ///////////////////////////////////////////////////////////
870 
871 
872 
873 
874 
875 END_objects_SCOPE // namespace ncbi::objects::
876 
878 
879 
880 #endif // OBJECTS_SEQ_SEQ_INST_BASE_HPP
CRef –.
Definition: ncbiobj.hpp:618
CSeq_ext –.
Definition: Seq_ext.hpp:66
CSeq_hist –.
Definition: Seq_hist.hpp:66
*** Instances of sequences ******************************* * the sequence data itself
Definition: Seq_inst_.hpp:79
Base class for all serializable objects.
Definition: serialbase.hpp:150
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
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:994
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
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...
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_SEQ_EXPORT
Definition: ncbi_export.h:825
CInt_fuzz TFuzz
Definition: Seq_inst_.hpp:148
void ResetStrand(void)
Reset Strand data member.
Definition: Seq_inst_.hpp:770
TRepr GetRepr(void) const
Get the Repr member data.
Definition: Seq_inst_.hpp:565
CRef< TFuzz > m_Fuzz
Definition: Seq_inst_.hpp:528
bool IsSetSeq_data(void) const
the sequence Check if a value has been assigned to Seq_data data member.
Definition: Seq_inst_.hpp:805
TRepr & SetRepr(void)
Assign a value to Repr data member.
Definition: Seq_inst_.hpp:581
TStrand GetStrand(void) const
Get the Strand member data.
Definition: Seq_inst_.hpp:777
bool CanGetStrand(void) const
Check if it is safe to call GetStrand method.
Definition: Seq_inst_.hpp:764
ERepr
representation class
Definition: Seq_inst_.hpp:91
void ResetMol(void)
Reset Mol data member.
Definition: Seq_inst_.hpp:605
CSeq_data TSeq_data
Definition: Seq_inst_.hpp:151
CRef< TSeq_data > m_Seq_data
Definition: Seq_inst_.hpp:531
TTopology GetTopology(void) const
Get the Topology member data.
Definition: Seq_inst_.hpp:733
bool CanGetMol(void) const
Check if it is safe to call GetMol method.
Definition: Seq_inst_.hpp:599
bool IsSetRepr(void) const
Check if a value has been assigned to Repr data member.
Definition: Seq_inst_.hpp:546
bool IsSetMol(void) const
Check if a value has been assigned to Mol data member.
Definition: Seq_inst_.hpp:593
CSerialObject Tparent
Definition: Seq_inst_.hpp:80
const TFuzz & GetFuzz(void) const
Get the Fuzz member data.
Definition: Seq_inst_.hpp:699
bool CanGetTopology(void) const
Check if it is safe to call GetTopology method.
Definition: Seq_inst_.hpp:714
bool IsSetStrand(void) const
Check if a value has been assigned to Strand data member.
Definition: Seq_inst_.hpp:758
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
Definition: Seq_inst_.hpp:646
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
Definition: Seq_inst_.hpp:168
bool IsSetHist(void) const
sequence history Check if a value has been assigned to Hist data member.
Definition: Seq_inst_.hpp:847
bool IsSetExt(void) const
extensions for special types Check if a value has been assigned to Ext data member.
Definition: Seq_inst_.hpp:826
DECLARE_INTERNAL_TYPE_INFO()
TLength GetLength(void) const
Get the Length member data.
Definition: Seq_inst_.hpp:659
ETopology TTopology
Definition: Seq_inst_.hpp:149
Uint4 m_set_State[1]
Definition: Seq_inst_.hpp:524
TMol GetMol(void) const
Get the Mol member data.
Definition: Seq_inst_.hpp:612
CSeq_ext TExt
Definition: Seq_inst_.hpp:152
EStrand m_Strand
Definition: Seq_inst_.hpp:530
bool CanGetFuzz(void) const
Check if it is safe to call GetFuzz method.
Definition: Seq_inst_.hpp:693
void SetDefaultTopology(void)
Assign default value to Topology data member.
Definition: Seq_inst_.hpp:727
bool IsSetLength(void) const
length of sequence in residues Check if a value has been assigned to Length data member.
Definition: Seq_inst_.hpp:640
bool CanGetHist(void) const
Check if it is safe to call GetHist method.
Definition: Seq_inst_.hpp:853
const THist & GetHist(void) const
Get the Hist member data.
Definition: Seq_inst_.hpp:859
const TExt & GetExt(void) const
Get the Ext member data.
Definition: Seq_inst_.hpp:838
bool CanGetRepr(void) const
Check if it is safe to call GetRepr method.
Definition: Seq_inst_.hpp:552
void ResetTopology(void)
Reset Topology data member.
Definition: Seq_inst_.hpp:720
CRef< TExt > m_Ext
Definition: Seq_inst_.hpp:532
ETopology
topology of molecule
Definition: Seq_inst_.hpp:121
TTopology & SetTopology(void)
Assign a value to Topology data member.
Definition: Seq_inst_.hpp:746
EMol
molecule class in living organism
Definition: Seq_inst_.hpp:108
ETopology m_Topology
Definition: Seq_inst_.hpp:529
TMol & SetMol(void)
Assign a value to Mol data member.
Definition: Seq_inst_.hpp:628
EStrand
strandedness in living organism
Definition: Seq_inst_.hpp:133
TSeqPos m_Length
Definition: Seq_inst_.hpp:527
bool CanGetExt(void) const
Check if it is safe to call GetExt method.
Definition: Seq_inst_.hpp:832
bool CanGetSeq_data(void) const
Check if it is safe to call GetSeq_data method.
Definition: Seq_inst_.hpp:811
void ResetLength(void)
Reset Length data member.
Definition: Seq_inst_.hpp:652
CSeq_inst_Base & operator=(const CSeq_inst_Base &)
TLength & SetLength(void)
Assign a value to Length data member.
Definition: Seq_inst_.hpp:675
const TSeq_data & GetSeq_data(void) const
Get the Seq_data member data.
Definition: Seq_inst_.hpp:817
CRef< THist > m_Hist
Definition: Seq_inst_.hpp:533
EStrand TStrand
Definition: Seq_inst_.hpp:150
void ResetRepr(void)
Reset Repr data member.
Definition: Seq_inst_.hpp:558
CSeq_hist THist
Definition: Seq_inst_.hpp:153
bool IsSetTopology(void) const
Check if a value has been assigned to Topology data member.
Definition: Seq_inst_.hpp:708
bool IsSetFuzz(void) const
length uncertainty Check if a value has been assigned to Fuzz data member.
Definition: Seq_inst_.hpp:687
CSeq_inst_Base(const CSeq_inst_Base &)
TSeqPos TLength
Definition: Seq_inst_.hpp:147
TStrand & SetStrand(void)
Assign a value to Strand data member.
Definition: Seq_inst_.hpp:793
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
static const CInt_fuzz * GetFuzz(const CDelta_item &delta)
Modified on Wed May 22 11:26:49 2024 by modify_doxy.py rev. 669887