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_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< 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 () throw () |
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 1215 of file access.cxx.
|
overrideprotectedvirtual |
Definition at line 1220 of file access.cxx.
|
privatedelete |
oslInterlockedCount configmgr::Access::acquireCounting | ( | ) |
Definition at line 124 of file access.cxx.
References cppu::OWeakObject::m_refCount.
|
overridevirtual |
Definition at line 492 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), containerListeners_, disposed_, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 294 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), disposed_, disposeListeners_, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 870 of file access.cxx.
References assert(), disposed_, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 729 of file access.cxx.
References assert(), 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 774 of file access.cxx.
References assert(), checkKnownProperty(), disposed_, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.
|
private |
Definition at line 2059 of file access.cxx.
References configmgr::Components::allLocales(), cppu::UnoType< class >::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 2115 of file access.cxx.
References isFinalized().
Referenced by insertByName(), and setName().
|
private |
Definition at line 2123 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 1348 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(), configmgr::RootAccess::getImplementationName(), getImplementationName(), getName(), configmgr::ChildAccess::getParent(), configmgr::RootAccess::getPendingChanges(), configmgr::ChildAccess::getSomething(), getSupportedServiceNames(), getTypes(), hasByHierarchicalName(), hasByName(), hasElements(), configmgr::RootAccess::hasPendingChanges(), insertByName(), configmgr::RootAccess::queryInterface(), configmgr::ChildAccess::queryInterface(), removeByName(), configmgr::RootAccess::removeChangesListener(), removeContainerListener(), removeEventListener(), replaceByHierarchicalName(), replaceByName(), setName(), and configmgr::ChildAccess::setParent().
|
protected |
Definition at line 1469 of file access.cxx.
References configmgr::getDynamicType(), configmgr::mapType(), configmgr::TYPE_ANY, configmgr::TYPE_ERROR, and configmgr::TYPE_NIL.
Referenced by insertByName(), insertLocalizedValueChild(), and configmgr::ChildAccess::setProperty().
|
protectedvirtual |
Reimplemented in configmgr::RootAccess.
Definition at line 1273 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 1537 of file access.cxx.
References configmgr::Modifications::add(), configmgr::Components::addModification(), assert(), components_, configmgr::NodeMap::end(), configmgr::NodeMap::erase(), configmgr::NodeMap::find(), getAbsolutePath(), getModifiedChild(), getNode(), i, members, modifiedChildren_, and configmgr::Data::NO_LAYER.
Referenced by configmgr::RootAccess::commitChanges(), and configmgr::ChildAccess::commitChanges().
|
overridevirtual |
Definition at line 587 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getRelativePathRepresentation(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 1184 of file access.cxx.
References assert(), components_, getNode(), getRootAccess(), configmgr::Components::getTemplate(), IS_SET, IS_UPDATE, configmgr::Data::NO_LAYER, and thisIs().
Referenced by createInstanceWithArguments().
|
overridevirtual |
Definition at line 1202 of file access.cxx.
References assert(), createInstance(), IS_SET, IS_UPDATE, and thisIs().
|
private |
Definition at line 1932 of file access.cxx.
References cachedChildren_, components_, getRootAccess(), and name.
Referenced by getUnmodifiedChild().
Definition at line 273 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), clearListeners(), disposed_, getParentAccess(), initDisposeBroadcaster(), IS_ANY, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
|
pure virtual |
Implemented in configmgr::ChildAccess, and configmgr::RootAccess.
Referenced by commitChildChanges(), and getSubChild().
|
protected |
Definition at line 1448 of file access.cxx.
References assert(), getModifiedChild(), getNode(), getUnmodifiedChild(), i, members, and modifiedChildren_.
Referenced by getChild(), getElementNames(), getProperties(), and hasElements().
|
overridevirtual |
Definition at line 681 of file access.cxx.
References asProperty(), assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 429 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 394 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getByNameFast(), IS_ANY, lock_, thisIs(), and value.
|
private |
Definition at line 358 of file access.cxx.
References configmgr::ChildAccess::asSimpleValue(), components_, getChild(), getModifiedChild(), getNode(), i, configmgr::Node::KIND_LOCALIZED_PROPERTY, and modifiedChildren_.
Referenced by getByName(), getPropertyValue(), and getPropertyValues().
|
protected |
Definition at line 1363 of file access.cxx.
References assert(), getAllChildren(), LanguageTag::getBcp47(), LanguageTag::getFallbackStrings(), comphelper::LibreOfficeKit::getLanguageTag(), getModifiedChild(), getNode(), getUnmodifiedChild(), i, comphelper::LibreOfficeKit::isActive(), configmgr::Node::KIND_LOCALIZED_PROPERTY, modifiedChildren_, SAL_WARN, and SAL_WARN_IF.
Referenced by configmgr::ChildAccess::asValue(), checkKnownProperty(), getByNameFast(), 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 406 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), comphelper::containerToSequence(), getAllChildren(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 328 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), cppu::UnoType< class >::get(), getNode(), 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 526 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
private |
Definition at line 2150 of file access.cxx.
References assert(), getNode(), getRootAccess(), and configmgr::ChildAccess::getTunnelId().
Referenced by insertByName(), and replaceByName().
|
overridevirtual |
Definition at line 567 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getRelativePathRepresentation(), getRootAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 924 of file access.cxx.
|
overridevirtual |
Definition at line 957 of file access.cxx.
References assert(), getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 1008 of file access.cxx.
References assert(), getSubChild(), i, IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 222 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Reimplemented in configmgr::RootAccess.
Definition at line 230 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), IS_ANY, lock_, and thisIs().
|
private |
Definition at line 1923 of file access.cxx.
Referenced by clearListeners(), commitChildChanges(), getAllChildren(), getByNameFast(), getChild(), initDisposeBroadcaster(), and reportChildChanges().
|
overridevirtual |
Definition at line 606 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getNameInternal(), IS_ANY, lock_, and thisIs().
|
protectedpure virtual |
Implemented in configmgr::RootAccess, and configmgr::ChildAccess.
Referenced by asProperty(), and getName().
|
pure virtual |
Implemented in configmgr::RootAccess, and configmgr::ChildAccess.
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 2180 of file access.cxx.
References p.
Referenced by insertByName(), removeByName(), replaceByHierarchicalName(), replaceByName(), setHierarchicalPropertyValue(), setHierarchicalPropertyValues(), setName(), setPropertyValue(), and setPropertyValues().
|
protectedpure virtual |
Implemented in configmgr::RootAccess, and configmgr::ChildAccess.
Referenced by dispose(), getParentNode(), and setName().
|
protected |
Definition at line 1358 of file access.cxx.
References getParentAccess().
Referenced by configmgr::ChildAccess::addSupportedServiceNames(), asProperty(), configmgr::ChildAccess::setProperty(), and thisIs().
|
overridevirtual |
Definition at line 534 of file access.cxx.
References assert(), comphelper::containerToSequence(), getAllChildren(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 1029 of file access.cxx.
References assert(), getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 548 of file access.cxx.
References assert(), getChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 689 of file access.cxx.
|
overridevirtual |
Definition at line 717 of file access.cxx.
References assert(), getByNameFast(), IS_GROUP, lock_, thisIs(), and value.
|
overridevirtual |
Definition at line 852 of file access.cxx.
References assert(), getByNameFast(), i, IS_GROUP, lock_, and thisIs().
|
pure virtual |
Implemented in configmgr::RootAccess, and configmgr::ChildAccess.
Referenced by setName().
|
pure virtual |
Implemented in configmgr::RootAccess, and configmgr::ChildAccess.
Referenced by composeHierarchicalName(), getHierarchicalName(), and initBroadcasterAndChanges().
|
protectedpure virtual |
Implemented in configmgr::RootAccess, and configmgr::ChildAccess.
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 1964 of file access.cxx.
References abs(), configmgr::Components::allLocales(), configmgr::Data::equalTemplateNames(), getAbsolutePath(), getLocale(), getRootAccess(), i, 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 243 of file access.cxx.
References addSupportedServiceNames(), assert(), checkLocalizedPropertyAccess(), comphelper::containerToSequence(), getNode(), getRootAccess(), IS_ANY, configmgr::Node::KIND_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 171 of file access.cxx.
References addTypes(), assert(), checkLocalizedPropertyAccess(), comphelper::containerToSequence(), getNode(), getRootAccess(), IS_ANY, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_SET, lock_, and thisIs().
|
private |
Definition at line 1941 of file access.cxx.
References assert(), cachedChildren_, createUnmodifiedChild(), getNode(), i, and modifiedChildren_.
Referenced by getAllChildren(), and getChild().
|
overridevirtual |
Definition at line 442 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getSubChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 421 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getChild(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 351 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getAllChildren(), IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 1042 of file access.cxx.
References assert(), getSubChild(), IS_GROUP, lock_, and thisIs().
|
overridevirtual |
Definition at line 560 of file access.cxx.
References assert(), getChild(), IS_GROUP, lock_, and thisIs().
|
virtual |
Reimplemented in configmgr::RootAccess.
Definition at line 165 of file access.cxx.
References initBroadcasterAndChanges().
|
protected |
Definition at line 1588 of file access.cxx.
References configmgr::Broadcaster::addContainerElementRemovedNotification(), configmgr::Broadcaster::addContainerElementReplacedNotification(), configmgr::Broadcaster::addPropertiesChangeNotification(), configmgr::Broadcaster::addPropertyChangeNotification(), configmgr::Components::allLocales(), assert(), 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_, and propertyChangeListeners_.
Referenced by configmgr::RootAccess::initBroadcaster(), and initBroadcaster().
|
protectedvirtual |
Reimplemented in configmgr::RootAccess.
Definition at line 1222 of file access.cxx.
References configmgr::Broadcaster::addDisposeNotification(), assert(), containerListeners_, disposeListeners_, getModifiedChild(), i, modifiedChildren_, propertiesChangeListeners_, propertyChangeListeners_, and vetoableChangeListeners_.
Referenced by dispose(), and configmgr::RootAccess::initDisposeBroadcaster().
|
overridevirtual |
Definition at line 1090 of file access.cxx.
References configmgr::Modifications::add(), assert(), 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 1503 of file access.cxx.
References configmgr::Modifications::add(), assert(), checkValue(), components_, getNode(), getRootAccess(), configmgr::LocalizedPropertyNode::getStaticType(), configmgr::LocalizedPropertyNode::isNillable(), markChildAsModified(), and configmgr::Data::NO_LAYER.
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::RootAccess, and configmgr::ChildAccess.
Referenced by checkFinalized().
bool configmgr::Access::isValue | ( | ) |
Definition at line 132 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 145 of file access.cxx.
References assert(), modifiedChildren_, and p.
Referenced by insertByName(), insertLocalizedValueChild(), removeByName(), and replaceByName().
|
overrideprotectedvirtual |
Reimplemented in configmgr::ChildAccess, and configmgr::RootAccess.
Definition at line 1290 of file access.cxx.
References getNode(), getRootAccess(), configmgr::Node::KIND_GROUP, configmgr::Node::KIND_SET, and cppu::queryInterface().
Referenced by configmgr::RootAccess::queryInterface(), and configmgr::ChildAccess::queryInterface().
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.
|
overridevirtual |
Definition at line 1150 of file access.cxx.
References configmgr::Modifications::add(), assert(), checkLocalizedPropertyAccess(), getChild(), getNode(), getNotificationRoot(), configmgr::Modifications::getRoot(), IS_EXTENSIBLE, IS_UPDATE, configmgr::Node::KIND_GROUP, configmgr::Node::KIND_PROPERTY, lock_, markChildAsModified(), configmgr::Data::NO_LAYER, p, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 514 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), containerListeners_, i, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 316 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), disposeListeners_, i, IS_ANY, lock_, and thisIs().
|
overridevirtual |
Definition at line 893 of file access.cxx.
References assert(), i, IS_GROUP, lock_, propertiesChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 753 of file access.cxx.
References assert(), checkKnownProperty(), i, IS_GROUP, lock_, propertyChangeListeners_, and thisIs().
|
overridevirtual |
Definition at line 799 of file access.cxx.
References assert(), checkKnownProperty(), i, IS_GROUP, lock_, thisIs(), and vetoableChangeListeners_.
|
overridevirtual |
Definition at line 450 of file access.cxx.
References assert(), checkLocalizedPropertyAccess(), getNotificationRoot(), 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 1050 of file access.cxx.
References configmgr::Modifications::add(), assert(), 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 1519 of file access.cxx.
References assert(), getModifiedChild(), i, and modifiedChildren_.
Referenced by configmgr::RootAccess::getPendingChanges(), and configmgr::RootAccess::hasPendingChanges().
|
private |
Definition at line 2045 of file access.cxx.
References assert(), and getChild().
Referenced by setPropertyValue(), and setPropertyValues().
|
overridevirtual |
Definition at line 929 of file access.cxx.
References assert(), getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), getSubChild(), IS_GROUP, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 971 of file access.cxx.
References assert(), getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), getSubChild(), i, IS_GROUP, lock_, configmgr::Broadcaster::send(), and thisIs().
|
overridevirtual |
Definition at line 613 of file access.cxx.
References configmgr::Modifications::add(), assert(), 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 695 of file access.cxx.
References assert(), getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), IS_GROUP, lock_, configmgr::Broadcaster::send(), setChildProperty(), and thisIs().
|
overridevirtual |
Definition at line 820 of file access.cxx.
References assert(), getNotificationRoot(), configmgr::Modifications::getRoot(), getRootAccess(), i, IS_GROUP, lock_, configmgr::Broadcaster::send(), setChildProperty(), and thisIs().
|
overridevirtual |
Definition at line 238 of file access.cxx.
References cppu::supportsService().
|
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().
|
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().