LibreOffice Module svl (master) 1
Classes | Functions
typedwhich.hxx File Reference
#include <sal/config.h>
#include <sal/types.h>
#include <type_traits>
Include dependency graph for typedwhich.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TypedWhichId< T >
 A very thin wrapper around the sal_uInt16 WhichId whose purpose is mostly to carry type information, so that we Put() and Get() the right subclasses of SfxPoolItem for each WhichId. More...
 

Functions

template<class T >
constexpr bool operator== (TypedWhichId< T > const &lhs, TypedWhichId< T > rhs)
 
template<class T >
constexpr bool operator!= (TypedWhichId< T > const &lhs, TypedWhichId< T > rhs)
 
template<class T >
constexpr bool operator== (sal_uInt16 lhs, TypedWhichId< T > const &rhs)
 
template<class T >
constexpr bool operator!= (sal_uInt16 lhs, TypedWhichId< T > const &rhs)
 
template<class T >
constexpr bool operator== (TypedWhichId< T > const &lhs, sal_uInt16 rhs)
 
template<class T >
constexpr bool operator!= (TypedWhichId< T > const &lhs, sal_uInt16 rhs)
 

Function Documentation

◆ operator!=() [1/3]

template<class T >
constexpr bool operator!= ( sal_uInt16  lhs,
TypedWhichId< T > const &  rhs 
)
constexpr

Definition at line 55 of file typedwhich.hxx.

◆ operator!=() [2/3]

template<class T >
constexpr bool operator!= ( TypedWhichId< T > const &  lhs,
sal_uInt16  rhs 
)
constexpr

Definition at line 63 of file typedwhich.hxx.

◆ operator!=() [3/3]

template<class T >
constexpr bool operator!= ( TypedWhichId< T > const &  lhs,
TypedWhichId< T >  rhs 
)
constexpr

Definition at line 47 of file typedwhich.hxx.

◆ operator==() [1/3]

template<class T >
constexpr bool operator== ( sal_uInt16  lhs,
TypedWhichId< T > const &  rhs 
)
constexpr

Definition at line 51 of file typedwhich.hxx.

◆ operator==() [2/3]

template<class T >
constexpr bool operator== ( TypedWhichId< T > const &  lhs,
sal_uInt16  rhs 
)
constexpr

Definition at line 59 of file typedwhich.hxx.

◆ operator==() [3/3]

template<class T >
constexpr bool operator== ( TypedWhichId< T > const &  lhs,
TypedWhichId< T >  rhs 
)
constexpr

Definition at line 43 of file typedwhich.hxx.