Refactored common diagram elements to clanguml::common:model namespace
This commit is contained in:
@@ -90,7 +90,7 @@ bool diagram::should_include(const std::string &name_) const
|
||||
}
|
||||
|
||||
bool diagram::should_include(
|
||||
const clanguml::class_diagram::model::scope_t scope) const
|
||||
const clanguml::common::model::scope_t scope) const
|
||||
{
|
||||
for (const auto &s : exclude.scopes) {
|
||||
if (s == scope)
|
||||
@@ -128,7 +128,7 @@ bool class_diagram::has_class(std::string clazz)
|
||||
}
|
||||
|
||||
namespace YAML {
|
||||
using clanguml::class_diagram::model::scope_t;
|
||||
using clanguml::common::model::scope_t;
|
||||
using clanguml::config::class_diagram;
|
||||
using clanguml::config::config;
|
||||
using clanguml::config::filter;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "class_diagram/model/diagram.h"
|
||||
#include "class_diagram/model/enums.h"
|
||||
#include "common/model/enums.h"
|
||||
#include "util/util.h"
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
@@ -56,7 +56,7 @@ struct filter {
|
||||
// E.g.:
|
||||
// - public
|
||||
// - private
|
||||
std::vector<class_diagram::model::scope_t> scopes;
|
||||
std::vector<common::model::scope_t> scopes;
|
||||
};
|
||||
|
||||
struct diagram {
|
||||
@@ -77,7 +77,7 @@ struct diagram {
|
||||
|
||||
bool should_include(const std::string &name_) const;
|
||||
|
||||
bool should_include(const class_diagram::model::scope_t scope) const;
|
||||
bool should_include(const common::model::scope_t scope) const;
|
||||
};
|
||||
|
||||
struct source_location {
|
||||
|
||||
Reference in New Issue
Block a user