Refactored class diagram model to keep namespace structure

This commit is contained in:
Bartek Kryza
2022-02-18 21:56:15 +01:00
parent 97bf705047
commit 1da3dcb720
10 changed files with 250 additions and 60 deletions

View File

@@ -29,7 +29,10 @@ enum_::enum_(const std::vector<std::string> &using_namespaces)
{
}
bool operator==(const enum_ &l, const enum_ &r) { return l.name() == r.name(); }
bool operator==(const enum_ &l, const enum_ &r)
{
return (l.get_namespace() == r.get_namespace()) && (l.name() == r.name());
}
std::string enum_::full_name(bool relative) const
{