LibreOffice Module xmloff (master)  1
Public Member Functions | Public Attributes | List of all members
PropertyWrapperBase Class Referenceabstract

MultiPropertySetHandler handles the two slightly different interfaces XPropertySet and XMultiPropertySet for accessing properties of an object. More...

#include <MultiPropertySetHandler.hxx>

Inheritance diagram for PropertyWrapperBase:
[legend]

Public Member Functions

 PropertyWrapperBase (const OUString &rName)
 Create a class instance and store the given name. More...
 
virtual ~PropertyWrapperBase ()
 
virtual void SetValue (const css::uno::Any &rValue)=0
 Abstract interface of a method for setting a variables value to that of the property. More...
 

Public Attributes

const OUString msName
 

Detailed Description

MultiPropertySetHandler handles the two slightly different interfaces XPropertySet and XMultiPropertySet for accessing properties of an object.

It uses the classes PropertyWrapperBase and the template PropertyWrapper for a type safe access to single properties.

The function class OUStringComparison is used by a STL map to sort the properties by names. Base class for the templated property wrappers. Having a common base class allows to set a variable to the property's value without explicit knowledge of its type.

Definition at line 45 of file MultiPropertySetHandler.hxx.

Constructor & Destructor Documentation

PropertyWrapperBase::PropertyWrapperBase ( const OUString &  rName)
inlineexplicit

Create a class instance and store the given name.

Parameters
rNameThe name of the property.

Definition at line 51 of file MultiPropertySetHandler.hxx.

virtual PropertyWrapperBase::~PropertyWrapperBase ( )
inlinevirtual

Definition at line 54 of file MultiPropertySetHandler.hxx.

Member Function Documentation

virtual void PropertyWrapperBase::SetValue ( const css::uno::Any &  rValue)
pure virtual

Abstract interface of a method for setting a variables value to that of the property.

Implemented in PropertyWrapper< T >.

Member Data Documentation

const OUString PropertyWrapperBase::msName

Definition at line 62 of file MultiPropertySetHandler.hxx.


The documentation for this class was generated from the following file: