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

Search Toolkit Book for CDBLinkTableCommandConverter

#include <gui/packages/pkg_sequence_edit/tbl_edit_dlg.hpp>

+ Inheritance diagram for CDBLinkTableCommandConverter:
+ Collaboration diagram for CDBLinkTableCommandConverter:

Public Member Functions

 CDBLinkTableCommandConverter (vector< string > fields)
 
virtual ~CDBLinkTableCommandConverter ()
 
virtual CRef< objects::CSeq_table > GetValuesTableFromSeqEntry (objects::CSeq_entry_Handle seh)
 
virtual CRef< CCmdCompositeGetCommandFromValuesTable (CRef< objects::CSeq_table >, objects::CSeq_entry_Handle seh)
 
virtual CRef< CCmdCompositeClearAllValues (objects::CSeq_entry_Handle seh)
 
virtual string RemapColumnName (string column_name)
 
virtual string GetErrorMessage (CRef< objects::CSeq_table > table)
 
- Public Member Functions inherited from CTableFieldCommandConverter
 CTableFieldCommandConverter ()
 
virtual ~CTableFieldCommandConverter ()
 
- Public Member Functions inherited from CTableCommandConverter
 CTableCommandConverter ()
 
virtual ~CTableCommandConverter ()
 
virtual string CheckForMixedValues (CRef< objects::CSeq_table > values_table, string column_name)
 
virtual CRef< objects::CSeq_table > GetChoices (CRef< objects::CSeq_table > values_table)
 
virtual bool IsReadOnlyColumn (string column_name)
 
virtual int GetCollapsible ()
 

Private Attributes

vector< stringm_DBLinkFields
 

Detailed Description

Definition at line 179 of file tbl_edit_dlg.hpp.

Constructor & Destructor Documentation

◆ CDBLinkTableCommandConverter()

CDBLinkTableCommandConverter::CDBLinkTableCommandConverter ( vector< string fields)
inline

Definition at line 182 of file tbl_edit_dlg.hpp.

◆ ~CDBLinkTableCommandConverter()

virtual CDBLinkTableCommandConverter::~CDBLinkTableCommandConverter ( )
inlinevirtual

Definition at line 185 of file tbl_edit_dlg.hpp.

Member Function Documentation

◆ ClearAllValues()

CRef< CCmdComposite > CDBLinkTableCommandConverter::ClearAllValues ( objects::CSeq_entry_Handle  seh)
virtual

Implements CTableFieldCommandConverter.

Definition at line 378 of file tbl_edit_dlg.cpp.

References cmd, and NStr::EqualNocase().

◆ GetCommandFromValuesTable()

CRef< CCmdComposite > CDBLinkTableCommandConverter::GetCommandFromValuesTable ( CRef< objects::CSeq_table >  ,
objects::CSeq_entry_Handle  seh 
)
virtual

Implements CTableCommandConverter.

Definition at line 372 of file tbl_edit_dlg.cpp.

References ApplyDBLinkValuesTableToSeqEntry().

◆ GetErrorMessage()

string CDBLinkTableCommandConverter::GetErrorMessage ( CRef< objects::CSeq_table >  table)
virtual

Implements CTableCommandConverter.

Definition at line 410 of file tbl_edit_dlg.cpp.

◆ GetValuesTableFromSeqEntry()

CRef< objects::CSeq_table > CDBLinkTableCommandConverter::GetValuesTableFromSeqEntry ( objects::CSeq_entry_Handle  seh)
virtual

◆ RemapColumnName()

string CDBLinkTableCommandConverter::RemapColumnName ( string  column_name)
virtual

Implements CTableFieldCommandConverter.

Definition at line 399 of file tbl_edit_dlg.cpp.

References NStr::EqualNocase(), ITERATE, and m_DBLinkFields.

Member Data Documentation

◆ m_DBLinkFields

vector<string> CDBLinkTableCommandConverter::m_DBLinkFields
private

Definition at line 193 of file tbl_edit_dlg.hpp.

Referenced by GetValuesTableFromSeqEntry(), and RemapColumnName().


The documentation for this class was generated from the following files:
Modified on Mon May 27 04:36:18 2024 by modify_doxy.py rev. 669887