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

@descr 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 (OUString aName)
 @descr Create a class instance and store the given name. More...
 
virtual ~PropertyWrapperBase ()
 
virtual void SetValue (const css::uno::Any &rValue)=0
 @descr Abstract interface of a method for setting a variables value to that of the property. More...
 

Public Attributes

const OUString msName
 

Detailed Description

@descr 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. @descr 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 46 of file MultiPropertySetHandler.hxx.

Constructor & Destructor Documentation

◆ PropertyWrapperBase()

PropertyWrapperBase::PropertyWrapperBase ( OUString  aName)
inlineexplicit

@descr Create a class instance and store the given name.

Parameters
rNameThe name of the property.

Definition at line 52 of file MultiPropertySetHandler.hxx.

References aName.

◆ ~PropertyWrapperBase()

virtual PropertyWrapperBase::~PropertyWrapperBase ( )
inlinevirtual

Definition at line 55 of file MultiPropertySetHandler.hxx.

Member Function Documentation

◆ SetValue()

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

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

Implemented in PropertyWrapper< T >.

Member Data Documentation

◆ msName

const OUString PropertyWrapperBase::msName

Definition at line 63 of file MultiPropertySetHandler.hxx.


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