diff --git a/docs/test_cases/t00002.md b/docs/test_cases/t00002.md index e432037e..52b8ecbb 100644 --- a/docs/test_cases/t00002.md +++ b/docs/test_cases/t00002.md @@ -26,30 +26,50 @@ File t00002.cc namespace clanguml { namespace t00002 { +/// This is class A class A { public: + /// Abstract foo_a virtual void foo_a() = 0; + /// Abstract foo_c virtual void foo_c() = 0; }; +/// This is class B class B : public A { public: virtual void foo_a() override { } }; +/// @brief This is class C - class C has a long comment +/// +/// Vivamus integer non suscipit taciti mus etiam at primis tempor sagittis sit, +/// euismod libero facilisi aptent elementum felis blandit cursus gravida sociis +/// erat ante, eleifend lectus nullam dapibus netus feugiat curae curabitur est +/// ad. class C : public A { public: + /// Do nothing unless override is provided virtual void foo_c() override { } }; +/// This is class D +/// which is a little like B +/// and a little like C class D : public B, public C { public: + /** + * Forward foo_a + */ void foo_a() override { for (auto a : as) a->foo_a(); } + /** + * Forward foo_c + */ void foo_c() override { for (auto a : as) @@ -57,6 +77,7 @@ public: } private: + /// All the A pointers std::vector as; }; @@ -67,12 +88,18 @@ private: // class E : virtual public B, virtual public C { public: + /// + /// Forward foo_a + /// void foo_a() override { for (auto a : as) a->foo_a(); } + /// + /// Forward foo_c + /// void foo_c() override { for (auto a : as) @@ -80,6 +107,7 @@ public: } private: + /// All the A pointers std::vector as; }; } diff --git a/docs/test_cases/t00002_class.svg b/docs/test_cases/t00002_class.svg index 3d0bdb93..f727a875 100644 --- a/docs/test_cases/t00002_class.svg +++ b/docs/test_cases/t00002_class.svg @@ -1,6 +1,6 @@ - + @@ -8,117 +8,117 @@ - - + + A - + - + foo_a() = 0 : void - + - + foo_c() = 0 : void - - + + B - + - + foo_a() : void - - + + C - + - + foo_c() : void - - + + D - + - + as : std::vector<A*> - + - + foo_a() : void - + - + foo_c() : void - - + + E - + - + as : std::vector<A*> - + - + foo_a() : void - + - + foo_c() : void - + Base abstract interface. diff --git a/docs/test_cases/t00003_class.svg b/docs/test_cases/t00003_class.svg index 0f4c19a9..65531da2 100644 --- a/docs/test_cases/t00003_class.svg +++ b/docs/test_cases/t00003_class.svg @@ -1,6 +1,6 @@ - + @@ -8,194 +8,194 @@ - - + + A - + - + public_member : int - + - + static_int : int - + - + static_const_int : int const - + - + auto_member : unsigned long const - + - + protected_member : int - + - + private_member : int - + - + a : int - + - + b : int - + - + c : int - + - + A() : void - + - + A(int i) : void - + - + A(A&& ) : void - + - + A(A const& ) : void - + - + ~A() : void - + - + basic_method() : void - + - + static_method() : int - + - + const_method() const : void - + - + auto_method() : int - + - + double_int(int const i) : int - + - + sum(double const a, double const b) : double - + - + default_int(int i = 12) : int - + - + default_string(int i, std::string s = "abc") : std::string - + - + create_from_int(int i) : A - + - + protected_method() : void - + - + private_method() : void - + - + compare : std::function<bool(int const)> diff --git a/docs/test_cases/t00004_class.svg b/docs/test_cases/t00004_class.svg index bdf964ab..744ab16c 100644 --- a/docs/test_cases/t00004_class.svg +++ b/docs/test_cases/t00004_class.svg @@ -1,6 +1,6 @@ - + @@ -8,38 +8,38 @@ - - + + A - + - + foo() const : void - + - + foo2() const : void - - + + AA - - + + Lights @@ -49,8 +49,8 @@ Red - - + + AAA diff --git a/docs/test_cases/t00005_class.svg b/docs/test_cases/t00005_class.svg index a32ed0df..c7645dbe 100644 --- a/docs/test_cases/t00005_class.svg +++ b/docs/test_cases/t00005_class.svg @@ -1,6 +1,6 @@ - + @@ -8,204 +8,204 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + R - + - + some_int : int - + - + some_int_pointer : int* - + - + some_int_pointer_pointer : int** - + - + some_int_reference : int& - + - + a : A - + - + b : B* - + - + c : C& - + - + d : D const* - + - + e : E const& - + - + f : F&& - + - + g : G** - + - + h : H*** - + - + i : I*& - + - + j : J volatile* - + - + k : K* diff --git a/docs/test_cases/t00006_class.svg b/docs/test_cases/t00006_class.svg index c8ab376b..17a9940c 100644 --- a/docs/test_cases/t00006_class.svg +++ b/docs/test_cases/t00006_class.svg @@ -1,6 +1,6 @@ - + @@ -8,136 +8,136 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + L - - + + M - - + + N - - + + NN - - + + NNN - - + + custom_container @@ -145,15 +145,15 @@ T - + - + data : std::vector<T> - + custom_container @@ -161,102 +161,102 @@ E - - + + R - + - + a : std::vector<A> - + - + b : std::vector<B*> - + - + c : std::map<int,C> - + - + d : std::map<int,D*> - + - + e : custom_container<E> - + - + f : std::vector<std::vector<F>> - + - + g : std::map<int,std::vector<G*>> - + - + h : std::array<H,10> - + - + i : std::array<I*,5> - + - + j : J[10] - + - + k : K*[20] - + - + lm : std::vector<std::pair<L,M>> - + - + ns : std::tuple<N,NN,NNN> diff --git a/docs/test_cases/t00007_class.svg b/docs/test_cases/t00007_class.svg index 78e0fea6..cd8df63d 100644 --- a/docs/test_cases/t00007_class.svg +++ b/docs/test_cases/t00007_class.svg @@ -1,6 +1,6 @@ - + @@ -8,56 +8,56 @@ - - + + A - - + + B - - + + C - - + + R - + - + a : std::unique_ptr<A> - + - + b : std::shared_ptr<B> - + - + c : std::weak_ptr<C> diff --git a/docs/test_cases/t00008_class.svg b/docs/test_cases/t00008_class.svg index a46a6904..15d5c562 100644 --- a/docs/test_cases/t00008_class.svg +++ b/docs/test_cases/t00008_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + A @@ -17,51 +17,51 @@ T,P,CMP,int N - + - + value : T - + - + pointer : T* - + - + reference : T& - + - + values : std::vector<P> - + - + ints : std::array<int,N> - + - + comparator : CMP - - + + Vector @@ -69,16 +69,16 @@ T - + - + values : std::vector<T> - - + + B @@ -86,15 +86,15 @@ T,C<> - + - + template_template : C<T> - + B @@ -102,26 +102,26 @@ int,Vector - - + + D - + - + ints : B<int,Vector> - + - + add(int i) : void diff --git a/docs/test_cases/t00009_class.svg b/docs/test_cases/t00009_class.svg index 93859842..1e144c92 100644 --- a/docs/test_cases/t00009_class.svg +++ b/docs/test_cases/t00009_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + A @@ -17,15 +17,15 @@ T - + - + value : T - + A @@ -33,7 +33,7 @@ int - + A @@ -41,7 +41,7 @@ std::string - + A @@ -49,32 +49,32 @@ std::vector<std::string> - - + + B - + - + aint : A<int> - + - + astring : A<std::string>* - + - + avector : A<std::vector<std::string>>& diff --git a/docs/test_cases/t00010_class.svg b/docs/test_cases/t00010_class.svg index cfcdf0ed..356995e2 100644 --- a/docs/test_cases/t00010_class.svg +++ b/docs/test_cases/t00010_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + A @@ -17,22 +17,22 @@ T,P - + - + first : T - + - + second : P - + A @@ -40,8 +40,8 @@ T,std::string - - + + B @@ -49,15 +49,15 @@ T - + - + astring : A<T,std::string> - + B @@ -65,18 +65,18 @@ int - - + + C - + - + aintstring : B<int> diff --git a/docs/test_cases/t00011_class.svg b/docs/test_cases/t00011_class.svg index 2fa88333..2872ba64 100644 --- a/docs/test_cases/t00011_class.svg +++ b/docs/test_cases/t00011_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + D @@ -17,49 +17,49 @@ T - + - + value : T - - + + A - + - + foo() : void - - + + B - + - + m_a : A* - + - + foo() : void diff --git a/docs/test_cases/t00012_class.svg b/docs/test_cases/t00012_class.svg index b2ef327e..c28eecbc 100644 --- a/docs/test_cases/t00012_class.svg +++ b/docs/test_cases/t00012_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + A @@ -17,23 +17,23 @@ T,Ts... - + - + value : T - + - + values : int - - + + B @@ -42,15 +42,15 @@ - + - + ints : std::array<int,sizeof...(Is)> - - + + C @@ -59,14 +59,14 @@ - + - + ints : std::array<T,sizeof...(Is)> - + A @@ -74,7 +74,7 @@ int,std::string,float - + A @@ -82,7 +82,7 @@ int,std::string,bool - + B @@ -90,7 +90,7 @@ 3,2,1 - + B @@ -98,7 +98,7 @@ 1,1,1,1 - + C @@ -106,50 +106,50 @@ std::map<int,std::vector<std::vector<std::vector<std::string>>>>,3,3,3 - - + + R - + - + a1 : A<int,std::string,float> - + - + a2 : A<int,std::string,bool> - + - + b1 : B<3,2,1> - + - + b2 : B<1,1,1,1> - + - + c1 : C<std::map<int,std::vector<std::vector<std::vector<std::string>>>>,3,3,3> - + Long template annotation diff --git a/docs/test_cases/t00013_class.svg b/docs/test_cases/t00013_class.svg index b7165695..e74b8e62 100644 --- a/docs/test_cases/t00013_class.svg +++ b/docs/test_cases/t00013_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + ABCD::F @@ -17,83 +17,83 @@ T - + - + f : T - - + + A - + - + a : int - - + + B - + - + b : int - - + + C - + - + c : int - - + + D - + - + d : int - + - + print(R* r) : void - - + + E @@ -101,15 +101,15 @@ T - + - + e : T - + E @@ -117,7 +117,7 @@ int - + F @@ -125,7 +125,7 @@ int - + E @@ -133,96 +133,96 @@ std::string - - + + R - + - + estring : E<std::string> - + - + get_a(A* a) : int - + - + get_b(B& b) : int - + - + get_const_b(B const& b) : int - + - + get_c(C c) : int - + - + get_d(D&& d) : int - + - + get_d2(D&& d) : int - + - + get_e(E<T> e) : T - + - + get_int_e(E<int> const& e) : int - + - + get_int_e2(E<int>& e) : int - + - + get_f(F<T> const& f) : T - + - + get_int_f(F<int> const& f) : int diff --git a/docs/test_cases/t00014_class.svg b/docs/test_cases/t00014_class.svg index a05d8f77..6efb1c97 100644 --- a/docs/test_cases/t00014_class.svg +++ b/docs/test_cases/t00014_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + A @@ -17,22 +17,22 @@ T,P - + - + t : T - + - + p : P - + A @@ -40,22 +40,22 @@ T,std::string - - + + B - + - + value : std::string - + A @@ -63,7 +63,7 @@ bool,std::string - + AString @@ -71,7 +71,7 @@ float - + AString @@ -79,7 +79,7 @@ int - + AString @@ -87,7 +87,7 @@ std::string - + GeneralCallback @@ -95,73 +95,73 @@ AIntString - + GeneralCallback - - + + R - + - + boolstring : A<bool,std::string> - + - + floatstring : AString<float> - + - + intstring : AIntString - + - + stringstring : AStringString - + - + bs : BVector - + - + bs2 : BVector2 - + - + cb : GeneralCallback<AIntString> - + - + vcb : VoidCallback diff --git a/docs/test_cases/t00015_class.svg b/docs/test_cases/t00015_class.svg index 325f03d6..fe9eda6d 100644 --- a/docs/test_cases/t00015_class.svg +++ b/docs/test_cases/t00015_class.svg @@ -1,6 +1,6 @@ - + @@ -8,40 +8,40 @@ - - + + ns1::A - - + + ns1::ns2_v0_9_0::A - - + + ns1::Anon - - + + ns3::ns1::ns2::Anon - - + + ns3::B diff --git a/docs/test_cases/t00016_class.svg b/docs/test_cases/t00016_class.svg index 8502578e..9c6d4fc5 100644 --- a/docs/test_cases/t00016_class.svg +++ b/docs/test_cases/t00016_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + is_numeric<> @@ -18,8 +18,8 @@ value : enum - - + + is_numeric @@ -30,8 +30,8 @@ value : enum - - + + is_numeric @@ -42,8 +42,8 @@ value : enum - - + + is_numeric @@ -54,8 +54,8 @@ value : enum - - + + is_numeric diff --git a/docs/test_cases/t00017_class.svg b/docs/test_cases/t00017_class.svg index f309334f..9c736dbd 100644 --- a/docs/test_cases/t00017_class.svg +++ b/docs/test_cases/t00017_class.svg @@ -1,6 +1,6 @@ - + @@ -8,135 +8,135 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + R - + - + some_int : int - + - + some_int_pointer : int* - + - + some_int_pointer_pointer : int** - + - + some_int_reference : int& - + - + R(int& some_int, C& cc, E const& ee, F&& ff, I*& ii) : void diff --git a/docs/test_cases/t00018_class.svg b/docs/test_cases/t00018_class.svg index 9ff4259d..0026b519 100644 --- a/docs/test_cases/t00018_class.svg +++ b/docs/test_cases/t00018_class.svg @@ -1,6 +1,6 @@ - + @@ -8,118 +8,118 @@ - - + + impl::widget - + - + n : int - + - + draw(widget const& w) const : void - + - + draw(widget const& w) : void - + - + widget(int n) : void - - + + widget - + - + pImpl : std::unique_ptr<impl::widget> - + - + draw() const : void - + - + draw() : void - + - + shown() const : bool - + - + widget(int ) : void - + - + ~widget() : void - + - + widget(widget&& ) : void - + - + widget(widget const& ) : void - + - + operator=(widget&& ) : widget& - + - + operator=(widget const& ) : widget& diff --git a/docs/test_cases/t00019_class.svg b/docs/test_cases/t00019_class.svg index a1da2974..7f0a608c 100644 --- a/docs/test_cases/t00019_class.svg +++ b/docs/test_cases/t00019_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + Layer2 @@ -18,51 +18,51 @@ - + - + all_calls_count() const : int - - + + Base - + - + Base() : void - + - + ~Base() : void - + - + m1() : int - + - + m2() : std::string - - + + Layer1 @@ -71,22 +71,22 @@ - + - + m1() : int - + - + m2() : std::string - - + + Layer3 @@ -94,50 +94,50 @@ LowerLayer - + - + m_m1_calls : int - + - + m_m2_calls : int - + - + m1() : int - + - + m2() : std::string - + - + m1_calls() const : int - + - + m2_calls() const : int - + Layer3 @@ -145,7 +145,7 @@ Base - + Layer2 @@ -153,7 +153,7 @@ Layer3<Base> - + Layer1 @@ -161,18 +161,18 @@ Layer2<Layer3<Base>> - - + + A - + - + layers : std::unique_ptr<Layer1<Layer2<Layer3<Base>>>> diff --git a/docs/test_cases/t00020.md b/docs/test_cases/t00020.md index c5e36555..ac39d129 100644 --- a/docs/test_cases/t00020.md +++ b/docs/test_cases/t00020.md @@ -17,8 +17,8 @@ diagrams: after: - '@A(ProductA1) <.. @A(Factory1)' - '@A(ProductB1) <.. @A(Factory1)' - - '@A(ProductA2) <.. @A(Factory2)' - - '@A(ProductB2) <.. @A(Factory2)' + - '{{ alias("ProductA2") }} <.. {{ alias("Factory2") }}' + - '{{ alias("ProductB2") }} <.. {{ alias("Factory2") }}' ``` ## Source code diff --git a/docs/test_cases/t00020_class.svg b/docs/test_cases/t00020_class.svg index a6338e28..53d028cb 100644 --- a/docs/test_cases/t00020_class.svg +++ b/docs/test_cases/t00020_class.svg @@ -1,6 +1,6 @@ - + @@ -8,174 +8,174 @@ - - + + ProductA - + - + ~ProductA() : void - + - + sell(int price) const = 0 : bool - - + + ProductA1 - + - + sell(int price) const : bool - - + + ProductA2 - + - + sell(int price) const : bool - - + + ProductB - + - + ~ProductB() : void - + - + buy(int price) const = 0 : bool - - + + ProductB1 - + - + buy(int price) const : bool - - + + ProductB2 - + - + buy(int price) const : bool - - + + AbstractFactory - + - + make_a() const = 0 : std::unique_ptr<ProductA> - + - + make_b() const = 0 : std::unique_ptr<ProductB> - - + + Factory1 - + - + make_a() const : std::unique_ptr<ProductA> - + - + make_b() const : std::unique_ptr<ProductB> - - + + Factory2 - + - + make_a() const : std::unique_ptr<ProductA> - + - + make_b() const : std::unique_ptr<ProductB> diff --git a/docs/test_cases/t00021_class.svg b/docs/test_cases/t00021_class.svg index b3465973..4f9e4d1f 100644 --- a/docs/test_cases/t00021_class.svg +++ b/docs/test_cases/t00021_class.svg @@ -1,6 +1,6 @@ - + @@ -8,151 +8,151 @@ - - + + Visitor - + - + ~Visitor() : void - + - + visit_A(A const& item) const = 0 : void - + - + visit_B(B const& item) const = 0 : void - - + + Visitor1 - + - + visit_A(A const& item) const : void - + - + visit_B(B const& item) const : void - - + + Visitor2 - + - + visit_A(A const& item) const : void - + - + visit_B(B const& item) const : void - - + + Visitor3 - + - + visit_A(A const& item) const : void - + - + visit_B(B const& item) const : void - - + + Item - + - + ~Item() : void - + - + accept(Visitor const& visitor) const = 0 : void - - + + A - + - + accept(Visitor const& visitor) const : void - - + + B - + - + accept(Visitor const& visitor) const : void diff --git a/docs/test_cases/t00022_class.svg b/docs/test_cases/t00022_class.svg index b7e52bdf..fe0c156b 100644 --- a/docs/test_cases/t00022_class.svg +++ b/docs/test_cases/t00022_class.svg @@ -1,6 +1,6 @@ - + @@ -8,77 +8,77 @@ - - + + A - + - + template_method() : void - + - + method1() = 0 : void - + - + method2() = 0 : void - - + + A1 - + - + method1() : void - + - + method2() : void - - + + A2 - + - + method1() : void - + - + method2() : void diff --git a/docs/test_cases/t00023_class.svg b/docs/test_cases/t00023_class.svg index 08370a62..e0f74bce 100644 --- a/docs/test_cases/t00023_class.svg +++ b/docs/test_cases/t00023_class.svg @@ -1,6 +1,6 @@ - + @@ -8,100 +8,100 @@ - - + + Strategy - + - + ~Strategy() : void - + - + algorithm() = 0 : void - - + + StrategyA - + - + algorithm() : void - - + + StrategyB - + - + algorithm() : void - - + + StrategyC - + - + algorithm() : void - - + + Context - + - + m_strategy : std::unique_ptr<Strategy> - + - + Context(std::unique_ptr<Strategy> strategy) : void - + - + apply() : void diff --git a/docs/test_cases/t00024_class.svg b/docs/test_cases/t00024_class.svg index 711f4757..530eddfa 100644 --- a/docs/test_cases/t00024_class.svg +++ b/docs/test_cases/t00024_class.svg @@ -1,6 +1,6 @@ - + @@ -8,113 +8,113 @@ - - + + Target - + - + ~Target() : void - + - + m1() = 0 : void - + - + m2() = 0 : void - - + + Target1 - + - + m1() : void - + - + m2() : void - - + + Target2 - + - + m1() : void - + - + m2() : void - - + + Proxy - + - + m_target : std::shared_ptr<Target> - + - + Proxy(std::shared_ptr<Target> target) : void - + - + m1() : void - + - + m2() : void diff --git a/docs/test_cases/t00025_class.svg b/docs/test_cases/t00025_class.svg index 9fff0ba2..8ec44b8d 100644 --- a/docs/test_cases/t00025_class.svg +++ b/docs/test_cases/t00025_class.svg @@ -1,6 +1,6 @@ - + @@ -8,52 +8,52 @@ - - + + Target1 - + - + m1() : void - + - + m2() : void - - + + Target2 - + - + m1() : void - + - + m2() : void - - + + Proxy @@ -61,36 +61,36 @@ T - + - + m_target : std::shared_ptr<T> - + - + Proxy(std::shared_ptr<T> target) : void - + - + m1() : void - + - + m2() : void - + Proxy @@ -98,7 +98,7 @@ Target1 - + Proxy @@ -106,25 +106,25 @@ Target2 - - + + ProxyHolder - + - + proxy1 : Proxy<Target1> - + - + proxy2 : Proxy<Target2> diff --git a/docs/test_cases/t00026_class.svg b/docs/test_cases/t00026_class.svg index a276d7a0..f21f1cbb 100644 --- a/docs/test_cases/t00026_class.svg +++ b/docs/test_cases/t00026_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + Memento @@ -17,30 +17,30 @@ T - + - + m_value : T - + - + Memento(T&& v) : void - + - + value() const : T - - + + Originator @@ -48,51 +48,51 @@ T - + - + m_value : T - + - + Originator(T&& v) : void - + - + memoize_value() const : Memento<T> - + - + load(Memento<T> const& m) : void - + - + print() const : void - + - + set(T&& v) : void - - + + Caretaker @@ -100,29 +100,29 @@ T - + - + m_mementos : std::unordered_map<std::string,Memento<T>> - + - + state(std::string const& n) : Memento<T>& - + - + set_state(std::string const& s, Memento<T>&& m) : void - + Caretaker @@ -130,7 +130,7 @@ std::string - + Originator @@ -138,25 +138,25 @@ std::string - - + + StringMemento - + - + caretaker : Caretaker<std::string> - + - + originator : Originator<std::string> diff --git a/docs/test_cases/t00027_class.svg b/docs/test_cases/t00027_class.svg index 86201965..0bdc0f16 100644 --- a/docs/test_cases/t00027_class.svg +++ b/docs/test_cases/t00027_class.svg @@ -1,6 +1,6 @@ - + @@ -8,30 +8,30 @@ - - + + Shape - + - + display() = 0 : void - + - + ~Shape() : void - - + + Line @@ -40,15 +40,15 @@ - + - + display() : void - - + + Text @@ -57,30 +57,30 @@ - + - + display() : void - - + + ShapeDecorator - + - + display() = 0 : void - - + + Color @@ -89,15 +89,15 @@ - + - + display() : void - - + + Weight @@ -106,14 +106,14 @@ - + - + display() : void - + Line @@ -121,7 +121,7 @@ Color,Weight - + Line @@ -129,7 +129,7 @@ Color - + Text @@ -137,7 +137,7 @@ Color,Weight - + Text @@ -145,39 +145,39 @@ Color - - + + Window - + - + border : Line<Color,Weight> - + - + divider : Line<Color> - + - + title : Text<Color,Weight> - + - + description : Text<Color> diff --git a/docs/test_cases/t00028_class.svg b/docs/test_cases/t00028_class.svg index 2f349d7a..a46c146e 100644 --- a/docs/test_cases/t00028_class.svg +++ b/docs/test_cases/t00028_class.svg @@ -1,6 +1,6 @@ - + @@ -8,68 +8,68 @@ - - + + A - + A class note. - + A class note. - - + + B - + B class note. - + B class note. - - + + C - + C class note. - + C class note. - - + + D - + D class note. - + D class note. - - + + E @@ -77,27 +77,27 @@ T - + - + param : T - + E template class note. - - + + G - - + + F @@ -107,13 +107,13 @@ three - + F enum note. - + F enum note. - + E @@ -121,67 +121,67 @@ int - - + + R - + - + aaa : A - + - + bbb : B* - + - + ccc : C& - + - + ddd : std::vector<std::shared_ptr<D>> - + - + eee : E<int> - + - + ggg : G** - + - + R(C& c) : void - + R class note. - + R class note. diff --git a/docs/test_cases/t00029_class.svg b/docs/test_cases/t00029_class.svg index c25f6874..4cd06884 100644 --- a/docs/test_cases/t00029_class.svg +++ b/docs/test_cases/t00029_class.svg @@ -1,6 +1,6 @@ - + @@ -8,16 +8,16 @@ - - + + A - - + + C @@ -25,16 +25,16 @@ T - + - + param : T - - + + E @@ -44,64 +44,64 @@ three - - + + G1 - - + + G2 - - + + G3 - - + + G4 - - + + R - + - + g1 : G1 - + - + g3 : G3& - + - + g4 : std::shared_ptr<G4> diff --git a/docs/test_cases/t00030_class.svg b/docs/test_cases/t00030_class.svg index 3fcf8cf9..cb4b0d2e 100644 --- a/docs/test_cases/t00030_class.svg +++ b/docs/test_cases/t00030_class.svg @@ -1,6 +1,6 @@ - + @@ -8,71 +8,71 @@ - - + + A - - + + B - - + + C - - + + D - - + + R - + - + aaa : A - + - + bbb : std::vector<B> - + - + ccc : std::vector<C> - + - + ddd : D diff --git a/docs/test_cases/t00031_class.svg b/docs/test_cases/t00031_class.svg index 8ac20917..ceba61a7 100644 --- a/docs/test_cases/t00031_class.svg +++ b/docs/test_cases/t00031_class.svg @@ -1,32 +1,32 @@ - + - + - + - - - + + + A - - + + B @@ -36,8 +36,8 @@ three - - + + @@ -46,23 +46,23 @@ T - + - + ttt : T - - + + D - + C @@ -70,39 +70,39 @@ int - - + + R - + - + aaa : A* - + - + bbb : std::vector<B> - + - + ccc : C<int> - + - + ddd : D* diff --git a/docs/test_cases/t00032_class.svg b/docs/test_cases/t00032_class.svg index 8028e310..7f78d0c5 100644 --- a/docs/test_cases/t00032_class.svg +++ b/docs/test_cases/t00032_class.svg @@ -1,6 +1,6 @@ - + @@ -8,69 +8,69 @@ - - + + Base - - + + TBase - - + + A - + - + operator()() : void - - + + B - + - + operator()() : void - - + + C - + - + operator()() : void - - + + Overload @@ -78,15 +78,15 @@ T,L,Ts... - + - + counter : L - + Overload @@ -94,18 +94,18 @@ TBase,int,A,B,C - - + + R - + - + overload : Overload<TBase,int,A,B,C> diff --git a/docs/test_cases/t00033_class.svg b/docs/test_cases/t00033_class.svg index d2f4736d..083403ba 100644 --- a/docs/test_cases/t00033_class.svg +++ b/docs/test_cases/t00033_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + A @@ -17,16 +17,16 @@ T - + - + aaa : T - - + + B @@ -34,16 +34,16 @@ T - + - + bbb : T - - + + C @@ -51,30 +51,30 @@ T - + - + ccc : T - - + + D - + - + ddd : int - + C @@ -82,7 +82,7 @@ D - + B @@ -90,7 +90,7 @@ std::unique_ptr<C<D>> - + A @@ -98,18 +98,18 @@ B<std::unique_ptr<C<D>>> - - + + R - + - + abc : A<B<std::unique_ptr<C<D>>>> diff --git a/docs/test_cases/t00034_class.svg b/docs/test_cases/t00034_class.svg index 84854387..5a126006 100644 --- a/docs/test_cases/t00034_class.svg +++ b/docs/test_cases/t00034_class.svg @@ -1,6 +1,6 @@ - + @@ -8,30 +8,30 @@ - - + + Void - + - + operator==(Void const& ) const : bool - + - + operator!=(Void const& ) const : bool - - + + lift_void @@ -40,8 +40,8 @@ - - + + lift_void @@ -50,8 +50,8 @@ - - + + drop_void @@ -60,8 +60,8 @@ - - + + drop_void @@ -70,33 +70,33 @@ - - + + A - - + + R - + - + la : lift_void_t<A>* - + - + lv : lift_void_t<void>* diff --git a/docs/test_cases/t00035_class.svg b/docs/test_cases/t00035_class.svg index b4d3e3a9..f0937dde 100644 --- a/docs/test_cases/t00035_class.svg +++ b/docs/test_cases/t00035_class.svg @@ -1,6 +1,6 @@ - + @@ -8,40 +8,40 @@ - - + + Top - - + + Left - - + + Center - - + + Bottom - - + + Right diff --git a/docs/test_cases/t00036_class.svg b/docs/test_cases/t00036_class.svg index cbb88c90..57782899 100644 --- a/docs/test_cases/t00036_class.svg +++ b/docs/test_cases/t00036_class.svg @@ -1,6 +1,6 @@ - + @@ -8,23 +8,23 @@ - + ns1 - + ns11 - + ns111 - + ns2 - + ns22 - - + + E @@ -33,8 +33,8 @@ yellow - - + + A @@ -42,15 +42,15 @@ T - + - + a : T - + A @@ -58,23 +58,23 @@ int - - + + B - + - + a_int : A<int> - - + + C diff --git a/docs/test_cases/t00037_class.svg b/docs/test_cases/t00037_class.svg index 7faad7c4..d2dddc84 100644 --- a/docs/test_cases/t00037_class.svg +++ b/docs/test_cases/t00037_class.svg @@ -1,6 +1,6 @@ - + @@ -8,77 +8,77 @@ - - + + ST - + - + dimensions : «anonymous» - - + + <<anonymous>> - + - + t : double - + - + x : double - + - + y : double - + - + z : double - - + + A - + - + st : ST - + - + A() : void diff --git a/docs/test_cases/t00038_class.svg b/docs/test_cases/t00038_class.svg index d3d4fff1..ed083346 100644 --- a/docs/test_cases/t00038_class.svg +++ b/docs/test_cases/t00038_class.svg @@ -1,6 +1,6 @@ - + @@ -8,8 +8,8 @@ - - + + thirdparty::ns1::color_t @@ -19,16 +19,16 @@ blue - - + + thirdparty::ns1::E - - + + property_t @@ -38,47 +38,47 @@ property_c - - + + A - - + + B - - + + C - - + + key_t - + - + key : std::string - - + + map @@ -87,8 +87,8 @@ - - + + map @@ -97,8 +97,8 @@ - - + + map @@ -107,8 +107,8 @@ - - + + map @@ -117,8 +117,8 @@ - - + + map diff --git a/docs/test_cases/t30001.md b/docs/test_cases/t30001.md index 929c72f6..531e6265 100644 --- a/docs/test_cases/t30001.md +++ b/docs/test_cases/t30001.md @@ -20,7 +20,7 @@ diagrams: before: - "' t30001 test package diagram" after: - - "note right of @A(A::AA::AAA): A AAA note..." + - 'note right of {{ alias("A::AA::AAA") }}: A AAA note...' ``` ## Source code File t30001.cc diff --git a/docs/test_cases/t30001_package.svg b/docs/test_cases/t30001_package.svg index 0ed4b719..94383a86 100644 --- a/docs/test_cases/t30001_package.svg +++ b/docs/test_cases/t30001_package.svg @@ -1,6 +1,6 @@ - + @@ -8,37 +8,57 @@ - - - A - - - AA - - - B - - - AA - - - AAA - - - BBB - - - BB - - - AAA - - - BBB - - - BB - + + + + A + + + + + AA + + + + + B + + + + + AA + + + + + AAA + + + + + BBB + + + + + BB + + + + + AAA + + + + + BBB + + + + + BB + + A AAA note... diff --git a/docs/test_cases/t30002_package.svg b/docs/test_cases/t30002_package.svg index 7eefba6b..ae5fa916 100644 --- a/docs/test_cases/t30002_package.svg +++ b/docs/test_cases/t30002_package.svg @@ -1,6 +1,6 @@ - + @@ -8,60 +8,96 @@ - - - A - - - AA - - - B - - - BB - - - A1 - - - A2 - - - A3 - - - A4 - - - A5 - - - A6 - - - A7 - - - A8 - - - A9 - - - A10 - - - A11 - - - A12 - - - A13 - - - BBB + + + + A + + + + + AA + + + + + B + + + + + BB + + + + + A1 + + + + + A2 + + + + + A3 + + + + + A4 + + + + + A5 + + + + + A6 + + + + + A7 + + + + + A8 + + + + + A9 + + + + + A10 + + + + + A11 + + + + + A12 + + + + + A13 + + + + + BBB + diff --git a/docs/test_cases/t30003_package.svg b/docs/test_cases/t30003_package.svg index 62d4b5b3..5997775a 100644 --- a/docs/test_cases/t30003_package.svg +++ b/docs/test_cases/t30003_package.svg @@ -1,6 +1,6 @@ - + @@ -8,26 +8,38 @@ - - - ns1 - - - ns3 - «deprecated» - - - ns1 - - - ns2_v1_0_0 - - - ns2_v0_9_0 - «deprecated» - - - ns2 + + + + ns1 + + + + + ns3 + «deprecated» + + + + + ns1 + + + + + ns2_v1_0_0 + + + + + ns2_v0_9_0 + «deprecated» + + + + + ns2 + diff --git a/docs/test_cases/t30004_package.svg b/docs/test_cases/t30004_package.svg index 30bb4f79..8fe51741 100644 --- a/docs/test_cases/t30004_package.svg +++ b/docs/test_cases/t30004_package.svg @@ -1,6 +1,6 @@ - + @@ -8,36 +8,46 @@ - - - A - + + + + A + + Package AAA. - + Package BBB. - + CCCC package note. - + Another CCC note. - + We skipped DDD. - - - AAA - - - BBB - - - CCC - - - EEE + + + + AAA + + + + + BBB + + + + + CCC + + + + + EEE + diff --git a/docs/test_cases/t30005_package.svg b/docs/test_cases/t30005_package.svg index c84f1cd8..21c5dacd 100644 --- a/docs/test_cases/t30005_package.svg +++ b/docs/test_cases/t30005_package.svg @@ -1,6 +1,6 @@ - + @@ -8,33 +8,51 @@ - - - A - - - AA - - - B - - - BB - - - C - - - CC - - - AAA - - - BBB - - - CCC + + + + A + + + + + AA + + + + + B + + + + + BB + + + + + C + + + + + CC + + + + + AAA + + + + + BBB + + + + + CCC + diff --git a/docs/test_cases/t30006_package.svg b/docs/test_cases/t30006_package.svg index 8ea18eea..b0b5cd09 100644 --- a/docs/test_cases/t30006_package.svg +++ b/docs/test_cases/t30006_package.svg @@ -1,6 +1,6 @@ - + @@ -8,19 +8,25 @@ - - - B - - - A - - - C - + + + + B + + + + + A + + + + + C + + Top A note. - + Bottom A note. diff --git a/docs/test_cases/t30007_package.svg b/docs/test_cases/t30007_package.svg index 3d42f821..29f44063 100644 --- a/docs/test_cases/t30007_package.svg +++ b/docs/test_cases/t30007_package.svg @@ -1,6 +1,6 @@ - + @@ -8,22 +8,30 @@ - - - A - - - B - - - AA - - - C - + + + + A + + + + + B + + + + + AA + + + + + C + + Compare layout with t30006. - + Bottom A note.