LibreOffice Module configmgr (master)  1
Classes | Public Member Functions | Protected Types | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
configmgr::Access Class Referenceabstract

#include <access.hxx>

Inheritance diagram for configmgr::Access:
[legend]
Collaboration diagram for configmgr::Access:
[legend]

Classes

struct  ModifiedChild
 

Public Member Functions

oslInterlockedCount acquireCounting ()
 
void releaseNondeleting ()
 
bool isValue ()
 
void markChildAsModified (rtl::Reference< ChildAccess > const &child)
 
void releaseChild (OUString const &name)
 
virtual std::vector< OUString > getAbsolutePath ()=0
 
virtual std::vector< OUString > getRelativePath ()=0
 
virtual OUString getRelativePathRepresentation ()=0
 
virtual rtl::Reference< NodegetNode ()=0
 
virtual bool isFinalized ()=0
 
virtual void initBroadcaster (Modifications::Node const &modifications, Broadcaster *broadcaster)
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &xListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &aListener) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Any SAL_CALL getByName (OUString const &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (OUString const &aName) override
 
virtual css::uno::Any SAL_CALL getByHierarchicalName (OUString const &aName) override
 
virtual sal_Bool SAL_CALL hasByHierarchicalName (OUString const &aName) override
 
virtual void SAL_CALL replaceByHierarchicalName (OUString const &aName, css::uno::Any const &aElement) override
 
virtual void SAL_CALL addContainerListener (css::uno::Reference< css::container::XContainerListener > const &xListener) override
 
virtual void SAL_CALL removeContainerListener (css::uno::Reference< css::container::XContainerListener > const &xListener) override
 
virtual OUString SAL_CALL getExactName (OUString const &aApproximateName) override
 
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties () override
 
virtual css::beans::Property SAL_CALL getPropertyByName (OUString const &aName) override
 
virtual sal_Bool SAL_CALL hasPropertyByName (OUString const &Name) override
 
virtual OUString SAL_CALL getHierarchicalName () override
 
virtual OUString SAL_CALL composeHierarchicalName (OUString const &aRelativeName) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (OUString const &aName) override
 
virtual css::beans::Property SAL_CALL getAsProperty () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (OUString const &aPropertyName, css::uno::Any const &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (OUString const &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (OUString const &aPropertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (OUString const &aPropertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (OUString const &PropertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (OUString const &PropertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &aListener) override
 
virtual void SAL_CALL setPropertyValues (css::uno::Sequence< OUString > const &aPropertyNames, css::uno::Sequence< css::uno::Any > const &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (css::uno::Sequence< OUString > const &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (css::uno::Sequence< OUString > const &aPropertyNames, css::uno::Reference< css::beans::XPropertiesChangeListener > const &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (css::uno::Reference< css::beans::XPropertiesChangeListener > const &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (css::uno::Sequence< OUString > const &aPropertyNames, css::uno::Reference< css::beans::XPropertiesChangeListener > const &xListener) override
 
virtual css::uno::Reference< css::beans::XHierarchicalPropertySetInfo > SAL_CALL getHierarchicalPropertySetInfo () override
 
virtual void SAL_CALL setHierarchicalPropertyValue (OUString const &aHierarchicalPropertyName, css::uno::Any const &aValue) override
 
virtual css::uno::Any SAL_CALL getHierarchicalPropertyValue (OUString const &aHierarchicalPropertyName) override
 
virtual void SAL_CALL setHierarchicalPropertyValues (css::uno::Sequence< OUString > const &aHierarchicalPropertyNames, css::uno::Sequence< css::uno::Any > const &Values) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getHierarchicalPropertyValues (css::uno::Sequence< OUString > const &aHierarchicalPropertyNames) override
 
virtual css::beans::Property SAL_CALL getPropertyByHierarchicalName (OUString const &aHierarchicalName) override
 
virtual sal_Bool SAL_CALL hasPropertyByHierarchicalName (OUString const &aHierarchicalName) override
 
virtual void SAL_CALL replaceByName (OUString const &aName, css::uno::Any const &aElement) override
 
virtual void SAL_CALL insertByName (OUString const &aName, css::uno::Any const &aElement) override
 
virtual void SAL_CALL removeByName (OUString const &aName) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (css::uno::Sequence< css::uno::Any > const &aArguments) override
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Protected Types

enum  {
  IS_ANY = 0,
  IS_GROUP = 0x01,
  IS_SET = 0x02,
  IS_EXTENSIBLE = 0x04,
  IS_GROUP_MEMBER = 0x08,
  IS_SET_MEMBER = 0x10,
  IS_UPDATE = 0x20
}
 

Protected Member Functions

 Access (Components &components)
 
virtual ~Access () override
 
virtual OUString getNameInternal ()=0
 
virtual rtl::Reference< RootAccessgetRootAccess ()=0
 
virtual rtl::Reference< AccessgetParentAccess ()=0
 
virtual void addTypes (std::vector< css::uno::Type > *types) const =0
 
virtual void addSupportedServiceNames (std::vector< OUString > *services)=0
 
virtual void initDisposeBroadcaster (Broadcaster *broadcaster)
 
virtual void clearListeners () throw ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &aType) override
 
ComponentsgetComponents () const
 
void checkLocalizedPropertyAccess ()
 
rtl::Reference< NodegetParentNode ()
 
rtl::Reference< ChildAccessgetChild (OUString const &name)
 
std::vector< rtl::Reference< ChildAccess > > getAllChildren ()
 
void checkValue (css::uno::Any const &value, Type type, bool nillable)
 
void insertLocalizedValueChild (OUString const &name, css::uno::Any const &value, Modifications *localModifications)
 
void reportChildChanges (std::vector< css::util::ElementChange > *changes)
 
void commitChildChanges (bool valid, Modifications *globalModifications)
 
void initBroadcasterAndChanges (Modifications::Node const &modifications, Broadcaster *broadcaster, std::vector< css::util::ElementChange > *changes)
 
bool isDisposed () const
 
bool thisIs (int what)
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Private Types

typedef config_map< ModifiedChildModifiedChildren
 
typedef config_map< ChildAccess * > WeakChildMap
 
typedef std::multiset< css::uno::Reference< css::lang::XEventListener > > DisposeListeners
 
typedef std::multiset< css::uno::Reference< css::container::XContainerListener > > ContainerListeners
 
typedef std::multiset< css::uno::Reference< css::beans::XPropertyChangeListener > > PropertyChangeListenersElement
 
typedef config_map< PropertyChangeListenersElementPropertyChangeListeners
 
typedef std::multiset< css::uno::Reference< css::beans::XVetoableChangeListener > > VetoableChangeListenersElement
 
typedef config_map< VetoableChangeListenersElementVetoableChangeListeners
 
typedef std::multiset< css::uno::Reference< css::beans::XPropertiesChangeListener > > PropertiesChangeListeners
 

Private Member Functions

 Access (const Access &)=delete
 
Accessoperator= (const Access &)=delete
 
rtl::Reference< ChildAccessgetModifiedChild (ModifiedChildren::iterator const &childIterator)
 
rtl::Reference< ChildAccessgetUnmodifiedChild (OUString const &name)
 
rtl::Reference< ChildAccessgetSubChild (OUString const &path)
 
bool setChildProperty (OUString const &name, css::uno::Any const &value, Modifications *localModifications)
 
css::beans::Property asProperty ()
 
bool getByNameFast (const OUString &name, css::uno::Any &value)
 
rtl::Reference< ChildAccesscreateUnmodifiedChild (const OUString &name, const rtl::Reference< Node > &node)
 
void checkFinalized ()
 
void checkKnownProperty (OUString const &descriptor)
 
rtl::Reference< ChildAccessgetFreeSetMember (css::uno::Any const &value)
 
rtl::Reference< AccessgetNotificationRoot ()
 

Private Attributes

Componentscomponents_
 
ModifiedChildren modifiedChildren_
 
WeakChildMap cachedChildren_
 
DisposeListeners disposeListeners_
 
ContainerListeners containerListeners_
 
PropertyChangeListeners propertyChangeListeners_
 
VetoableChangeListeners vetoableChangeListeners_
 
PropertiesChangeListeners propertiesChangeListeners_
 
bool disposed_
 
std::shared_ptr< osl::Mutex > lock_
 

Additional Inherited Members

- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 81 of file access.hxx.

Member Typedef Documentation

typedef std::multiset< css::uno::Reference< css::container::XContainerListener > > configmgr::Access::ContainerListeners
private

Definition at line 401 of file access.hxx.

typedef std::multiset< css::uno::Reference< css::lang::XEventListener > > configmgr::Access::DisposeListeners
private

Definition at line 395 of file access.hxx.

Definition at line 361 of file access.hxx.

typedef std::multiset< css::uno::Reference< css::beans::XPropertiesChangeListener > > configmgr::Access::PropertiesChangeListeners
private

Definition at line 425 of file access.hxx.

Definition at line 410 of file access.hxx.

typedef std::multiset< css::uno::Reference< css::beans::XPropertyChangeListener > > configmgr::Access::PropertyChangeListenersElement
private

Definition at line 407 of file access.hxx.

Definition at line 419 of file access.hxx.

typedef std::multiset< css::uno::Reference< css::beans::XVetoableChangeListener > > configmgr::Access::VetoableChangeListenersElement
private

Definition at line 416 of file access.hxx.

Definition at line 389 of file access.hxx.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
IS_ANY 
IS_GROUP 
IS_SET 
IS_EXTENSIBLE 
IS_GROUP_MEMBER 
IS_SET_MEMBER 
IS_UPDATE 

Definition at line 441 of file access.hxx.

Constructor & Destructor Documentation

configmgr::Access::Access ( Components components)
explicitprotected

Definition at line 1215 of file access.cxx.

configmgr::Access::~Access ( )
overrideprotectedvirtual

Definition at line 1220 of file access.cxx.

configmgr::Access::Access ( const Access )
privatedelete

Member Function Documentation

oslInterlockedCount configmgr::Access::acquireCounting ( )

Definition at line 124 of file access.cxx.

References cppu::OWeakObject::m_refCount.

void configmgr::Access::addContainerListener ( css::uno::Reference< css::container::XContainerListener > const &  xListener)
overridevirtual
void configmgr::Access::addEventListener ( css::uno::Reference< css::lang::XEventListener > const &  xListener)
overridevirtual
void configmgr::Access::addPropertiesChangeListener ( css::uno::Sequence< OUString > const &  aPropertyNames,
css::uno::Reference< css::beans::XPropertiesChangeListener > const &  xListener 
)
overridevirtual

Definition at line 870 of file access.cxx.

References assert(), disposed_, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().

void configmgr::Access::addPropertyChangeListener ( OUString const &  aPropertyName,
css::uno::Reference< css::beans::XPropertyChangeListener > const &  xListener 
)
overridevirtual
virtual void configmgr::Access::addSupportedServiceNames ( std::vector< OUString > *  services)
protectedpure virtual
virtual void configmgr::Access::addTypes ( std::vector< css::uno::Type > *  types) const
protectedpure virtual

Implemented in configmgr::ChildAccess, and configmgr::RootAccess.

Referenced by getTypes().

void configmgr::Access::addVetoableChangeListener ( OUString const &  PropertyName,
css::uno::Reference< css::beans::XVetoableChangeListener > const &  aListener 
)
overridevirtual
css::beans::Property configmgr::Access::asProperty ( )
private
void configmgr::Access::checkFinalized ( )
private

Definition at line 2115 of file access.cxx.

References isFinalized().

Referenced by insertByName(), and setName().

void configmgr::Access::checkKnownProperty ( OUString const &  descriptor)
private
void configmgr::Access::checkLocalizedPropertyAccess ( )
protected
void configmgr::Access::checkValue ( css::uno::Any const &  value,
Type  type,
bool  nillable 
)
protected
void configmgr::Access::clearListeners ( )
throw (
)
protectedvirtual
void configmgr::Access::commitChildChanges ( bool  valid,
Modifications globalModifications 
)
protected
OUString configmgr::Access::composeHierarchicalName ( OUString const &  aRelativeName)
overridevirtual
css::uno::Reference< css::uno::XInterface > configmgr::Access::createInstance ( )
overridevirtual
css::uno::Reference< css::uno::XInterface > configmgr::Access::createInstanceWithArguments ( css::uno::Sequence< css::uno::Any > const &  aArguments)
overridevirtual

Definition at line 1202 of file access.cxx.

References assert(), createInstance(), IS_SET, IS_UPDATE, and thisIs().

rtl::Reference< ChildAccess > configmgr::Access::createUnmodifiedChild ( const OUString &  name,
const rtl::Reference< Node > &  node 
)
private

Definition at line 1932 of file access.cxx.

References cachedChildren_, components_, getRootAccess(), and name.

Referenced by getUnmodifiedChild().

void configmgr::Access::dispose ( void  )
overridevirtual
void configmgr::Access::firePropertiesChangeEvent ( css::uno::Sequence< OUString > const &  aPropertyNames,
css::uno::Reference< css::beans::XPropertiesChangeListener > const &  xListener 
)
overridevirtual

Definition at line 906 of file access.cxx.

References assert(), events, i, IS_GROUP, and thisIs().

virtual std::vector<OUString> configmgr::Access::getAbsolutePath ( )
pure virtual
std::vector< rtl::Reference< ChildAccess > > configmgr::Access::getAllChildren ( )
protected
css::beans::Property configmgr::Access::getAsProperty ( )
overridevirtual

Definition at line 681 of file access.cxx.

References asProperty(), assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().

css::uno::Any configmgr::Access::getByHierarchicalName ( OUString const &  aName)
overridevirtual

Definition at line 429 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().

css::uno::Any configmgr::Access::getByName ( OUString const &  aName)
overridevirtual

Definition at line 394 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), getByNameFast(), IS_ANY, lock_, thisIs(), and value.

bool configmgr::Access::getByNameFast ( const OUString &  name,
css::uno::Any &  value 
)
private
rtl::Reference< ChildAccess > configmgr::Access::getChild ( OUString const &  name)
protected
Components& configmgr::Access::getComponents ( ) const
inlineprotected
css::uno::Sequence< OUString > configmgr::Access::getElementNames ( )
overridevirtual
css::uno::Type configmgr::Access::getElementType ( )
overridevirtual
OUString configmgr::Access::getExactName ( OUString const &  aApproximateName)
overridevirtual

Definition at line 526 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().

rtl::Reference< ChildAccess > configmgr::Access::getFreeSetMember ( css::uno::Any const &  value)
private

Definition at line 2150 of file access.cxx.

References assert(), getNode(), getRootAccess(), and configmgr::ChildAccess::getTunnelId().

Referenced by insertByName(), and replaceByName().

OUString configmgr::Access::getHierarchicalName ( )
overridevirtual
css::uno::Reference< css::beans::XHierarchicalPropertySetInfo > configmgr::Access::getHierarchicalPropertySetInfo ( )
overridevirtual

Definition at line 924 of file access.cxx.

References assert(), IS_GROUP, and thisIs().

css::uno::Any configmgr::Access::getHierarchicalPropertyValue ( OUString const &  aHierarchicalPropertyName)
overridevirtual

Definition at line 957 of file access.cxx.

References assert(), getSubChild(), IS_GROUP, lock_, and thisIs().

css::uno::Sequence< css::uno::Any > configmgr::Access::getHierarchicalPropertyValues ( css::uno::Sequence< OUString > const &  aHierarchicalPropertyNames)
overridevirtual

Definition at line 1008 of file access.cxx.

References assert(), getSubChild(), i, IS_GROUP, lock_, and thisIs().

css::uno::Sequence< sal_Int8 > configmgr::Access::getImplementationId ( )
overridevirtual

Definition at line 222 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().

OUString configmgr::Access::getImplementationName ( )
overridevirtual

Reimplemented in configmgr::RootAccess.

Definition at line 230 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().

rtl::Reference< ChildAccess > configmgr::Access::getModifiedChild ( ModifiedChildren::iterator const &  childIterator)
private
OUString configmgr::Access::getName ( )
overridevirtual

Definition at line 606 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), getNameInternal(), IS_ANY, lock_, and thisIs().

virtual OUString configmgr::Access::getNameInternal ( )
protectedpure virtual

Implemented in configmgr::RootAccess, and configmgr::ChildAccess.

Referenced by asProperty(), and getName().

virtual rtl::Reference< Node > configmgr::Access::getNode ( )
pure virtual
rtl::Reference< Access > configmgr::Access::getNotificationRoot ( )
private
virtual rtl::Reference< Access > configmgr::Access::getParentAccess ( )
protectedpure virtual
rtl::Reference< Node > configmgr::Access::getParentNode ( )
protected
css::uno::Sequence< css::beans::Property > configmgr::Access::getProperties ( )
overridevirtual
css::beans::Property configmgr::Access::getPropertyByHierarchicalName ( OUString const &  aHierarchicalName)
overridevirtual

Definition at line 1029 of file access.cxx.

References assert(), getSubChild(), IS_GROUP, lock_, and thisIs().

css::beans::Property configmgr::Access::getPropertyByName ( OUString const &  aName)
overridevirtual

Definition at line 548 of file access.cxx.

References assert(), getChild(), IS_GROUP, lock_, and thisIs().

css::uno::Reference< css::beans::XPropertySetInfo > configmgr::Access::getPropertySetInfo ( )
overridevirtual

Definition at line 689 of file access.cxx.

References assert(), IS_GROUP, and thisIs().

css::uno::Any configmgr::Access::getPropertyValue ( OUString const &  PropertyName)
overridevirtual

Definition at line 717 of file access.cxx.

References assert(), getByNameFast(), IS_GROUP, lock_, thisIs(), and value.

css::uno::Sequence< css::uno::Any > configmgr::Access::getPropertyValues ( css::uno::Sequence< OUString > const &  aPropertyNames)
overridevirtual

Definition at line 852 of file access.cxx.

References assert(), getByNameFast(), i, IS_GROUP, lock_, and thisIs().

virtual std::vector<OUString> configmgr::Access::getRelativePath ( )
pure virtual

Implemented in configmgr::RootAccess, and configmgr::ChildAccess.

Referenced by setName().

virtual OUString configmgr::Access::getRelativePathRepresentation ( )
pure virtual
virtual rtl::Reference< RootAccess > configmgr::Access::getRootAccess ( )
protectedpure virtual
rtl::Reference< ChildAccess > configmgr::Access::getSubChild ( OUString const &  path)
private
css::uno::Sequence< OUString > configmgr::Access::getSupportedServiceNames ( )
overridevirtual
css::uno::Sequence< css::uno::Type > configmgr::Access::getTypes ( )
overridevirtual
rtl::Reference< ChildAccess > configmgr::Access::getUnmodifiedChild ( OUString const &  name)
private

Definition at line 1941 of file access.cxx.

References assert(), cachedChildren_, createUnmodifiedChild(), getNode(), i, and modifiedChildren_.

Referenced by getAllChildren(), and getChild().

sal_Bool configmgr::Access::hasByHierarchicalName ( OUString const &  aName)
overridevirtual

Definition at line 442 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().

sal_Bool configmgr::Access::hasByName ( OUString const &  aName)
overridevirtual

Definition at line 421 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), getChild(), IS_ANY, lock_, and thisIs().

sal_Bool configmgr::Access::hasElements ( )
overridevirtual

Definition at line 351 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), getAllChildren(), IS_ANY, lock_, and thisIs().

sal_Bool configmgr::Access::hasPropertyByHierarchicalName ( OUString const &  aHierarchicalName)
overridevirtual

Definition at line 1042 of file access.cxx.

References assert(), getSubChild(), IS_GROUP, lock_, and thisIs().

sal_Bool configmgr::Access::hasPropertyByName ( OUString const &  Name)
overridevirtual

Definition at line 560 of file access.cxx.

References assert(), getChild(), IS_GROUP, lock_, and thisIs().

void configmgr::Access::initBroadcaster ( Modifications::Node const &  modifications,
Broadcaster broadcaster 
)
virtual

Reimplemented in configmgr::RootAccess.

Definition at line 165 of file access.cxx.

References initBroadcasterAndChanges().

void configmgr::Access::initBroadcasterAndChanges ( Modifications::Node const &  modifications,
Broadcaster broadcaster,
std::vector< css::util::ElementChange > *  changes 
)
protected
void configmgr::Access::initDisposeBroadcaster ( Broadcaster broadcaster)
protectedvirtual
void configmgr::Access::insertByName ( OUString const &  aName,
css::uno::Any const &  aElement 
)
overridevirtual
void configmgr::Access::insertLocalizedValueChild ( OUString const &  name,
css::uno::Any const &  value,
Modifications localModifications 
)
protected
bool configmgr::Access::isDisposed ( ) const
inlineprotected

Definition at line 344 of file access.hxx.

References disposed_.

Referenced by configmgr::RootAccess::addChangesListener().

virtual bool configmgr::Access::isFinalized ( )
pure virtual

Implemented in configmgr::RootAccess, and configmgr::ChildAccess.

Referenced by checkFinalized().

bool configmgr::Access::isValue ( )
void configmgr::Access::markChildAsModified ( rtl::Reference< ChildAccess > const &  child)

Definition at line 145 of file access.cxx.

References assert(), modifiedChildren_, and p.

Referenced by insertByName(), insertLocalizedValueChild(), removeByName(), and replaceByName().

Access& configmgr::Access::operator= ( const Access )
privatedelete
css::uno::Any configmgr::Access::queryInterface ( css::uno::Type const &  aType)
overrideprotectedvirtual
void configmgr::Access::releaseChild ( OUString const &  name)

Definition at line 161 of file access.cxx.

References cachedChildren_.

void configmgr::Access::releaseNondeleting ( )

Definition at line 128 of file access.cxx.

References cppu::OWeakObject::m_refCount.

void configmgr::Access::removeByName ( OUString const &  aName)
overridevirtual
void configmgr::Access::removeContainerListener ( css::uno::Reference< css::container::XContainerListener > const &  xListener)
overridevirtual

Definition at line 514 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), containerListeners_, i, IS_ANY, lock_, and thisIs().

void configmgr::Access::removeEventListener ( css::uno::Reference< css::lang::XEventListener > const &  aListener)
overridevirtual

Definition at line 316 of file access.cxx.

References assert(), checkLocalizedPropertyAccess(), disposeListeners_, i, IS_ANY, lock_, and thisIs().

void configmgr::Access::removePropertiesChangeListener ( css::uno::Reference< css::beans::XPropertiesChangeListener > const &  xListener)
overridevirtual

Definition at line 893 of file access.cxx.

References assert(), i, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().

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

Definition at line 753 of file access.cxx.

References assert(), checkKnownProperty(), i, IS_GROUP, lock_, propertyChangeListeners_, and thisIs().

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

Definition at line 799 of file access.cxx.

References assert(), checkKnownProperty(), i, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.

void configmgr::Access::replaceByHierarchicalName ( OUString const &  aName,
css::uno::Any const &  aElement 
)
overridevirtual
void configmgr::Access::replaceByName ( OUString const &  aName,
css::uno::Any const &  aElement 
)
overridevirtual
void configmgr::Access::reportChildChanges ( std::vector< css::util::ElementChange > *  changes)
protected
bool configmgr::Access::setChildProperty ( OUString const &  name,
css::uno::Any const &  value,
Modifications localModifications 
)
private

Definition at line 2045 of file access.cxx.

References assert(), and getChild().

Referenced by setPropertyValue(), and setPropertyValues().

void configmgr::Access::setHierarchicalPropertyValue ( OUString const &  aHierarchicalPropertyName,
css::uno::Any const &  aValue 
)
overridevirtual
void configmgr::Access::setHierarchicalPropertyValues ( css::uno::Sequence< OUString > const &  aHierarchicalPropertyNames,
css::uno::Sequence< css::uno::Any > const &  Values 
)
overridevirtual
void configmgr::Access::setName ( OUString const &  aName)
overridevirtual
void configmgr::Access::setPropertyValue ( OUString const &  aPropertyName,
css::uno::Any const &  aValue 
)
overridevirtual
void configmgr::Access::setPropertyValues ( css::uno::Sequence< OUString > const &  aPropertyNames,
css::uno::Sequence< css::uno::Any > const &  aValues 
)
overridevirtual
sal_Bool configmgr::Access::supportsService ( OUString const &  ServiceName)
overridevirtual

Definition at line 238 of file access.cxx.

References cppu::supportsService().

bool configmgr::Access::thisIs ( int  what)
protected

Definition at line 2191 of file access.cxx.

References getNode(), getParentNode(), getRootAccess(), IS_EXTENSIBLE, IS_GROUP, IS_GROUP_MEMBER, IS_SET, IS_SET_MEMBER, IS_UPDATE, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_VALUE, configmgr::Node::KIND_PROPERTY, configmgr::Node::KIND_SET, lock_, and p.

Referenced by configmgr::RootAccess::addChangesListener(), addContainerListener(), addEventListener(), addPropertiesChangeListener(), addPropertyChangeListener(), addVetoableChangeListener(), configmgr::RootAccess::commitChanges(), composeHierarchicalName(), createInstance(), createInstanceWithArguments(), dispose(), firePropertiesChangeEvent(), getAsProperty(), getByHierarchicalName(), getByName(), getElementNames(), getElementType(), getExactName(), getHierarchicalName(), getHierarchicalPropertySetInfo(), getHierarchicalPropertyValue(), getHierarchicalPropertyValues(), getImplementationId(), configmgr::RootAccess::getImplementationName(), getImplementationName(), getName(), configmgr::ChildAccess::getParent(), configmgr::RootAccess::getPendingChanges(), getProperties(), getPropertyByHierarchicalName(), getPropertyByName(), getPropertySetInfo(), getPropertyValue(), getPropertyValues(), configmgr::ChildAccess::getSomething(), getSupportedServiceNames(), getTypes(), hasByHierarchicalName(), hasByName(), hasElements(), configmgr::RootAccess::hasPendingChanges(), hasPropertyByHierarchicalName(), hasPropertyByName(), insertByName(), configmgr::RootAccess::queryInterface(), configmgr::ChildAccess::queryInterface(), removeByName(), configmgr::RootAccess::removeChangesListener(), removeContainerListener(), removeEventListener(), removePropertiesChangeListener(), removePropertyChangeListener(), removeVetoableChangeListener(), replaceByHierarchicalName(), replaceByName(), setHierarchicalPropertyValue(), setHierarchicalPropertyValues(), setName(), configmgr::ChildAccess::setParent(), setPropertyValue(), and setPropertyValues().

Member Data Documentation

WeakChildMap configmgr::Access::cachedChildren_
private

Definition at line 429 of file access.hxx.

Referenced by createUnmodifiedChild(), getUnmodifiedChild(), and releaseChild().

Components& configmgr::Access::components_
private
ContainerListeners configmgr::Access::containerListeners_
private
bool configmgr::Access::disposed_
private
DisposeListeners configmgr::Access::disposeListeners_
private
std::shared_ptr<osl::Mutex> configmgr::Access::lock_
private
ModifiedChildren configmgr::Access::modifiedChildren_
private
PropertiesChangeListeners configmgr::Access::propertiesChangeListeners_
private
PropertyChangeListeners configmgr::Access::propertyChangeListeners_
private
VetoableChangeListeners configmgr::Access::vetoableChangeListeners_
private

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