diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-03-04 15:33:21 +0000 |
---|---|---|
committer | andreas <andreas@daaaf23c-2e50-4459-9457-1e69db5a47bf> | 2014-03-04 15:33:21 +0000 |
commit | b2e94fa3f1a7b0abb99007c198ceb76a00183e54 (patch) | |
tree | 058151bcb18de6e5cc74ce9dd34b5c29395a52be /src/model/domain/Domain.hpp | |
parent | df938ff92ea02f26c594c610234754101138f646 (diff) |
added basic structure of the domain class
git-svn-id: file:///var/local/svn/basicwriter@15 daaaf23c-2e50-4459-9457-1e69db5a47bf
Diffstat (limited to 'src/model/domain/Domain.hpp')
-rw-r--r-- | src/model/domain/Domain.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */ +#ifndef _DOMAIN_HPP_ +#define _DOMAIN_HPP_ + #include <memory> #include <string> #include <vector> #include <model/GraphNode.hpp> +#include "Class.hpp" +#include "Structure.hpp" +#include "Category.hpp" +#include "Layer.hpp" + namespace ousia { namespace domain { @@ -33,8 +41,32 @@ private: std::vector<std::shared_ptr<Category>> categories; std::vector<std::shared_ptr<Layer>> layers; +public: + + std::shared_ptr<Class>& getRoot() + { + return root; + } + + std::vector<std::shared_ptr<Structure>>& getStructures() + { + return structures; + } + + std::vector<std::shared_ptr<Category>>& getCategories() + { + return categories; + } + + std::vector<std::shared_ptr<Layer>>& getLayers() + { + return layers; + } + }; } } +#endif /* _DOMAIN_HPP_ */ + |