Search Toolkit Book for CObjectListTableModel
CObjectListTableModel. More...
#include <gui/widgets/object_list/object_list_widget.hpp>
Returns a default name for the column using spreadsheet conventions: A, B, C, ...
Z, AA, AB, etc. If column cannot be found, returns an empty name. AnyType has a type of string.
There is one static instance of string inside, so it is refilled every next call. It is enough for drawing purposes, but if someone needs more, (s)he should implement more.
Reimplemented from CwxAbstractTableModel.
Definition at line 187 of file object_list_widget.cpp.
References CObjectList::GetColumnName(), GetExtraColumnName(), m_ObjectList, ToWxString(), x_AdjustColToData(), and x_ColIsLabel().
◆ GetColumnType() wxString CObjectListTableModel::GetColumnType ( int col_idx ) const virtual ◆ GetExtraColumnFormat() ◆ GetExtraColumnName() wxString CObjectListTableModel::GetExtraColumnName ( int col ) const virtual ◆ GetExtraColumnType() wxString CObjectListTableModel::GetExtraColumnType ( int col ) const virtual ◆ GetExtraValueAt() wxVariant CObjectListTableModel::GetExtraValueAt ( int row, int col ) const virtualReimplemented in CObjectListSelTM, CSNPTableModel, CDocsumTableModel, and CNetBlastJobTableModel.
Definition at line 316 of file object_list_widget.cpp.
References _ASSERT, Error(), eUnknown, CLabel::eUserSubtype, CLabel::eUserType, CLabel::GetLabel(), GetNumExtraColumns(), CObjectList::GetObject(), CObjectList::GetObjectLabelType(), CObjectList::GetScope(), CRef< C, Locker >::IsNull(), label, LOG_POST, m_ObjectList, NCBI_THROW, NULL, row, ToWxString(), x_GetCachedLabel(), and x_SetCachedLabel().
Referenced by GetValueAt().
◆ GetImageAlias() wxString CObjectListTableModel::GetImageAlias ( int row ) const virtual ◆ GetImageAliasAt() wxString CObjectListTableModel::GetImageAliasAt ( int row, int col ) const virtual ◆ GetNumColumns() int CObjectListTableModel::GetNumColumns ( ) const virtual ◆ GetNumExtraColumns() int CObjectListTableModel::GetNumExtraColumns ( ) const virtual ◆ GetNumRows() int CObjectListTableModel::GetNumRows ( ) const virtual ◆ GetObject() CObject* CObjectListTableModel::GetObject ( int row ) inline ◆ GetObjectList() ◆ GetScope() objects::CScope* CObjectListTableModel::GetScope ( int row ) inline ◆ GetValueAt() wxVariant CObjectListTableModel::GetValueAt ( int row, int col ) const virtualImplements CwxAbstractTableModel.
Definition at line 198 of file object_list_widget.cpp.
References _ASSERT, CObjectList::eDouble, CObjectList::eInteger, CObjectList::eString, CObjectList::GetColumnType(), CObjectList::GetDouble(), GetExtraValueAt(), CObjectList::GetInteger(), CObjectList::GetString(), m_ObjectList, row, ToWxString(), wxT, x_AdjustColToData(), x_AssertRowValid(), and x_ColIsLabel().
◆ SetObjectList() void CObjectListTableModel::SetObjectList ( CObjectList & list ) ◆ SetObjects() ◆ x_AdjustColToData() int CObjectListTableModel::x_AdjustColToData ( int col ) const protected ◆ x_AssertRowValid() void CObjectListTableModel::x_AssertRowValid ( int row ) const inlineprotected ◆ x_Clear() void CObjectListTableModel::x_Clear ( void ) protected ◆ x_ColIsLabel() bool CObjectListTableModel::x_ColIsLabel ( int col ) const protected ◆ x_GetCachedLabel() bool CObjectListTableModel::x_GetCachedLabel ( int row, int col, string & value ) const protected ◆ x_SetCachedLabel() void CObjectListTableModel::x_SetCachedLabel ( int row, int col, const string & value ) const protected ◆ m_Cache vector<vector<CachedCell> > CObjectListTableModel::m_Cache mutableprotected ◆ m_ObjectListDefinition at line 103 of file object_list_widget.hpp.
Referenced by COrfSearchTableModel::GetBackgroundColor(), GetColumnFormat(), GetColumnName(), GetColumnType(), GetExtraColumnName(), GetExtraValueAt(), CNetBlastJobTableModel::GetExtraValueAt(), CDocsumTableModel::GetExtraValueAt(), CSNPTableModel::GetExtraValueAt(), CObjectListSelTM::GetExtraValueAt(), GetImageAlias(), GetNumColumns(), GetNumExtraColumns(), GetNumRows(), GetObject(), GetObjectList(), GetScope(), GetValueAt(), SetObjectList(), SetObjects(), x_AdjustColToData(), x_Clear(), and x_ColIsLabel().
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