23#include <rtl/ustring.hxx>
34 int layer,
bool extensible, OUString templateName):
35 Node(layer), extensible_(extensible), templateName_(
std::move(templateName)),
36 mandatory_(
Data::NO_LAYER)
40 return new GroupNode(*
this, keepTemplateName);
61 Node(other), extensible_(other.extensible_), mandatory_(other.mandatory_)
64 if (keepTemplateName) {
virtual Kind kind() const override
virtual NodeMap & getMembers() override
GroupNode(int layer, bool extensible, OUString templateName)
virtual rtl::Reference< Node > clone(bool keepTemplateName) const override
virtual int getMandatory() const override
virtual void setMandatory(int layer) override
virtual ~GroupNode() override
virtual OUString getTemplateName() const override
void cloneInto(NodeMap *target) const