Removed dead code
This commit is contained in:
@@ -37,16 +37,6 @@ bool class_::is_template() const { return is_template_; }
|
||||
|
||||
void class_::is_template(bool is_template) { is_template_ = is_template; }
|
||||
|
||||
bool class_::is_template_instantiation() const
|
||||
{
|
||||
return is_template_instantiation_;
|
||||
}
|
||||
|
||||
void class_::is_template_instantiation(bool is_template_instantiation)
|
||||
{
|
||||
is_template_instantiation_ = is_template_instantiation;
|
||||
}
|
||||
|
||||
void class_::add_member(class_member &&member)
|
||||
{
|
||||
members_.emplace_back(std::move(member));
|
||||
@@ -133,7 +123,6 @@ int class_::calculate_template_specialization_match(
|
||||
return res;
|
||||
}
|
||||
|
||||
return template_trait::calculate_template_specialization_match(
|
||||
other, full_name);
|
||||
return template_trait::calculate_template_specialization_match(other);
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -51,12 +51,6 @@ public:
|
||||
bool is_template() const;
|
||||
void is_template(bool is_template);
|
||||
|
||||
bool is_template_instantiation() const;
|
||||
void is_template_instantiation(bool is_template_instantiation);
|
||||
|
||||
bool is_alias() const { return is_alias_; }
|
||||
void is_alias(bool alias) { is_alias_ = alias; }
|
||||
|
||||
bool is_union() const { return is_union_; }
|
||||
void is_union(bool u) { is_union_ = u; }
|
||||
|
||||
@@ -68,9 +62,6 @@ public:
|
||||
const std::vector<class_method> &methods() const;
|
||||
const std::vector<class_parent> &parents() const;
|
||||
|
||||
void set_base_template(const std::string &full_name);
|
||||
std::string base_template() const;
|
||||
|
||||
friend bool operator==(const class_ &l, const class_ &r);
|
||||
|
||||
std::string full_name(bool relative = true) const override;
|
||||
@@ -79,18 +70,12 @@ public:
|
||||
|
||||
bool is_abstract() const;
|
||||
|
||||
void find_relationships(
|
||||
std::vector<std::pair<std::string, common::model::relationship_t>>
|
||||
&nested_relationships);
|
||||
|
||||
int calculate_template_specialization_match(
|
||||
const class_ &other, const std::string &full_name) const;
|
||||
|
||||
private:
|
||||
bool is_struct_{false};
|
||||
bool is_template_{false};
|
||||
bool is_template_instantiation_{false};
|
||||
bool is_alias_{false};
|
||||
bool is_union_{false};
|
||||
std::vector<class_member> members_;
|
||||
std::vector<class_method> methods_;
|
||||
|
||||
@@ -26,13 +26,6 @@ class_member::class_member(common::model::access_t access,
|
||||
{
|
||||
}
|
||||
|
||||
bool class_member::is_relationship() const { return is_relationship_; }
|
||||
|
||||
void class_member::is_relationship(bool is_relationship)
|
||||
{
|
||||
is_relationship_ = is_relationship;
|
||||
}
|
||||
|
||||
bool class_member::is_static() const { return is_static_; }
|
||||
|
||||
void class_member::is_static(bool is_static) { is_static_ = is_static; }
|
||||
|
||||
@@ -30,9 +30,6 @@ public:
|
||||
|
||||
~class_member() override = default;
|
||||
|
||||
bool is_relationship() const;
|
||||
void is_relationship(bool is_relationship);
|
||||
|
||||
bool is_static() const;
|
||||
void is_static(bool is_static);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user