morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::table::ViewChange Struct Reference

The operations that turn one view order into another. More...

#include <view_change.hpp>

Public Member Functions

bool empty () const noexcept
 Whether nothing changed.
bool isReset () const noexcept
 Whether the change is a whole-view reset.

Public Attributes

std::vector< ViewOp > ops
 The operations, in replay order.

Detailed Description

The operations that turn one view order into another.

Definition at line 67 of file view_change.hpp.

Member Function Documentation

◆ empty()

bool morph::table::ViewChange::empty ( ) const
inlinenodiscardnoexcept

Whether nothing changed.

Returns
true when there are no operations.

Definition at line 73 of file view_change.hpp.

◆ isReset()

bool morph::table::ViewChange::isReset ( ) const
inlinenodiscardnoexcept

Whether the change is a whole-view reset.

Returns
true when the only operation is Reset.

Definition at line 77 of file view_change.hpp.

Member Data Documentation

◆ ops

std::vector<ViewOp> morph::table::ViewChange::ops

The operations, in replay order.

Definition at line 69 of file view_change.hpp.


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