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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS___LOADERS___MAP_ASSEMBLY_PARAMS__HPP
2 #define GUI_WIDGETS___LOADERS___MAP_ASSEMBLY_PARAMS__HPP
3 
4 /* $Id: map_assembly_params.hpp 44756 2020-03-05 18:44:36Z shkeda $
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 
39 
41 
42 /*!
43  * CMapAssemblyParams class declaration
44  */
45 
47 {
48  friend class CAssemblySelPanel;
49 public:
51 
53 
55 
56  void SaveAsn(objects::CUser_field& user_field) const;
57  void LoadAsn(objects::CUser_field& user_field);
58 
59  void SaveSettings(CRegistryWriteView& view) const;
60  void LoadSettings(CRegistryReadView& view);
61 
62  void operator=(const CMapAssemblyParams& data);
63 
64  bool operator==(const CMapAssemblyParams& data) const;
65 
66  void Copy(const CMapAssemblyParams& data);
67 
68  void Init();
69 
70 ////@begin CMapAssemblyParams member function declarations
71  string GetAssemblyAcc() const { return m_AssemblyAcc ; }
72  void SetAssemblyAcc(string value) { m_AssemblyAcc = value ; }
73 
74  string GetAssemblyDesc() const { return m_AssemblyDesc ; }
75  void SetAssemblyDesc(string value) { m_AssemblyDesc = value ; }
76 
77  string GetAssemblyName() const { return m_AssemblyName ; }
79 
80  string GetSearchTerm() const { return m_SearchTerm ; }
81  void SetSearchTerm(string value) { m_SearchTerm = value ; }
82 
83  bool GetUseMapping() const { return m_UseMapping ; }
84  void SetUseMapping(bool value) { m_UseMapping = value ; }
85 
86 ////@end CMapAssemblyParams member function declarations
87 
88 ////@begin CMapAssemblyParams member variables
89 private:
90  string m_AssemblyAcc;
93  string m_SearchTerm;
95 ////@end CMapAssemblyParams member variables
96 };
97 
99 
100 #endif // GUI_WIDGETS___LOADERS___MAP_ASSEMBLY_PARAMS__HPP
wxStaticText * m_AssemblyName
void SetSearchTerm(string value)
void SetAssemblyAcc(string value)
void SetAssemblyDesc(string value)
void SetUseMapping(bool value)
string GetAssemblyDesc() const
string GetAssemblyName() const
string GetSearchTerm() const
string GetAssemblyAcc() const
void SetAssemblyName(string value)
class CRegistryReadView provides a nested hierarchical view at a particular key.
Definition: reg_view.hpp:58
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 Jun 12 11:20:08 2024 by modify_doxy.py rev. 669887