Added initial structure for include diagram generation

This commit is contained in:
Bartek Kryza
2022-04-04 23:55:12 +02:00
parent 0301173a52
commit 46e8885c41
39 changed files with 1268 additions and 356 deletions

View File

@@ -41,10 +41,10 @@ common::model::diagram_t diagram::type() const
return common::model::diagram_t::kClass;
}
type_safe::optional_ref<const clanguml::common::model::element> diagram::get(
const std::string &full_name) const
type_safe::optional_ref<const clanguml::common::model::diagram_element>
diagram::get(const std::string &full_name) const
{
type_safe::optional_ref<const clanguml::common::model::element> res;
type_safe::optional_ref<const clanguml::common::model::diagram_element> res;
res = get_class(full_name);

View File

@@ -32,7 +32,8 @@ namespace clanguml::class_diagram::model {
class diagram : public clanguml::common::model::diagram,
public clanguml::common::model::nested_trait<
clanguml::common::model::element> {
clanguml::common::model::element,
clanguml::common::model::namespace_> {
public:
diagram() = default;
@@ -43,7 +44,7 @@ public:
common::model::diagram_t type() const override;
type_safe::optional_ref<const clanguml::common::model::element> get(
type_safe::optional_ref<const clanguml::common::model::diagram_element> get(
const std::string &full_name) const override;
const std::vector<type_safe::object_ref<const class_>> classes() const;