LibreOffice Module comphelper (master) 1
|
#include <sal/config.h>
#include <cassert>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/TypeClass.hpp>
#include <com/sun/star/uno/Type.h>
#include <com/sun/star/uno/Any.hxx>
Go to the source code of this file.
Namespaces | |
namespace | cppu |
Functions | |
css::uno::Any | cppu::int2enum (sal_Int32 nEnum, const css::uno::Type &rType) |
Sets enum from int32 value. More... | |
bool | cppu::enum2int (sal_Int32 &rnEnum, const css::uno::Any &rAny) |
Sets int32 from enum or int in any. More... | |
template<typename E > | |
void | cppu::any2enum (E &eRet, const css::uno::Any &rAny) |
Sets int32 from enum or int in any with additional typecheck. More... | |
bool | cppu::any2bool (const css::uno::Any &rAny) |
Extracts a boolean either as a bool or an integer from an any. More... | |