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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS___LOADERS___TEXT_ALIGN_LOAD_PARAMS__HPP
2 #define GUI_WIDGETS___LOADERS___TEXT_ALIGN_LOAD_PARAMS__HPP
3 
4 /* $Id: text_align_load_params.hpp 38443 2017-05-10 15:49:30Z 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/ncbistd.hpp>
36 #include <gui/gui_export.h>
37 
38 #include <wx/string.h>
39 
41 
43 
44 
45 /*!
46  * CTextAlignParams class declaration
47  */
48 
50 {
51  friend class CTextAlignParamsPanel;
52 public:
54 
56 
58 
59  void operator=(const CTextAlignParams& data);
60 
61  bool operator==(const CTextAlignParams& data) const;
62 
63  void Copy(const CTextAlignParams& data);
64 
65  void Init();
66 
67  /// IRegSettings
68  virtual void SetRegistryPath(const string& path) { m_RegPath = path; }
69  virtual void SaveSettings() const;
70  virtual void LoadSettings();
71 
72 ////@begin CTextAlignParams member function declarations
73  wxString GetBegin() const { return m_Begin ; }
74  void SetBegin(wxString value) { m_Begin = value ; }
75 
76  wxString GetEnd() const { return m_End ; }
77  void SetEnd(wxString value) { m_End = value ; }
78 
79  wxString GetMatch() const { return m_Match ; }
80  void SetMatch(wxString value) { m_Match = value ; }
81 
82  wxString GetMiddle() const { return m_Middle ; }
83  void SetMiddle(wxString value) { m_Middle = value ; }
84 
85  int GetSeqType() const { return m_SeqType ; }
86  void SetSeqType(int value) { m_SeqType = value ; }
87 
88  wxString GetUnknown() const { return m_Unknown ; }
89  void SetUnknown(wxString value) { m_Unknown = value ; }
90 
91 ////@end CTextAlignParams member function declarations
92 
93 ////@begin CTextAlignParams member variables
94 private:
95  wxString m_Begin;
96  wxString m_End;
97  wxString m_Match;
98  wxString m_Middle;
99  int m_SeqType;
100  wxString m_Unknown;
101 ////@end CTextAlignParams member variables
102 
103 private:
104  string m_RegPath;
105 };
106 
108 
109 #endif // GUI_WIDGETS___LOADERS___TEXT_ALIGN_LOAD_PARAMS__HPP
void SetEnd(wxString value)
void SetMatch(wxString value)
void SetMiddle(wxString value)
wxString GetBegin() const
void SetSeqType(int value)
virtual void SetRegistryPath(const string &path)
IRegSettings.
wxString GetUnknown() const
wxString GetMatch() const
void SetBegin(wxString value)
void SetUnknown(wxString value)
wxString GetMiddle() const
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
virtual void SaveSettings() const =0
virtual void LoadSettings()=0
Include a standard set of the NCBI C++ Toolkit most basic headers.
bool operator==(const CEquivRange &A, const CEquivRange &B)
static void Init(void)
Definition: cursor6.c:76
char data[12]
Definition: iconv.c:80
#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_GUIWIDGETS_LOADERS_EXPORT
Definition: gui_export.h:525
Defines to provide correct exporting from DLLs in Windows.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Wed Apr 24 14:18:44 2024 by modify_doxy.py rev. 669887