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

#include <groupnode.hxx>

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

Public Member Functions

 GroupNode (int layer, bool extensible, OUString templateName)
 
virtual rtl::Reference< Nodeclone (bool keepTemplateName) const override
 
virtual NodeMapgetMembers () override
 
virtual OUString getTemplateName () const override
 
virtual void setMandatory (int layer) override
 
virtual int getMandatory () const override
 
bool isExtensible () 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

 GroupNode (GroupNode const &other, bool keepTemplateName)
 
virtual ~GroupNode () override
 
virtual Kind kind () const override
 

Private Attributes

bool extensible_
 
NodeMap members_
 
OUString templateName_
 
int mandatory_
 

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 groupnode.hxx.

Constructor & Destructor Documentation

◆ GroupNode() [1/2]

configmgr::GroupNode::GroupNode ( int  layer,
bool  extensible,
OUString  templateName 
)

Definition at line 33 of file groupnode.cxx.

Referenced by clone().

◆ GroupNode() [2/2]

configmgr::GroupNode::GroupNode ( GroupNode const &  other,
bool  keepTemplateName 
)
private

Definition at line 60 of file groupnode.cxx.

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

◆ ~GroupNode()

configmgr::GroupNode::~GroupNode ( )
overrideprivatevirtual

Definition at line 69 of file groupnode.cxx.

Member Function Documentation

◆ clone()

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

Implements configmgr::Node.

Definition at line 39 of file groupnode.cxx.

References GroupNode().

◆ getMandatory()

int configmgr::GroupNode::getMandatory ( ) const
overridevirtual

Reimplemented from configmgr::Node.

Definition at line 55 of file groupnode.cxx.

References mandatory_.

◆ getMembers()

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

Reimplemented from configmgr::Node.

Definition at line 43 of file groupnode.cxx.

References members_.

◆ getTemplateName()

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

Reimplemented from configmgr::Node.

Definition at line 47 of file groupnode.cxx.

References templateName_.

◆ isExtensible()

bool configmgr::GroupNode::isExtensible ( ) const
inline

Definition at line 47 of file groupnode.hxx.

References extensible_.

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

◆ kind()

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

Implements configmgr::Node.

Definition at line 71 of file groupnode.cxx.

References configmgr::Node::KIND_GROUP.

◆ setMandatory()

void configmgr::GroupNode::setMandatory ( int  layer)
overridevirtual

Reimplemented from configmgr::Node.

Definition at line 51 of file groupnode.cxx.

References mandatory_.

Member Data Documentation

◆ extensible_

bool configmgr::GroupNode::extensible_
private

Definition at line 56 of file groupnode.hxx.

Referenced by isExtensible().

◆ mandatory_

int configmgr::GroupNode::mandatory_
private

Definition at line 59 of file groupnode.hxx.

Referenced by getMandatory(), and setMandatory().

◆ members_

NodeMap configmgr::GroupNode::members_
private

Definition at line 57 of file groupnode.hxx.

Referenced by getMembers(), and GroupNode().

◆ templateName_

OUString configmgr::GroupNode::templateName_
private

Definition at line 58 of file groupnode.hxx.

Referenced by getTemplateName(), and GroupNode().


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