25#include <typelib/typeclass.h>
26#include <typelib/typedescription.hxx>
39 std::swap(
from.pType,
to.pType);
40 std::swap(
from.pData,
to.pData);
41 std::swap(
from.pReserved,
to.pReserved);
42 if (
to.pData == &
from.pReserved) {
43 to.pData = &
to.pReserved;
65 assert(raw.pType !=
nullptr);
66 data_.pType = raw.pType;
68 data_.pData = raw.pData == &raw.pReserved ? &data_.pReserved : raw.pData;
69 data_.pReserved = raw.pReserved;
77 moveInternals(other.data_, data_);
93 moveInternals(other.data_, data_);
98 return css::uno::TypeDescription(
data_.pType);
106 type.get()->eTypeClass == typelib_TypeClass_ANY ||
107 type.equals(css::uno::TypeDescription(data_.pType)));
108 return type.get()->eTypeClass == typelib_TypeClass_ANY
109 ? &data_ : data_.pData;
void SAL_CALL uno_any_construct(uno_Any *pDest, void *pSource, typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire) SAL_THROW_EXTERN_C()
void SAL_CALL uno_any_destruct(uno_Any *pValue, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
void SAL_CALL uno_type_any_assign(uno_Any *pDest, void *pSource, typelib_TypeDescriptionReference *pType, uno_AcquireFunc acquire, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
void SAL_CALL uno_type_any_construct(uno_Any *pDest, void *pSource, typelib_TypeDescriptionReference *pType, uno_AcquireFunc acquire) SAL_THROW_EXTERN_C()
BinaryAny & operator=(BinaryAny const &other) noexcept
com::sun::star::uno::TypeDescription getType() const noexcept
void * getValue(com::sun::star::uno::TypeDescription const &type) const noexcept
void SAL_CALL typelib_typedescriptionreference_acquire(typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()