LibreOffice Module comphelper (master)  1
Public Member Functions | Private Attributes | List of all members
comphelper::PropertySetInfo Class Reference

this class implements a XPropertySetInfo that is initialized with arrays of PropertyMapEntry. More...

#include <propertysetinfo.hxx>

Inheritance diagram for comphelper::PropertySetInfo:
[legend]
Collaboration diagram for comphelper::PropertySetInfo:
[legend]

Public Member Functions

 PropertySetInfo () throw ()
 
 PropertySetInfo (PropertyMapEntry const *pMap) throw ()
 
 PropertySetInfo (css::uno::Sequence< css::beans::Property > const &) throw ()
 
virtual ~PropertySetInfo () override throw ()
 
const PropertyMapgetPropertyMap () const throw ()
 returns a stl map with all PropertyMapEntry pointer. More...
 
void add (PropertyMapEntry const *pMap) throw ()
 adds an array of PropertyMapEntry to this instance. More...
 
void remove (const OUString &aName) throw ()
 removes an already added PropertyMapEntry which string in mpName equals to aName More...
 
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties () override
 
virtual css::beans::Property SAL_CALL getPropertyByName (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hasPropertyByName (const OUString &Name) override
 

Private Attributes

std::unique_ptr< PropertyMapImplmpImpl
 

Detailed Description

this class implements a XPropertySetInfo that is initialized with arrays of PropertyMapEntry.

It is used by the class PropertySetHelper.

Definition at line 90 of file propertysetinfo.hxx.

Constructor & Destructor Documentation

PropertySetInfo::PropertySetInfo ( )
throw (
)

Definition at line 127 of file propertysetinfo.cxx.

PropertySetInfo::PropertySetInfo ( PropertyMapEntry const *  pMap)
throw (
)

Definition at line 132 of file propertysetinfo.cxx.

comphelper::PropertySetInfo::PropertySetInfo ( css::uno::Sequence< css::beans::Property > const &  )
throw (
)
virtual comphelper::PropertySetInfo::~PropertySetInfo ( )
throw (
)
overridevirtual

Member Function Documentation

void PropertySetInfo::add ( PropertyMapEntry const *  pMap)
throw (
)

adds an array of PropertyMapEntry to this instance.

The end is marked with a PropertyMapEntry where mpName equals NULL

Definition at line 160 of file propertysetinfo.cxx.

virtual css::uno::Sequence< css::beans::Property > SAL_CALL comphelper::PropertySetInfo::getProperties ( )
overridevirtual
virtual css::beans::Property SAL_CALL comphelper::PropertySetInfo::getPropertyByName ( const OUString &  aName)
overridevirtual
const PropertyMap & PropertySetInfo::getPropertyMap ( ) const
throw (
)

returns a stl map with all PropertyMapEntry pointer.

The key is the property name.

Definition at line 185 of file propertysetinfo.cxx.

virtual sal_Bool SAL_CALL comphelper::PropertySetInfo::hasPropertyByName ( const OUString &  Name)
overridevirtual
void PropertySetInfo::remove ( const OUString &  aName)
throw (
)

removes an already added PropertyMapEntry which string in mpName equals to aName

Definition at line 165 of file propertysetinfo.cxx.

References aName.

Member Data Documentation

std::unique_ptr<PropertyMapImpl> comphelper::PropertySetInfo::mpImpl
private

Definition at line 94 of file propertysetinfo.hxx.


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