Global Functions in Namespace cppu
|
| const ::com::sun::star::uno::Any & | rAny ) |
| throw( ::com::sun::star::lang::IllegalArgumentException ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
- Description
- * extracts a boolean either as a sal_Bool or an integer from * an any. If there is no sal_Bool or integer inside the any * a ::com::sun::star::lang::IllegalArgumentException is thrown *
- any2enum
template< typename E >
void any2enum(E & eRet, const ::com::sun::star::uno::Any & rAny ) throw( ::com::sun::star::lang::IllegalArgumentException );
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Summary
- * Sets int32 from enum or int in any with additional typecheck
*
* - Parameters
rAny enum or int *
eRet the enum value as int. If there is not enum of the given type or * a ::com::sun::star::lang::IllegalArgumentException is thrown
- bool2any
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- Description
- * Puts a boolean in an any. * * @DEPRECATED : use makeAny< sal_Bool >() *
- enum2any
template< typename E >
::com::sun::star::uno::Any enum2any(E eEnum );
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Description
- * Template function to create an uno::Any from an enum * * @DEPRECATED : use makeAny< E >() *
- enum2int
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- Summary
- * Sets int32 from enum or int in any.
*
* - Parameters
rnEnum int32 enum value *
rAny enum or int *
sal_True if enum or int value was set else sal_False.
- extractInterface
template< typename T >
sal_Bool extractInterface(::com::sun::star::uno::Reference< T > & rxOut, const ::com::sun::star::uno::Any & rAny );
virtual abstract const volatile template static inline C-linkage NO NO NO NO YES NO YES NO
- Description
- * Extracts interface from an any. If given any does not hold the demanded interface,
* it will be queried for it.
* If no interface is available, the out ref will be cleared.
*
* - Parameters
rxOut demanded interface *
rAny interface *
- Return
- sal_True if any reference (including the null ref) was retrieved from any else sal_False.
- int2enum
-
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- Summary
- * Sets enum from int32 value. This function does NOT check for valid enum values!
*
* - Parameters
nEnum int32 enum value *
rType enum type *
- Return
- enum or emoty any.
Top of Page
Copyright © 2003 Sun Microsystems, Inc.

