Refactored common diagram elements to clanguml::common:model namespace

This commit is contained in:
Bartek Kryza
2022-01-16 20:57:39 +01:00
parent d62a2a1e9f
commit 6d11376039
26 changed files with 111 additions and 113 deletions

View File

@@ -17,23 +17,23 @@
*/
#pragma once
#include "decorated_element.h"
#include "common/model/decorated_element.h"
#include <string>
namespace clanguml::class_diagram::model {
class class_element : public decorated_element {
class class_element : public common::model::decorated_element {
public:
class_element(
scope_t scope, const std::string &name, const std::string &type);
class_element(common::model::scope_t scope, const std::string &name,
const std::string &type);
scope_t scope() const;
common::model::scope_t scope() const;
std::string name() const;
std::string type() const;
private:
scope_t scope_;
common::model::scope_t scope_;
std::string name_;
std::string type_;
};