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

Go to the SVN repository for this file.

1 #ifndef PKG_ALIGNMENT___KALIGN_TOOL_PARAMS__HPP
2 #define PKG_ALIGNMENT___KALIGN_TOOL_PARAMS__HPP
3 
4 /* $Id: kalign_tool_params.hpp 43794 2019-08-30 19:15:21Z 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, Vladislav Evgeniev
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  * CKalignToolParams class declaration
51  */
52 
54 {
55  friend class CKalignToolPanel;
56 public:
58 
60 
62 
63  void operator=(const CKalignToolParams& data);
64 
65  bool operator==(const CKalignToolParams& data) const;
66 
67  void Copy(const CKalignToolParams& 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 TConstScopedObjects& GetObjects() const { return m_Objects; }
78 
79 ////@begin CKalignToolParams member function declarations
80  wxString GetCommandLine() const { return m_CommandLine ; }
81  void SetCommandLine(wxString value) { m_CommandLine = value ; }
82 
83  wxString GetKalignPath() const { return m_KalignPath ; }
84  void SetKalignPath(wxString value) { m_KalignPath = value ; }
85 
86  bool GetQuietFlag() const { return m_QuietFlag ; }
87  void SetQuietFlag(bool value) { m_QuietFlag = value ; }
88 
89 ////@end CKalignToolParams member function declarations
90 
91  wxString GetKalignExecutable() const;
92 
93 ////@begin CKalignToolParams member variables
94 private:
95  wxString m_CommandLine;
96  wxString m_KalignPath;
98 ////@end CKalignToolParams member variables
99 
100  string m_RegPath;
102 };
103 
104 /* @} */
105 
107 
108 #endif // PKG_ALIGNMENT___KALIGN_TOOL_PARAMS__HPP
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
char data[12]
Definition: iconv.c:80
void operator=(const CKalignToolParams &data)
TConstScopedObjects m_Objects
void Copy(const CKalignToolParams &data)
wxString GetCommandLine() const
void SetQuietFlag(bool value)
wxString GetKalignPath() const
virtual void LoadSettings()
virtual void SetRegistryPath(const string &path)
IRegSettings.
wxString GetKalignExecutable() const
void SetKalignPath(wxString value)
void SetCommandLine(wxString value)
virtual void SaveSettings() const
const TConstScopedObjects & GetObjects() const
TConstScopedObjects & SetObjects()
bool operator==(const CKalignToolParams &data) const
vector< SConstScopedObject > TConstScopedObjects
Definition: objects.hpp:65
#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 Jul 16 13:20:10 2024 by modify_doxy.py rev. 669887