LibreOffice Module configmgr (master) 1
|
#include <node.hxx>
Public Types | |
enum | Kind { KIND_PROPERTY , KIND_LOCALIZED_PROPERTY , KIND_LOCALIZED_VALUE , KIND_GROUP , KIND_SET , KIND_ROOT } |
Public Member Functions | |
virtual Kind | kind () const =0 |
virtual rtl::Reference< Node > | clone (bool keepTemplateName) const =0 |
virtual NodeMap & | getMembers () |
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< Node > | getMember (OUString const &name) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
Node (int layer) | |
Node (const Node &other) | |
virtual | ~Node () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Attributes | |
int | layer_ |
int | finalized_ |
Additional Inherited Members | |
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 Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
|
pure virtual |
|
inline |
Definition at line 52 of file node.hxx.
References finalized_.
|
inline |
|
virtual |
Reimplemented in configmgr::GroupNode, and configmgr::SetNode.
Definition at line 48 of file node.cxx.
References configmgr::Data::NO_LAYER.
rtl::Reference< Node > Node::getMember | ( | OUString const & | name | ) |
|
virtual |
Reimplemented in configmgr::GroupNode, configmgr::LocalizedPropertyNode, configmgr::RootNode, and configmgr::SetNode.
Definition at line 34 of file node.cxx.
Referenced by getMember().
|
virtual |
Reimplemented in configmgr::GroupNode, configmgr::LocalizedValueNode, and configmgr::SetNode.
|
pure virtual |
void Node::setFinalized | ( | int | layer | ) |
Definition at line 58 of file node.cxx.
References finalized_.
void Node::setLayer | ( | int | layer | ) |
Definition at line 52 of file node.cxx.
References layer_.
Referenced by configmgr::LocalizedValueNode::getValuePtr(), configmgr::PropertyNode::getValuePtr(), configmgr::PropertyNode::setExternal(), configmgr::LocalizedValueNode::setValue(), and configmgr::PropertyNode::setValue().
|
virtual |
Reimplemented in configmgr::GroupNode, and configmgr::SetNode.
Definition at line 43 of file node.cxx.
References configmgr::Data::NO_LAYER.
|
private |
Definition at line 63 of file node.hxx.
Referenced by getFinalized(), and setFinalized().
|
private |
Definition at line 62 of file node.hxx.
Referenced by getLayer(), and setLayer().