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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS_EDIT___MACRO_COPY_ITEMDATA__HPP
2 #define GUI_WIDGETS_EDIT___MACRO_COPY_ITEMDATA__HPP
3 /* $Id: macro_copy_itemdata.hpp 46680 2021-08-30 18:12:39Z asztalos $
4  * ===========================================================================
5  *
6  * PUBLIC DOMAIN NOTICE
7  * National Center for Biotechnology Information
8  *
9  * This software/database is a "United States Government Work" under the
10  * terms of the United States Copyright Act. It was written as part of
11  * the author's official duties as a United States Government employee and
12  * thus cannot be copyrighted. This software/database is freely available
13  * to the public for use. The National Library of Medicine and the U.S.
14  * Government have not placed any restriction on its use or reproduction.
15  *
16  * Although all reasonable efforts have been taken to ensure the accuracy
17  * and reliability of the software and data, the NLM and the U.S.
18  * Government do not and cannot warrant the performance or results that
19  * may be obtained by using this software or data. The NLM and the U.S.
20  * Government disclaim all warranties, express or implied, including
21  * warranties of performance, merchantability or fitness for any particular
22  * purpose.
23  *
24  * Please cite the author in any work or product based on this material.
25  *
26  * ===========================================================================
27  *
28  * Authors: Andrea Asztalos
29  *
30  * Classes to be used in the macro editor storing user specific data
31  *
32  */
33 
34 #include <corelib/ncbistd.hpp>
36 
38 
40 {
41 public:
42  CCopyQualTreeItemData(const string& description, EMacroFieldType type);
44 
45  virtual string GetMacroDescription() const;
46  virtual string GetFunction(TConstraints& constraints) const;
47  virtual bool HasVariables() const { return true; }
48  virtual string GetVariables();
49  virtual vector<string> GetFunctionNames() const;
50 private:
51  virtual void x_AddParamPanel(wxWindow* parent);
52 };
53 
55 {
56 public:
59 
60  virtual string GetFunction(TConstraints& constraints) const;
61  virtual const vector<string>& GetKeywords() const;
62  virtual vector<string> GetFunctionNames() const;
63 private:
64  virtual void x_AddParamPanel(wxWindow* parent);
65 };
66 
68 {
69 public:
72 
73  virtual string GetMacroDescription() const;
74  virtual string GetFunction(TConstraints& constraints) const;
75  virtual vector<string> GetFunctionNames() const;
76 private:
77  virtual void x_AddParamPanel(wxWindow* parent);
78 };
79 
81 {
82 public:
85 
86  virtual bool UpdateTarget();
87  virtual string GetMacroDescription() const;
88  virtual string GetFunction(TConstraints& constraints) const;
89  virtual vector<string> GetFunctionNames() const;
90  virtual vector<string> GetMainFunctions() const;
91 private:
92  virtual void x_AddParamPanel(wxWindow* parent);
93 };
94 
96 {
97 public:
100 
101  virtual bool UpdateTarget();
102  virtual string GetMacroDescription() const;
103  virtual string GetFunction(TConstraints& constraints) const;
104  virtual string GetVariables();
105  virtual vector<string> GetFunctionNames() const;
106  virtual vector<string> GetMainFunctions() const;
107 private:
108  virtual void x_AddParamPanel(wxWindow* parent);
109 };
110 
112 {
113 public:
116 
117  virtual bool UpdateTarget();
118  virtual string GetMacroDescription() const;
119  virtual string GetFunction(TConstraints& constraints) const;
120  virtual string GetVariables();
121  virtual vector<string> GetFunctionNames() const;
122  virtual vector<string> GetMainFunctions() const;
123 private:
124  virtual void x_AddParamPanel(wxWindow* parent);
127 };
128 
130 
131 #endif
132  // GUI_WIDGETS_EDIT___MACRO_COPY_ITEMDATA__HPP
virtual vector< string > GetFunctionNames() const
virtual const vector< string > & GetKeywords() const
virtual string GetFunction(TConstraints &constraints) const
virtual void x_AddParamPanel(wxWindow *parent)
virtual vector< string > GetMainFunctions() const
virtual string GetFunction(TConstraints &constraints) const
virtual vector< string > GetFunctionNames() const
virtual string GetMacroDescription() const
virtual void x_AddParamPanel(wxWindow *parent)
virtual vector< string > GetMainFunctions() const
virtual string GetFunction(TConstraints &constraints) const
virtual string GetMacroDescription() const
virtual vector< string > GetFunctionNames() const
virtual void x_AddParamPanel(wxWindow *parent)
virtual void x_AddParamPanel(wxWindow *parent)
virtual string GetMacroDescription() const
virtual vector< string > GetFunctionNames() const
virtual string GetFunction(TConstraints &constraints) const
virtual bool HasVariables() const
CCopyQualTreeItemData(const string &description, EMacroFieldType type)
virtual void x_AddParamPanel(wxWindow *parent)
virtual vector< string > GetFunctionNames() const
virtual string GetMacroDescription() const
virtual string GetFunction(TConstraints &constraints) const
virtual string GetVariables()
virtual void x_AddParamPanel(wxWindow *parent)
virtual vector< string > GetMainFunctions() const
virtual string GetMacroDescription() const
virtual string GetFunction(TConstraints &constraints) const
virtual vector< string > GetFunctionNames() const
vector< pair< string, string > > TConstraints
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
Definition: type.c:6
Modified on Sun Jun 16 04:36:04 2024 by modify_doxy.py rev. 669887