A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCFieldHandlerNamePanel.html below:

NCBI C++ ToolKit: CFieldHandlerNamePanel Class Reference

Search Toolkit Book for CFieldHandlerNamePanel

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

enum   { ID_PUBFIELDNAMEPANEL = 6130 , ID_PUBFIELDNAME_FIELD }   enum   EFieldType {
  eFieldType_Unknown = 0 , eFieldType_Source , eFieldType_Feature , eFieldType_CDSGeneProt ,
  eFieldType_RNA , eFieldType_Gene , eFieldType_Protein , eFieldType_MolInfo ,
  eFieldType_Pub , eFieldType_StructuredComment , eFieldType_BankITComment , eFieldType_Comment ,
  eFieldType_DBLink , eFieldType_Dbxref , eFieldType_Misc , eFieldType_DefLine ,
  eFieldType_TaxnameAfterBinomial , eFieldType_FlatFile , eFieldType_FileId , eFieldType_GeneralId ,
  eFieldType_LocalId , eFieldType_SeqId , eFieldType_Taxname
}     CFieldHandlerNamePanel ()   Constructors. More...
    CFieldHandlerNamePanel (wxWindow *parent, wxWindowID id=ID_PUBFIELDNAMEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)   bool  Create (wxWindow *parent, wxWindowID id=ID_PUBFIELDNAMEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)   Creation. More...
    ~CFieldHandlerNamePanel ()   Destructor. More...
  void  Init ()   Initialises member variables. More...
  void  CreateControls ()   Creates the controls and sizers. More...
  void  OnFieldSelected (wxCommandEvent &event)   wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_PUBFIELDNAME_FIELD More...
  wxBitmap  GetBitmapResource (const wxString &name)   Retrieves bitmap resources. More...
  wxIcon  GetIconResource (const wxString &name)   Retrieves icon resources. More...
  virtual string  GetFieldName (const bool subfield=false)   Returns the name of the field as selected in the panel. More...
  virtual bool  SetFieldName (const string &field)   void  SetFieldNames (const vector< string > &field_names)   virtual vector< stringGetChoices (bool &allow_other)   virtual vector< stringGetMacroValues ()   virtual void  ClearValues (void)   virtual string  GetMacroFieldName (const string &target, const string &selected_field=kEmptyStr)   virtual string  GetMacroFieldLabel (const string &target, const string &selected_field=kEmptyStr)   void  SetMacroFieldNames (const vector< string > &field_names)   void  SetMacroSelf (const string &self)     CFieldNamePanel ()   Constructors. More...
    ~CFieldNamePanel ()   Destructor. More...
  virtual void  SetShowLegalOnly (bool show)  

CFieldHandlerNamePanel class declaration

Definition at line 57 of file pub_field_name_panel.hpp.

◆ anonymous enum ◆ CFieldHandlerNamePanel() [1/2] CFieldHandlerNamePanel::CFieldHandlerNamePanel ( ) ◆ CFieldHandlerNamePanel() [2/2] CFieldHandlerNamePanel::CFieldHandlerNamePanel ( wxWindow *  parent, wxWindowID  id = ID_PUBFIELDNAMEPANEL, const wxPoint &  pos = wxDefaultPosition, const wxSize &  size = wxSize(400, 300), long  style = wxTAB_TRAVERSAL  ) ◆ ~CFieldHandlerNamePanel() CFieldHandlerNamePanel::~CFieldHandlerNamePanel ( ) ◆ ClearValues() void CFieldHandlerNamePanel::ClearValues ( void  ) virtual ◆ Create() bool CFieldHandlerNamePanel::Create ( wxWindow *  parent, wxWindowID  id = ID_PUBFIELDNAMEPANEL, const wxPoint &  pos = wxDefaultPosition, const wxSize &  size = wxSize(400, 300), long  style = wxTAB_TRAVERSAL  ) ◆ CreateControls() void CFieldHandlerNamePanel::CreateControls ( ) ◆ GetBitmapResource() wxBitmap CFieldHandlerNamePanel::GetBitmapResource ( const wxString &  name ) ◆ GetChoices() vector< string > CFieldHandlerNamePanel::GetChoices ( boolallow_other ) virtual ◆ GetFieldName()

Returns the name of the field as selected in the panel.

In case of names composed of multiple words, for example, feature_name + qualifier when the subfield parameter is true, the qualifier name is returned only.

Implements CFieldNamePanel.

Definition at line 197 of file pub_field_name_panel.cpp.

References CPubFieldType::GetTypeForLabel(), CPubFieldType::IsAffilField(), m_Field, ToStdString(), and val.

Referenced by GetChoices(), CEditPubDlg::GetCommand(), CReplaceSingleFieldPanel::GetCommand(), CEditPubDlg::GetFieldName(), and GetMacroValues().

◆ GetIconResource() wxIcon CFieldHandlerNamePanel::GetIconResource ( const wxString &  name ) ◆ GetMacroFieldLabel() ◆ GetMacroFieldName() ◆ GetMacroValues() vector< string > CFieldHandlerNamePanel::GetMacroValues ( ) virtual ◆ Init() void CFieldHandlerNamePanel::Init ( void  ) ◆ OnFieldSelected() void CFieldHandlerNamePanel::OnFieldSelected ( wxCommandEvent &  event ) ◆ SetFieldName() ◆ SetFieldNames() void CFieldHandlerNamePanel::SetFieldNames ( const vector< string > &  field_names ) ◆ SetMacroFieldNames() void CFieldHandlerNamePanel::SetMacroFieldNames ( const vector< string > &  field_names ) ◆ SetMacroSelf() void CFieldHandlerNamePanel::SetMacroSelf ( const stringself ) inline ◆ ShowToolTips() bool CFieldHandlerNamePanel::ShowToolTips ( ) static ◆ m_Field wxListBox* CFieldHandlerNamePanel::m_Field ◆ m_MacroField vector<string> CFieldHandlerNamePanel::m_MacroField private ◆ m_self string CFieldHandlerNamePanel::m_self private

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4