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.
18 lines
464 B
C++
18 lines
464 B
C++
#pragma once
|
|
#include <iostream>
|
|
|
|
#include "nodes/BaseNode.h"
|
|
#include "mixins/LazyLinkMixin.h"
|
|
#include "links/OneToManyLink.h"
|
|
|
|
class SimpleNode : public BaseNode,
|
|
virtual public LazyLinkMixin<OneToManyLink<ILinkMixin>> {
|
|
public:
|
|
~SimpleNode() {
|
|
std::cout << "--- Simple destructor called for: " << name_ << "\n";
|
|
}
|
|
SimpleNode(std::string name) : BaseNode(std::move(name)) {
|
|
std::cout << "--- Simple constructor called for: " << name_ << "\n";
|
|
}
|
|
};
|