Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MantidQt::MantidWidgets::Batch::MockJobTreeView Class Reference

#include <MockJobTreeView.h>

Inheritance diagram for MantidQt::MantidWidgets::Batch::MockJobTreeView:
MantidQt::MantidWidgets::Batch::IJobTreeView

Public Member Functions

void filterRowsBy (std::unique_ptr< RowPredicate > predicate) override
 
 MOCK_CONST_METHOD0 (currentColumn, int())
 
 MOCK_CONST_METHOD0 (deadCell, Cell())
 
 MOCK_CONST_METHOD0 (hasFilter, bool())
 
 MOCK_CONST_METHOD0 (selectedRowLocations, std::vector< RowLocation >())
 
 MOCK_CONST_METHOD0 (selectedSubtreeRoots, boost::optional< std::vector< RowLocation > >())
 
 MOCK_CONST_METHOD0 (selectedSubtrees, boost::optional< std::vector< Subtree > >())
 
 MOCK_CONST_METHOD1 (cellsAt, std::vector< Cell >(RowLocation const &))
 
 MOCK_CONST_METHOD1 (isOnlyChildOfRoot, bool(RowLocation const &))
 
 MOCK_CONST_METHOD2 (cellAt, Cell(RowLocation, int))
 
 MOCK_METHOD0 (appendAndEditAtChildRow, void())
 
 MOCK_METHOD0 (appendAndEditAtRowBelow, void())
 
 MOCK_METHOD0 (clearSelection, void())
 
 MOCK_METHOD0 (collapseAll, void())
 
 MOCK_METHOD0 (editAtRowAbove, void())
 
 MOCK_METHOD0 (expandAll, void())
 
 MOCK_METHOD0 (removeAllRows, void())
 
 MOCK_METHOD0 (resetFilter, void())
 
 MOCK_METHOD1 (appendChildRowOf, RowLocation(RowLocation const &))
 
 MOCK_METHOD1 (filterRowsBy, void(RowPredicate *))
 
 MOCK_METHOD1 (removeRowAt, void(RowLocation const &))
 
 MOCK_METHOD1 (removeRows, void(std::vector< RowLocation >))
 
 MOCK_METHOD1 (subscribe, void(JobTreeViewSubscriber *))
 
 MOCK_METHOD2 (appendChildRowOf, RowLocation(RowLocation const &, std::vector< Cell > const &))
 
 MOCK_METHOD2 (appendSubtreeAt, void(RowLocation const &parent, Subtree const &subtree))
 
 MOCK_METHOD2 (appendSubtreesAt, void(RowLocation const &, std::vector< Subtree >))
 
 MOCK_METHOD2 (insertChildRowOf, RowLocation(RowLocation const &, int))
 
 MOCK_METHOD2 (replaceRows, void(std::vector< RowLocation >, std::vector< Subtree >))
 
 MOCK_METHOD2 (replaceSubtreeAt, void(RowLocation const &, Subtree const &))
 
 MOCK_METHOD2 (setCellsAt, void(RowLocation const &, std::vector< Cell > const &rowText))
 
 MOCK_METHOD2 (setHintsForColumn, void(int, MantidQt::MantidWidgets::HintStrategy *))
 
 MOCK_METHOD3 (insertChildRowOf, RowLocation(RowLocation const &, int, std::vector< Cell > const &))
 
 MOCK_METHOD3 (insertSubtreeAt, void(RowLocation const &, int, Subtree const &))
 
 MOCK_METHOD3 (setCellAt, void(RowLocation, int, Cell const &))
 
 MockJobTreeView ()
 
void setHintsForColumn (int column, std::unique_ptr< MantidQt::MantidWidgets::HintStrategy > strategy) override
 
- Public Member Functions inherited from MantidQt::MantidWidgets::Batch::IJobTreeView
virtual void appendAndEditAtChildRow ()=0
 
virtual void appendAndEditAtRowBelow ()=0
 
virtual RowLocation appendChildRowOf (RowLocation const &parent)=0
 
virtual RowLocation appendChildRowOf (RowLocation const &parentLocation, std::vector< Cell > const &rowText)=0
 
