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

Go to the SVN repository for this file.

1 /* $Id: HG_Entry.hpp 33815 2007-05-04 17:18:18Z kazimird $
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  * Author: .......
27  *
28  * File Description:
29  * .......
30  *
31  * Remark:
32  * This code was originally generated by application DATATOOL
33  * using specifications from the data definition file
34  * 'homologene.asn'.
35  */
36 
37 #ifndef HOMOLOGENEENTRY_HPP
38 #define HOMOLOGENEENTRY_HPP
39 
40 
41 // generated includes
43 
44 // generated classes
45 
47 
48 BEGIN_objects_SCOPE // namespace ncbi::objects::
49 
50 class CHG_Entry : public CHG_Entry_Base
51 {
53 public:
54  // constructor
55  CHG_Entry(void);
56  // destructor
57  ~CHG_Entry(void);
58 
59 private:
60  // Prohibit copy constructor and assignment operator
63 
64 public:
65  // user added stuff
67 
68  bool IsSetCore_genes(void) const { return IsSetGenes(); }
69  bool CanGetCore_genes(void) const { return CanGetGenes(); }
70  void ResetCore_genes(void) { ResetGenes(); }
71  const TCore_genes& GetCore_genes(void) const { return GetGenes(); }
72  TCore_genes& SetCore_genes(void) { return SetGenes(); }
73 };
74 
75 
76 
77 /////////////////// CHG_Entry inline methods
78 
79 // constructor
80 inline
82 {
83 }
84 
85 
86 /////////////////// end of CHG_Entry inline methods
87 
88 
89 END_objects_SCOPE // namespace ncbi::objects::
90 
92 
93 #endif // HOMOLOGENEENTRY_HPP
94 /* Original file checksum: lines: 93, chars: 2441, CRC32: 722077fa */
Data storage class.
CHG_Entry_Base –.
Definition: HG_Entry_.hpp:82
Definition: HG_Entry.hpp:51
CHG_Entry_Base Tparent
Definition: HG_Entry.hpp:52
const TCore_genes & GetCore_genes(void) const
Definition: HG_Entry.hpp:71
CHG_Entry & operator=(const CHG_Entry &value)
bool IsSetCore_genes(void) const
Definition: HG_Entry.hpp:68
void ResetCore_genes(void)
Definition: HG_Entry.hpp:70
CHG_Entry(void)
Definition: HG_Entry.hpp:81
CHG_Entry(const CHG_Entry &value)
TGenes TCore_genes
Definition: HG_Entry.hpp:66
~CHG_Entry(void)
Definition: HG_Entry.cpp:50
TCore_genes & SetCore_genes(void)
Definition: HG_Entry.hpp:72
bool CanGetCore_genes(void) const
Definition: HG_Entry.hpp:69
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
const TGenes & GetGenes(void) const
Get the Genes member data.
Definition: HG_Entry_.hpp:832
void ResetGenes(void)
Reset Genes data member.
Definition: HG_Entry_.cpp:67
TGenes & SetGenes(void)
Assign a value to Genes data member.
Definition: HG_Entry_.hpp:838
bool CanGetGenes(void) const
Check if it is safe to call GetGenes method.
Definition: HG_Entry_.hpp:826
list< CRef< CHG_Gene > > TGenes
Definition: HG_Entry_.hpp:99
bool IsSetGenes(void) const
Check if a value has been assigned to Genes data member.
Definition: HG_Entry_.hpp:820
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Sat Apr 13 11:50:42 2024 by modify_doxy.py rev. 669887