diff --git a/docs/test_cases/t30002.md b/docs/test_cases/t30002.md index dc552811..74bf0e6c 100644 --- a/docs/test_cases/t30002.md +++ b/docs/test_cases/t30002.md @@ -23,19 +23,102 @@ diagrams: ## Source code File t30002.cc ```cpp +#include #include +#include namespace clanguml { namespace t30002 { -namespace A::AA::AAA { +namespace A::AA { +namespace A1 { struct CA { }; } -namespace B::BB::BBB { -struct CBA { - A::AA::AAA::CA *ca_; +namespace A2 { +struct CB { }; } +namespace A3 { +struct CC { +}; +} +namespace A4 { +struct CD { +}; +} +namespace A5 { +struct CE { +}; +} +namespace A6 { +struct CF { +}; +} +namespace A7 { +struct CG { +}; +} +namespace A8 { +struct CH { +}; +} +namespace A9 { +struct CI { +}; +} +namespace A10 { +struct CJ { +}; +} +namespace A11 { +struct CK { +}; +} +namespace A12 { +struct CL { +}; +} +namespace A13 { +struct CM { +}; +} +} +namespace B::BB::BBB { +struct CBA : public A::AA::A6::CF { + A::AA::A1::CA *ca_; + A::AA::A2::CB cb_; + std::shared_ptr cc_; + std::map> cd_; + + void ce(const std::vector /*ce_*/) { } + + std::shared_ptr cg() { return {}; } + + template + void ch(std::map> & /*ch_*/) + { + } + + template std::map> ci() + { + return {}; + } +}; + +void cj(std::unique_ptr /*cj_*/) { } + +std::unique_ptr ck() { return {}; } + +template +void cl(std::map> & /*ch_*/) +{ +} + +template std::map> cm() +{ + return {}; +} +} } // namespace t30002 } // namespace clanguml diff --git a/docs/test_cases/t30002_package.png b/docs/test_cases/t30002_package.png index 4ebf6689..c51b8c46 100644 Binary files a/docs/test_cases/t30002_package.png and b/docs/test_cases/t30002_package.png differ