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

Go to the SVN repository for this file.

1 #ifndef PKG_ALIGNMENT___PHY_EXPORT_PARAMS__HPP
2 #define PKG_ALIGNMENT___PHY_EXPORT_PARAMS__HPP
3 
4 /* $Id: phy_export_params.hpp 36053 2016-08-02 14:06:39Z evgeniev $
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: Vladimir Tereshkov
30  */
31 
32 #include <corelib/ncbistd.hpp>
33 
36 
37 
38 #include <wx/string.h>
39 
42 
43 /*!
44  * CPhyExportParams class declaration
45  */
46 
48 {
49  friend class CPhyLoadPage;
50 public:
51  /// Default constructor for CPhyExportParams
53 
54  /// Copy constructor for CPhyExportParams
56 
57  /// Destructor for CPhyExportParams
59 
60  /// Assignment operator for CPhyExportParams
61  void operator=(const CPhyExportParams& data);
62 
63  /// Equality operator for CPhyExportParams
64  bool operator==(const CPhyExportParams& data) const;
65 
66  /// Copy function for CPhyExportParams
67  void Copy(const CPhyExportParams& data);
68 
69  /// Initialises member variables
70  void Init();
71 
72  /// IRegSettings
73  virtual void SetRegistryPath(const string& path) { m_RegPath = path; }
74  virtual void SaveSettings() const;
75  virtual void LoadSettings();
76 
77 ////@begin CPhyExportParams member function declarations
78  const wxString& GetFileName() const { return m_FileName ; }
79  wxString * SetFileName() { return &m_FileName ; }
80  void SetFileName(const wxString &value) { m_FileName = value ; }
81 
82  const wxString& GetFileFormat() const { return m_FileFormat; }
83  void SetFileFormat(const wxString &value) { m_FileFormat = value; }
84 
85  const wxString& GetLabelFormat() const { return m_LabelFormat; }
86  void SetLabelFormat(const wxString &value) { m_LabelFormat = value; }
87 
90 
91 ////@end CPhyExportParams member function declarations
92 
93 ////@begin CPhyExportParams member variables
94 private:
95  wxString m_FileName;
96  wxString m_FileFormat;
97  wxString m_LabelFormat;
99 
100 ////@end CPhyExportParams member variables
101 
102 private:
103  string m_RegPath;
104 };
105 
107 
108 #endif // PKG_ALIGNMENT___PHY_EXPORT_PARAMS__HPP
CPhyExportParams()
Default constructor for CPhyExportParams.
const wxString & GetLabelFormat() const
void operator=(const CPhyExportParams &data)
Assignment operator for CPhyExportParams.
CBioTreeContainer * GetBioTree()
CRef< CBioTreeContainer > m_pBioTree
void Init()
Initialises member variables.
virtual void LoadSettings()
void SetFileName(const wxString &value)
~CPhyExportParams()
Destructor for CPhyExportParams.
virtual void SaveSettings() const
IRegSettings.
void Copy(const CPhyExportParams &data)
Copy function for CPhyExportParams.
wxString * SetFileName()
void SetLabelFormat(const wxString &value)
friend class CPhyLoadPage
const wxString & GetFileFormat() const
bool operator==(const CPhyExportParams &data) const
Equality operator for CPhyExportParams.
void SetFileFormat(const wxString &value)
void SetBioTree(CBioTreeContainer *value)
const wxString & GetFileName() const
virtual void SetRegistryPath(const string &path)
IRegSettings.
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
TObjectType * GetPointerOrNull(void) THROWS_NONE
Get pointer value.
Definition: ncbiobj.hpp:986
#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
USING_SCOPE(ncbi::objects)
Modified on Fri Sep 20 14:57:34 2024 by modify_doxy.py rev. 669887