LibreOffice Module slideshow (master) 1
|
Functor struct, for shape ordering. More...
#include <shape.hxx>
Public Types | |
typedef bool | result_type |
Public Member Functions | |
bool | operator() (const ShapeSharedPtr &rLHS, const ShapeSharedPtr &rRHS) const |
Static Public Member Functions | |
static bool | compare (const Shape *pLHS, const Shape *pRHS) |
Functor struct, for shape ordering.
This defines a strict weak ordering of shapes, primary sort key is the shape priority, and secondary sort key the object ptr value. Most typical use is for associative containers holding shapes (and which also have to maintain something like a paint order).
|
inlinestatic |
Definition at line 251 of file shape.hxx.
References slideshow::internal::Shape::getPriority().
Referenced by operator()(), and slideshow::internal::LayerManager::ShapeComparator::operator()().
|
inline |