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

Search Toolkit Book for CCommentDescriptorTableCommandConverter

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

+ Inheritance diagram for CCommentDescriptorTableCommandConverter:
+ Collaboration diagram for CCommentDescriptorTableCommandConverter:

Public Member Functions

 CCommentDescriptorTableCommandConverter (const string &label)
 
virtual ~CCommentDescriptorTableCommandConverter ()
 
virtual CRef< objects::CSeq_table > GetValuesTableFromSeqEntry (objects::CSeq_entry_Handle seh)
 
virtual CRef< CCmdCompositeGetCommandFromValuesTable (CRef< objects::CSeq_table > values_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 > values_table)
 
virtual string CheckForMixedValues (CRef< objects::CSeq_table > table, string column_name="")
 
- Public Member Functions inherited from CTableFieldCommandConverter
 CTableFieldCommandConverter ()
 
virtual ~CTableFieldCommandConverter ()
 
- Public Member Functions inherited from CTableCommandConverter
 CTableCommandConverter ()
 
virtual ~CTableCommandConverter ()
 
virtual CRef< objects::CSeq_table > GetChoices (CRef< objects::CSeq_table > values_table)
 
virtual bool IsReadOnlyColumn (string column_name)
 
virtual int GetCollapsible ()
 

Private Attributes

string m_Label
 

Detailed Description

Definition at line 197 of file tbl_edit_dlg.hpp.

Constructor & Destructor Documentation

◆ CCommentDescriptorTableCommandConverter()

CCommentDescriptorTableCommandConverter::CCommentDescriptorTableCommandConverter ( const string label)
inline

Definition at line 200 of file tbl_edit_dlg.hpp.

◆ ~CCommentDescriptorTableCommandConverter()

virtual CCommentDescriptorTableCommandConverter::~CCommentDescriptorTableCommandConverter ( )
inlinevirtual

Definition at line 201 of file tbl_edit_dlg.hpp.

Member Function Documentation

◆ CheckForMixedValues()

string CCommentDescriptorTableCommandConverter::CheckForMixedValues ( CRef< objects::CSeq_table >  table,
string  column_name = "" 
)
virtual

Reimplemented from CTableCommandConverter.

Definition at line 461 of file tbl_edit_dlg.cpp.

References AreAllColumnValuesTheSame(), FindSeqTableColumnByName(), and m_Label.

◆ ClearAllValues()

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

Implements CTableFieldCommandConverter.

Definition at line 432 of file tbl_edit_dlg.cpp.

References cmd.

◆ GetCommandFromValuesTable()

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

Implements CTableCommandConverter.

Definition at line 426 of file tbl_edit_dlg.cpp.

References ApplyCommentValuesTableToSeqEntry(), and m_Label.

◆ GetErrorMessage()

string CCommentDescriptorTableCommandConverter::GetErrorMessage ( CRef< objects::CSeq_table >  values_table)
virtual

Implements CTableCommandConverter.

Definition at line 455 of file tbl_edit_dlg.cpp.

◆ GetValuesTableFromSeqEntry()

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

◆ RemapColumnName()

string CCommentDescriptorTableCommandConverter::RemapColumnName ( string  column_name)
virtual

Implements CTableFieldCommandConverter.

Definition at line 449 of file tbl_edit_dlg.cpp.

References m_Label.

Member Data Documentation

◆ m_Label

string CCommentDescriptorTableCommandConverter::m_Label
private

The documentation for this class was generated from the following files:
Modified on Wed May 08 12:11:28 2024 by modify_doxy.py rev. 669887