LibreOffice Module configmgr (master) 1
|
#include <propertynode.hxx>
Public Member Functions | |
PropertyNode (int layer, Type staticType, bool nillable, css::uno::Any value, bool extension) | |
virtual rtl::Reference< Node > | clone (bool keepTemplateName) const override |
Type | getStaticType () const |
bool | isNillable () const |
css::uno::Any const & | getValue (Components &components) |
void | setValue (int layer, css::uno::Any const &value) |
css::uno::Any * | getValuePtr (int layer) |
void | setExternal (int layer, OUString const &descriptor) |
bool | isExtension () const |
Public Member Functions inherited from configmgr::Node | |
virtual Kind | kind () const =0 |
virtual rtl::Reference< Node > | clone (bool keepTemplateName) const =0 |
virtual NodeMap & | getMembers () |
virtual OUString | getTemplateName () const |
virtual void | setMandatory (int layer) |
virtual int | getMandatory () const |
void | setLayer (int layer) |
int | getLayer () const |
void | setFinalized (int layer) |
int | getFinalized () const |
rtl::Reference< Node > | getMember (OUString const &name) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Member Functions | |
PropertyNode (PropertyNode const &)=default | |
virtual | ~PropertyNode () override |
virtual Kind | kind () const override |
Private Attributes | |
Type | staticType_ |
bool | nillable_ |
bool | extension_ |
OUString | externalDescriptor_ |
css::uno::Any | value_ |
Additional Inherited Members | |
Public Types inherited from configmgr::Node | |
enum | Kind { KIND_PROPERTY , KIND_LOCALIZED_PROPERTY , KIND_LOCALIZED_VALUE , KIND_GROUP , KIND_SET , KIND_ROOT } |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from configmgr::Node | |
Node (int layer) | |
Node (const Node &other) | |
virtual | ~Node () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 35 of file propertynode.hxx.
|
privatedefault |
|
overrideprivatevirtual |
Definition at line 84 of file propertynode.cxx.
|
overridevirtual |
Implements configmgr::Node.
Definition at line 45 of file propertynode.cxx.
References PropertyNode().
|
inline |
Definition at line 43 of file propertynode.hxx.
References staticType_.
Referenced by configmgr::Access::asProperty(), and configmgr::ChildAccess::setProperty().
css::uno::Any const & configmgr::PropertyNode::getValue | ( | Components & | components | ) |
Definition at line 50 of file propertynode.cxx.
References externalDescriptor_, configmgr::Components::getExternalValue(), nillable_, SAL_WARN_IF, and value_.
css::uno::Any * configmgr::PropertyNode::getValuePtr | ( | int | layer | ) |
Definition at line 71 of file propertynode.cxx.
References externalDescriptor_, configmgr::Node::setLayer(), and value_.
|
inline |
Definition at line 54 of file propertynode.hxx.
References extension_.
Referenced by configmgr::Access::asProperty(), and configmgr::Access::removeByName().
|
inline |
Definition at line 45 of file propertynode.hxx.
References nillable_.
Referenced by configmgr::Access::asProperty(), configmgr::XcuParser::handlePropValue(), and configmgr::ChildAccess::setProperty().
|
overrideprivatevirtual |
Implements configmgr::Node.
Definition at line 86 of file propertynode.cxx.
References configmgr::Node::KIND_PROPERTY.
void configmgr::PropertyNode::setExternal | ( | int | layer, |
OUString const & | descriptor | ||
) |
Definition at line 78 of file propertynode.cxx.
References externalDescriptor_, and configmgr::Node::setLayer().
Referenced by configmgr::XcuParser::handlePropValue().
void configmgr::PropertyNode::setValue | ( | int | layer, |
css::uno::Any const & | value | ||
) |
Definition at line 65 of file propertynode.cxx.
References externalDescriptor_, configmgr::Node::setLayer(), value, and value_.
Referenced by configmgr::XcuParser::handlePropValue().
|
private |
Definition at line 67 of file propertynode.hxx.
Referenced by isExtension().
|
private |
Definition at line 68 of file propertynode.hxx.
Referenced by getValue(), getValuePtr(), setExternal(), and setValue().
|
private |
Definition at line 66 of file propertynode.hxx.
Referenced by getValue(), and isNillable().
|
private |
Definition at line 63 of file propertynode.hxx.
Referenced by getStaticType().
|
private |
Definition at line 69 of file propertynode.hxx.
Referenced by getValue(), getValuePtr(), and setValue().