Added initial structure for include diagram generation
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user