NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CSrcModEditPanel Class Referenceabstract

Search Toolkit Book for CSrcModEditPanel

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

+ Inheritance diagram for CSrcModEditPanel:
+ Collaboration diagram for CSrcModEditPanel:

Public Types

enum  EEditorType {
  eText = 0 , eCheckbox , eVoucher , eAltitude ,
  eLatLon
}
 

Public Member Functions

 CSrcModEditPanel (EEditorType editor_type)
 Constructors. More...
 
 ~CSrcModEditPanel ()
 Destructor. More...
 
virtual string GetValue ()=0
 
virtual void SetValue (const string &val)=0
 
virtual bool IsWellFormatted (const string &val)=0
 
EEditorType GetEditorType ()
 

Static Public Member Functions

static EEditorType GetEditorTypeForSubSource (objects::CSubSource::TSubtype st)
 
static EEditorType GetEditorTypeForOrgMod (objects::COrgMod::TSubtype st)
 

Protected Member Functions

void x_NotifyParent ()
 

Protected Attributes

EEditorType m_EditorType
 

Detailed Description

CSrcModEditPanel class declaration

Definition at line 46 of file srcmod_edit_panel.hpp.

Member Enumeration Documentation

◆ EEditorType

Enumerator
eText 
eCheckbox 
eVoucher 
eAltitude 
eLatLon 

Definition at line 49 of file srcmod_edit_panel.hpp.

Constructor & Destructor Documentation

◆ CSrcModEditPanel()

CSrcModEditPanel::CSrcModEditPanel ( EEditorType  editor_type)
inline

Constructors.

Definition at line 58 of file srcmod_edit_panel.hpp.

◆ ~CSrcModEditPanel()

CSrcModEditPanel::~CSrcModEditPanel ( )
inline

Destructor.

Definition at line 61 of file srcmod_edit_panel.hpp.

Member Function Documentation

◆ GetEditorType()

EEditorType CSrcModEditPanel::GetEditorType ( )
inline

Definition at line 68 of file srcmod_edit_panel.hpp.

References m_EditorType.

Referenced by CSrcModPanel::x_SetEditor().

◆ GetEditorTypeForOrgMod()

CSrcModEditPanel::EEditorType CSrcModEditPanel::GetEditorTypeForOrgMod ( objects::COrgMod::TSubtype  st)
static

◆ GetEditorTypeForSubSource()

CSrcModEditPanel::EEditorType CSrcModEditPanel::GetEditorTypeForSubSource ( objects::CSubSource::TSubtype  st)
static

◆ GetValue()

virtual string CSrcModEditPanel::GetValue ( )
pure virtual

◆ IsWellFormatted()

virtual bool CSrcModEditPanel::IsWellFormatted ( const string val)
pure virtual

◆ SetValue()

virtual void CSrcModEditPanel::SetValue ( const string val)
pure virtual

◆ x_NotifyParent()

void CSrcModEditPanel::x_NotifyParent ( )
protected

Member Data Documentation

◆ m_EditorType

EEditorType CSrcModEditPanel::m_EditorType
protected

Definition at line 74 of file srcmod_edit_panel.hpp.

Referenced by GetEditorType().


The documentation for this class was generated from the following files:
Modified on Wed Apr 24 14:14:23 2024 by modify_doxy.py rev. 669887