LibreOffice Module configmgr (master)
1
|
#include <propertynode.hxx>
Public Member Functions | |
PropertyNode (int layer, Type staticType, bool nillable, css::uno::Any const &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 |
![]() | |
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) |
![]() | |
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 | |
![]() | |
enum | Kind { KIND_PROPERTY, KIND_LOCALIZED_PROPERTY, KIND_LOCALIZED_VALUE, KIND_GROUP, KIND_SET, KIND_ROOT } |
![]() | |
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) |
![]() | |
Node (int layer) | |
Node (const Node &other) | |
virtual | ~Node () override |
![]() | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
![]() | |
oslInterlockedCount | m_nCount |
Definition at line 35 of file propertynode.hxx.
configmgr::PropertyNode::PropertyNode | ( | int | layer, |
Type | staticType, | ||
bool | nillable, | ||
css::uno::Any const & | value, | ||
bool | extension | ||
) |
Definition at line 37 of file propertynode.cxx.
Referenced by clone().
|
privatedefault |
|
overrideprivatevirtual |
Definition at line 83 of file propertynode.cxx.
|
overridevirtual |
Implements configmgr::Node.
Definition at line 44 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 49 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 70 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().
|
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 85 of file propertynode.cxx.
References configmgr::Node::KIND_PROPERTY.
Definition at line 77 of file propertynode.cxx.
References assert(), externalDescriptor_, and configmgr::Node::setLayer().
Referenced by configmgr::XcuParser::handlePropValue().
Definition at line 64 of file propertynode.cxx.
References externalDescriptor_, configmgr::Node::setLayer(), 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().