virtual void appendSubtreeAt (RowLocation const &parent, Subtree const &subtree)=0
 
virtual void appendSubtreesAt (RowLocation const &parent, std::vector< Subtree > subtrees)=0
 
virtual Cell cellAt (RowLocation location, int column) const =0
 
virtual std::vector< CellcellsAt (RowLocation const &location) const =0
 
virtual void clearSelection ()=0
 
virtual void collapseAll ()=0
 
virtual int currentColumn () const =0
 
virtual Cell deadCell () const =0
 
virtual void editAtRowAbove ()=0
 
virtual void expandAll ()=0
 
virtual void filterRowsBy (RowPredicate *predicate)=0
 
virtual void filterRowsBy (std::unique_ptr< RowPredicate > predicate)=0
 
virtual bool hasFilter () const =0
 
virtual RowLocation insertChildRowOf (RowLocation const &parent, int beforeRow)=0
 
virtual RowLocation insertChildRowOf (RowLocation const &parent, int beforeRow, std::vector< Cell > const &rowText)=0
 
virtual void insertSubtreeAt (RowLocation const &parent, int index, Subtree const &subtree)=0
 
virtual bool isOnlyChildOfRoot (RowLocation const &location) const =0
 
virtual void removeAllRows ()=0
 
virtual void removeRowAt (RowLocation const &location)=0
 
virtual void removeRows (std::vector< RowLocation > rowsToRemove)=0
 
virtual void replaceRows (std::vector< RowLocation > replacementPoints, std::vector< Subtree > replacements)=0
 
virtual void replaceSubtreeAt (RowLocation const &rootToRemove, Subtree const &toInsert)=0
 
virtual void resetFilter ()=0
 
virtual std::vector< RowLocationselectedRowLocations () const =0
 
virtual boost::optional< std::vector< RowLocation > > selectedSubtreeRoots () const =0
 
virtual boost::optional< std::vector< Subtree > > selectedSubtrees () const =0
 
virtual void setCellAt (RowLocation location, int column, Cell const &cellText)=0
 
virtual void setCellsAt (RowLocation const &location, std::vector< Cell > const &rowText)=0
 
virtual void setHintsForColumn (int column, HintStrategy *hintStrategy)=0
 
virtual void setHintsForColumn (int column, std::unique_ptr< HintStrategy > hintStrategy)=0
 
virtual void subscribe (JobTreeViewSubscriber *subscriber)=0
 
virtual ~IJobTreeView ()=default
 

Private Attributes

Cell m_deadCell
 

Detailed Description

Definition at line 20 of file MockJobTreeView.h.

Constructor & Destructor Documentation

◆ MockJobTreeView()

MantidQt::MantidWidgets::Batch::MockJobTreeView::MockJobTreeView ( )
inline

Definition at line 22 of file MockJobTreeView.h.

Member Function Documentation

◆ filterRowsBy()

void MantidQt::MantidWidgets::Batch::MockJobTreeView::filterRowsBy ( std::unique_ptr< RowPredicate predicate)
inlineoverridevirtual

Implements MantidQt::MantidWidgets::Batch::IJobTreeView.

Definition at line 26 of file MockJobTreeView.h.

References filterRowsBy().

Referenced by filterRowsBy().

◆ MOCK_CONST_METHOD0() [1/6]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD0 ( currentColumn  ,
int()   
)

◆ MOCK_CONST_METHOD0() [2/6]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD0 ( deadCell  ,
Cell()   
)

◆ MOCK_CONST_METHOD0() [3/6]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD0 ( hasFilter  ,
bool()   
)

◆ MOCK_CONST_METHOD0() [4/6]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD0 ( selectedRowLocations  ,
std::vector< RowLocation () 
)

◆ MOCK_CONST_METHOD0() [5/6]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD0 ( selectedSubtreeRoots  ,
boost::optional< std::vector< RowLocation > >  () 
)

◆ MOCK_CONST_METHOD0() [6/6]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD0 ( selectedSubtrees  ,
boost::optional< std::vector< Subtree > >  () 
)

