aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/Structogram.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagram/Structogram.hpp')
-rw-r--r--src/diagram/Structogram.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/diagram/Structogram.hpp b/src/diagram/Structogram.hpp
new file mode 100644
index 0000000..2234142
--- /dev/null
+++ b/src/diagram/Structogram.hpp
@@ -0,0 +1,32 @@
+/*
+ * Structogram.h
+ *
+ * Created on: Nov 14, 2017
+ * Author: naopross
+ */
+
+#ifndef STRUCTOGRAM_H_
+#define STRUCTOGRAM_H_
+
+#include <iostream>
+#include <list>
+#include "../diagram/Statement.h"
+
+namespace samb {
+
+/* object that holds statements */
+class Structogram {
+private:
+ std::list<Statement> m_statements;
+ std::string m_title;
+
+public:
+ Structogram(std::string title);
+ virtual ~Structogram();
+
+ const std::list<Statement>& getStatements() const;
+};
+
+} /* namespace structograms */
+
+#endif /* STRUCTOGRAM_H_ */