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

Go to the SVN repository for this file.

1 /* $Id: Pssm.hpp 37548 2008-04-15 15:27:44Z camacho $
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 Pssm.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 /// 'scoremat.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Pssm_.hpp
37 
38 
39 #ifndef OBJECTS_SCOREMAT_PSSM_HPP
40 #define OBJECTS_SCOREMAT_PSSM_HPP
41 
42 
43 // generated includes
45 
46 // needed for custom methods
48 
50 
51 BEGIN_objects_SCOPE // namespace ncbi::objects::
52 
53 /////////////////////////////////////////////////////////////////////////////
55 {
57 public:
58  // constructor
59  CPssm(void);
60  // destructor
61  ~CPssm(void);
62 
63  /// Return the query length or 0 if no query is available
64  SIZE_TYPE GetQueryLength() const;
65 
66  /// Retrieve the query sequence data in ncbistdaa format
67  /// @param sequence object on which to store the sequence,
68  /// it will be empty if there is no sequence data available [in|out]
69  void GetQuerySequenceData(CNCBIstdaa& sequence) const;
70 
71  static const double kInvalidStat;
72 
73  double GetLambda() const;
74  double GetKappa() const;
75  double GetH() const;
76  double GetLambdaUngapped() const;
77  double GetKappaUngapped() const;
78  double GetHUngapped() const;
79 
80  void SetLambda(double val);
81  void SetKappa(double val);
82  void SetH(double val);
83  void SetLambdaUngapped(double val);
84  void SetKappaUngapped(double val);
85  void SetHUngapped(double val);
86 private:
87  // Prohibit copy constructor and assignment operator
88  CPssm(const CPssm& value);
90 
91 };
92 
93 /////////////////// CPssm inline methods
94 
95 // constructor
96 inline
98 {
99 }
100 
101 
102 /////////////////// end of CPssm inline methods
103 
104 
105 END_objects_SCOPE // namespace ncbi::objects::
106 
108 
109 
110 #endif // OBJECTS_SCOREMAT_PSSM_HPP
111 /* Original file checksum: lines: 86, chars: 2327, CRC32: 4f315e87 */
User-defined methods of the data storage class.
Data storage class.
CNCBIstdaa –.
Definition: NCBIstdaa.hpp:66
Position-specific scoring matrix.
Definition: Pssm_.hpp:95
Definition: Pssm.hpp:55
static const double kInvalidStat
Definition: Pssm.hpp:71
CPssm_Base Tparent
Definition: Pssm.hpp:56
CPssm & operator=(const CPssm &value)
CPssm(const CPssm &value)
CPssm(void)
Definition: Pssm.hpp:97
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
NCBI_NS_STD::string::size_type SIZE_TYPE
Definition: ncbistr.hpp:132
#define NCBI_SCOREMAT_EXPORT
Definition: ncbi_export.h:736
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Sun Apr 14 05:28:23 2024 by modify_doxy.py rev. 669887