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

Go to the SVN repository for this file.

1 #ifndef PKG_ALIGNMENT___FIND_OVERLAP_PARAMS__HPP
2 #define PKG_ALIGNMENT___FIND_OVERLAP_PARAMS__HPP
3 
4 /* $Id: find_overlap_params.hpp 37335 2016-12-23 20:57:45Z katargir $
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  * CFindOverlapParams class declaration
51  */
52 
54 {
55  friend class CFindOverlapPanel;
56 public:
58 
60 
62 
63  void operator=(const CFindOverlapParams& data);
64 
65  bool operator==(const CFindOverlapParams& data) const;
66 
67  void Copy(const CFindOverlapParams& 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  const SConstScopedObject& GetSeq1() const { return m_Seq1; }
78 
79  const SConstScopedObject& GetSeq2() const { return m_Seq2; }
81 
82 ////@begin CFindOverlapParams member function declarations
83  wxString GetBlastParams() const { return m_BlastParams ; }
84  void SetBlastParams(wxString value) { m_BlastParams = value ; }
85 
86  int GetFilterQuality() const { return m_FilterQty ; }
88 
89  wxString GetMaxSlop() const { return m_MaxSlop ; }
90  void SetMaxSlop(wxString value) { m_MaxSlop = value ; }
91 
92 ////@end CFindOverlapParams member function declarations
93 
94 ////@begin CFindOverlapParams member variables
95 private:
96  wxString m_BlastParams;
98  wxString m_MaxSlop;
99 ////@end CFindOverlapParams member variables
100 
101  string m_RegPath;
104 };
105 
106 /* @} */
107 
109 
110 #endif // PKG_ALIGNMENT___FIND_OVERLAP_PARAMS__HPP
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
char data[12]
Definition: iconv.c:80
void SetFilterQuality(int value)
const SConstScopedObject & GetSeq1() const
wxString GetMaxSlop() const
void operator=(const CFindOverlapParams &data)
void SetMaxSlop(wxString value)
void SetBlastParams(wxString value)
SConstScopedObject & SetSeq2()
SConstScopedObject m_Seq1
SConstScopedObject m_Seq2
virtual void SaveSettings() const
IRegSettings.
bool operator==(const CFindOverlapParams &data) const
virtual void SetRegistryPath(const string &path)
IRegSettings.
SConstScopedObject & SetSeq1()
const SConstScopedObject & GetSeq2() const
wxString GetBlastParams() const
void Copy(const CFindOverlapParams &data)
#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 Tue May 28 05:50:38 2024 by modify_doxy.py rev. 669887