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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS___LOADERS___AGP_LOAD_PARAMS__HPP
2 #define GUI_WIDGETS___LOADERS___AGP_LOAD_PARAMS__HPP
3 
4 /* $Id: agp_load_params.hpp 33803 2015-09-17 16:18:33Z 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 
32 #include <corelib/ncbistd.hpp>
33 #include <gui/gui_export.h>
34 
36 
37 #include <wx/string.h>
38 
40 
41 /*!
42  * CAgpLoadParams class declaration
43  */
44 
46 {
47  friend class CAgpLoadPage;
48 public:
49  /// Default constructor for CAgpLoadParams
51 
52  /// Copy constructor for CAgpLoadParams
54 
55  /// Destructor for CAgpLoadParams
56  ~CAgpLoadParams();
57 
58  /// Assignment operator for CAgpLoadParams
59  void operator=(const CAgpLoadParams& data);
60 
61  /// Equality operator for CAgpLoadParams
62  bool operator==(const CAgpLoadParams& data) const;
63 
64  /// Copy function for CAgpLoadParams
65  void Copy(const CAgpLoadParams& data);
66 
67  /// Initialises member variables
68  void Init();
69 
70  /// IRegSettings
71  virtual void SetRegistryPath(const string& path) { m_RegPath = path; }
72  virtual void SaveSettings() const;
73  virtual void LoadSettings();
74 
75 ////@begin CAgpLoadParams member function declarations
76  wxString GetFastaFile() const { return m_FastaFile ; }
77  void SetFastaFile(wxString value) { m_FastaFile = value ; }
78 
79  int GetParseIDs() const { return m_ParseIDs ; }
80  void SetParseIDs(int value) { m_ParseIDs = value ; }
81 
82  bool GetSetGapInfo() const { return m_SetGapInfo ; }
83  void SetSetGapInfo(bool value) { m_SetGapInfo = value ; }
84 
85 ////@end CAgpLoadParams member function declarations
86 
87 ////@begin CAgpLoadParams member variables
88 private:
89  wxString m_FastaFile;
92 ////@end CAgpLoadParams member variables
93 
94 private:
95  string m_RegPath;
96 };
97 
99 
100 #endif // GUI_WIDGETS___LOADERS___AGP_LOAD_PARAMS__HPP
void SetSetGapInfo(bool value)
bool GetSetGapInfo() const
void SetParseIDs(int value)
virtual void SetRegistryPath(const string &path)
IRegSettings.
void SetFastaFile(wxString value)
int GetParseIDs() const
wxString GetFastaFile() 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:10:27 2024 by modify_doxy.py rev. 669887