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

#include <localizedvaluenode.hxx>

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

Public Member Functions

 LocalizedValueNode (int layer)
 
 LocalizedValueNode (int layer, css::uno::Any const &value)
 
virtual rtl::Reference< Nodeclone (bool keepTemplateName) const override
 
virtual OUString getTemplateName () const override
 
const css::uno::Any & getValue () const
 
css::uno::Any * getValuePtr (int layer)
 
void setValue (int layer, css::uno::Any const &value)
 
- Public Member Functions inherited from configmgr::Node
virtual NodeMapgetMembers ()
 
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

 LocalizedValueNode (LocalizedValueNode const &)=default
 
virtual ~LocalizedValueNode () override
 
virtual Kind kind () const override
 

Private Attributes

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 32 of file localizedvaluenode.hxx.

Constructor & Destructor Documentation

configmgr::LocalizedValueNode::LocalizedValueNode ( int  layer)
explicit

Definition at line 35 of file localizedvaluenode.cxx.

Referenced by clone().

configmgr::LocalizedValueNode::LocalizedValueNode ( int  layer,
css::uno::Any const &  value 
)

Definition at line 31 of file localizedvaluenode.cxx.

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

Definition at line 55 of file localizedvaluenode.cxx.

Member Function Documentation

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

Implements configmgr::Node.

Definition at line 39 of file localizedvaluenode.cxx.

References LocalizedValueNode().

OUString configmgr::LocalizedValueNode::getTemplateName ( ) const
overridevirtual

Reimplemented from configmgr::Node.

Definition at line 43 of file localizedvaluenode.cxx.

const css::uno::Any& configmgr::LocalizedValueNode::getValue ( ) const
inline

Definition at line 41 of file localizedvaluenode.hxx.

References value_.

css::uno::Any* configmgr::LocalizedValueNode::getValuePtr ( int  layer)
inline

Definition at line 42 of file localizedvaluenode.hxx.

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

Referenced by configmgr::ValueParser::endElement().

Node::Kind configmgr::LocalizedValueNode::kind ( ) const
overrideprivatevirtual

Implements configmgr::Node.

Definition at line 57 of file localizedvaluenode.cxx.

References configmgr::Node::KIND_LOCALIZED_VALUE.

void configmgr::LocalizedValueNode::setValue ( int  layer,
css::uno::Any const &  value 
)

Definition at line 48 of file localizedvaluenode.cxx.

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

Member Data Documentation

css::uno::Any configmgr::LocalizedValueNode::value_
private

Definition at line 57 of file localizedvaluenode.hxx.

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


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