From 68818755e582fe70180ac15b0561a973a8cb4c5c Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Mon, 5 Sep 2022 23:45:53 +0200 Subject: [PATCH] Updated test cases documentation --- docs/test_cases.md | 1 + docs/test_cases/t00002_class.svg | 36 +-- docs/test_cases/t00003_class.svg | 52 ++-- docs/test_cases/t00004_class.svg | 26 +- docs/test_cases/t00005_class.svg | 110 ++++---- docs/test_cases/t00006_class.svg | 132 +++++----- docs/test_cases/t00007_class.svg | 30 +-- docs/test_cases/t00008_class.svg | 56 ++-- docs/test_cases/t00009_class.svg | 32 +-- docs/test_cases/t00010_class.svg | 34 +-- docs/test_cases/t00011_class.svg | 22 +- docs/test_cases/t00012_class.svg | 66 ++--- docs/test_cases/t00013_class.svg | 400 ++++++++++++++--------------- docs/test_cases/t00014_class.svg | 116 ++++----- docs/test_cases/t00015_class.svg | 22 +- docs/test_cases/t00016_class.svg | 26 +- docs/test_cases/t00017_class.svg | 106 ++++---- docs/test_cases/t00018_class.svg | 80 +++--- docs/test_cases/t00019_class.svg | 40 +-- docs/test_cases/t00020_class.svg | 224 ++++++++-------- docs/test_cases/t00021_class.svg | 216 ++++++++-------- docs/test_cases/t00022_class.svg | 14 +- docs/test_cases/t00023_class.svg | 26 +- docs/test_cases/t00024_class.svg | 22 +- docs/test_cases/t00025_class.svg | 34 +-- docs/test_cases/t00026_class.svg | 42 +-- docs/test_cases/t00027_class.svg | 58 ++--- docs/test_cases/t00028_class.svg | 80 +++--- docs/test_cases/t00029_class.svg | 50 ++-- docs/test_cases/t00030_class.svg | 46 ++-- docs/test_cases/t00031_class.svg | 50 ++-- docs/test_cases/t00032_class.svg | 40 +-- docs/test_cases/t00033_class.svg | 48 ++-- docs/test_cases/t00034_class.svg | 174 ++++++------- docs/test_cases/t00035_class.svg | 22 +- docs/test_cases/t00036_class.svg | 38 +-- docs/test_cases/t00037_class.svg | 54 ++-- docs/test_cases/t00038_class.svg | 54 ++-- docs/test_cases/t00039_class.svg | 78 +++--- docs/test_cases/t00040_class.svg | 42 +-- docs/test_cases/t00041_class.svg | 50 ++-- docs/test_cases/t00042_class.svg | 36 +-- docs/test_cases/t00043_class.svg | 246 +++++++++--------- docs/test_cases/t00044_class.svg | 118 ++++----- docs/test_cases/t00045_class.svg | 70 ++--- docs/test_cases/t00046_class.svg | 64 ++--- docs/test_cases/t00047_class.svg | 18 +- docs/test_cases/t00048_class.svg | 50 ++-- docs/test_cases/t00049.md | 48 ++++ docs/test_cases/t00049_class.svg | 109 ++++++++ docs/test_cases/t30001_package.svg | 54 ++-- docs/test_cases/t30002_package.svg | 90 +++---- docs/test_cases/t30003_package.svg | 26 +- docs/test_cases/t30004_package.svg | 38 +-- docs/test_cases/t30005_package.svg | 38 +-- docs/test_cases/t30006_package.svg | 18 +- docs/test_cases/t30007_package.svg | 22 +- docs/test_cases/t30008_package.svg | 34 +-- docs/test_cases/t40001_include.svg | 34 +-- docs/test_cases/t40002_include.svg | 34 +-- docs/test_cases/t40003_include.svg | 50 ++-- 61 files changed, 2102 insertions(+), 1944 deletions(-) create mode 100644 docs/test_cases/t00049.md create mode 100644 docs/test_cases/t00049_class.svg diff --git a/docs/test_cases.md b/docs/test_cases.md index 6873d76e..ab2ad51c 100644 --- a/docs/test_cases.md +++ b/docs/test_cases.md @@ -47,6 +47,7 @@ * [t00046](./test_cases/t00046.md) - Test case for root namespace handling with packages * [t00047](./test_cases/t00047.md) - Test case for recursive variadic template * [t00048](./test_cases/t00048.md) - Test case for unique entity id with multiple translation units + * [t00049](./test_cases/t00049.md) - Test case configurable type aliases ## Sequence diagrams * [t20001](./test_cases/t20001.md) - Basic sequence diagram test case * [t20002](./test_cases/t20002.md) - Free function sequence diagram test case diff --git a/docs/test_cases/t00002_class.svg b/docs/test_cases/t00002_class.svg index 564ed9e5..8cc32418 100644 --- a/docs/test_cases/t00002_class.svg +++ b/docs/test_cases/t00002_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -21,8 +21,8 @@ foo_c() = 0 : void - - + + B @@ -31,8 +31,8 @@ foo_a() : void - - + + C @@ -41,18 +41,18 @@ foo_c() : void - - + + D - + - + as : std::vector<A *> @@ -60,18 +60,18 @@ foo_a() : void foo_c() : void - - + + E - + - + as : std::vector<A *> @@ -79,13 +79,13 @@ foo_a() : void foo_c() : void - + This is class A - + This is class B - + This is class D which is a little like B diff --git a/docs/test_cases/t00003_class.svg b/docs/test_cases/t00003_class.svg index ab3ce567..872bf090 100644 --- a/docs/test_cases/t00003_class.svg +++ b/docs/test_cases/t00003_class.svg @@ -1,6 +1,6 @@ - + @@ -9,74 +9,74 @@ - - + + A - + - + public_member : int - + - + protected_member : int - + - + private_member : int - + - + a_ : int - + - + b_ : int - + - + c_ : int - + - + static_int : int - + - + static_const_int : const int - + - + auto_member : const unsigned long @@ -85,9 +85,9 @@ A(int i) : void - A(class A && ) = default : void + A(A && ) = default : void - A(const class A & ) = default : void + A(const A & ) = default : void ~A() = default : void @@ -107,16 +107,16 @@ default_string(int i, std::string s = "abc") : std::string - create_from_int(int i) : class A + create_from_int(int i) : A protected_method() : void private_method() : void - + - + compare : std::function<bool (const int)> diff --git a/docs/test_cases/t00004_class.svg b/docs/test_cases/t00004_class.svg index e26f58f3..76d66973 100644 --- a/docs/test_cases/t00004_class.svg +++ b/docs/test_cases/t00004_class.svg @@ -1,6 +1,6 @@ - + @@ -9,16 +9,16 @@ - - + + B - - + + B::AA @@ -28,8 +28,8 @@ AA_3 - - + + A @@ -40,16 +40,16 @@ foo2() const : void - - + + A::AA - - + + A::AA::Lights @@ -59,8 +59,8 @@ Red - - + + A::AA::AAA diff --git a/docs/test_cases/t00005_class.svg b/docs/test_cases/t00005_class.svg index 11eb253d..d6f3e662 100644 --- a/docs/test_cases/t00005_class.svg +++ b/docs/test_cases/t00005_class.svg @@ -1,6 +1,6 @@ - + @@ -9,204 +9,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 : const D * - + - + e : const E & - + - + f : F && - + - + g : G ** - + - + h : H *** - + - + i : I *& - + - + j : volatile J * - + - + k : K * diff --git a/docs/test_cases/t00006_class.svg b/docs/test_cases/t00006_class.svg index b5d67dad..d97e506f 100644 --- a/docs/test_cases/t00006_class.svg +++ b/docs/test_cases/t00006_class.svg @@ -1,6 +1,6 @@ - + @@ -9,136 +9,136 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + L - - + + M - - + + N - - + + NN - - + + NNN - - + + custom_container @@ -146,15 +146,15 @@ T - + - + data : std::vector<T> - + custom_container @@ -162,102 +162,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 fc368da2..9f2ca740 100644 --- a/docs/test_cases/t00007_class.svg +++ b/docs/test_cases/t00007_class.svg @@ -1,6 +1,6 @@ - + @@ -9,56 +9,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 ae2846f9..c07453f5 100644 --- a/docs/test_cases/t00008_class.svg +++ b/docs/test_cases/t00008_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,51 +18,51 @@ T,P,CMP,int N - + - + value : T - + - + pointer : T * - + - + reference : T & - + - + values : std::vector<P> - + - + ints : std::array<int,N> - + - + comparator : CMP - - + + Vector @@ -70,16 +70,16 @@ T - + - + values : std::vector<T> - - + + B @@ -87,15 +87,15 @@ T,C<> - + - + template_template : C<T> - + B @@ -103,18 +103,18 @@ int,Vector - - + + D - + - + ints : B<int,Vector> diff --git a/docs/test_cases/t00009_class.svg b/docs/test_cases/t00009_class.svg index 6a10cd08..5a3a9260 100644 --- a/docs/test_cases/t00009_class.svg +++ b/docs/test_cases/t00009_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,15 +18,15 @@ T - + - + value : T - + A @@ -34,7 +34,7 @@ int - + A @@ -42,7 +42,7 @@ std::string - + A @@ -50,32 +50,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 c56e7709..c533d05a 100644 --- a/docs/test_cases/t00010_class.svg +++ b/docs/test_cases/t00010_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,22 +18,22 @@ T,P - + - + first : T - + - + second : P - + A @@ -41,8 +41,8 @@ T,std::string - - + + B @@ -50,15 +50,15 @@ T - + - + astring : A<T,std::string> - + B @@ -66,18 +66,18 @@ int - - + + C - + - + aintstring : B<int> diff --git a/docs/test_cases/t00011_class.svg b/docs/test_cases/t00011_class.svg index 28078b40..6ed7e2dc 100644 --- a/docs/test_cases/t00011_class.svg +++ b/docs/test_cases/t00011_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + D @@ -18,16 +18,16 @@ T - + - + value : T - - + + A @@ -36,18 +36,18 @@ foo() : void - - + + B - + - + m_a : A * diff --git a/docs/test_cases/t00012_class.svg b/docs/test_cases/t00012_class.svg index 50fefec0..5147fd92 100644 --- a/docs/test_cases/t00012_class.svg +++ b/docs/test_cases/t00012_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,23 +18,23 @@ T,Ts... - + - + value : T - + - + values : std::variant<Ts...> - - + + B @@ -43,15 +43,15 @@ - + - + ints : std::array<int,sizeof...(Is)> - - + + C @@ -60,14 +60,14 @@ - + - + ints : std::array<T,sizeof...(Is)> - + A @@ -75,7 +75,7 @@ int,std::string,float - + A @@ -83,7 +83,7 @@ int,std::string,bool - + B @@ -91,7 +91,7 @@ 3,2,1 - + B @@ -99,7 +99,7 @@ 1,1,1,1 - + C @@ -107,50 +107,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 9b3e5215..4162019e 100644 --- a/docs/test_cases/t00013_class.svg +++ b/docs/test_cases/t00013_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,235 +9,235 @@ - - - - - ABCD::F - - T - + + + + + ABCD::F + + T + - - - + + + - - f : T + + f : T - - - - - ABCD::F - - int - - - - - - - A - + + + + + ABCD::F + + int + + + + + + + A + - - - + + + - - a : int + + a : int - - - - - - B - + + + + + + B + - - - + + + - - b : int + + b : int - - - - - - C - + + + + + + C + - - - + + + - - c : int + + c : int - - - - - - D - + + + + + + D + - + - + d : int - + - print(class R * r) : void - - - - - E - - T - + print(R * r) : void + + + + + E + + T + - - - + + + - - e : T + + e : T - - - - - - G - - T,Args... - + + + + + + G + + T,Args... + - - - + + + - - g : T + + g : T - - - + + + - - args : std::tuple<Args...> + + args : std::tuple<Args...> - - - - - E - - int - - - - - - G - - int,float,std::string - - - - - - E - - std::string - - - - - - - R - + + + + + E + + int + + + + + + G + + int,float,std::string + + + + + + E + + std::string + + + + + + + R + - - - + + + - - gintstring : G<int,float,std::string> + + gintstring : G<int,float,std::string> - - - + + + - - estring : E<std::string> + + estring : E<std::string> - - - get_a(struct A * a) : int - - get_b(struct B & b) : int - - get_const_b(const struct B & b) : int - - get_c(struct C c) : int - - get_d(struct D && d) : int - - get_d2(struct D && d) : int - - get_int_e(const E<int> & e) : int - - get_int_e2(E<int> & e) : int - - get_int_f(const F<int> & f) : int - - get_e(E<T> e) : T - - get_f(const F<T> & f) : T - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gintstring - - - - estring + + + get_a(A * a) : int + + get_b(B & b) : int + + get_const_b(const B & b) : int + + get_c(C c) : int + + get_d(D && d) : int + + get_d2(D && d) : int + + get_int_e(const E<int> & e) : int + + get_int_e2(E<int> & e) : int + + get_int_f(const ABCD::F<int> & f) : int + + get_e(E<T> e) : T + + get_f(const F<T> & f) : T + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gintstring + + + + estring diff --git a/docs/test_cases/t00014_class.svg b/docs/test_cases/t00014_class.svg index 99a1d653..7f1b9389 100644 --- a/docs/test_cases/t00014_class.svg +++ b/docs/test_cases/t00014_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,37 +18,37 @@ T,P - + - + t : T - + - + p : P - - + + B - + - + value : std::string - + A @@ -56,7 +56,7 @@ T,std::string - + A @@ -64,7 +64,7 @@ T,std::unique_ptr<std::string> - + A @@ -72,7 +72,7 @@ long,T - + A @@ -80,7 +80,7 @@ double,T - + A @@ -88,7 +88,7 @@ long,U - + A @@ -96,7 +96,7 @@ long,bool - + A @@ -104,7 +104,7 @@ double,bool - + A @@ -112,7 +112,7 @@ long,float - + A @@ -120,7 +120,7 @@ double,float - + A @@ -128,7 +128,7 @@ bool,std::string - + A @@ -136,7 +136,7 @@ float,std::unique_ptr<std::string> - + A @@ -144,7 +144,7 @@ int,std::string - + A @@ -152,7 +152,7 @@ std::string,std::string - + A @@ -160,7 +160,7 @@ char,std::string - + A @@ -168,116 +168,116 @@ wchar_t,std::string - - + + R - + - + bapair : PairPairBA<bool> - + - + abool : APtr<bool> - + - + aboolfloat : AAPtr<bool,float> - + - + afloat : ASharedPtr<float> - + - + boolstring : A<bool,std::string> - + - + floatstring : AStringPtr<float> - + - + intstring : AIntString - + - + stringstring : AStringString - + - + bstringstring : BStringString - + - + bs : BVector - + - + bs2 : BVector2 - + - + cb : SimpleCallback<ACharString> - + - + gcb : GenericCallback<R::AWCharString> - + - + vcb : VoidCallback - + - + vps : VectorPtr<B> diff --git a/docs/test_cases/t00015_class.svg b/docs/test_cases/t00015_class.svg index 64f7914d..d7a202e0 100644 --- a/docs/test_cases/t00015_class.svg +++ b/docs/test_cases/t00015_class.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,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 251715e7..856f10e8 100644 --- a/docs/test_cases/t00016_class.svg +++ b/docs/test_cases/t00016_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + is_numeric<> @@ -19,8 +19,8 @@ value : enum - - + + is_numeric @@ -31,8 +31,8 @@ value : enum - - + + is_numeric @@ -43,8 +43,8 @@ value : enum - - + + is_numeric @@ -55,8 +55,8 @@ value : enum - - + + is_numeric @@ -67,8 +67,8 @@ value : enum - - + + is_numeric diff --git a/docs/test_cases/t00017_class.svg b/docs/test_cases/t00017_class.svg index ad1729e0..1b2aeddc 100644 --- a/docs/test_cases/t00017_class.svg +++ b/docs/test_cases/t00017_class.svg @@ -1,6 +1,6 @@ - + @@ -9,133 +9,133 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + R - + - - - + + + - - some_int : int + + some_int : int - - - + + + - - some_int_pointer : int * + + some_int_pointer : int * - - - + + + - - some_int_pointer_pointer : int ** + + some_int_pointer_pointer : int ** - - - + + + - - some_int_reference : int & + + some_int_reference : int & - - - R(int & some_int, class C & cc, const class E & ee, class F && ff, class I *& ii) : void - + + + R(int & some_int, C & cc, const E & ee, F && ff, I *& ii) : void + @@ -155,10 +155,10 @@ -i - - + + -a - + -b diff --git a/docs/test_cases/t00018_class.svg b/docs/test_cases/t00018_class.svg index 6ff9966f..dc062449 100644 --- a/docs/test_cases/t00018_class.svg +++ b/docs/test_cases/t00018_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,65 +9,65 @@ - - - - - impl::widget - + + + + + impl::widget + - - - + + + - - n : int + + n : int - - - draw(const widget & w) const : void - - draw(const widget & w) : void - - widget(int n) : void - - - - - widget - + + + draw(const widget & w) const : void + + draw(const widget & w) : void + + widget(int n) : void + + + + + widget + - + - + pImpl : std::unique_ptr<impl::widget> - + draw() const : void draw() : void - shown() const : _Bool + shown() const : bool widget(int ) : void ~widget() : void - widget(class widget && ) : void + widget(widget && ) : void - widget(const class widget & ) : void + widget(const widget & ) : void - operator=(class widget && ) : class widget & + operator=(widget && ) : widget & - operator=(const class widget & ) : class widget & - - - - - - pImpl + operator=(const widget & ) : widget & + + + + + + pImpl diff --git a/docs/test_cases/t00019_class.svg b/docs/test_cases/t00019_class.svg index 00154dd6..f41144c1 100644 --- a/docs/test_cases/t00019_class.svg +++ b/docs/test_cases/t00019_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + Base @@ -25,8 +25,8 @@ m2() : std::string - - + + Layer1 @@ -39,8 +39,8 @@ m2() : std::string - - + + Layer2 @@ -51,8 +51,8 @@ all_calls_count() const : int - - + + Layer3 @@ -60,18 +60,18 @@ LowerLayer - + - + m_m1_calls : int - + - + m_m2_calls : int @@ -83,7 +83,7 @@ m1_calls() const : int m2_calls() const : int - + Layer3 @@ -91,7 +91,7 @@ Base - + Layer2 @@ -99,7 +99,7 @@ Layer3<Base> - + Layer1 @@ -107,18 +107,18 @@ Layer2<Layer3<Base>> - - + + A - + - + layers : std::unique_ptr<Layer1<Layer2<Layer3<Base>>>> diff --git a/docs/test_cases/t00020_class.svg b/docs/test_cases/t00020_class.svg index 32314282..1cba7d2c 100644 --- a/docs/test_cases/t00020_class.svg +++ b/docs/test_cases/t00020_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,125 +9,125 @@ - - - - - ProductA - - - - ~ProductA() = default : void - - sell(int price) const = 0 : _Bool + + + + + ProductA + + + + ~ProductA() = default : void + + sell(int price) const = 0 : bool - - - - - ProductA1 - - - - sell(int price) const : _Bool + + + + + ProductA1 + + + + sell(int price) const : bool - - - - - ProductA2 - - - - sell(int price) const : _Bool + + + + + ProductA2 + + + + sell(int price) const : bool - - - - - ProductB - - - - ~ProductB() = default : void - - buy(int price) const = 0 : _Bool + + + + + ProductB + + + + ~ProductB() = default : void + + buy(int price) const = 0 : bool - - - - - ProductB1 - - + + + + + ProductB1 + + - buy(int price) const : _Bool + buy(int price) const : bool - - - - - ProductB2 - - - - 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> + + + + + 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> + + + + + 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> + + + + + 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 85784ef7..6089447d 100644 --- a/docs/test_cases/t00021_class.svg +++ b/docs/test_cases/t00021_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,119 +9,119 @@ - - - - - Visitor - - - - ~Visitor() = default : void - - visit_A(const class A & item) const = 0 : void - - visit_B(const class B & item) const = 0 : void + + + + + Visitor + + + + ~Visitor() = default : void + + visit_A(const A & item) const = 0 : void + + visit_B(const B & item) const = 0 : void - - - - - Visitor1 - - - - visit_A(const class A & item) const : void - - visit_B(const class B & item) const : void + + + + + Visitor1 + + + + visit_A(const A & item) const : void + + visit_B(const B & item) const : void - - - - - Visitor2 - - - - visit_A(const class A & item) const : void - - visit_B(const class B & item) const : void + + + + + Visitor2 + + + + visit_A(const A & item) const : void + + visit_B(const B & item) const : void - - - - - Visitor3 - - - - visit_A(const class A & item) const : void - - visit_B(const class B & item) const : void + + + + + Visitor3 + + + + visit_A(const A & item) const : void + + visit_B(const B & item) const : void - - - - - Item - - - - ~Item() = default : void - - accept(const class Visitor & visitor) const = 0 : void + + + + + Item + + + + ~Item() = default : void + + accept(const Visitor & visitor) const = 0 : void - - - - - A - - + + + + + A + + - accept(const class Visitor & visitor) const : void + accept(const Visitor & visitor) const : void - - - - - B - - - - accept(const class Visitor & visitor) const : void + + + + + B + + + + accept(const Visitor & visitor) const : void - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/test_cases/t00022_class.svg b/docs/test_cases/t00022_class.svg index 4cc1a52d..ebd04544 100644 --- a/docs/test_cases/t00022_class.svg +++ b/docs/test_cases/t00022_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -23,8 +23,8 @@ method2() = 0 : void - - + + A1 @@ -35,8 +35,8 @@ method2() : void - - + + A2 diff --git a/docs/test_cases/t00023_class.svg b/docs/test_cases/t00023_class.svg index cef1818e..181d3daa 100644 --- a/docs/test_cases/t00023_class.svg +++ b/docs/test_cases/t00023_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + Strategy @@ -21,8 +21,8 @@ algorithm() = 0 : void - - + + StrategyA @@ -31,8 +31,8 @@ algorithm() : void - - + + StrategyB @@ -41,8 +41,8 @@ algorithm() : void - - + + StrategyC @@ -51,18 +51,18 @@ algorithm() : void - - + + Context - + - + m_strategy : std::unique_ptr<Strategy> diff --git a/docs/test_cases/t00024_class.svg b/docs/test_cases/t00024_class.svg index 4e530d40..a092239e 100644 --- a/docs/test_cases/t00024_class.svg +++ b/docs/test_cases/t00024_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + Target @@ -23,8 +23,8 @@ m2() = 0 : void - - + + Target1 @@ -35,8 +35,8 @@ m2() : void - - + + Target2 @@ -47,18 +47,18 @@ m2() : void - - + + Proxy - + - + m_target : std::shared_ptr<Target> diff --git a/docs/test_cases/t00025_class.svg b/docs/test_cases/t00025_class.svg index 630ef0ba..818a6fae 100644 --- a/docs/test_cases/t00025_class.svg +++ b/docs/test_cases/t00025_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + Target1 @@ -21,8 +21,8 @@ m2() : void - - + + Target2 @@ -33,8 +33,8 @@ m2() : void - - + + Proxy @@ -42,11 +42,11 @@ T - + - + m_target : std::shared_ptr<T> @@ -56,7 +56,7 @@ m1() : void m2() : void - + Proxy @@ -64,7 +64,7 @@ Target1 - + Proxy @@ -72,25 +72,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 9320b4d3..020926ff 100644 --- a/docs/test_cases/t00026_class.svg +++ b/docs/test_cases/t00026_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + Memento @@ -18,11 +18,11 @@ T - + - + m_value : T @@ -30,8 +30,8 @@ Memento<T>(T && v) : void value() const : T - - + + Originator @@ -39,11 +39,11 @@ T - + - + m_value : T @@ -57,8 +57,8 @@ print() const : void set(T && v) : void - - + + Caretaker @@ -66,11 +66,11 @@ T - + - + m_mementos : std::unordered_map<std::string,Memento<T>> @@ -78,7 +78,7 @@ state(const std::string & n) : Memento<T> & set_state(const std::string & s, Memento<T> && m) : void - + Caretaker @@ -86,7 +86,7 @@ std::string - + Originator @@ -94,25 +94,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 f6b007e9..c1b1273f 100644 --- a/docs/test_cases/t00027_class.svg +++ b/docs/test_cases/t00027_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + Shape @@ -21,14 +21,14 @@ ~Shape() = default : void - + Line - - + + Line @@ -39,14 +39,14 @@ display() : void - + Text - - + + Text @@ -57,8 +57,8 @@ display() : void - - + + ShapeDecorator @@ -67,8 +67,8 @@ display() = 0 : void - - + + Color @@ -79,8 +79,8 @@ display() : void - - + + Weight @@ -91,7 +91,7 @@ display() : void - + Line @@ -99,7 +99,7 @@ Color,Weight - + Line @@ -107,7 +107,7 @@ Color - + Text @@ -115,7 +115,7 @@ Color,Weight - + Text @@ -123,39 +123,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 d52e4639..b5514c90 100644 --- a/docs/test_cases/t00028_class.svg +++ b/docs/test_cases/t00028_class.svg @@ -1,6 +1,6 @@ - + @@ -9,54 +9,54 @@ - - + + A - + A class note. - - + + B - + B class note. - - + + C - + C class note. - - + + D - + D class note. - - + + E @@ -64,27 +64,27 @@ T - + - + param : T - + E template class note. - - + + G - - + + F @@ -94,10 +94,10 @@ three - + F enum note. - + E @@ -105,59 +105,59 @@ int - - + + R - + - + aaa : A - + - + bbb : B * - + - + ccc : C & - + - + ddd : std::vector<std::shared_ptr<D>> - + - + eee : E<int> - + - + ggg : G ** - R(class C & c) : void - + R(C & c) : void + R class note. diff --git a/docs/test_cases/t00029_class.svg b/docs/test_cases/t00029_class.svg index 7c9dd5d3..609a3690 100644 --- a/docs/test_cases/t00029_class.svg +++ b/docs/test_cases/t00029_class.svg @@ -1,6 +1,6 @@ - + @@ -9,16 +9,16 @@ - - + + A - - + + C @@ -26,16 +26,16 @@ T - + - + param : T - - + + E @@ -45,64 +45,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 7ed107ff..b6ef70a0 100644 --- a/docs/test_cases/t00030_class.svg +++ b/docs/test_cases/t00030_class.svg @@ -1,6 +1,6 @@ - + @@ -9,86 +9,86 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + R - + - + aaa : A - + - + bbb : std::vector<B> - + - + ccc : std::vector<C> - + - + ddd : D - + - + eee : E * diff --git a/docs/test_cases/t00031_class.svg b/docs/test_cases/t00031_class.svg index 0486a138..4a41bea6 100644 --- a/docs/test_cases/t00031_class.svg +++ b/docs/test_cases/t00031_class.svg @@ -1,33 +1,33 @@ - + - + - + - - - + + + A - - + + B @@ -37,8 +37,8 @@ three - - + + @@ -47,23 +47,23 @@ T - + - + ttt : T - - + + D - + C @@ -71,39 +71,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 c4038a62..fbbc718f 100644 --- a/docs/test_cases/t00032_class.svg +++ b/docs/test_cases/t00032_class.svg @@ -1,6 +1,6 @@ - + @@ -9,24 +9,24 @@ - - + + Base - - + + TBase - - + + A @@ -35,8 +35,8 @@ operator()() : void - - + + B @@ -45,8 +45,8 @@ operator()() : void - - + + C @@ -55,8 +55,8 @@ operator()() : void - - + + Overload @@ -64,15 +64,15 @@ T,L,Ts... - + - + counter : L - + Overload @@ -80,18 +80,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 de9fce7a..86e132c9 100644 --- a/docs/test_cases/t00033_class.svg +++ b/docs/test_cases/t00033_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,16 +18,16 @@ T - + - + aaa : T - - + + B @@ -35,16 +35,16 @@ T - + - + bbb : T - - + + C @@ -52,30 +52,30 @@ T - + - + ccc : T - - + + D - + - + ddd : int - + C @@ -83,7 +83,7 @@ D - + B @@ -91,7 +91,7 @@ std::unique_ptr<C<D>> - + A @@ -99,18 +99,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 bb9f6ab8..0daf5654 100644 --- a/docs/test_cases/t00034_class.svg +++ b/docs/test_cases/t00034_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,103 +9,103 @@ - - - - - Void - - + + + + + Void + + - operator==(const struct Void & ) const : _Bool + operator==(const Void & ) const : bool - operator!=(const struct Void & ) const : _Bool + operator!=(const Void & ) const : bool - - - - - lift_void - - T - - + + + + + lift_void + + T + + - - - - - lift_void - - void - - + + + + + lift_void + + void + + - - - - - drop_void - - T - - + + + + + drop_void + + T + + - - - - - drop_void - - Void - - + + + + + drop_void + + Void + + - - - - - A - - + + + + + A + + - - - - - R - + + + + + R + - - - + + + - - la : lift_void_t<A> * + + la : lift_void_t<A> * - - - + + + - - lv : lift_void_t<void> * + + lv : lift_void_t<void> * - - - - - - - - - la - - - - la - - - - lv + + + + + + + + + la + + + + la + + + + lv diff --git a/docs/test_cases/t00035_class.svg b/docs/test_cases/t00035_class.svg index 2d65801f..5b80cf95 100644 --- a/docs/test_cases/t00035_class.svg +++ b/docs/test_cases/t00035_class.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,40 @@ - - + + Top - - + + Left - - + + Center - - + + Bottom - - + + Right diff --git a/docs/test_cases/t00036_class.svg b/docs/test_cases/t00036_class.svg index c79623e5..34110b6f 100644 --- a/docs/test_cases/t00036_class.svg +++ b/docs/test_cases/t00036_class.svg @@ -1,6 +1,6 @@ - + @@ -9,23 +9,23 @@ - + ns1 - + ns11 - + ns111 - + ns2 - + ns22 - - + + E @@ -34,8 +34,8 @@ yellow - - + + A @@ -43,15 +43,15 @@ T - + - + a : T - + A @@ -59,23 +59,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 fe55e4d6..9daa18ef 100644 --- a/docs/test_cases/t00037_class.svg +++ b/docs/test_cases/t00037_class.svg @@ -1,6 +1,6 @@ - + @@ -9,98 +9,98 @@ - - + + ST - + - + dimensions : ST::(anonymous_615) - + - + units : ST::(anonymous_730) - - + + ST::(anonymous_615) - + - + t : double - + - + x : double - + - + y : double - + - + z : double - - + + ST::(anonymous_730) - + - + c : double - + - + h : double - - + + A - + - + st : ST diff --git a/docs/test_cases/t00038_class.svg b/docs/test_cases/t00038_class.svg index 732f1ba0..45fc79a1 100644 --- a/docs/test_cases/t00038_class.svg +++ b/docs/test_cases/t00038_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + thirdparty::ns1::color_t @@ -20,16 +20,16 @@ blue - - + + thirdparty::ns1::E - - + + property_t @@ -39,47 +39,47 @@ property_c - - + + A - - + + B - - + + C - - + + key_t - + - + key : std::string - - + + map @@ -88,8 +88,8 @@ - - + + map @@ -98,8 +98,8 @@ - - + + map @@ -108,8 +108,8 @@ - - + + map @@ -118,8 +118,8 @@ - - + + map diff --git a/docs/test_cases/t00039_class.svg b/docs/test_cases/t00039_class.svg index 5d0a2754..a4db9e54 100644 --- a/docs/test_cases/t00039_class.svg +++ b/docs/test_cases/t00039_class.svg @@ -1,6 +1,6 @@ - + @@ -9,95 +9,95 @@ - - + + C - - + + D - - + + E - - + + CD - - + + DE - - + + CDE - - + + A - - + + AA - - + + AAA - + - + b : B * - - + + ns2::AAAA - - + + ns3::F @@ -105,16 +105,16 @@ T - + - + t : T * - - + + ns3::FF @@ -122,16 +122,16 @@ T,M - + - + m : M * - - + + ns3::FE @@ -139,16 +139,16 @@ T,M - + - + m : M * - - + + ns3::FFF @@ -156,11 +156,11 @@ T,M,N - + - + n : N * diff --git a/docs/test_cases/t00040_class.svg b/docs/test_cases/t00040_class.svg index 9b566ea8..a6791c05 100644 --- a/docs/test_cases/t00040_class.svg +++ b/docs/test_cases/t00040_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,57 +9,57 @@ - - + + A - + - + ii_ : int get_a() : int - - + + AA - - + + AAA - + - + b : B * get_aaa() : int - - - - - R - - - - foo(struct A * a) : void + + + + + R + + + + foo(A * a) : void diff --git a/docs/test_cases/t00041_class.svg b/docs/test_cases/t00041_class.svg index c2c83f3d..9befb328 100644 --- a/docs/test_cases/t00041_class.svg +++ b/docs/test_cases/t00041_class.svg @@ -1,6 +1,6 @@ - + @@ -9,93 +9,93 @@ - - + + R - - + + D - + - + rr : RR * - - + + E - - + + F - - + + RR - + - + e : E * - + - + f : F * - - + + RRR - - + + ns1::N - - + + ns1::NN - - + + ns1::NM diff --git a/docs/test_cases/t00042_class.svg b/docs/test_cases/t00042_class.svg index 17243bd7..dee4c714 100644 --- a/docs/test_cases/t00042_class.svg +++ b/docs/test_cases/t00042_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -18,16 +18,16 @@ T - + - + a : T - - + + A @@ -35,16 +35,16 @@ void - + - + a : void * - - + + B @@ -52,22 +52,22 @@ T,K - + - + b : T - + - + bb : K - + A @@ -75,7 +75,7 @@ double - + A @@ -83,7 +83,7 @@ std::string - + B diff --git a/docs/test_cases/t00043_class.svg b/docs/test_cases/t00043_class.svg index 4ca548c9..751f2f36 100644 --- a/docs/test_cases/t00043_class.svg +++ b/docs/test_cases/t00043_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,139 +9,139 @@ - + dependants - - - dependencies - - - - - A - - + + + dependencies + + + + + A + + - - - - - B - - - - b(struct dependants::A * a) : void + + + + + B + + + + b(dependants::A * a) : void - - - - - BB - - - - bb(struct dependants::A * a) : void + + + + + BB + + + + bb(dependants::A * a) : void - - - - - C - - - - c(struct dependants::B * b) : void + + + + + C + + + + c(dependants::B * b) : void - - - - - D - - - - d(struct dependants::C * c) : void - - dd(struct dependants::BB * bb) : void + + + + + D + + + + d(dependants::C * c) : void + + dd(dependants::BB * bb) : void - - - - - E - - - - e(struct dependants::D * d) : void + + + + + E + + + + e(dependants::D * d) : void - - - - - G - - + + + + + G + + - - - - - GG - - + + + + + GG + + - - - - - H - - - - h(struct dependencies::G * g) : void - - hh(struct dependencies::GG * gg) : void + + + + + H + + + + h(dependencies::G * g) : void + + hh(dependencies::GG * gg) : void - - - - - I - - - - i(struct dependencies::H * h) : void + + + + + I + + + + i(dependencies::H * h) : void - - - - - J - - - - i(struct dependencies::I * i) : void + + + + + J + + + + i(dependencies::I * i) : void - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/docs/test_cases/t00044_class.svg b/docs/test_cases/t00044_class.svg index ce75c022..b8719aa7 100644 --- a/docs/test_cases/t00044_class.svg +++ b/docs/test_cases/t00044_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,72 +9,72 @@ - - - - signal_handler - - ,A - - - - - - - sink - - clanguml::t00044::signal_handler<,type-parameter-0-2> - - + + + + signal_handler + + ,A + + + + + + + sink + + clanguml::t00044::signal_handler<,type-parameter-0-2> + + - sink<signal_handler<type-parameter-0-0 (type-parameter-0-1...), type-parameter-0-2> >(sink<signal_handler<type-parameter-0-0 (type-parameter-0-1...), type-parameter-0-2> >::signal_t & sh) : void + sink<signal_handler<type-parameter-0-0 (type-parameter-0-1...), type-parameter-0-2> >(sink<signal_handler<type-parameter-0-0 (type-parameter-0-1...),type-parameter-0-2>>::signal_t & sh) : void - + - + signal : sink<signal_handler<type-parameter-0-0 (type-parameter-0-1...),type-parameter-0-2>>::signal_t * - - - - - signal_handler - - Ret(Args...),A - - + + + + + signal_handler + + Ret(Args...),A + + - - - - - signal_handler - - T,A - - + + + + + signal_handler + + T,A + + - - - - - sink - - T - - + + + + + sink + + T + + - - - - - - signal - - - - + + + + + + signal + + + + diff --git a/docs/test_cases/t00045_class.svg b/docs/test_cases/t00045_class.svg index c766c956..9ffcad61 100644 --- a/docs/test_cases/t00045_class.svg +++ b/docs/test_cases/t00045_class.svg @@ -1,6 +1,6 @@ - + @@ -9,32 +9,32 @@ - - + + A - - + + AA - - + + AAA - - + + AAAA @@ -42,103 +42,103 @@ T - + - + t : T - - + + ns1::A - - + + ns1::ns2::A - - + + ns1::ns2::B - - + + ns1::ns2::C - - + + ns1::ns2::D - - + + ns1::ns2::E - - + + ns1::ns2::AAA - - + + ns1::ns2::R - + - + a : ns1::ns2::A * - + - + ns1_a : ns1::A * - + - + ns1_ns2_a : ns1::ns2::A * - + - + root_a : ::A * diff --git a/docs/test_cases/t00046_class.svg b/docs/test_cases/t00046_class.svg index b9ed92f4..703e62ab 100644 --- a/docs/test_cases/t00046_class.svg +++ b/docs/test_cases/t00046_class.svg @@ -1,6 +1,6 @@ - + @@ -9,118 +9,118 @@ - + ns1 - + ns2 - + __gnu_cxx - - + + A - - + + A - - + + B - - + + C - - + + D - - + + E - - + + R - + - + a : ns1::ns2::A * - + - + ns1_a : ns1::A * - + - + ns1_ns2_a : ns1::ns2::A * - + - + root_a : ::A * - + - + i : std::vector<std::uint8_t> foo(AA & aa) : void - - + + A - - + + AA diff --git a/docs/test_cases/t00047_class.svg b/docs/test_cases/t00047_class.svg index 40b2a45a..e0cb1320 100644 --- a/docs/test_cases/t00047_class.svg +++ b/docs/test_cases/t00047_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + conditional_t @@ -19,8 +19,8 @@ - - + + conditional_t @@ -29,8 +29,8 @@ - - + + conditional_t @@ -39,8 +39,8 @@ - - + + conditional_t diff --git a/docs/test_cases/t00048_class.svg b/docs/test_cases/t00048_class.svg index 50ef1eef..a12858bd 100644 --- a/docs/test_cases/t00048_class.svg +++ b/docs/test_cases/t00048_class.svg @@ -1,6 +1,6 @@ - + @@ -9,25 +9,25 @@ - - + + Base - + - + base : int foo() = 0 : void - - + + BaseTemplate @@ -35,35 +35,35 @@ T - + - + base : T foo() = 0 : void - - + + B - + - + b : int foo() : void - - + + BTemplate @@ -71,35 +71,35 @@ T - + - + b : T foo() : void - - + + A - + - + a : int foo() : void - - + + ATemplate @@ -107,11 +107,11 @@ T - + - + a : T diff --git a/docs/test_cases/t00049.md b/docs/test_cases/t00049.md new file mode 100644 index 00000000..db6bc110 --- /dev/null +++ b/docs/test_cases/t00049.md @@ -0,0 +1,48 @@ +# t00049 - Test case configurable type aliases +## Config +```yaml +compilation_database_dir: .. +output_directory: puml +diagrams: + t00049_class: + type: class + using_namespace: clanguml::t00049 + type_aliases: + "std::vector": string_vector + "std::basic_string": thestring + "std::map": intmap + glob: + - ../../tests/t00049/t00049.cc + include: + namespaces: + - clanguml::t00049 +``` +## Source code +File t00049.cc +```cpp +#include +#include +#include + +namespace clanguml { +namespace t00049 { +template struct A { + T a; + + T &get_a() { return a; } +}; + +struct R { + A> a_string; + A> a_vector_string; + A> a_int_map; + + A> get_int_map() { return a_int_map; } + + void set_int_map(A> &&int_map) { a_int_map = int_map; } +}; +} +} +``` +## Generated UML diagrams +![t00049_class](./t00049_class.svg "Test case configurable type aliases") diff --git a/docs/test_cases/t00049_class.svg b/docs/test_cases/t00049_class.svg new file mode 100644 index 00000000..9e28563f --- /dev/null +++ b/docs/test_cases/t00049_class.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + A + + T + + + + + + + + a : T + + + + get_a() : T & + + + + A + + intmap + + + + + + A + + thestring + + + + + + A + + std::vector<thestring> + + + + + + + R + + + + + + + + a_string : A<thestring> + + + + + + + a_vector_string : A<string_vector> + + + + + + + a_int_map : A<intmap> + + + + get_int_map() : A<intmap> + + set_int_map(A<intmap> && int_map) : void + + + + + + + + + + + + a_int_map + + + + a_string + + + + a_vector_string + + diff --git a/docs/test_cases/t30001_package.svg b/docs/test_cases/t30001_package.svg index 279d731f..614f4b51 100644 --- a/docs/test_cases/t30001_package.svg +++ b/docs/test_cases/t30001_package.svg @@ -1,6 +1,6 @@ - + @@ -9,67 +9,67 @@ - - + + A - - + + AA - - + + B - - + + AA - - + + AAA - - + + BBB - - + + BB - - + + AAA - - + + BBB - - + + BB - + A AAA note... - + This is namespace AA in namespace A - + This is namespace AA in namespace B - - - + + + diff --git a/docs/test_cases/t30002_package.svg b/docs/test_cases/t30002_package.svg index ec4ce7b5..014341a2 100644 --- a/docs/test_cases/t30002_package.svg +++ b/docs/test_cases/t30002_package.svg @@ -1,6 +1,6 @@ - + @@ -9,113 +9,113 @@ - - + + A - - + + AA - - + + B - - + + BB - - + + A1 - - + + A2 - - + + A3 - - + + A4 - - + + A5 - - + + A6 - - + + A7 - - + + A8 - - + + A9 - - + + A10 - - + + A11 - - + + A12 - - + + A13 - - + + A14 - - + + A15 - - + + A16 - - + + A17 - - + + BBB diff --git a/docs/test_cases/t30003_package.svg b/docs/test_cases/t30003_package.svg index 773ef911..75232f27 100644 --- a/docs/test_cases/t30003_package.svg +++ b/docs/test_cases/t30003_package.svg @@ -1,6 +1,6 @@ - + @@ -9,35 +9,35 @@ - - + + 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 1ae0763e..536d2e2e 100644 --- a/docs/test_cases/t30004_package.svg +++ b/docs/test_cases/t30004_package.svg @@ -1,6 +1,6 @@ - + @@ -9,46 +9,46 @@ - - + + A - + Package AAA. - + Package BBB. - + CCCC package note. - + We skipped DDD. - - + + AAA - - + + BBB - - + + CCC - - + + EEE - - - - + + + + diff --git a/docs/test_cases/t30005_package.svg b/docs/test_cases/t30005_package.svg index 34214496..cbee78ee 100644 --- a/docs/test_cases/t30005_package.svg +++ b/docs/test_cases/t30005_package.svg @@ -1,6 +1,6 @@ - + @@ -9,48 +9,48 @@ - - + + 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 5ff431d0..f568509c 100644 --- a/docs/test_cases/t30006_package.svg +++ b/docs/test_cases/t30006_package.svg @@ -1,6 +1,6 @@ - + @@ -9,25 +9,25 @@ - - + + B - - + + A - - + + C - + Top A note. - + diff --git a/docs/test_cases/t30007_package.svg b/docs/test_cases/t30007_package.svg index 669c8587..3f0784ba 100644 --- a/docs/test_cases/t30007_package.svg +++ b/docs/test_cases/t30007_package.svg @@ -1,6 +1,6 @@ - + @@ -9,30 +9,30 @@ - - + + A - - + + B - - + + AA - - + + C - + Compare layout with t30006. - + diff --git a/docs/test_cases/t30008_package.svg b/docs/test_cases/t30008_package.svg index e9ebf07b..35d9bf6d 100644 --- a/docs/test_cases/t30008_package.svg +++ b/docs/test_cases/t30008_package.svg @@ -1,6 +1,6 @@ - + @@ -9,43 +9,43 @@ - - + + dependants - - + + dependencies - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F diff --git a/docs/test_cases/t40001_include.svg b/docs/test_cases/t40001_include.svg index a0cf9d32..e77d3319 100644 --- a/docs/test_cases/t40001_include.svg +++ b/docs/test_cases/t40001_include.svg @@ -1,6 +1,6 @@ - + @@ -9,43 +9,43 @@ - + src - + include - + lib1 - - + + t40001.cc - - + + t40001_include1.h - - + + lib1.h - + string - + vector - + clang/Lex/Lexer.h - + This is a lib1 include dir - + This is a t40001_include1.h include file @@ -60,7 +60,7 @@ - - + + diff --git a/docs/test_cases/t40002_include.svg b/docs/test_cases/t40002_include.svg index e0b08099..406235de 100644 --- a/docs/test_cases/t40002_include.svg +++ b/docs/test_cases/t40002_include.svg @@ -1,6 +1,6 @@ - + @@ -9,46 +9,46 @@ - + src - + lib1 - + lib2 - + include - + lib1 - + lib2 - - + + t40002.cc - - + + lib1.cc - - + + lib2.cc - - + + lib1.h - - + + lib2.h diff --git a/docs/test_cases/t40003_include.svg b/docs/test_cases/t40003_include.svg index 5ada59ca..8c2f7482 100644 --- a/docs/test_cases/t40003_include.svg +++ b/docs/test_cases/t40003_include.svg @@ -1,6 +1,6 @@ - + @@ -9,66 +9,66 @@ - + include - + dependants - + dependencies - + src - + dependants - + dependencies - - + + t3.h - - + + t2.h - - + + t1.h - - + + t3.h - - + + t2.h - - + + t1.h - - + + t5.h - - + + t1.cc - - + + t2.cc