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

#include <localizedpropertynode.hxx>

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

Public Member Functions

 LocalizedPropertyNode (int layer, Type staticType, bool nillable)
 
virtual rtl::Reference< Nodeclone (bool keepTemplateName) const override
 
virtual NodeMapgetMembers () override
 
Type getStaticType () const
 
bool isNillable () const
 
- 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

 LocalizedPropertyNode (LocalizedPropertyNode const &other)
 
virtual ~LocalizedPropertyNode () override
 
virtual Kind kind () const override
 

Private Attributes

Type staticType_
 
bool nillable_
 
NodeMap members_
 

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

Constructor & Destructor Documentation

◆ LocalizedPropertyNode() [1/2]

configmgr::LocalizedPropertyNode::LocalizedPropertyNode ( int  layer,
Type  staticType,
bool  nillable 
)

Definition at line 31 of file localizedpropertynode.cxx.

Referenced by clone().

◆ LocalizedPropertyNode() [2/2]

configmgr::LocalizedPropertyNode::LocalizedPropertyNode ( LocalizedPropertyNode const &  other)
private

Definition at line 45 of file localizedpropertynode.cxx.

References configmgr::NodeMap::cloneInto(), and members_.

◆ ~LocalizedPropertyNode()

configmgr::LocalizedPropertyNode::~LocalizedPropertyNode ( )
overrideprivatevirtual

Definition at line 52 of file localizedpropertynode.cxx.

Member Function Documentation

◆ clone()

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

Implements configmgr::Node.

Definition at line 36 of file localizedpropertynode.cxx.

References LocalizedPropertyNode().

◆ getMembers()

NodeMap & configmgr::LocalizedPropertyNode::getMembers ( )
overridevirtual

Reimplemented from configmgr::Node.

Definition at line 40 of file localizedpropertynode.cxx.

References members_.

Referenced by configmgr::XcuParser::handleLocpropValue().

◆ getStaticType()

Type configmgr::LocalizedPropertyNode::getStaticType ( ) const
inline

◆ isNillable()

bool configmgr::LocalizedPropertyNode::isNillable ( ) const
inline

◆ kind()

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

Implements configmgr::Node.

Definition at line 54 of file localizedpropertynode.cxx.

References configmgr::Node::KIND_LOCALIZED_PROPERTY.

Member Data Documentation

◆ members_

NodeMap configmgr::LocalizedPropertyNode::members_
private

Definition at line 55 of file localizedpropertynode.hxx.

Referenced by getMembers(), and LocalizedPropertyNode().

◆ nillable_

bool configmgr::LocalizedPropertyNode::nillable_
private

Definition at line 54 of file localizedpropertynode.hxx.

Referenced by isNillable().

◆ staticType_

Type configmgr::LocalizedPropertyNode::staticType_
private

Definition at line 52 of file localizedpropertynode.hxx.

Referenced by getStaticType().


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