27 , together_group_stack_{
false}
32 const package &p, std::ostream &ostr)
const
37 if (
model().should_include(relationship_t::kDependency)) {
39 std::stringstream relstr;
41 auto destination_package =
model().get(r.destination());
42 if (!destination_package)
45 auto destination_alias =
model().to_alias(r.destination());
47 if (!destination_alias.empty()) {
48 relstr << p.
alias() <<
" ..> " << destination_alias <<
'\n';
53 LOG_DBG(
"=== Skipping dependency relation from {} to {} due "
55 p.
full_name(
false), r.destination(), e.what());
61 for (
const auto &subpackage : p) {
63 dynamic_cast<const package &
>(*subpackage), ostr);
73 const auto &uns =
config().using_namespace();
77 if (!uns.starts_with({p.full_name(false)})) {
78 ostr <<
"package [" << p.
name() <<
"] ";
79 ostr <<
"as " << p.
alias();
82 ostr <<
" <<deprecated>>";
84 if (
config().generate_links) {
93 for (
const auto &subpackage : p) {
94 auto &pkg =
dynamic_cast<package &
>(*subpackage);
95 auto together_group =
config().get_together_group(pkg.full_name(
false));
106 if (!uns.starts_with({p.full_name(false)})) {
117 for (
const auto &[group_name, group_elements] :
119 ostr <<
"together {\n";
121 for (
auto *pkg : group_elements) {
131 for (
const auto &p :
model()) {
132 auto &pkg =
dynamic_cast<package &
>(*p);
133 auto together_group =
config().get_together_group(pkg.full_name(
false));
134 if (together_group) {
145 for (
const auto &p :
model()) {