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

Go to the SVN repository for this file.

1 #ifndef PKG_ALIGNMENT___SPLIGN_PARAMS__HPP
2 #define PKG_ALIGNMENT___SPLIGN_PARAMS__HPP
3 
4 /* $Id: splign_params.hpp 32655 2015-04-07 18:11:22Z evgeniev $
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  * Authors: Roman Katargin
30  *
31  * File Description:
32  *
33  */
34 
35 #include <corelib/ncbiobj.hpp>
36 
37 #include <gui/objutils/objects.hpp>
39 
40 #include <wx/string.h>
41 
43 
44 /** @addtogroup GUI_PKG_ALIGNMENT
45  *
46  * @{
47  */
48 
49 /*!
50  * CSplignParams class declaration
51  */
52 
54 {
55  friend class CSplignPanel;
56 public:
57  CSplignParams();
58 
60 
62 
63  void operator=(const CSplignParams& data);
64 
65  bool operator==(const CSplignParams& data) const;
66 
67  void Copy(const CSplignParams& data);
68 
69  void Init();
70 
71  /// IRegSettings
72  virtual void SetRegistryPath(const string& path) { m_RegPath = path; }
73  virtual void SaveSettings() const;
74  virtual void LoadSettings();
75 
76 ////@begin CSplignParams member function declarations
77  double GetCompPenalty() const { return m_CompPenalty ; }
78  void SetCompPenalty(double value) { m_CompPenalty = value ; }
79 
80  int GetDiscType() const { return m_DiscType ; }
81  void SetDiscType(int value) { m_DiscType = value ; }
82 
83  bool GetEndGapDetect() const { return m_EndGapDetect ; }
85 
86  long GetMaxGenomicExtent() const { return m_MaxGenomicExtent ; }
88 
89  long GetMaxIntron() const { return m_MaxIntron ; }
90  void SetMaxIntron(long value) { m_MaxIntron = value ; }
91 
92  double GetMinCompIdentity() const { return m_MinCompIdentity ; }
94 
95  double GetMinExonIdentity() const { return m_MinExonIdentity ; }
97 
98  bool GetPolyADetect() const { return m_PolyADetect ; }
100 
101  int GetCDNAStrand() const { return m_cDNA_strand ; }
103 
104 ////@end CSplignParams member function declarations
105 
106  virtual void DebugDump( CDebugDumpContext ddc, unsigned int depth ) const;
107 
108 ////@begin CSplignParams member variables
109 private:
119 ////@end CSplignParams member variables
120 
121  string m_RegPath;
122 };
123 
124 /* @} */
125 
127 
128 #endif // PKG_ALIGNMENT___SPLIGN_PARAMS__HPP
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
static unsigned char depth[2 *(256+1+29)+1]
char data[12]
Definition: iconv.c:80
void Copy(const CSplignParams &data)
void SetMinCompIdentity(double value)
bool operator==(const CSplignParams &data) const
double GetCompPenalty() const
void SetMaxGenomicExtent(long value)
long GetMaxGenomicExtent() const
void operator=(const CSplignParams &data)
void SetCompPenalty(double value)
virtual void LoadSettings()
bool GetPolyADetect() const
void SetCDNAStrand(int value)
void SetEndGapDetect(bool value)
virtual void DebugDump(CDebugDumpContext ddc, unsigned int depth) const
double GetMinExonIdentity() const
double m_MinCompIdentity
double m_MinExonIdentity
int GetDiscType() const
void SetMinExonIdentity(double value)
bool GetEndGapDetect() const
virtual void SaveSettings() const
void SetDiscType(int value)
long GetMaxIntron() const
void SetMaxIntron(long value)
void SetPolyADetect(bool value)
double GetMinCompIdentity() const
virtual void SetRegistryPath(const string &path)
IRegSettings.
int GetCDNAStrand() const
#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 GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
Modified on Fri Sep 20 14:58:08 2024 by modify_doxy.py rev. 669887