LibreOffice Module svl (master) 1
|
#include <itemprop.hxx>
Public Member Functions | |
SfxItemPropertyMap (o3tl::span< const SfxItemPropertyMapEntry > pEntries) | |
SfxItemPropertyMap (const SfxItemPropertyMap &rSource) | |
~SfxItemPropertyMap () | |
const SfxItemPropertyMapEntry * | getByName (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 *, SfxItemPropertyMapCompare > | m_aMap |
css::uno::Sequence< css::beans::Property > | m_aPropSeq |
Definition at line 79 of file itemprop.hxx.
SfxItemPropertyMap::SfxItemPropertyMap | ( | o3tl::span< const SfxItemPropertyMapEntry > | pEntries | ) |
Definition at line 38 of file itemprop.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), m_aMap, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::reserve(), and o3tl::span< typename T >::size().
|
default |
SfxItemPropertyMap::~SfxItemPropertyMap | ( | ) |
Definition at line 50 of file itemprop.cxx.
const SfxItemPropertyMapEntry * SfxItemPropertyMap::getByName | ( | std::u16string_view | rName | ) | const |
Definition at line 54 of file itemprop.cxx.
References SfxItemPropertyMapEntry::aName, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), and m_aMap.
Referenced by getPropertyByName(), SfxItemPropertySet::getPropertyState(), and hasPropertyByName().
uno::Sequence< beans::Property > const & SfxItemPropertyMap::getProperties | ( | ) | const |
Definition at line 73 of file itemprop.cxx.
References m_aMap, m_aPropSeq, n, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SfxItemPropertySetInfo::getProperties().
beans::Property SfxItemPropertyMap::getPropertyByName | ( | const OUString & | rName | ) | const |
css::beans::UnknownPropertyException |
Definition at line 94 of file itemprop.cxx.
References SfxItemPropertyMapEntry::aType, getByName(), SfxItemPropertyMapEntry::nFlags, and SfxItemPropertyMapEntry::nWID.
Referenced by SfxItemPropertySetInfo::getPropertyByName().
|
inline |
Definition at line 94 of file itemprop.hxx.
bool SfxItemPropertyMap::hasPropertyByName | ( | std::u16string_view | rName | ) | const |
Definition at line 107 of file itemprop.cxx.
References getByName().
Referenced by SfxItemPropertySetInfo::hasPropertyByName().
|
private |
Definition at line 81 of file itemprop.hxx.
Referenced by getByName(), getProperties(), and SfxItemPropertyMap().
|
mutableprivate |
Definition at line 82 of file itemprop.hxx.
Referenced by getProperties().