NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
CEditFeatLocTreeItemData Class Reference

Search Toolkit Book for CEditFeatLocTreeItemData

#include <gui/widgets/edit/macro_featloc_itemdata.hpp>

+ Inheritance diagram for CEditFeatLocTreeItemData:
+ Collaboration diagram for CEditFeatLocTreeItemData:

Public Member Functions

virtual ~CEditFeatLocTreeItemData ()
 
virtual bool UpdateTarget ()
 
virtual bool HasVariables () const
 
- Public Member Functions inherited from CMacroActionItemData
virtual ~CMacroActionItemData ()
 
virtual const vector< string > & GetKeywords () const
 
- Public Member Functions inherited from IMacroActionItemData
virtual ~IMacroActionItemData ()
 
void CreateParamPanel (wxStaticBoxSizer &action_sizer, wxPanel *parent)
 
void DeleteParamPanel ()
 
const stringGetGeneralDescription () const
 
void SetTarget (const CTempString &target)
 
const pair< string, stringGetTarget () const
 
virtual void UpdateTarget (const TConstraints &constraints)
 
const stringGetWarning () const
 
void ResetWarning ()
 
bool TransferDataFromPanel ()
 
bool TransferDataToPanel (const vector< CFuncWithArgs > &func_info)
 
ECustomPanelType GetCustomPanelType () const
 
virtual string GetMacroDescription () const
 
virtual string GetVariables ()
 
virtual string GetFunction (TConstraints &constraints) const =0
 
- Public Member Functions inherited from CMacroPanelItemData
virtual vector< stringGetFunctionNames () const
 
virtual vector< stringGetMainFunctions () const
 
- Public Member Functions inherited from IMacroScriptElements
virtual ~IMacroScriptElements ()
 

Protected Member Functions

 CEditFeatLocTreeItemData (const string &description, const string &panel_name, const TArgumentsVector &arguments)
 
string x_CommonEditFeatLocDescr (size_t index) const
 
string x_CommonEditFeatLocVars (size_t index) const
 
string x_CommonEditFeatFunc (size_t index) const
 
- Protected Member Functions inherited from CMacroActionItemData
 CMacroActionItemData (const string &description, EMacroFieldType type=EMacroFieldType::eNotSet)
 
vector< stringx_GetPubFunctions () const
 
- Protected Member Functions inherited from IMacroActionItemData
 IMacroActionItemData (const string &description)
 
void x_LoadPanel (wxWindow *parent, const string &panel_name, const TArgumentsVector &arguments)
 
string x_GetVariables (const vector< CTempString > &args) const
 

Private Member Functions

virtual void x_AddParamPanel (wxWindow *parent)
 

Private Attributes

const string m_PanelName
 
const TArgumentsVectorm_Arguments
 

Additional Inherited Members

- Public Types inherited from IMacroActionItemData
using TArguments = CArgumentList::TArguments
 
- Public Types inherited from IMacroScriptElements
using TConstraints = vector< pair< string, string > >
 
- Protected Attributes inherited from CMacroActionItemData
EMacroFieldType m_FieldType
 for actions such as appply/edit/etc. More...
 
- Protected Attributes inherited from IMacroActionItemData
string m_Description
 
CTempString m_Target
 
string m_SelectedField
 
unique_ptr< CMacroPanelLoaderm_Panel { nullptr }
 constructed panel for specifying function arguments More...
 
CArgumentList m_ArgList
 
TArguments m_Args
 
vector< stringm_Keywords
 
string m_Warning
 
ECustomPanelType m_Type { ECustomPanelType::eCustomPanelNotSet }
 

Detailed Description

Definition at line 39 of file macro_featloc_itemdata.hpp.

Constructor & Destructor Documentation

◆ ~CEditFeatLocTreeItemData()

virtual CEditFeatLocTreeItemData::~CEditFeatLocTreeItemData ( )
inlinevirtual

Definition at line 42 of file macro_featloc_itemdata.hpp.

◆ CEditFeatLocTreeItemData()

CEditFeatLocTreeItemData::CEditFeatLocTreeItemData ( const string description,
const string panel_name,
const TArgumentsVector arguments 
)
protected

Definition at line 40 of file macro_featloc_itemdata.cpp.

Member Function Documentation

◆ HasVariables()

virtual bool CEditFeatLocTreeItemData::HasVariables ( ) const
inlinevirtual

Reimplemented from IMacroActionItemData.

Definition at line 44 of file macro_featloc_itemdata.hpp.

◆ UpdateTarget()

bool CEditFeatLocTreeItemData::UpdateTarget ( )
virtual

◆ x_AddParamPanel()

void CEditFeatLocTreeItemData::x_AddParamPanel ( wxWindow *  parent)
privatevirtual

◆ x_CommonEditFeatFunc()

string CEditFeatLocTreeItemData::x_CommonEditFeatFunc ( size_t  index) const
protected

◆ x_CommonEditFeatLocDescr()

string CEditFeatLocTreeItemData::x_CommonEditFeatLocDescr ( size_t  index) const
protected

◆ x_CommonEditFeatLocVars()

string CEditFeatLocTreeItemData::x_CommonEditFeatLocVars ( size_t  index) const
protected

Member Data Documentation

◆ m_Arguments

const TArgumentsVector* CEditFeatLocTreeItemData::m_Arguments
private

Definition at line 53 of file macro_featloc_itemdata.hpp.

Referenced by x_AddParamPanel().

◆ m_PanelName

const string CEditFeatLocTreeItemData::m_PanelName
private

Definition at line 52 of file macro_featloc_itemdata.hpp.

Referenced by x_AddParamPanel().


The documentation for this class was generated from the following files:
Modified on Fri Jul 12 16:22:39 2024 by modify_doxy.py rev. 669887