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

Go to the SVN repository for this file.

1 #ifndef OBJECTS_SEQFEAT_GENE_REF_HPP
2 #define OBJECTS_SEQFEAT_GENE_REF_HPP
3 
4 /* $Id: Gene_ref.hpp 67148 2015-04-21 17:46:19Z bollin $
5  * ===========================================================================
6  *
7  * PUBLIC DOMAIN NOTICE
8  * National Center for Biotechnology Information
9  *
10  * This software/database is a "United States Government Work" under the
11  * terms of the United States Copyright Act. It was written as part of
12  * the author's official duties as a United States Government employee and
13  * thus cannot be copyrighted. This software/database is freely available
14  * to the public for use. The National Library of Medicine and the U.S.
15  * Government have not placed any restriction on its use or reproduction.
16  *
17  * Although all reasonable efforts have been taken to ensure the accuracy
18  * and reliability of the software and data, the NLM and the U.S.
19  * Government do not and cannot warrant the performance or results that
20  * may be obtained by using this software or data. The NLM and the U.S.
21  * Government disclaim all warranties, express or implied, including
22  * warranties of performance, merchantability or fitness for any particular
23  * purpose.
24  *
25  * Please cite the author in any work or product based on this material.
26  *
27  * ===========================================================================
28  *
29  * Author: .......
30  *
31  * File Description:
32  * .......
33  *
34  * Remark:
35  * This code was originally generated by application DATATOOL
36  * using specifications from the ASN data definition file
37  * 'seqfeat.asn'.
38  *
39  * ---------------------------------------------------------------------------
40  */
41 
42 // generated includes
44 
45 // generated classes
46 
48 
49 BEGIN_objects_SCOPE // namespace ncbi::objects::
50 
52 {
54 public:
55  // constructor
56  CGene_ref(void);
57  // destructor
58  ~CGene_ref(void);
59 
60  // Appends a label to "label" based on content
61  void GetLabel(string* label) const;
62 
63  // Checks for an emtpy Gene-ref used for suppressing /gene by overlap
64  bool IsSuppressed(void) const;
65 
66  bool RefersToSameGene(const CGene_ref& xref) const;
67 
68 private:
69  // Prohibit copy constructor and assignment operator
72 
73 };
74 
75 
76 
77 /////////////////// CGene_ref inline methods
78 
79 // constructor
80 inline
82 {
83 }
84 
85 
86 /////////////////// end of CGene_ref inline methods
87 
88 
89 END_objects_SCOPE // namespace ncbi::objects::
90 
92 
93 #endif // OBJECTS_SEQFEAT_GENE_REF_HPP
94 /* Original file checksum: lines: 90, chars: 2388, CRC32: 1c3e2db0 */
Data storage class.
*** Gene *********************************************** * * reference to a gene *
Definition: Gene_ref_.hpp:84
CGene_ref(void)
Definition: Gene_ref.hpp:81
CGene_ref(const CGene_ref &value)
CGene_ref_Base Tparent
Definition: Gene_ref.hpp:53
CGene_ref & operator=(const CGene_ref &value)
string GetLabel(const CSeq_id &id)
#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_SEQFEAT_EXPORT
Definition: ncbi_export.h:768
static const char label[]
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Sep 20 14:57:23 2024 by modify_doxy.py rev. 669887