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

NCBI C++ ToolKit: CObjectList Class Reference

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 ()     CObjectList (const CObjectList &ob_list)   virtual  ~CObjectList ()   void  Init (TConstScopedObjects &objects)   initializers More...
  void  Append (const CObjectList &list)   adds rows from the given list, the lists must have identical sets of columns More...
  int  AddRow (CObject *obj, objects::CScope *scope)   int  AddColumn (EColumnType type, const string &name, int col=-1)   void  DeleteColumn (int col)   int  GetNumColumns () const   access to columns (attribute, indexes) More...
  EColumnType  GetColumnType (int col) const   const stringGetColumnName (int col) const   int  GetColStartIx () const   void  SetColStartIx (int ix)   void  ClearColStartIx ()   int  GetNumRows () const   CObjectGetObject (int row)   access to values (row, column) More...
  const CObjectGetObject (int row) const   void  SetObject (int row, CObject &obj)   objects::CScope *  GetScope (int row)   const objects::CScope *  GetScope (int row) const   void  SetScope (int row, objects::CScope &sc)   const stringGetString (int col, int row) const   void  SetString (int col, int row, const string &val)   int  GetInteger (int col, int row) const   void  SetInteger (int col, int row, int val)   double  GetDouble (int col, int row) const   void  SetDouble (int col, int row, double val)   int  GetNumObjectLabels () const   access to a set of extra columns More...
  string  GetObjectLabelName (int col) const   CLabel::ELabelType  GetObjectLabelType (int col) const   void  SetObjectLabel (int col, const string &name, CLabel::ELabelType type)   void  AddObjectLabel (const string &name, CLabel::ELabelType type)   void  RemoveObjectLabel (int col)   void  ClearRows ()   void  ClearColumns ()   removes all data rows (i.e. objects) More...
  void  ClearObjectLabels ()   void  Clear ()     CObjectList (void)     ~CObjectList (void)     CObjectList (void)     ~CObjectList (void)     CObject (void)   Constructor. More...
    CObject (const CObject &src)   Copy constructor. More...
  virtual  ~CObject (void)   Destructor. More...
  CObjectoperator= (const CObject &src) THROWS_NONE   Assignment operator. More...
  bool  CanBeDeleted (void) const THROWS_NONE   Check if object can be deleted. More...
  bool  IsAllocatedInPool (void) const THROWS_NONE   Check if object is allocated in memory pool (not system heap) More...
  bool  Referenced (void) const THROWS_NONE   Check if object is referenced. More...
  bool  ReferencedOnlyOnce (void) const THROWS_NONE   Check if object is referenced only once. More...
  void  AddReference (void) const   Add reference to object. More...
  void  RemoveReference (void) const   Remove reference to object. More...
  void  ReleaseReference (void) const   Remove reference without deleting object. More...
  virtual void  DoNotDeleteThisObject (void)   Mark this object as not allocated in heap – do not delete this object. More...
  virtual void  DoDeleteThisObject (void)   Mark this object as allocated in heap – object can be deleted. More...
  void *  operator new (size_t size)   Define new operator for memory allocation. More...
  void *  operator new[] (size_t size)   Define new[] operator for 'array' memory allocation. More...
  void  operator delete (void *ptr)   Define delete operator for memory deallocation. More...
  void  operator delete[] (void *ptr)   Define delete[] operator for memory deallocation. More...
  void *  operator new (size_t size, void *place)   Define new operator. More...
  void  operator delete (void *ptr, void *place)   Define delete operator. More...
  void *  operator new (size_t size, CObjectMemoryPool *place)   Define new operator using memory pool. More...
  void  operator delete (void *ptr, CObjectMemoryPool *place)   Define delete operator. More...
  virtual void  DebugDump (CDebugDumpContext ddc, unsigned int depth) const   Define method for dumping debug information. More...
    CDebugDumpable (void)   virtual  ~CDebugDumpable (void)   void  DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const   void  DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const   void  DumpToConsole (void) const     CObjectList_Base (void)   virtual  ~CObjectList_Base (void)     DECLARE_INTERNAL_TYPE_INFO ()   bool  IsSetObject (void) const   Check if a value has been assigned to Object data member. More...
  bool  CanGetObject (void) const   Check if it is safe to call GetObject method. More...
  void  ResetObject (void)   Reset Object data member. More...
  const TObjectGetObject (void) const   Get the Object member data. More...
  TObjectSetObject (void)   Assign a value to Object data member. More...
  virtual void  Reset (void)   Reset the whole object. More...
    CObjectList_Base (void)   virtual  ~CObjectList_Base (void)     DECLARE_INTERNAL_TYPE_INFO ()   bool  IsSet (void) const   Check if a value has been assigned to data member. More...
  bool  CanGet (void) const   Check if it is safe to call Get method. More...
  void  Reset (void)   Reset data member. More...
  const TdataGet (void) const   Get the member data. More...
  TdataSet (void)   Assign a value to data member. More...
    operator const Tdata & (void) const   Conversion operator to 'const Tdata' type. More...
    operator Tdata & (void)   Conversion operator to 'Tdata' type. More...
 

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  eDouble 

Definition at line 65 of file object_list.hpp.

◆ CObjectList() [1/2] CObjectList::CObjectList ( void  ) inline

Definition 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 ( CObjectobj, 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 ( ) const

Definition 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, CObjectobj  ) ◆ 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_Columns

Definition 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 protected

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