Allows for sorting models when supported.
More...
|
| virtual bool | canSort (const DesignObject &a, const DesignObject &b) const =0 |
| | Returns true if it is possible for this sorter to detemine the order of two objects.
|
| virtual UUID | id () const =0 |
| | A unique identifier for this sorting service.
|
| virtual bool | isALessThanB (const DesignObject &a, const DesignObject &b) const =0 |
| | Returns true if a is evaluated to be less than b.
|
Allows for sorting models when supported.
This can be used to augment the order in which objects appear in the SceneTree or in DesignObjectTables.
Definition at line 12 of file ModelSorter.h.
◆ canSort()
Returns true if it is possible for this sorter to detemine the order of two objects.
- Parameters
-
◆ id()
| virtual UUID ObjectSorter::id |
( |
| ) |
const |
|
pure virtual |
A unique identifier for this sorting service.
- Returns
- A unique identifier for this sorting service
◆ isALessThanB()
Returns true if a is evaluated to be less than b.
- Parameters
-
- Returns
- true if a is less than b
The documentation for this class was generated from the following file: