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

#include <ucbstore.hxx>

Inheritance diagram for PersistentPropertySet:
[legend]
Collaboration diagram for PersistentPropertySet:
[legend]

Public Member Functions

 PersistentPropertySet (std::unique_lock< std::mutex > &rCreatorGuard, PropertySetRegistry &rCreator, OUString aKey)
 
virtual ~PersistentPropertySet () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::uno::Reference< css::ucb::XPropertySetRegistry > SAL_CALL getRegistry () override
 
virtual OUString SAL_CALL getKey () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual void SAL_CALL addProperty (const OUString &Name, sal_Int16 Attributes, const css::uno::Any &DefaultValue) override
 
virtual void SAL_CALL removeProperty (const OUString &Name) override
 
virtual void SAL_CALL addPropertySetInfoChangeListener (const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &Listener) override
 
virtual void SAL_CALL removePropertySetInfoChangeListener (const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &Listener) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
PropertySetRegistrygetPropertySetRegistry ()
 
OUString getFullKey ()
 

Private Member Functions

void notifyPropertyChangeEvent (std::unique_lock< std::mutex > &rGuard, const css::beans::PropertyChangeEvent &rEvent) const
 
void notifyPropertySetInfoChange (std::unique_lock< std::mutex > &rGuard, const css::beans::PropertySetInfoChangeEvent &evt) const
 
const OUString & getFullKeyImpl (std::unique_lock< std::mutex > &)
 

Private Attributes

rtl::Reference< PropertySetRegistrym_pCreator
 
rtl::Reference< PropertySetInfo_Implm_pInfo
 
OUString m_aKey
 
OUString m_aFullKey
 
std::mutex m_aMutex
 
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aDisposeEventListeners
 
comphelper::OInterfaceContainerHelper4< css::beans::XPropertySetInfoChangeListener > m_aPropSetChangeListeners
 
PropertyListeners_Impl m_aPropertyChangeListeners
 

Detailed Description

Definition at line 152 of file ucbstore.hxx.

Constructor & Destructor Documentation

◆ PersistentPropertySet()

PersistentPropertySet::PersistentPropertySet ( std::unique_lock< std::mutex > &  rCreatorGuard,
PropertySetRegistry rCreator,
OUString  aKey 
)

Definition at line 1006 of file ucbstore.cxx.

References PropertySetRegistry::add().

◆ ~PersistentPropertySet()

PersistentPropertySet::~PersistentPropertySet ( )
overridevirtual

Definition at line 1018 of file ucbstore.cxx.

References m_pCreator.

Member Function Documentation

◆ addEventListener()

void SAL_CALL PersistentPropertySet::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  Listener)
overridevirtual

◆ addProperty()

void SAL_CALL PersistentPropertySet::addProperty ( const OUString &  Name,
sal_Int16  Attributes,
const css::uno::Any &  DefaultValue 
)
overridevirtual

◆ addPropertyChangeListener()

void SAL_CALL PersistentPropertySet::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addPropertySetInfoChangeListener()

void SAL_CALL PersistentPropertySet::addPropertySetInfoChangeListener ( const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &  Listener)
overridevirtual

◆ addVetoableChangeListener()

void SAL_CALL PersistentPropertySet::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 1256 of file ucbstore.cxx.

◆ dispose()

void SAL_CALL PersistentPropertySet::dispose ( void  )
overridevirtual

◆ getFullKey()

OUString PersistentPropertySet::getFullKey ( )

◆ getFullKeyImpl()

const OUString & PersistentPropertySet::getFullKeyImpl ( std::unique_lock< std::mutex > &  )
private

◆ getImplementationName()

OUString SAL_CALL PersistentPropertySet::getImplementationName ( )
overridevirtual

Definition at line 1026 of file ucbstore.cxx.

◆ getKey()

OUString SAL_CALL PersistentPropertySet::getKey ( )
overridevirtual

Definition at line 1286 of file ucbstore.cxx.

References m_aKey.

Referenced by PropertySetRegistry::add(), and PropertySetRegistry::remove().

◆ getName()

OUString SAL_CALL PersistentPropertySet::getName ( )
overridevirtual

Definition at line 1296 of file ucbstore.cxx.

References m_aKey.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL PersistentPropertySet::getPropertySetInfo ( )
overridevirtual

Definition at line 1097 of file ucbstore.cxx.

References m_aMutex, and m_pInfo.

◆ getPropertySetRegistry()

PropertySetRegistry & PersistentPropertySet::getPropertySetRegistry ( )

◆ getPropertyValue()

Any SAL_CALL PersistentPropertySet::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 1201 of file ucbstore.cxx.

References Any, getFullKeyImpl(), m_aMutex, m_pCreator, and makeHierarchalNameSegment().

◆ getPropertyValues()

Sequence< PropertyValue > SAL_CALL PersistentPropertySet::getPropertyValues ( )
overridevirtual

◆ getRegistry()

Reference< XPropertySetRegistry > SAL_CALL PersistentPropertySet::getRegistry ( )
overridevirtual

Definition at line 1279 of file ucbstore.cxx.

References m_pCreator.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL PersistentPropertySet::getSupportedServiceNames ( )
overridevirtual

Definition at line 1036 of file ucbstore.cxx.

◆ notifyPropertyChangeEvent()

void PersistentPropertySet::notifyPropertyChangeEvent ( std::unique_lock< std::mutex > &  rGuard,
const css::beans::PropertyChangeEvent &  rEvent 
) const
private

◆ notifyPropertySetInfoChange()

void PersistentPropertySet::notifyPropertySetInfoChange ( std::unique_lock< std::mutex > &  rGuard,
const css::beans::PropertySetInfoChangeEvent &  evt 
) const
private

◆ removeEventListener()

void SAL_CALL PersistentPropertySet::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  Listener)
overridevirtual

◆ removeProperty()

void SAL_CALL PersistentPropertySet::removeProperty ( const OUString &  Name)
overridevirtual

◆ removePropertyChangeListener()

void SAL_CALL PersistentPropertySet::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removePropertySetInfoChangeListener()

void SAL_CALL PersistentPropertySet::removePropertySetInfoChangeListener ( const css::uno::Reference< css::beans::XPropertySetInfoChangeListener > &  Listener)
overridevirtual

◆ removeVetoableChangeListener()

void SAL_CALL PersistentPropertySet::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 1266 of file ucbstore.cxx.

◆ setName()

void SAL_CALL PersistentPropertySet::setName ( const OUString &  aName)
overridevirtual

Definition at line 1304 of file ucbstore.cxx.

References aName, m_aKey, and m_pCreator.

◆ setPropertyValue()

void SAL_CALL PersistentPropertySet::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setPropertyValues()

void SAL_CALL PersistentPropertySet::setPropertyValues ( const css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL PersistentPropertySet::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1031 of file ucbstore.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aDisposeEventListeners

comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> PersistentPropertySet::m_aDisposeEventListeners
private

Definition at line 166 of file ucbstore.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

◆ m_aFullKey

OUString PersistentPropertySet::m_aFullKey
private

Definition at line 164 of file ucbstore.hxx.

Referenced by getFullKeyImpl().

◆ m_aKey

OUString PersistentPropertySet::m_aKey
private

Definition at line 163 of file ucbstore.hxx.

Referenced by getFullKeyImpl(), getKey(), getName(), and setName().

◆ m_aMutex

std::mutex PersistentPropertySet::m_aMutex
mutableprivate

◆ m_aPropertyChangeListeners

PropertyListeners_Impl PersistentPropertySet::m_aPropertyChangeListeners
private

◆ m_aPropSetChangeListeners

comphelper::OInterfaceContainerHelper4<css::beans::XPropertySetInfoChangeListener> PersistentPropertySet::m_aPropSetChangeListeners
private

◆ m_pCreator

rtl::Reference<PropertySetRegistry> PersistentPropertySet::m_pCreator
private

◆ m_pInfo

rtl::Reference<PropertySetInfo_Impl> PersistentPropertySet::m_pInfo
private

Definition at line 162 of file ucbstore.hxx.

Referenced by addProperty(), getPropertySetInfo(), and removeProperty().


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