LibreOffice Module svl (master) 1
Public Member Functions | Private Attributes | List of all members
SfxItemPropertyMap Class Reference

#include <itemprop.hxx>

Collaboration diagram for SfxItemPropertyMap:
[legend]

Public Member Functions

 SfxItemPropertyMap (o3tl::span< const SfxItemPropertyMapEntry > pEntries)
 
 SfxItemPropertyMap (const SfxItemPropertyMap &rSource)
 
 ~SfxItemPropertyMap ()
 
const SfxItemPropertyMapEntrygetByName (std::u16string_view rName) const
 
css::uno::Sequence< css::beans::Property > const & getProperties () const
 
css::beans::Property getPropertyByName (const OUString &rName) const
 
bool hasPropertyByName (std::u16string_view rName) const
 
const o3tl::sorted_vector< const SfxItemPropertyMapEntry *, SfxItemPropertyMapCompare > & getPropertyEntries () const
 

Private Attributes

o3tl::sorted_vector< const SfxItemPropertyMapEntry *, SfxItemPropertyMapComparem_aMap
 
css::uno::Sequence< css::beans::Property > m_aPropSeq
 

Detailed Description

Definition at line 79 of file itemprop.hxx.

Constructor & Destructor Documentation

◆ SfxItemPropertyMap() [1/2]

SfxItemPropertyMap::SfxItemPropertyMap ( o3tl::span< const SfxItemPropertyMapEntry pEntries)

◆ SfxItemPropertyMap() [2/2]

SfxItemPropertyMap::SfxItemPropertyMap ( const SfxItemPropertyMap rSource)
default

◆ ~SfxItemPropertyMap()

SfxItemPropertyMap::~SfxItemPropertyMap ( )

Definition at line 50 of file itemprop.cxx.

Member Function Documentation

◆ getByName()

const SfxItemPropertyMapEntry * SfxItemPropertyMap::getByName ( std::u16string_view  rName) const

◆ getProperties()

uno::Sequence< beans::Property > const & SfxItemPropertyMap::getProperties ( ) const

◆ getPropertyByName()

beans::Property SfxItemPropertyMap::getPropertyByName ( const OUString &  rName) const
Exceptions
css::beans::UnknownPropertyException

Definition at line 94 of file itemprop.cxx.

References SfxItemPropertyMapEntry::aType, getByName(), SfxItemPropertyMapEntry::nFlags, and SfxItemPropertyMapEntry::nWID.

Referenced by SfxItemPropertySetInfo::getPropertyByName().

◆ getPropertyEntries()

const o3tl::sorted_vector< const SfxItemPropertyMapEntry *, SfxItemPropertyMapCompare > & SfxItemPropertyMap::getPropertyEntries ( ) const
inline

Definition at line 94 of file itemprop.hxx.

◆ hasPropertyByName()

bool SfxItemPropertyMap::hasPropertyByName ( std::u16string_view  rName) const

Definition at line 107 of file itemprop.cxx.

References getByName().

Referenced by SfxItemPropertySetInfo::hasPropertyByName().

Member Data Documentation

◆ m_aMap

o3tl::sorted_vector< const SfxItemPropertyMapEntry*, SfxItemPropertyMapCompare > SfxItemPropertyMap::m_aMap
private

Definition at line 81 of file itemprop.hxx.

Referenced by getByName(), getProperties(), and SfxItemPropertyMap().

◆ m_aPropSeq

css::uno::Sequence< css::beans::Property > SfxItemPropertyMap::m_aPropSeq
mutableprivate

Definition at line 82 of file itemprop.hxx.

Referenced by getProperties().


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