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 |
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_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) |
Protected Member Functions inherited from cppu::OWeakObject | |
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 | |
Protected Attributes inherited from cppu::OWeakObject | |
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 1219 of file access.cxx.
|
overrideprotectedvirtual |
Definition at line 1224 of file access.cxx.
|
privatedelete |
oslInterlockedCount configmgr::Access::acquireCounting | ( | ) |
Definition at line 126 of file access.cxx.
References cppu::OWeakObject::m_refCount.
|
overridevirtual |
Definition at line 494 of file access.cxx.
References checkLocalizedPropertyAccess(), containerListeners_, disposed_, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 296 of file access.cxx.
References checkLocalizedPropertyAccess(), disposed_, disposeListeners_, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 872 of file access.cxx.
References disposed_, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 731 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 776 of file access.cxx.
References checkKnownProperty(), disposed_, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.
|
private |
Definition at line 2074 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 2130 of file access.cxx.
References isFinalized().
Referenced by insertByName(), and setName().
|
private |
Definition at line 2138 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 1352 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 1488 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 1277 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 1556 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 589 of file access.cxx.
References checkLocalizedPropertyAccess(), getRelativePathRepresentation(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 1188 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 1206 of file access.cxx.
References aArguments, createInstance(), IS_SET, IS_UPDATE, and thisIs().
|
private |
Definition at line 1947 of file access.cxx.
References cachedChildren_, components_, getRootAccess(), and name.
Referenced by getUnmodifiedChild().
|
overridevirtual |
Definition at line 275 of file access.cxx.
References checkLocalizedPropertyAccess(), clearListeners(), disposed_, getParentAccess(), initDisposeBroadcaster(), IS_ANY, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 908 of file access.cxx.
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by commitChildChanges(), and getSubChild().
|
protected |
Definition at line 1467 of file access.cxx.
References getModifiedChild(), getNode(), getUnmodifiedChild(), i, members, and modifiedChildren_.
Referenced by getChild(), getElementNames(), getProperties(), and hasElements().
|
overridevirtual |
Definition at line 683 of file access.cxx.
References asProperty(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 431 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 396 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getByNameFast(), IS_ANY, lock_, thisIs(), and value.
|
private |
Definition at line 360 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 1367 of file access.cxx.
References get(), getAllChildren(), LanguageTag::getBcp47(), getChild(), LanguageTag::getFallbackStrings(), comphelper::LibreOfficeKit::getLanguageTag(), getModifiedChild(), getNode(), getUnmodifiedChild(), i, comphelper::string::indexOfAny(), comphelper::LibreOfficeKit::isActive(), configmgr::Node::KIND_LOCALIZED_PROPERTY, modifiedChildren_, name, SAL_WARN, SAL_WARN_IF, and u.
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 408 of file access.cxx.
References checkLocalizedPropertyAccess(), getAllChildren(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 330 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 528 of file access.cxx.
References checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
private |
Definition at line 2165 of file access.cxx.
References get(), getNode(), getRootAccess(), and value.
Referenced by insertByName(), and replaceByName().
|
overridevirtual |
Definition at line 569 of file access.cxx.
References checkLocalizedPropertyAccess(), getRelativePathRepresentation(), getRootAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 927 of file access.cxx.
|
overridevirtual |
Definition at line 960 of file access.cxx.
References getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 1011 of file access.cxx.
References getSubChild(), i, IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 224 of file access.cxx.
References checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Reimplemented in configmgr::RootAccess.
Definition at line 232 of file access.cxx.
References checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
private |
Definition at line 1938 of file access.cxx.
Referenced by clearListeners(), commitChildChanges(), getAllChildren(), getByNameFast(), getChild(), initDisposeBroadcaster(), and reportChildChanges().
|
overridevirtual |
Definition at line 608 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 2190 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 1362 of file access.cxx.
References getParentAccess().
Referenced by configmgr::ChildAccess::addSupportedServiceNames(), asProperty(), configmgr::ChildAccess::setProperty(), and thisIs().
|
overridevirtual |
Definition at line 536 of file access.cxx.
References comphelper::containerToSequence(), getAllChildren(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 1033 of file access.cxx.
References getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 550 of file access.cxx.
References aName, getChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 691 of file access.cxx.
|
overridevirtual |
Definition at line 719 of file access.cxx.
References getByNameFast(), IS_GROUP, lock_, thisIs(), and value.
|
overridevirtual |
Definition at line 854 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 1979 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 245 of file access.cxx.
References addSupportedServiceNames(), checkLocalizedPropertyAccess(), comphelper::containerToSequence(), getNode(), getRootAccess(), IS_ANY, configmgr::Node::KIND_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 173 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 1956 of file access.cxx.
References cachedChildren_, createUnmodifiedChild(), getNode(), i, modifiedChildren_, and name.
Referenced by getAllChildren(), and getChild().
|
overridevirtual |
Definition at line 444 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 423 of file access.cxx.
References aName, checkLocalizedPropertyAccess(), getChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 353 of file access.cxx.
References checkLocalizedPropertyAccess(), getAllChildren(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 1046 of file access.cxx.
References getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 562 of file access.cxx.
References getChild(), IS_GROUP, lock_, Name, and thisIs().
|
virtual |
Reimplemented in configmgr::RootAccess.
Definition at line 167 of file access.cxx.
References initBroadcasterAndChanges().
|
protected |
Definition at line 1607 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 1226 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 1094 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 1522 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 134 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 147 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 1294 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 163 of file access.cxx.
References cachedChildren_, and name.
void configmgr::Access::releaseNondeleting | ( | ) |
Definition at line 130 of file access.cxx.
References cppu::OWeakObject::m_refCount.
|
overridevirtual |
Definition at line 1154 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 516 of file access.cxx.
References checkLocalizedPropertyAccess(), containerListeners_, i, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 318 of file access.cxx.
References checkLocalizedPropertyAccess(), disposeListeners_, i, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 895 of file access.cxx.
References i, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 755 of file access.cxx.
References checkKnownProperty(), i, IS_GROUP, lock_, propertyChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 801 of file access.cxx.
References checkKnownProperty(), i, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.
|
overridevirtual |
Definition at line 452 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 1054 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 1538 of file access.cxx.
References getModifiedChild(), i, and modifiedChildren_.
Referenced by configmgr::RootAccess::getPendingChanges(), and configmgr::RootAccess::hasPendingChanges().
|
private |
Definition at line 2060 of file access.cxx.
References getChild(), name, and value.
Referenced by setPropertyValue(), and setPropertyValues().
|
overridevirtual |
Definition at line 932 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), getSubChild(), IS_GROUP, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 974 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 615 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 697 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), IS_GROUP, lock_, configmgr::Broadcaster::send(), setChildProperty(), and thisIs().
|
overridevirtual |
Definition at line 822 of file access.cxx.
References getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), i, IS_GROUP, lock_, configmgr::Broadcaster::send(), setChildProperty(), and thisIs().
|
overridevirtual |
Definition at line 240 of file access.cxx.
References ServiceName, and cppu::supportsService().
|
protected |
Definition at line 2201 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().