◆ MOCK_CONST_METHOD1() [1/2]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD1 ( cellsAt  ,
std::vector< Cell RowLocation const & 
)

◆ MOCK_CONST_METHOD1() [2/2]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD1 ( isOnlyChildOfRoot  ,
bool(RowLocation const &)   
)

◆ MOCK_CONST_METHOD2()

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_CONST_METHOD2 ( cellAt  ,
Cell(RowLocation, int)   
)

◆ MOCK_METHOD0() [1/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( appendAndEditAtChildRow  ,
void()   
)

◆ MOCK_METHOD0() [2/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( appendAndEditAtRowBelow  ,
void()   
)

◆ MOCK_METHOD0() [3/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( clearSelection  ,
void()   
)

◆ MOCK_METHOD0() [4/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( collapseAll  ,
void()   
)

◆ MOCK_METHOD0() [5/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( editAtRowAbove  ,
void()   
)

◆ MOCK_METHOD0() [6/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( expandAll  ,
void()   
)

◆ MOCK_METHOD0() [7/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( removeAllRows  ,
void()   
)

◆ MOCK_METHOD0() [8/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD0 ( resetFilter  ,
void()   
)

◆ MOCK_METHOD1() [1/5]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD1 ( appendChildRowOf  ,
RowLocation(RowLocation const &)   
)

◆ MOCK_METHOD1() [2/5]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD1 ( filterRowsBy  ,
void(RowPredicate *)   
)

◆ MOCK_METHOD1() [3/5]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD1 ( removeRowAt  ,
void(RowLocation const &)   
)

◆ MOCK_METHOD1() [4/5]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD1 ( removeRows  ,
void(std::vector< RowLocation >)   
)

◆ MOCK_METHOD1() [5/5]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD1 ( subscribe  ,
void(JobTreeViewSubscriber *)   
)

◆ MOCK_METHOD2() [1/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( appendChildRowOf  ,
RowLocation(RowLocation const &, std::vector< Cell > const &)   
)

◆ MOCK_METHOD2() [2/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( appendSubtreeAt  ,
void(RowLocation const &parent, Subtree const &subtree)   
)

◆ MOCK_METHOD2() [3/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( appendSubtreesAt  ,
void(RowLocation const &, std::vector< Subtree >)   
)

◆ MOCK_METHOD2() [4/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( insertChildRowOf  ,
RowLocation(RowLocation const &, int)   
)

◆ MOCK_METHOD2() [5/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( replaceRows  ,
void(std::vector< RowLocation >, std::vector< Subtree >)   
)

◆ MOCK_METHOD2() [6/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( replaceSubtreeAt  ,
void(RowLocation const &, Subtree const &)   
)

◆ MOCK_METHOD2() [7/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( setCellsAt  ,
void(RowLocation const &, std::vector< Cell > const &rowText)   
)

◆ MOCK_METHOD2() [8/8]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD2 ( setHintsForColumn  ,
void(int, MantidQt::MantidWidgets::HintStrategy *)   
)

◆ MOCK_METHOD3() [1/3]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD3 ( insertChildRowOf  ,
RowLocation(RowLocation const &, int, std::vector< Cell > const &)   
)

◆ MOCK_METHOD3() [2/3]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD3 ( insertSubtreeAt  ,
void(RowLocation const &, int, Subtree const &)   
)

◆ MOCK_METHOD3() [3/3]

MantidQt::MantidWidgets::Batch::MockJobTreeView::MOCK_METHOD3 ( setCellAt  ,
void(RowLocation, int, Cell const &)   
)

◆ setHintsForColumn()

void MantidQt::MantidWidgets::Batch::MockJobTreeView::setHintsForColumn ( int  column,
std::unique_ptr< MantidQt::MantidWidgets::HintStrategy strategy 
)
inlineoverridevirtual

Implements MantidQt::MantidWidgets::Batch::IJobTreeView.

Definition at line 65 of file MockJobTreeView.h.

Member Data Documentation

◆ m_deadCell

Cell MantidQt::MantidWidgets::Batch::MockJobTreeView::m_deadCell
private

Definition at line 76 of file MockJobTreeView.h.


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