Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
IModelTree Class Referenceabstract

#include <IModelTree.hpp>

Inheritance diagram for IModelTree:
[legend]

Public Member Functions

 IModelTree ()=default
 
virtual ~IModelTree ()=default
 
 IModelTree (const IModelTree &other)=delete
 
 IModelTree (IModelTree &&other)=delete
 
IModelTreeoperator= (const IModelTree &other)=delete
 
IModelTreeoperator= (IModelTree &&other)=delete
 
virtual uint64_t numRows () const =0
 
virtual std::shared_ptr< CDataListgetDataCell (uint64_t indRow, uint64_t indColumn) const =0
 
virtual uint64_t getParentRow (uint64_t indRow) const =0
 
virtual void addColumns (CTree *tree)=0
 
virtual bool isCellActive (uint64_t indRow, uint64_t indCol) const
 
virtual bool hasForeground (uint64_t indRow, uint64_t indColumn, iv::types::color *rgbForeground) const
 
virtual bool hasBackground (uint64_t indRow, uint64_t indColumn, iv::types::color *rgbBackground) const
 

Detailed Description

Similar to CList but it will consider items with parents

Constructor & Destructor Documentation

◆ IModelTree() [1/3]

IModelTree::IModelTree ( )
default

◆ ~IModelTree()

virtual IModelTree::~IModelTree ( )
virtualdefault

◆ IModelTree() [2/3]

IModelTree::IModelTree ( const IModelTree & other)
delete

◆ IModelTree() [3/3]

IModelTree::IModelTree ( IModelTree && other)
delete

Member Function Documentation

◆ addColumns()

virtual void IModelTree::addColumns ( CTree * tree)
pure virtual

◆ getDataCell()

virtual std::shared_ptr< CDataList > IModelTree::getDataCell ( uint64_t indRow,
uint64_t indColumn ) const
nodiscardpure virtual

◆ getParentRow()

virtual uint64_t IModelTree::getParentRow ( uint64_t indRow) const
nodiscardpure virtual

◆ hasBackground()

virtual bool IModelTree::hasBackground ( uint64_t indRow,
uint64_t indColumn,
iv::types::color * rgbBackground ) const
inlinevirtual

◆ hasForeground()

virtual bool IModelTree::hasForeground ( uint64_t indRow,
uint64_t indColumn,
iv::types::color * rgbForeground ) const
inlinevirtual

◆ isCellActive()

virtual bool IModelTree::isCellActive ( uint64_t indRow,
uint64_t indCol ) const
inlinenodiscardvirtual

◆ numRows()

virtual uint64_t IModelTree::numRows ( ) const
nodiscardpure virtual

◆ operator=() [1/2]

IModelTree & IModelTree::operator= ( const IModelTree & other)
delete

◆ operator=() [2/2]

IModelTree & IModelTree::operator= ( IModelTree && other)
delete

The documentation for this class was generated from the following file: