The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

Global Functions in Namespace cppu
in Sourcefile proptypehlp.hxx


convertPropertyValue

template< typename target >


void convertPropertyValue(
target & value,
const ::com::sun::star::uno::Any & a );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO YES NO YES NO

Description
Converts the value stored in an any to a concrete C++ type. The function does the same as the operator >>= () at the Any class, except that it throws an IllegalArgumentException in case of failures (the value cannot be extracted without data loss )

convertPropertyValue
void convertPropertyValue(
sal_Bool & b,
const ::com::sun::star::uno::Any & a )
throw( ::com::sun::star::lang::IllegalArgumentException );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
conversion of basic types

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.