From b2e94fa3f1a7b0abb99007c198ceb76a00183e54 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 4 Mar 2014 15:33:21 +0000 Subject: added basic structure of the domain class git-svn-id: file:///var/local/svn/basicwriter@15 daaaf23c-2e50-4459-9457-1e69db5a47bf --- src/model/domain/Domain.hpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'src/model/domain/Domain.hpp') diff --git a/src/model/domain/Domain.hpp b/src/model/domain/Domain.hpp index 98b440a..dd5ee4d 100644 --- a/src/model/domain/Domain.hpp +++ b/src/model/domain/Domain.hpp @@ -16,12 +16,20 @@ along with this program. If not, see . */ +#ifndef _DOMAIN_HPP_ +#define _DOMAIN_HPP_ + #include #include #include #include +#include "Class.hpp" +#include "Structure.hpp" +#include "Category.hpp" +#include "Layer.hpp" + namespace ousia { namespace domain { @@ -33,8 +41,32 @@ private: std::vector> categories; std::vector> layers; +public: + + std::shared_ptr& getRoot() + { + return root; + } + + std::vector>& getStructures() + { + return structures; + } + + std::vector>& getCategories() + { + return categories; + } + + std::vector>& getLayers() + { + return layers; + } + }; } } +#endif /* _DOMAIN_HPP_ */ + -- cgit v1.2.3