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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS_EDIT___MACRO_FEATLOC_ITEMDATA__HPP
2 #define GUI_WIDGETS_EDIT___MACRO_FEATLOC_ITEMDATA__HPP
3 /* $Id: macro_featloc_itemdata.hpp 46384 2021-04-02 19:21:29Z 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:
43  virtual bool UpdateTarget();
44  virtual bool HasVariables() const { return true; }
45 protected:
46  CEditFeatLocTreeItemData(const string& description, const string &panel_name, const TArgumentsVector &arguments);
47  string x_CommonEditFeatLocDescr(size_t index) const;
48  string x_CommonEditFeatLocVars(size_t index) const;
49  string x_CommonEditFeatFunc(size_t index) const;
50 private:
51  virtual void x_AddParamPanel(wxWindow* parent);
52  const string m_PanelName;
54 };
55 
57 {
58 public:
61 
62  virtual string GetMacroDescription() const;
63  virtual string GetFunction(TConstraints& constraints) const;
64  virtual string GetVariables();
65  virtual vector<string> GetFunctionNames() const;
66 private:
68 };
69 
71 {
72 public:
75 
76  virtual string GetMacroDescription() const;
77  virtual string GetFunction(TConstraints& constraints) const;
78  virtual string GetVariables();
79  virtual vector<string> GetFunctionNames() const;
80 private:
82 };
83 
85 {
86 public:
89 
90  virtual string GetMacroDescription() const;
91  virtual string GetFunction(TConstraints& constraints) const;
92  virtual string GetVariables();
93  virtual vector<string> GetFunctionNames() const;
94 private:
96 };
97 
99 {
100 public:
103 
104  virtual string GetMacroDescription() const;
105  virtual string GetFunction(TConstraints& constraints) const;
106  virtual string GetVariables();
107  virtual vector<string> GetFunctionNames() const;
108 private:
110 };
111 
113 {
114 public:
117 
118  virtual string GetMacroDescription() const;
119  virtual string GetFunction(TConstraints& constraints) const;
120  virtual string GetVariables();
121  virtual vector<string> GetFunctionNames() const;
122 private:
124 };
125 
127 {
128 public:
131 
132  virtual string GetMacroDescription() const;
133  virtual string GetFunction(TConstraints& constraints) const;
134  virtual string GetVariables();
135  virtual vector<string> GetFunctionNames() const;
136 private:
138 };
139 
141 {
142 public:
145 
146  virtual string GetMacroDescription() const;
147  virtual string GetFunction(TConstraints& constraints) const;
148  virtual string GetVariables();
149  virtual vector<string> GetFunctionNames() const;
150 };
151 
153 {
154 public:
157 
158  virtual string GetMacroDescription() const;
159  virtual string GetFunction(TConstraints& constraints) const;
160  virtual string GetVariables();
161  virtual vector<string> GetFunctionNames() const;
162 };
163 
165 {
166 public:
169 
170  virtual string GetMacroDescription() const;
171  virtual string GetFunction(TConstraints& constraints) const;
172  virtual string GetVariables();
173  virtual vector<string> GetFunctionNames() const;
174 private:
176 };
177 
179 
180 #endif
181  // GUI_WIDGETS_EDIT___MACRO_FEATLOC_ITEMDATA__HPP
virtual string GetFunction(TConstraints &constraints) const
virtual string GetMacroDescription() const
map< string, pair< string, string > > m_3PartialMap
virtual vector< string > GetFunctionNames() const
virtual string GetFunction(TConstraints &constraints) const
map< string, pair< string, string > > m_5PartialMap
virtual vector< string > GetFunctionNames() const
virtual string GetMacroDescription() const
virtual vector< string > GetFunctionNames() const
map< string, pair< string, string > > m_BothPartialMap
virtual string GetFunction(TConstraints &constraints) const
virtual string GetMacroDescription() const
virtual vector< string > GetFunctionNames() const
virtual string GetMacroDescription() const
virtual string GetFunction(TConstraints &constraints) const
virtual vector< string > GetFunctionNames() const
virtual string GetFunction(TConstraints &constraints) const
virtual string GetMacroDescription() const
CEditFeatLocTreeItemData(const string &description, const string &panel_name, const TArgumentsVector &arguments)
string x_CommonEditFeatLocVars(size_t index) const
virtual bool HasVariables() const
string x_CommonEditFeatLocDescr(size_t index) const
virtual void x_AddParamPanel(wxWindow *parent)
string x_CommonEditFeatFunc(size_t index) const
const TArgumentsVector * m_Arguments
virtual string GetFunction(TConstraints &constraints) const
virtual vector< string > GetFunctionNames() const
CExtendToSeqEndTreeItemData(EMActionType action_type)
virtual string GetMacroDescription() const
virtual string GetMacroDescription() const
virtual vector< string > GetFunctionNames() const
map< string, pair< string, string > > m_3PartialMap
virtual string GetFunction(TConstraints &constraints) const
virtual string GetMacroDescription() const
map< string, pair< string, string > > m_5PartialMap
virtual string GetFunction(TConstraints &constraints) const
virtual vector< string > GetFunctionNames() const
virtual vector< string > GetFunctionNames() const
map< string, pair< string, string > > m_BothPartialMap
virtual string GetMacroDescription() const
virtual string GetFunction(TConstraints &constraints) const
vector< pair< string, string > > TConstraints
Definition: map.hpp:338
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
EMActionType
vector< macro::SArgMetaData > TArgumentsVector
Modified on Wed Jun 19 17:05:26 2024 by modify_doxy.py rev. 669887