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

Go to the SVN repository for this file.

1 #ifndef PKG_ALIGNMENT___ALIGN_TAB_EXPORT_PARAMS__HPP
2 #define PKG_ALIGNMENT___ALIGN_TAB_EXPORT_PARAMS__HPP
3 
4 /* $Id: align_tab_export_params.hpp 37334 2016-12-23 20:41:42Z 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 
38 
39 #include <wx/string.h>
40 
41 #include <gui/objutils/objects.hpp>
42 
44 
45 /*!
46  * CAlignTabExportParams class declaration
47  */
48 
50 {
51  friend class CAlignTabExportPage;
52  friend class CAlignTabExportPage2;
53 public:
55 
57 
59 
61 
62  bool operator==(const CAlignTabExportParams& data) const;
63 
64  void Copy(const CAlignTabExportParams& data);
65 
66  void Init();
67 
68  /// IRegSettings
69  virtual void SetRegistryPath(const string& path) { m_RegPath = path; }
70  virtual void SaveSettings() const;
71  virtual void LoadSettings();
72 
73  const SConstScopedObject& GetObject() const { return m_Object; }
75 
76 ////@begin CAlignTabExportParams member function declarations
77  string GetAlignmentName() const { return m_AlignmentName ; }
79 
80  vector<string> GetFields() const { return m_Fields ; }
81  void SetFields(vector<string> value) { m_Fields = value ; }
82 
83  wxString GetFileName() const { return m_FileName ; }
84  void SetFileName(wxString value) { m_FileName = value ; }
85 
86 ////@end CAlignTabExportParams member function declarations
87 
88 ////@begin CAlignTabExportParams member variables
89 private:
91  vector<string> m_Fields;
92  wxString m_FileName;
93 ////@end CAlignTabExportParams member variables
94 
95 private:
96  string m_RegPath;
98 };
99 
101 
102 #endif // PKG_ALIGNMENT___ALIGN_TAB_EXPORT_PARAMS__HPP
void operator=(const CAlignTabExportParams &data)
const SConstScopedObject & GetObject() const
void SetFileName(wxString value)
virtual void SetRegistryPath(const string &path)
IRegSettings.
virtual void SaveSettings() const
IRegSettings.
SConstScopedObject & SetObject()
bool operator==(const CAlignTabExportParams &data) const
void SetFields(vector< string > value)
void SetAlignmentName(string value)
void Copy(const CAlignTabExportParams &data)
vector< string > GetFields() const
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
Include a standard set of the NCBI C++ Toolkit most basic headers.
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
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Tue Apr 23 07:37:59 2024 by modify_doxy.py rev. 669887