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/classCObjectListTableModel.html below:

NCBI C++ ToolKit: CObjectListTableModel Class Reference

Search Toolkit Book for CObjectListTableModel

CObjectListTableModel. More...

#include <gui/widgets/object_list/object_list_widget.hpp>

  CObjectListTableModel ()     CObjectListTableModel (CObjectList &list)   virtual  ~CObjectListTableModel ()   CObjectListGetObjectList ()   void  SetObjectList (CObjectList &list)   void  SetObjects (TConstScopedObjects &objects)   CObjectGetObject (int row)   objects::CScope *  GetScope (int row)   void  Clear ()   virtual wxString  GetImageAlias (int row) const   virtual int  GetNumExtraColumns () const   virtual wxString  GetExtraColumnType (int col) const   virtual wxString  GetExtraColumnName (int col) const   virtual wxVariant  GetExtraValueAt (int row, int col) const   virtual CIRef< IwxStringFormatGetExtraColumnFormat (int col) const   virtual int  GetNumRows () const   Returns the number of rows in the model. More...
  virtual int  GetNumColumns () const   Returns the number of columns in the model. More...
  virtual wxString  GetColumnType (int col) const   Tries to extract actual type from row 0 value if it exists. More...
  virtual wxString  GetColumnName (int col) const   Returns a default name for the column using spreadsheet conventions: A, B, C, ... More...
  virtual wxVariant  GetValueAt (int row, int col) const   virtual CIRef< IwxStringFormatGetColumnFormat (int col) const   virtual wxString  GetImageAliasAt (int row, int col) const     CwxAbstractTableModel ()   CwxAbstractTableModel. More...
  virtual void  AddTMListener (IwxTableModelListener &aTMEar)   virtual void  RemoveTMListener (IwxTableModelListener &aTMEar)   virtual  ~IwxDecoratedTableModel ()   virtual wxString  GetColumnTitle (int col_idx) const   All the same methods of IwxTableModel, plus. More...
  virtual wxString  GetTooltipTextAt (int, int) const   virtual wxColor  GetBackgroundColor (int) const   virtual  ~IwxTableModel ()   virtual wxString  GetTypeAt (int, int col) const   virtual bool  IsEditableAt (int, int) const   virtual void  SetValueAt (int, int, const wxVariant &)   ◆ CObjectListTableModel() [1/2] ◆ CObjectListTableModel() [2/2] ◆ ~CObjectListTableModel() ◆ Clear() void CObjectListTableModel::Clear ( void  ) ◆ GetColumnFormat() ◆ GetColumnName() wxString CObjectListTableModel::GetColumnName ( int  col_idx ) const virtual

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 virtual

Reimplemented 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 virtual

Implements 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 ( CObjectListlist ) ◆ 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, stringvalue  ) const protected ◆ x_SetCachedLabel() void CObjectListTableModel::x_SetCachedLabel ( int  row, int  col, const stringvalue  ) const protected ◆ m_Cache vector<vector<CachedCell> > CObjectListTableModel::m_Cache mutableprotected ◆ m_ObjectList

Definition 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