Overview | Namespace | Class | Index | Help

## Global Functions in Namespace cppu
in Sourcefile proptypehlp.hxx

convertPropertyValue
  void convertPropertyValue(

    sal_Int32 & | i,
    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

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

  template< typename target >

  void convertPropertyValue(

    target & | value,
    ::com::sun::star::uno::Any & | a );

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

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

convertPropertyValue
  void convertPropertyValue(

    sal_Int64 & | i,
    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

convertPropertyValue
  void convertPropertyValue(

    sal_uInt64 & | i,
    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

convertPropertyValue
  void convertPropertyValue(

    sal_uInt32 & | i,
    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

convertPropertyValue
  void convertPropertyValue(

    sal_Int16 & | i,
    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

convertPropertyValue
  void convertPropertyValue(

    sal_uInt16 & | i,
    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

convertPropertyValue
  void convertPropertyValue(

    sal_Int8 & | i,
    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

convertPropertyValue
  void convertPropertyValue(

    float & | f,
    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

convertPropertyValue
  void convertPropertyValue(

    double & | d,
    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

convertPropertyValue
  void convertPropertyValue(

    ::rtl::OUString & | ow,
    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

Top of Page

Copyright © 2003 Sun Microsystems, Inc.