NCBI C++ ToolKit
Seq_bond.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: Seq_bond.hpp 46052 2010-06-10 15:37:37Z vasilche $
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_bond.hpp
29 /// User-defined methods of the data storage class.
30 ///
31 /// This file was originally generated by application DATATOOL
32 /// using the following specifications:
33 /// 'seqloc.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Seq_bond_.hpp
37 
38 
39 #ifndef OBJECTS_SEQLOC_SEQ_BOND_HPP
40 #define OBJECTS_SEQLOC_SEQ_BOND_HPP
41 
42 
43 // generated includes
45 
47 
48 // generated classes
49 
51 
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 /////////////////////////////////////////////////////////////////////////////
56 {
58 public:
59  // constructor
60  CSeq_bond(void);
61  // destructor
62  ~CSeq_bond(void);
63 
64  TSeqPos GetStart(ESeqLocExtremes ext) const;
65  TSeqPos GetStop (ESeqLocExtremes ext) const;
66 
67  bool IsSetStrand(EIsSetStrand flag = eIsSetStrand_Any) const;
68  ENa_strand GetStrand(void) const;
69 
70 private:
71  // Prohibit copy constructor and assignment operator
74 
75 };
76 
77 /////////////////// CSeq_bond inline methods
78 
79 // constructor
80 inline
82 {
83 }
84 
85 
86 /////////////////// end of CSeq_bond inline methods
87 
88 
89 END_objects_SCOPE // namespace ncbi::objects::
90 
92 
93 #endif // OBJECTS_SEQLOC_SEQ_BOND_HPP
94 /* Original file checksum: lines: 94, chars: 2558, CRC32: 456dc796 */
ESeqLocExtremes
Used to determine the meaning of a location's Start/Stop positions.
Definition: Na_strand.hpp:61
EIsSetStrand
Flag used by IsSetStrand() to switch between any/all modes.
Definition: Na_strand.hpp:51
@ eIsSetStrand_Any
Check if any part has strand.
Definition: Na_strand.hpp:52
Data storage class.
bond between residues
Definition: Seq_bond_.hpp:74
CSeq_bond(const CSeq_bond &value)
CSeq_bond(void)
Definition: Seq_bond.hpp:81
CSeq_bond_Base Tparent
Definition: Seq_bond.hpp:57
CSeq_bond & operator=(const CSeq_bond &value)
char value[7]
Definition: config.c:431
unsigned int TSeqPos
Type for sequence locations and lengths.
Definition: ncbimisc.hpp:875
TSeqPos GetStop(const CSeq_loc &loc, CScope *scope, ESeqLocExtremes ext=eExtreme_Positional)
If only one CBioseq is represented by CSeq_loc, returns the position at the stop of the location.
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...
TSeqPos GetStart(const CSeq_loc &loc, CScope *scope, ESeqLocExtremes ext=eExtreme_Positional)
If only one CBioseq is represented by CSeq_loc, returns the position at the start of the location.
#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_SEQLOC_EXPORT
Definition: ncbi_export.h:776
ENa_strand
strand of nucleic acid
Definition: Na_strand_.hpp:64
Modified on Sat Dec 09 04:47:26 2023 by modify_doxy.py rev. 669887