aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagram/Structogram.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-11-25 20:02:46 +0100
committerNao Pross <naopross@thearcway.org>2017-11-25 20:02:46 +0100
commit004fa309d6ede28ec8ab195647a2cbee490e104f (patch)
tree77caa08e70ba6ad02e3af0f143f3c5a24970ccd5 /src/diagram/Structogram.hpp
downloadOrbitingYeti-004fa309d6ede28ec8ab195647a2cbee490e104f.tar.gz
OrbitingYeti-004fa309d6ede28ec8ab195647a2cbee490e104f.zip
First commit
Diffstat (limited to '')
-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_ */