LibreOffice Module configmgr (master) 1
|
#include <access.hxx>
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< Node > | getNode ()=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 |
![]() | |
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_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT 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 const OUString & | getNameInternal ()=0 |
virtual rtl::Reference< RootAccess > | getRootAccess ()=0 |
virtual rtl::Reference< Access > | getParentAccess ()=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 () noexcept |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &aType) override |
Components & | getComponents () const |
void | checkLocalizedPropertyAccess () |
rtl::Reference< Node > | getParentNode () |
rtl::Reference< ChildAccess > | getChild (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) |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Types | |
typedef config_map< ModifiedChild > | ModifiedChildren |
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< PropertyChangeListenersElement > | PropertyChangeListeners |
typedef std::multiset< css::uno::Reference< css::beans::XVetoableChangeListener > > | VetoableChangeListenersElement |
typedef config_map< VetoableChangeListenersElement > | VetoableChangeListeners |
typedef std::multiset< css::uno::Reference< css::beans::XPropertiesChangeListener > > | PropertiesChangeListeners |
Private Member Functions | |
Access (const Access &)=delete | |
Access & | operator= (const Access &)=delete |
rtl::Reference< ChildAccess > | getModifiedChild (ModifiedChildren::iterator const &childIterator) |
rtl::Reference< ChildAccess > | getUnmodifiedChild (OUString const &name) |
rtl::Reference< ChildAccess > | getSubChild (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< ChildAccess > | createUnmodifiedChild (const OUString &name, const rtl::Reference< Node > &node) |
void | checkFinalized () |
void | checkKnownProperty (OUString const &descriptor) |
rtl::Reference< ChildAccess > | getFreeSetMember (css::uno::Any const &value) |
rtl::Reference< Access > | getNotificationRoot () |
Additional Inherited Members | |
![]() | |
oslInterlockedCount | m_refCount |
Definition at line 81 of file access.hxx.
|
private |
Definition at line 401 of file access.hxx.
|
private |
Definition at line 395 of file access.hxx.
|
private |
Definition at line 361 of file access.hxx.
|
private |
Definition at line 425 of file access.hxx.
|
private |
Definition at line 410 of file access.hxx.
|
private |
Definition at line 407 of file access.hxx.
|
private |
Definition at line 419 of file access.hxx.
|
private |
Definition at line 416 of file access.hxx.
|
private |
Definition at line 389 of file access.hxx.
|
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.
|
explicitprotected |
Definition at line 1218 of file access.cxx.
|
overrideprotectedvirtual |
Definition at line 1223 of file access.cxx.
|
privatedelete |
oslInterlockedCount configmgr::Access::acquireCounting | ( | ) |
Definition at line 125 of file access.cxx.
References cppu::OWeakObject::m_refCount.
|
overridevirtual |
Definition at line 493 of file access.cxx.
References checkLocalizedPropertyAccess(), containerListeners_, disposed_, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 295 of file access.cxx.
References checkLocalizedPropertyAccess(), disposed_, disposeListeners_, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 871 of file access.cxx.
References disposed_, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 730 of file access.cxx.
References checkKnownProperty(), disposed_, IS_GROUP, lock_, propertyChangeListeners_, and thisIs().
|
protectedpure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by getSupportedServiceNames().
|
protectedpure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by getTypes().
|
overridevirtual |
Definition at line 775 of file access.cxx.
References checkKnownProperty(), disposed_, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.
|
private |
Definition at line 2068 of file access.cxx.
References configmgr::Components::allLocales(), cppu::UnoType< typename T >::get(), getLocale(), getNameInternal(), getNode(), getParentNode(), getRootAccess(), configmgr::LocalizedPropertyNode::getStaticType(), configmgr::PropertyNode::getStaticType(), configmgr::PropertyNode::isExtension(), configmgr::LocalizedPropertyNode::isNillable(), configmgr::PropertyNode::isNillable(), configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_LOCALIZED_VALUE, configmgr::Node::KIND_PROPERTY, configmgr::Node::KIND_SET, configmgr::mapType(), configmgr::Data::NO_LAYER, p, and type.
Referenced by getAsProperty().
|
private |
Definition at line 2124 of file access.cxx.
References isFinalized().
Referenced by insertByName(), and setName().
|
private |
Definition at line 2132 of file access.cxx.
References configmgr::Components::allLocales(), getChild(), getLocale(), getRootAccess(), configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_LOCALIZED_VALUE, and configmgr::Node::KIND_PROPERTY.
Referenced by addPropertyChangeListener(), addVetoableChangeListener(), removePropertyChangeListener(), and removeVetoableChangeListener().
|
protected |
Definition at line 1351 of file access.cxx.
References configmgr::Components::allLocales(), getLocale(), getNode(), getRootAccess(), and configmgr::Node::KIND_LOCALIZED_PROPERTY.
Referenced by configmgr::RootAccess::addChangesListener(), addContainerListener(), addEventListener(), configmgr::RootAccess::commitChanges(), composeHierarchicalName(), dispose(), getAsProperty(), getByHierarchicalName(), getByName(), getElementNames(), getElementType(), getExactName(), getHierarchicalName(), getImplementationId(), getImplementationName(), configmgr::RootAccess::getImplementationName(), getName(), configmgr::ChildAccess::getParent(), configmgr::RootAccess::getPendingChanges(), getSupportedServiceNames(), getTypes(), hasByHierarchicalName(), hasByName(), hasElements(), configmgr::RootAccess::hasPendingChanges(), insertByName(), configmgr::ChildAccess::queryInterface(), configmgr::RootAccess::queryInterface(), removeByName(), configmgr::RootAccess::removeChangesListener(), removeContainerListener(), removeEventListener(), replaceByHierarchicalName(), replaceByName(), setName(), and configmgr::ChildAccess::setParent().
|
protected |
Definition at line 1478 of file access.cxx.
References configmgr::getDynamicType(), configmgr::mapType(), type, configmgr::TYPE_ANY, configmgr::TYPE_ERROR, configmgr::TYPE_NIL, and value.
Referenced by insertByName(), insertLocalizedValueChild(), and configmgr::ChildAccess::setProperty().
|
protectedvirtualnoexcept |
Reimplemented in configmgr::RootAccess.
Definition at line 1276 of file access.cxx.
References containerListeners_, disposeListeners_, getModifiedChild(), i, modifiedChildren_, propertiesChangeListeners_, propertyChangeListeners_, and vetoableChangeListeners_.
Referenced by configmgr::RootAccess::clearListeners(), and dispose().
|
protected |
Definition at line 1546 of file access.cxx.
References configmgr::Modifications::add(), configmgr::Components::addModification(), components_, getAbsolutePath(), getModifiedChild(), getNode(), i, members, modifiedChildren_, and configmgr::Data::NO_LAYER.
Referenced by configmgr::RootAccess::commitChanges(), and configmgr::ChildAccess::commitChanges().
|
overridevirtual |
Definition at line 588 of file access.cxx.
References checkLocalizedPropertyAccess(), getRelativePathRepresentation(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 1187 of file access.cxx.
References components_, get(), getNode(), getRootAccess(), configmgr::Components::getTemplate(), IS_SET, IS_UPDATE, configmgr::Data::NO_LAYER, and thisIs().
Referenced by createInstanceWithArguments().
|
overridevirtual |
Definition at line 1205 of file access.cxx.
References aArguments, createInstance(), IS_SET, IS_UPDATE, and thisIs().
|
private |
Definition at line 1941 of file access.cxx.
References cachedChildren_, components_, getRootAccess(), and name.
Referenced by getUnmodifiedChild().
|
overridevirtual |
Definition at line 274 of file access.cxx.
References checkLocalizedPropertyAccess(), clearListeners(), disposed_, getParentAccess(), initDisposeBroadcaster(), IS_ANY, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 907 of file access.cxx.
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by commitChildChanges(), and getSubChild().
|
protected |
Definition at line 1457 of file access.cxx.
References getModifiedChild(), getNode(), getUnmodifiedChild(), i, members, and modifiedChildren_.
Referenced by getChild(), getElementNames(), getProperties(), and hasElements().
|
overridevirtual |
Definition at line 682 of file access.cxx.
References asProperty(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 430 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 395 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getByNameFast(), IS_ANY, lock_, thisIs(), and value.
|
private |
Definition at line 359 of file access.cxx.
References configmgr::ChildAccess::asSimpleValue(), components_, getChild(), getModifiedChild(), getNode(), i, configmgr::Node::KIND_LOCALIZED_PROPERTY, modifiedChildren_, name, and value.
Referenced by getByName(), getPropertyValue(), and getPropertyValues().
|
protected |
Definition at line 1366 of file access.cxx.
References get(), getAllChildren(), LanguageTag::getBcp47(), getChild(), LanguageTag::getFallbackStrings(), comphelper::LibreOfficeKit::getLanguageTag(), getModifiedChild(), getNode(), getUnmodifiedChild(), i, comphelper::LibreOfficeKit::isActive(), configmgr::Node::KIND_LOCALIZED_PROPERTY, modifiedChildren_, name, SAL_WARN, and SAL_WARN_IF.
Referenced by configmgr::ChildAccess::asValue(), checkKnownProperty(), getByNameFast(), getChild(), getPropertyByName(), hasByName(), hasPropertyByName(), initBroadcasterAndChanges(), insertByName(), removeByName(), replaceByName(), setChildProperty(), and configmgr::ChildAccess::setProperty().
|
inlineprotected |
Definition at line 320 of file access.hxx.
References components_.
Referenced by configmgr::ChildAccess::asValue(), configmgr::RootAccess::commitChanges(), configmgr::ChildAccess::commitChanges(), configmgr::RootAccess::getNode(), and configmgr::RootAccess::~RootAccess().
|
overridevirtual |
Definition at line 407 of file access.cxx.
References checkLocalizedPropertyAccess(), getAllChildren(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 329 of file access.cxx.
References checkLocalizedPropertyAccess(), cppu::UnoType< typename T >::get(), getNode(), configmgr::LocalizedPropertyNode::getStaticType(), IS_ANY, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_SET, lock_, configmgr::mapType(), p, and thisIs().
|
overridevirtual |
Definition at line 527 of file access.cxx.
References checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
private |
Definition at line 2159 of file access.cxx.
References get(), getNode(), getRootAccess(), and value.
Referenced by insertByName(), and replaceByName().
|
overridevirtual |
Definition at line 568 of file access.cxx.
References checkLocalizedPropertyAccess(), getRelativePathRepresentation(), getRootAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 926 of file access.cxx.
|
overridevirtual |
Definition at line 959 of file access.cxx.
References getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 1010 of file access.cxx.
References getSubChild(), i, IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 223 of file access.cxx.
References checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Reimplemented in configmgr::RootAccess.
Definition at line 231 of file access.cxx.
References checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
private |
Definition at line 1932 of file access.cxx.
Referenced by clearListeners(), commitChildChanges(), getAllChildren(), getByNameFast(), getChild(), initDisposeBroadcaster(), and reportChildChanges().
|
overridevirtual |
Definition at line 607 of file access.cxx.
References checkLocalizedPropertyAccess(), getNameInternal(), IS_ANY, lock_, and thisIs().
|
protectedpure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by asProperty(), and getName().
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by asProperty(), checkLocalizedPropertyAccess(), commitChildChanges(), createInstance(), getAllChildren(), getByNameFast(), getChild(), getElementType(), getFreeSetMember(), getSupportedServiceNames(), getTypes(), getUnmodifiedChild(), initBroadcasterAndChanges(), insertByName(), insertLocalizedValueChild(), isValue(), queryInterface(), removeByName(), replaceByName(), setName(), and thisIs().
|
private |
Definition at line 2184 of file access.cxx.
References p.
Referenced by insertByName(), removeByName(), replaceByHierarchicalName(), replaceByName(), setHierarchicalPropertyValue(), setHierarchicalPropertyValues(), setName(), setPropertyValue(), and setPropertyValues().
|
protectedpure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by dispose(), getParentNode(), and setName().
|
protected |
Definition at line 1361 of file access.cxx.
References getParentAccess().
Referenced by configmgr::ChildAccess::addSupportedServiceNames(), asProperty(), configmgr::ChildAccess::setProperty(), and thisIs().
|
overridevirtual |
Definition at line 535 of file access.cxx.
References comphelper::containerToSequence(), getAllChildren(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 1032 of file access.cxx.
References getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 549 of file access.cxx.
References aName, getChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 690 of file access.cxx.
|
overridevirtual |
Definition at line 718 of file access.cxx.
References getByNameFast(), IS_GROUP, lock_, thisIs(), and value.
|
overridevirtual |
Definition at line 853 of file access.cxx.
References getByNameFast(), i, IS_GROUP, lock_, and thisIs().
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by setName().
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by composeHierarchicalName(), getHierarchicalName(), and initBroadcasterAndChanges().
|
protectedpure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by asProperty(), checkKnownProperty(), checkLocalizedPropertyAccess(), createInstance(), createUnmodifiedChild(), getFreeSetMember(), getHierarchicalName(), getSubChild(), getSupportedServiceNames(), getTypes(), initBroadcasterAndChanges(), insertByName(), insertLocalizedValueChild(), isValue(), queryInterface(), replaceByName(), setHierarchicalPropertyValue(), setHierarchicalPropertyValues(), setName(), setPropertyValue(), setPropertyValues(), and thisIs().
|
private |
Definition at line 1973 of file access.cxx.
References abs(), configmgr::Components::allLocales(), configmgr::Data::equalTemplateNames(), getAbsolutePath(), getLocale(), getRootAccess(), i, configmgr::SetNode::isValidTemplate(), configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_SET, name, p, and configmgr::Data::parseSegment().
Referenced by getByHierarchicalName(), getHierarchicalPropertyValue(), getHierarchicalPropertyValues(), getPropertyByHierarchicalName(), hasByHierarchicalName(), hasPropertyByHierarchicalName(), replaceByHierarchicalName(), setHierarchicalPropertyValue(), and setHierarchicalPropertyValues().
|
overridevirtual |
Definition at line 244 of file access.cxx.
References addSupportedServiceNames(), checkLocalizedPropertyAccess(), comphelper::containerToSequence(), getNode(), getRootAccess(), IS_ANY, configmgr::Node::KIND_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 172 of file access.cxx.
References addTypes(), checkLocalizedPropertyAccess(), comphelper::containerToSequence(), cppu::UnoType< typename T >::get(), get(), getNode(), getRootAccess(), IS_ANY, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_SET, lock_, and thisIs().
|
private |
Definition at line 1950 of file access.cxx.
References cachedChildren_, createUnmodifiedChild(), getNode(), i, modifiedChildren_, and name.
Referenced by getAllChildren(), and getChild().
|
overridevirtual |
Definition at line 443 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 422 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 352 of file access.cxx.
References checkLocalizedPropertyAccess(), getAllChildren(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 1045 of file access.cxx.
References getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 561 of file access.cxx.
References getChild(), IS_GROUP, lock_, Name, and thisIs().
|
virtual |
Reimplemented in configmgr::RootAccess.
Definition at line 166 of file access.cxx.
References initBroadcasterAndChanges().
|
protected |
Definition at line 1597 of file access.cxx.
References configmgr::Broadcaster::addContainerElementRemovedNotification(), configmgr::Broadcaster::addContainerElementReplacedNotification(), configmgr::Broadcaster::addPropertiesChangeNotification(), configmgr::Broadcaster::addPropertyChangeNotification(), configmgr::Components::allLocales(), configmgr::Modifications::Node::children, containerListeners_, comphelper::containerToSequence(), configmgr::Data::createSegment(), getChild(), getLocale(), getNode(), getRelativePathRepresentation(), getRootAccess(), i, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_LOCALIZED_VALUE, configmgr::Node::KIND_PROPERTY, configmgr::Node::KIND_ROOT, configmgr::Node::KIND_SET, propertiesChangeListeners_, propertyChangeListeners_, and u.
Referenced by initBroadcaster(), and configmgr::RootAccess::initBroadcaster().
|
protectedvirtual |
Reimplemented in configmgr::RootAccess.
Definition at line 1225 of file access.cxx.
References configmgr::Broadcaster::addDisposeNotification(), containerListeners_, disposeListeners_, getModifiedChild(), i, modifiedChildren_, propertiesChangeListeners_, propertyChangeListeners_, and vetoableChangeListeners_.
Referenced by dispose(), and configmgr::RootAccess::initDisposeBroadcaster().
|
overridevirtual |
Definition at line 1093 of file access.cxx.
References configmgr::Modifications::add(), aName, checkFinalized(), checkLocalizedPropertyAccess(), checkValue(), components_, getChild(), getFreeSetMember(), getNode(), getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), insertLocalizedValueChild(), IS_EXTENSIBLE, IS_UPDATE, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_SET, lock_, markChildAsModified(), configmgr::Data::NO_LAYER, configmgr::Broadcaster::send(), thisIs(), and configmgr::TYPE_ANY.
|
protected |
Definition at line 1512 of file access.cxx.
References configmgr::Modifications::add(), checkValue(), components_, getNode(), getRootAccess(), configmgr::LocalizedPropertyNode::getStaticType(), configmgr::LocalizedPropertyNode::isNillable(), markChildAsModified(), name, configmgr::Data::NO_LAYER, and value.
Referenced by insertByName(), and configmgr::ChildAccess::setProperty().
|
inlineprotected |
Definition at line 344 of file access.hxx.
References disposed_.
Referenced by configmgr::RootAccess::addChangesListener().
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by checkFinalized().
bool configmgr::Access::isValue | ( | ) |
Definition at line 133 of file access.cxx.
References configmgr::Components::allLocales(), getLocale(), getNode(), getRootAccess(), configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_LOCALIZED_VALUE, configmgr::Node::KIND_PROPERTY, and p.
void configmgr::Access::markChildAsModified | ( | rtl::Reference< ChildAccess > const & | child | ) |
Definition at line 146 of file access.cxx.
References modifiedChildren_, and p.
Referenced by insertByName(), insertLocalizedValueChild(), removeByName(), and replaceByName().
|
overrideprotectedvirtual |
Reimplemented from cppu::OWeakObject.
Reimplemented in configmgr::ChildAccess, and configmgr::RootAccess.
Definition at line 1293 of file access.cxx.
References get(), getNode(), getRootAccess(), configmgr::Node::KIND_GROUP, configmgr::Node::KIND_SET, and cppu::queryInterface().
Referenced by configmgr::ChildAccess::queryInterface(), and configmgr::RootAccess::queryInterface().
void configmgr::Access::releaseChild | ( | OUString const & | name | ) |
Definition at line 162 of file access.cxx.
References cachedChildren_, and name.
void configmgr::Access::releaseNondeleting | ( | ) |
Definition at line 129 of file access.cxx.
References cppu::OWeakObject::m_refCount.
|
overridevirtual |
Definition at line 1153 of file access.cxx.
References configmgr::Modifications::add(), aName, checkLocalizedPropertyAccess(), getChild(), getNode(), getNotificationRoot(), configmgr::Modifications::getRoot(), IS_EXTENSIBLE, IS_UPDATE, configmgr::PropertyNode::isExtension(), configmgr::Node::KIND_GROUP, configmgr::Node::KIND_PROPERTY, lock_, markChildAsModified(), configmgr::Data::NO_LAYER, p, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 515 of file access.cxx.
References checkLocalizedPropertyAccess(), containerListeners_, i, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 317 of file access.cxx.
References checkLocalizedPropertyAccess(), disposeListeners_, i, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 894 of file access.cxx.
References i, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 754 of file access.cxx.
References checkKnownProperty(), i, IS_GROUP, lock_, propertyChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 800 of file access.cxx.
References checkKnownProperty(), i, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.
|
overridevirtual |
Definition at line 451 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getNotificationRoot(), configmgr::Modifications::getRoot(), getSubChild(), IS_UPDATE, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_ROOT, configmgr::Node::KIND_SET, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 1053 of file access.cxx.
References configmgr::Modifications::add(), aName, checkLocalizedPropertyAccess(), getChild(), getFreeSetMember(), getNode(), getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), IS_UPDATE, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_SET, lock_, markChildAsModified(), configmgr::Broadcaster::send(), and thisIs().
|
protected |
Definition at line 1528 of file access.cxx.
References getModifiedChild(), i, and modifiedChildren_.
Referenced by configmgr::RootAccess::getPendingChanges(), and configmgr::RootAccess::hasPendingChanges().
|
private |
Definition at line 2054 of file access.cxx.
References getChild(), name, and value.
Referenced by setPropertyValue(), and setPropertyValues().
|
overridevirtual |
Definition at line 931 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), getSubChild(), IS_GROUP, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 973 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), getSubChild(), i, IS_GROUP, lock_, configmgr::Broadcaster::send(), thisIs(), and Values.
|
overridevirtual |
Definition at line 614 of file access.cxx.
References configmgr::Modifications::add(), aName, checkFinalized(), checkLocalizedPropertyAccess(), getNode(), getNotificationRoot(), getParentAccess(), getRelativePath(), configmgr::Modifications::getRoot(), getRootAccess(), IS_ANY, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_LOCALIZED_PROPERTY, configmgr::Node::KIND_SET, lock_, configmgr::Data::NO_LAYER, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 696 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), IS_GROUP, lock_, configmgr::Broadcaster::send(), setChildProperty(), and thisIs().
|
overridevirtual |
Definition at line 821 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), i, IS_GROUP, lock_, configmgr::Broadcaster::send(), setChildProperty(), and thisIs().
|
overridevirtual |
Definition at line 239 of file access.cxx.
References ServiceName, and cppu::supportsService().
|
protected |
Definition at line 2195 of file access.cxx.
References getNode(), getParentNode(), getRootAccess(), IS_EXTENSIBLE, IS_GROUP, IS_GROUP_MEMBER, IS_SET, IS_SET_MEMBER, IS_UPDATE, configmgr::GroupNode::isExtensible(), 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(), getImplementationName(), configmgr::RootAccess::getImplementationName(), getName(), configmgr::ChildAccess::getParent(), configmgr::RootAccess::getPendingChanges(), getProperties(), getPropertyByHierarchicalName(), getPropertyByName(), getPropertySetInfo(), getPropertyValue(), getPropertyValues(), getSupportedServiceNames(), getTypes(), hasByHierarchicalName(), hasByName(), hasElements(), configmgr::RootAccess::hasPendingChanges(), hasPropertyByHierarchicalName(), hasPropertyByName(), insertByName(), configmgr::ChildAccess::queryInterface(), configmgr::RootAccess::queryInterface(), removeByName(), configmgr::RootAccess::removeChangesListener(), removeContainerListener(), removeEventListener(), removePropertiesChangeListener(), removePropertyChangeListener(), removeVetoableChangeListener(), replaceByHierarchicalName(), replaceByName(), setHierarchicalPropertyValue(), setHierarchicalPropertyValues(), setName(), configmgr::ChildAccess::setParent(), setPropertyValue(), and setPropertyValues().
|
private |
Definition at line 429 of file access.hxx.
Referenced by createUnmodifiedChild(), getUnmodifiedChild(), and releaseChild().
|
private |
Definition at line 427 of file access.hxx.
Referenced by commitChildChanges(), createInstance(), createUnmodifiedChild(), getByNameFast(), getComponents(), insertByName(), and insertLocalizedValueChild().
|
private |
Definition at line 431 of file access.hxx.
Referenced by addContainerListener(), clearListeners(), initBroadcasterAndChanges(), initDisposeBroadcaster(), and removeContainerListener().
|
private |
Definition at line 435 of file access.hxx.
Referenced by addContainerListener(), addEventListener(), addPropertiesChangeListener(), addPropertyChangeListener(), addVetoableChangeListener(), dispose(), and isDisposed().
|
private |
Definition at line 430 of file access.hxx.
Referenced by addEventListener(), clearListeners(), initDisposeBroadcaster(), and removeEventListener().
|
private |
Definition at line 437 of file access.hxx.
Referenced by addContainerListener(), addEventListener(), addPropertiesChangeListener(), addPropertyChangeListener(), addVetoableChangeListener(), composeHierarchicalName(), dispose(), getAsProperty(), getByHierarchicalName(), getByName(), getElementNames(), getElementType(), getExactName(), getHierarchicalName(), getHierarchicalPropertyValue(), getHierarchicalPropertyValues(), getImplementationId(), getImplementationName(), getName(), getProperties(), getPropertyByHierarchicalName(), getPropertyByName(), getPropertyValue(), getPropertyValues(), getSupportedServiceNames(), getTypes(), hasByHierarchicalName(), hasByName(), hasElements(), hasPropertyByHierarchicalName(), hasPropertyByName(), insertByName(), removeByName(), removeContainerListener(), removeEventListener(), removePropertiesChangeListener(), removePropertyChangeListener(), removeVetoableChangeListener(), replaceByHierarchicalName(), replaceByName(), setHierarchicalPropertyValue(), setHierarchicalPropertyValues(), setName(), setPropertyValue(), setPropertyValues(), and thisIs().
|
private |
Definition at line 428 of file access.hxx.
Referenced by clearListeners(), commitChildChanges(), getAllChildren(), getByNameFast(), getChild(), getUnmodifiedChild(), initDisposeBroadcaster(), markChildAsModified(), and reportChildChanges().
|
private |
Definition at line 434 of file access.hxx.
Referenced by addPropertiesChangeListener(), clearListeners(), initBroadcasterAndChanges(), initDisposeBroadcaster(), and removePropertiesChangeListener().
|
private |
Definition at line 432 of file access.hxx.
Referenced by addPropertyChangeListener(), clearListeners(), initBroadcasterAndChanges(), initDisposeBroadcaster(), and removePropertyChangeListener().
|
private |
Definition at line 433 of file access.hxx.
Referenced by addVetoableChangeListener(), clearListeners(), initDisposeBroadcaster(), and removeVetoableChangeListener().