LibreOffice Module slideshow (master) 1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
slideshow::internal::Shape::lessThanShape Struct Reference

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)
 

Detailed Description

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).

Definition at line 234 of file shape.hxx.

Member Typedef Documentation

◆ result_type

Definition at line 237 of file shape.hxx.

Member Function Documentation

◆ compare()

static bool slideshow::internal::Shape::lessThanShape::compare ( const Shape pLHS,
const Shape pRHS 
)
inlinestatic

◆ operator()()

bool slideshow::internal::Shape::lessThanShape::operator() ( const ShapeSharedPtr rLHS,
const ShapeSharedPtr rRHS 
) const
inline

Definition at line 260 of file shape.hxx.

References compare().


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