LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XAnyCompare Interface Referencepublished

compares two anys. More...

import"XAnyCompare.idl";

Inheritance diagram for XAnyCompare:
XInterface

Public Member Functions

short compare ([in] any Any1, [in] any Any2)
 allows comparison of two anys. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

compares two anys.

Member Function Documentation

◆ compare()

short compare ( [in] any  Any1,
[in] any  Any2 
)

allows comparison of two anys.

Parameters
Any1is the first compare value
Any2is the second compare value
Returns
  • -1, if the first any is less than the second ( Any1 < Any2 )
  • 0, if the first any is equal to the second ( Any1 == Any2 )
  • +1, if the first any is greater than the second ( Any1 > Any2 )

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