Fixed rendering of member variables with alias to template or alias template (t00014)
This commit is contained in:
@@ -129,6 +129,20 @@ bool diagram::should_include_relationship(const std::string &rel)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool diagram::should_include(
|
||||
const std::pair<std::vector<std::string>, std::string> &name) const
|
||||
{
|
||||
return should_include(std::get<0>(name), std::get<1>(name));
|
||||
}
|
||||
|
||||
bool diagram::should_include(
|
||||
const std::vector<std::string> &ns, const std::string &name) const
|
||||
{
|
||||
auto ns_and_name = ns;
|
||||
ns_and_name.push_back(name);
|
||||
return should_include(util::join(ns_and_name, "::"));
|
||||
}
|
||||
|
||||
bool diagram::should_include(const std::string &name_) const
|
||||
{
|
||||
auto name = clanguml::util::unqualify(name_);
|
||||
|
||||
@@ -87,8 +87,7 @@ struct inheritable_diagram_options {
|
||||
option<plantuml> puml{"plantuml", option_inherit_mode::append};
|
||||
option<method_arguments> generate_method_arguments{
|
||||
"generate_method_arguments", method_arguments::full};
|
||||
option<bool> generate_packages{
|
||||
"generate_packages", false};
|
||||
option<bool> generate_packages{"generate_packages", false};
|
||||
|
||||
void inherit(const inheritable_diagram_options &parent);
|
||||
};
|
||||
@@ -104,9 +103,16 @@ struct diagram : public inheritable_diagram_options {
|
||||
|
||||
bool should_include_relationship(const std::string &rel);
|
||||
|
||||
bool should_include(const std::string &name_) const;
|
||||
bool should_include(
|
||||
const std::pair<std::vector<std::string>, std::string> &name) const;
|
||||
|
||||
bool should_include(
|
||||
const std::vector<std::string> &ns, const std::string &name) const;
|
||||
|
||||
bool should_include(const common::model::scope_t scope) const;
|
||||
bool should_include(const std::string &name_) const;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
struct source_location {
|
||||
|
||||
Reference in New Issue
Block a user