LibreOffice Module configmgr (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
configmgr::PropertyNode Class Reference

#include <propertynode.hxx>

Inheritance diagram for configmgr::PropertyNode:
[legend]
Collaboration diagram for configmgr::PropertyNode:
[legend]

Public Member Functions

 PropertyNode (int layer, Type staticType, bool nillable, css::uno::Any const &value, bool extension)
 
virtual rtl::Reference< Nodeclone (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 NodeMapgetMembers ()
 
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< NodegetMember (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 voidoperator new (std::size_t nSize)
 
static voidoperator 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
 

Detailed Description

Definition at line 35 of file propertynode.hxx.

Constructor & Destructor Documentation

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().

configmgr::PropertyNode::PropertyNode ( PropertyNode const &  )
privatedefault
configmgr::PropertyNode::~PropertyNode ( )
overrideprivatevirtual

Definition at line 83 of file propertynode.cxx.

Member Function Documentation

rtl::Reference< Node > configmgr::PropertyNode::clone ( bool  keepTemplateName) const
overridevirtual

Implements configmgr::Node.

Definition at line 44 of file propertynode.cxx.

References PropertyNode().

Type configmgr::PropertyNode::getStaticType ( ) const
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)
css::uno::Any * configmgr::PropertyNode::getValuePtr ( int  layer)

Definition at line 70 of file propertynode.cxx.

References externalDescriptor_, configmgr::Node::setLayer(), and value_.

bool configmgr::PropertyNode::isExtension ( ) const
inline

Definition at line 54 of file propertynode.hxx.

References extension_.

Referenced by configmgr::Access::asProperty().

bool configmgr::PropertyNode::isNillable ( ) const
inline
Node::Kind configmgr::PropertyNode::kind ( ) const
overrideprivatevirtual

Implements configmgr::Node.

Definition at line 85 of file propertynode.cxx.

References configmgr::Node::KIND_PROPERTY.

void configmgr::PropertyNode::setExternal ( int  layer,
OUString const &  descriptor 
)
void configmgr::PropertyNode::setValue ( int  layer,
css::uno::Any const &  value 
)

Member Data Documentation

bool configmgr::PropertyNode::extension_
private

Definition at line 67 of file propertynode.hxx.

Referenced by isExtension().

OUString configmgr::PropertyNode::externalDescriptor_
private

Definition at line 68 of file propertynode.hxx.

Referenced by getValue(), getValuePtr(), setExternal(), and setValue().

bool configmgr::PropertyNode::nillable_
private

Definition at line 66 of file propertynode.hxx.

Referenced by getValue(), and isNillable().

Type configmgr::PropertyNode::staticType_
private

Definition at line 63 of file propertynode.hxx.

Referenced by getStaticType().

css::uno::Any configmgr::PropertyNode::value_
private

Definition at line 69 of file propertynode.hxx.

Referenced by getValue(), getValuePtr(), and setValue().


The documentation for this class was generated from the following files: