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

Go to the SVN repository for this file.

1 /* $Id: Prot_pos.hpp 60032 2013-10-18 13:21:57Z chetvern $
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 Prot_pos.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 /// 'seqalign.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Prot_pos_.hpp
37 
38 
39 #ifndef OBJECTS_SEQALIGN_PROT_POS_HPP
40 #define OBJECTS_SEQALIGN_PROT_POS_HPP
41 
42 
43 // generated includes
45 
46 // generated classes
47 
49 
50 BEGIN_objects_SCOPE // namespace ncbi::objects::
51 
52 /////////////////////////////////////////////////////////////////////////////
54 {
56 public:
57  // constructor
58  CProt_pos(void);
59  // destructor
60  ~CProt_pos(void);
61 
62  // Get valid frame value (1, 2, or 3)
63  // default 0 is returned as 1
65 
66 private:
67  // Prohibit copy constructor and assignment operator
70 
71 };
72 
73 /////////////////// CProt_pos inline methods
74 
75 // constructor
76 inline
78 {
79 }
80 
81 inline
83 {
85  if (frame == 0)
86  frame = 1;
87  return frame;
88 }
89 
90 /////////////////// end of CProt_pos inline methods
91 
92 
93 END_objects_SCOPE // namespace ncbi::objects::
94 
96 
97 
98 #endif // OBJECTS_SEQALIGN_PROT_POS_HPP
99 /* Original file checksum: lines: 86, chars: 2403, CRC32: 18591b41 */
Data storage class.
position on protein (1/3 of amino-acid resolution)
Definition: Prot_pos_.hpp:70
CProt_pos_Base::TFrame GetFrame() const
Definition: Prot_pos.hpp:82
CProt_pos & operator=(const CProt_pos &value)
CProt_pos(const CProt_pos &value)
CProt_pos_Base Tparent
Definition: Prot_pos.hpp:55
CProt_pos(void)
Definition: Prot_pos.hpp:77
#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_SEQALIGN_EXPORT
Definition: ncbi_export.h:744
TFrame GetFrame(void) const
Get the Frame member data.
Definition: Prot_pos_.hpp:273
TSeqPos TFrame
Definition: Prot_pos_.hpp:83
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Wed Apr 17 13:08:54 2024 by modify_doxy.py rev. 669887