You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
660 B
C++
19 lines
660 B
C++
#pragma once
|
|
|
|
#include "nodes/BaseNode.h"
|
|
#include "mixins/HierarchicalLinkMixin.h"
|
|
#include "Logger.h"
|
|
|
|
/// \brief Класс сложного (составного) узла дерева.
|
|
/// Может содержать несколько дочерних ComplexNode и один SimpleNode.
|
|
class ComplexNode : public BaseNode,
|
|
virtual public HierarchicalLinkMixin<INode> {
|
|
public:
|
|
~ComplexNode() {
|
|
Logger::get("ConDes").dbg(std::string("--- Complex destructor called for: ") + name_);
|
|
}
|
|
ComplexNode(std::string name) : BaseNode(std::move(name)) {
|
|
Logger::get("ConDes").dbg(std::string("--- Complex constructor called for: ") + name_);
|
|
}
|
|
};
|