summaryrefslogtreecommitdiff
path: root/src/model/domain/Structure.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2014-03-06 11:54:40 +0000
committerbenjamin <benjamin@daaaf23c-2e50-4459-9457-1e69db5a47bf>2014-03-06 11:54:40 +0000
commit1cb5fdc15c5f8399ca08377eb498f7c27c2eee85 (patch)
tree1e3a23d78b094d40d9fb80ce8e330bdc113eb2e4 /src/model/domain/Structure.hpp
parent247945811adbfb5ddaa1ba4e1f3dfc20cd7eb058 (diff)
reworked the model classes according to manipulated GraphNode and removed some bugs resulting from a misunderstanding between abtract domain declarations and instances.
git-svn-id: file:///var/local/svn/basicwriter@29 daaaf23c-2e50-4459-9457-1e69db5a47bf
Diffstat (limited to 'src/model/domain/Structure.hpp')
-rw-r--r--src/model/domain/Structure.hpp22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/model/domain/Structure.hpp b/src/model/domain/Structure.hpp
index 897b265..4f0604a 100644
--- a/src/model/domain/Structure.hpp
+++ b/src/model/domain/Structure.hpp
@@ -16,18 +16,32 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _STRUCTURE_HPP_
-#define _STRUCTURE_HPP_
+#ifndef _OUSIA_MODEL_DOMAIN_STRUCTURE_HPP_
+#define _OUSIA_MODEL_DOMAIN_STRUCTURE_HPP_
+
+#include <memory>
+#include <string>
#include <model/GraphNode.hpp>
namespace ousia {
+namespace model {
namespace domain {
class Structure : public GraphNode {
- using GraphNode::GraphNode;
+
+public:
+ Structure(std::shared_ptr<GraphNode> parent = nullptr,
+ const std::string &name = "") :
+ GraphNode(GraphNodeType::Structure, parent, name)
+ {
+ // Do nothing here
+ }
+
+
};
}
}
+}
-#endif /* _STRUCTURE_HPP_ */
+#endif /* _OUSIA_MODEL_DOMAIN_STRUCTURE_HPP_ */