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 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 Kind kind () const =0
 
virtual rtl::Reference< Nodeclone (bool keepTemplateName) const =0
 
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

 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 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
 

Detailed Description

Definition at line 31 of file localizedvaluenode.hxx.

Constructor & Destructor Documentation

◆ LocalizedValueNode() [1/3]

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

Definition at line 36 of file localizedvaluenode.cxx.

Referenced by clone().

◆ LocalizedValueNode() [2/3]

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

Definition at line 32 of file localizedvaluenode.cxx.

References value.

◆ LocalizedValueNode() [3/3]

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

◆ ~LocalizedValueNode()

configmgr::LocalizedValueNode::~LocalizedValueNode ( )
overrideprivatevirtual

Definition at line 56 of file localizedvaluenode.cxx.

Member Function Documentation

◆ clone()

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

Implements configmgr::Node.

Definition at line 40 of file localizedvaluenode.cxx.

References LocalizedValueNode().

◆ getTemplateName()

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

Reimplemented from configmgr::Node.

Definition at line 44 of file localizedvaluenode.cxx.

◆ getValue()

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

Definition at line 41 of file localizedvaluenode.hxx.

References value_.

◆ getValuePtr()

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

◆ kind()

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

Implements configmgr::Node.

Definition at line 58 of file localizedvaluenode.cxx.

References configmgr::Node::KIND_LOCALIZED_VALUE.

◆ setValue()

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

Definition at line 49 of file localizedvaluenode.cxx.

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

Member Data Documentation

◆ value_

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: