aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/Statement.cpp
blob: d708dd920d3e6441d4754eece016467f7f3c97fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Statement.cpp
 *
 *  Created on: Nov 23, 2017
 *      Author: naopross
 */

#include "Statement.hpp"

namespace samb {

/* Statement */
Statement::Statement(Type t, const std::string& text, Statement::pointer p): type(t), m_text(text), m_next(p) {}

Statement::~Statement() {}

bool Statement::operator==(const Statement& other) const {
	// comparison by pointers
	return (this == &other);
}

} /* namespace samb */