Represents subset of inheritable configuration options. More...
Represents subset of inheritable configuration options.
This class contains a subset of configuration options, which are inherited from the top level of the configuration to the diagrams.
#include <config.h>
Public Member Functions | |
virtual | ~inheritable_diagram_options ()=default |
void | inherit (const inheritable_diagram_options &parent) |
std::string | simplify_template_type (std::string full_name) const |
bool | generate_fully_qualified_name () const |
Whether the diagram element should be fully qualified in diagram. | |
std::filesystem::path | root_directory () const |
Returns absolute path of the relative_to option. | |
option< std::filesystem::path > & | get_relative_to () |
Get reference to relative_to diagram config option. | |
Protected Attributes | |
option< std::filesystem::path > | relative_to {"relative_to"} |
Friends | |
YAML::Emitter & | operator<< (YAML::Emitter &out, const inheritable_diagram_options &c) |
|
virtualdefault |
bool clanguml::config::inheritable_diagram_options::generate_fully_qualified_name | ( | ) | const |
Whether the diagram element should be fully qualified in diagram.
This method determines whether an elements' name should include fully qualified namespace name (however relative to using_namespace), or whether it should just contain it's name. This depends on whether the diagram has packages and if they are based on namespaces or sth else.
|
inline |
Get reference to relative_to
diagram config option.
This method is only to allow access to relative_to
for loading and adjusting configuration file and for making test cases work.
Instead use
relative_to
config option. Definition at line 631 of file config.h.
void clanguml::config::inheritable_diagram_options::inherit | ( | const inheritable_diagram_options & | parent | ) |
Definition at line 284 of file config.cc.
std::filesystem::path clanguml::config::inheritable_diagram_options::root_directory | ( | ) | const |
Returns absolute path of the relative_to
option.
relative_to
std::string clanguml::config::inheritable_diagram_options::simplify_template_type | ( | std::string | full_name | ) | const |
Definition at line 329 of file config.cc.
|
friend |
Definition at line 410 of file yaml_emitters.cc.
option<bool> clanguml::config::inheritable_diagram_options::allow_empty_diagrams {"allow_empty_diagrams", false} |
option<std::filesystem::path> clanguml::config::inheritable_diagram_options::base_directory {"__parent_path"} |
option<bool> clanguml::config::inheritable_diagram_options::combine_free_functions_into_file_participants |
option<comment_parser_t> clanguml::config::inheritable_diagram_options::comment_parser |
option<bool> clanguml::config::inheritable_diagram_options::debug_mode {"debug_mode", false} |
option<filter_mode_t> clanguml::config::inheritable_diagram_options::filter_mode {"filter_mode", filter_mode_t::basic} |
option<bool> clanguml::config::inheritable_diagram_options::fold_repeated_activities {"fold_repeated_activities", false} |
option<bool> clanguml::config::inheritable_diagram_options::generate_concept_requirements |
option<bool> clanguml::config::inheritable_diagram_options::generate_condition_statements |
option<generate_links_config> clanguml::config::inheritable_diagram_options::generate_links {"generate_links"} |
option<bool> clanguml::config::inheritable_diagram_options::generate_message_comments {"generate_message_comments", false} |
option<bool> clanguml::config::inheritable_diagram_options::generate_metadata {"generate_metadata", true} |
option<method_arguments> clanguml::config::inheritable_diagram_options::generate_method_arguments |
option<bool> clanguml::config::inheritable_diagram_options::generate_packages {"generate_packages", false} |
option<bool> clanguml::config::inheritable_diagram_options::generate_return_types {"generate_return_types", false} |
option<bool> clanguml::config::inheritable_diagram_options::generate_system_headers {"generate_system_headers", false} |
option<bool> clanguml::config::inheritable_diagram_options::generate_template_argument_dependencies |
option<git_config> clanguml::config::inheritable_diagram_options::git {"git"} |
option<struct graphml> clanguml::config::inheritable_diagram_options::graphml {"graphml", option_inherit_mode::kAppend} |
option<bool> clanguml::config::inheritable_diagram_options::group_methods {"group_methods", true} |
option<bool> clanguml::config::inheritable_diagram_options::include_relations_also_as_members |
option<bool> clanguml::config::inheritable_diagram_options::include_system_headers {"include_system_headers", false} |
option<bool> clanguml::config::inheritable_diagram_options::inline_lambda_messages {"inline_lambda_messages", false} |
option<layout_hints> clanguml::config::inheritable_diagram_options::layout {"layout"} |
option<member_order_t> clanguml::config::inheritable_diagram_options::member_order |
option<struct mermaid> clanguml::config::inheritable_diagram_options::mermaid {"mermaid", option_inherit_mode::kAppend} |
option<unsigned> clanguml::config::inheritable_diagram_options::message_comment_width |
option<package_type_t> clanguml::config::inheritable_diagram_options::package_type |
option<std::vector<std::string> > clanguml::config::inheritable_diagram_options::participants_order {"participants_order"} |
option<plantuml> clanguml::config::inheritable_diagram_options::puml {"plantuml", option_inherit_mode::kAppend} |
option<relationship_hints_t> clanguml::config::inheritable_diagram_options::relationship_hints {"relationship_hints"} |
|
protected |
option<bool> clanguml::config::inheritable_diagram_options::skip_redundant_dependencies |
option<type_aliases_t> clanguml::config::inheritable_diagram_options::type_aliases |
option<inja::json> clanguml::config::inheritable_diagram_options::user_data {"user_data", {}, option_inherit_mode::kAppend} |
option<std::string> clanguml::config::inheritable_diagram_options::using_module {"using_module"} |
option<common::model::namespace_> clanguml::config::inheritable_diagram_options::using_namespace {"using_namespace"} |