Search Toolkit Book for CObjectList
CObjectList Data structure representing a list of CObjects with associated Scopes and other optional attributes (strings and numbers) More...
#include <gui/objutils/object_list.hpp>
CObjectList Data structure representing a list of CObjects with associated Scopes and other optional attributes (strings and numbers)
CObjectList –.
Definition at line 61 of file object_list.hpp.
◆ TColumns ◆ EColumnType Enumerator eInvalid eObject eScope eString eInteger eDoubleDefinition at line 65 of file object_list.hpp.
◆ CObjectList() [1/2] CObjectList::CObjectList ( void ) inlineDefinition at line 84 of file ObjectList.hpp.
◆ CObjectList() [2/2]Definition at line 184 of file object_list.cpp.
References _ASSERT, CObjectList::_CColumn::DoubleVector(), eDouble, eInteger, eString, eUnknown, CObjectList::_CColumn::IntVector(), ITERATE, m_Columns, NCBI_THROW, and CObjectList::_CColumn::StringVector().
◆ ~CObjectList() ◆ AddColumn()Definition at line 330 of file object_list.cpp.
References _ASSERT, column, eDouble, eInteger, eString, eUnknown, GetNumRows(), m_Columns, NCBI_THROW, ncbi::grid::netcache::search::fields::size, and x_AssertValidColumn().
Referenced by COpenViewManager::DoAsyncConversion(), s_CreateObjList(), CSNPSearchJob::x_SetupColumns(), CComponentSearchJob::x_SetupColumns(), CCpgSearchJob::x_SetupColumns(), CFeatureSearchJob::x_SetupColumns(), COrfSearchJob::x_SetupColumns(), and CSequenceSearchJob::x_SetupColumns().
◆ AddObjectLabel() ◆ AddRow() int CObjectList::AddRow ( CObject * obj, objects::CScope * scope )Definition at line 377 of file object_list.cpp.
References _ASSERT, column, eDouble, eInteger, eString, eUnknown, int, m_Columns, m_Objects, m_Scopes, NCBI_THROW, and NON_CONST_ITERATE.
Referenced by COpenViewManager::DoAsyncConversion(), CMAViewManager::DoTransition(), CObjectListWidgetSel::SetObjects(), CComponentSearchJob::x_AddToResults(), CCpgSearchJob::x_AddToResults(), CSequenceSearchJob::x_AddToResults(), COrfSearchJob::x_AddToResults(), CObjectListWidgetSel::x_CopyUniqueObjects(), CNetBLAST_DMSearchJob::x_DoSearch(), CSNPSearchJob::x_DoSearch(), CEntrezSearchJob::x_DoSearch(), CVcfSearchJob::x_DoSearch(), and CObjectListWidgetSel::x_FilterObjectList().
◆ Append()adds rows from the given list, the lists must have identical sets of columns
Definition at line 301 of file object_list.cpp.
References _ASSERT, AppendContainer(), CObjectList::_CColumn::DoubleVector(), eDouble, eInteger, eString, i, CObjectList::_CColumn::IntVector(), m_Columns, m_Objects, m_Scopes, CObjectList::_CColumn::m_Type, and CObjectList::_CColumn::StringVector().
Referenced by CComponentSearchJob::x_AddToResults(), CCpgSearchJob::x_AddToResults(), CSequenceSearchJob::x_AddToResults(), COrfSearchJob::x_AddToResults(), CObjectListWidgetSel::x_GetObjectList(), and CSearchJobBase::x_TransferResults().
◆ Clear() void CObjectList::Clear ( void ) ◆ ClearColStartIx() void CObjectList::ClearColStartIx ( ) inline ◆ ClearColumns() void CObjectList::ClearColumns ( ) inline ◆ ClearObjectLabels() void CObjectList::ClearObjectLabels ( ) inline ◆ ClearRows() void CObjectList::ClearRows ( )Definition at line 266 of file object_list.cpp.
References _ASSERT, column, eDouble, eInteger, eString, eUnknown, m_Columns, m_Objects, m_Scopes, NCBI_THROW, and NON_CONST_ITERATE.
Referenced by CComponentSearchJob::x_AddToResults(), CCpgSearchJob::x_AddToResults(), CSequenceSearchJob::x_AddToResults(), COrfSearchJob::x_AddToResults(), x_Clear(), CObjectListWidgetSel::x_FilterDuplicates(), CObjectListWidgetSel::x_FilterObjectList(), and CSearchJobBase::x_TransferResults().
◆ DeleteColumn() void CObjectList::DeleteColumn ( int col ) ◆ GetColStartIx() int CObjectList::GetColStartIx ( ) const inline ◆ GetColumnName() ◆ GetColumnType()Definition at line 415 of file object_list.cpp.
References _ASSERT, column, eDouble, eInteger, eInvalid, eString, m_Columns, and x_AssertValidColumn().
Referenced by CObjectListTableModel::GetColumnFormat(), CObjectListTableModel::GetColumnType(), CObjectListTableModel::GetValueAt(), CObjectListWidgetSel::x_CopyUniqueObjects(), and CObjectListWidgetSel::x_FilterObjectList().
◆ GetDouble() double CObjectList::GetDouble ( int col, int row ) const ◆ GetInteger() int CObjectList::GetInteger ( int col, int row ) const ◆ GetNumColumns() int CObjectList::GetNumColumns ( ) const ◆ GetNumObjectLabels() int CObjectList::GetNumObjectLabels ( ) const inline ◆ GetNumRows() int CObjectList::GetNumRows ( ) constDefinition at line 443 of file object_list.cpp.
References m_Objects.
Referenced by AddColumn(), CObjectListTableModel::GetNumRows(), CDataMiningPanel::OnSearchFinished(), s_GetMinMaxRows(), CComponentSearchJob::x_AddToResults(), CCpgSearchJob::x_AddToResults(), CSequenceSearchJob::x_AddToResults(), COrfSearchJob::x_AddToResults(), x_AssertValidRow(), CObjectListWidgetSel::x_CopyUniqueObjects(), CObjectListWidgetSel::x_FilterObjectList(), and CObjectListWidgetSel::x_PopulateGroups().
◆ GetObject() [1/2]access to values (row, column)
Definition at line 449 of file object_list.cpp.
References m_Objects, row, and x_AssertValidRow().
Referenced by CObjectListTableModel::GetExtraValueAt(), CNetBlastJobTableModel::GetExtraValueAt(), CDocsumTableModel::GetExtraValueAt(), CSNPTableModel::GetExtraValueAt(), CObjectListSelTM::GetExtraValueAt(), CObjectListTableModel::GetImageAlias(), CObjectListTableModel::GetObject(), CObjectListWidgetSel::x_CopyUniqueObjects(), CObjectListWidgetSel::x_FilterObjectList(), and CObjectListWidgetSel::x_PopulateGroups().
◆ GetObject() [2/2] ◆ GetObjectLabelName() string CObjectList::GetObjectLabelName ( int col ) const ◆ GetObjectLabelType() ◆ GetScope() [1/2] ◆ GetScope() [2/2] ◆ GetString() ◆ Init()initializers
Definition at line 246 of file object_list.cpp.
References CConstRef< C, Locker >::GetPointer(), CRef< C, Locker >::GetPointer(), i, m_Objects, m_Scopes, SConstScopedObject::object, SConstScopedObject::scope, and x_Init().
Referenced by s_CreateObjList(), and CObjectListTableModel::SetObjects().
◆ RemoveObjectLabel() void CObjectList::RemoveObjectLabel ( int col ) ◆ SetColStartIx() void CObjectList::SetColStartIx ( int ix ) inline ◆ SetDouble() void CObjectList::SetDouble ( int col, int row, double val ) ◆ SetInteger() void CObjectList::SetInteger ( int col, int row, int val ) ◆ SetObject() void CObjectList::SetObject ( int row, CObject & obj ) ◆ SetObjectLabel() ◆ SetScope() void CObjectList::SetScope ( int row, objects::CScope & sc ) ◆ SetString()Definition at line 505 of file object_list.cpp.
References m_Columns, row, val, and x_AssertValid().
Referenced by COpenViewManager::DoAsyncConversion(), CComponentSearchJob::x_AddToResults(), CCpgSearchJob::x_AddToResults(), CSequenceSearchJob::x_AddToResults(), COrfSearchJob::x_AddToResults(), CObjectListWidgetSel::x_CopyUniqueObjects(), CSNPSearchJob::x_DoSearch(), and CObjectListWidgetSel::x_FilterObjectList().
◆ x_AssertValid() void CObjectList::x_AssertValid ( int col, int row ) const inlineprotected ◆ x_AssertValidColumn() void CObjectList::x_AssertValidColumn ( int col ) const inlineprotected ◆ x_AssertValidLabel() void CObjectList::x_AssertValidLabel ( int col ) const inlineprotected ◆ x_AssertValidRow() void CObjectList::x_AssertValidRow ( int row ) const inlineprotected ◆ x_Clear() void CObjectList::x_Clear ( ) protected ◆ x_Init() void CObjectList::x_Init ( void ) protected ◆ m_ColumnsDefinition at line 186 of file object_list.hpp.
Referenced by AddColumn(), AddRow(), Append(), ClearColumns(), ClearRows(), CObjectList(), GetColumnName(), GetColumnType(), GetDouble(), GetInteger(), GetNumColumns(), GetString(), SetDouble(), SetInteger(), and SetString().
◆ m_ExtraColName vector<string> CObjectList::m_ExtraColName protected ◆ m_ExtraColType ◆ m_Objects ◆ m_Scopes vector< CRef<objects::CScope> > CObjectList::m_Scopes protected ◆ m_StartIx int CObjectList::m_StartIx protectedThe 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