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

Constructor & Destructor Documentation

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

Definition at line 32 of file groupnode.cxx.

Referenced by clone().

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

Definition at line 59 of file groupnode.cxx.

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

configmgr::GroupNode::~GroupNode ( )
overrideprivatevirtual

Definition at line 68 of file groupnode.cxx.

Member Function Documentation

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

Implements configmgr::Node.

Definition at line 38 of file groupnode.cxx.

References GroupNode().

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

Reimplemented from configmgr::Node.

Definition at line 54 of file groupnode.cxx.

References mandatory_.

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

Reimplemented from configmgr::Node.

Definition at line 42 of file groupnode.cxx.

References members_.

Referenced by configmgr::XcuParser::handleGroupProp(), and configmgr::XcuParser::handlePlainGroupProp().

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

Reimplemented from configmgr::Node.

Definition at line 46 of file groupnode.cxx.

References templateName_.

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

Definition at line 46 of file groupnode.hxx.

References extensible_.

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

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

Implements configmgr::Node.

Definition at line 70 of file groupnode.cxx.

References configmgr::Node::KIND_GROUP.

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

Reimplemented from configmgr::Node.

Definition at line 50 of file groupnode.cxx.

References mandatory_.

Member Data Documentation

bool configmgr::GroupNode::extensible_
private

Definition at line 55 of file groupnode.hxx.

Referenced by isExtensible().

int configmgr::GroupNode::mandatory_
private

Definition at line 59 of file groupnode.hxx.

Referenced by getMandatory(), and setMandatory().

NodeMap configmgr::GroupNode::members_
private

Definition at line 56 of file groupnode.hxx.

Referenced by getMembers(), and GroupNode().

OUString configmgr::GroupNode::templateName_
private

Definition at line 57 of file groupnode.hxx.

Referenced by getTemplateName(), and GroupNode().


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